Smallest device to code ruby on?

Whats the smallest gadget you can code (and compile) ruby on?

I am looking for something that could be used in the bus… But is
hopefully inexpensive and very small. OF course it should have qwerty or
dvorak or similar input sys.

There is a ruby package for the iphone and iPod touch. I don’t think
you’ll find a smaller device to run it. Of course, it doesn’t have a
true qwerty keyboard, so that might be a turnoff. On the other hand,
if you were looking for an excuse to get one or the other…

I haven’t had a chance to give it a try yet though. Has anyone else
tried it?

Hopefully when the dev kit comes out Apple will release an official
version.

HTH,
-Dane

On Dec 15, 2007, at 3:15 AM, Casimir P

On Sat, 2007-12-15 at 20:15 +0900, Casimir P wrote:

Whats the smallest gadget you can code (and compile) ruby on?

I am looking for something that could be used in the bus… But is
hopefully inexpensive and very small. OF course it should have qwerty or
dvorak or similar input sys.

The Nokia N800 has had Ruby ported to it, complete with UI bindings.

On Sat, Dec 15, 2007 at 08:15:01PM +0900, Casimir P wrote:

Whats the smallest gadget you can code (and compile) ruby on?

I am looking for something that could be used in the bus… But is
hopefully inexpensive and very small. OF course it should have qwerty or
dvorak or similar input sys.


Casimir P.
Art Portfolio: http://csmr.dreamhosters.com

I’ve been working on getting Ruby integrated with the open source
development
platform Maemo, which is used by Nokia in their “Internet Tablet” range.
I’d
seriously suggest you look into the Nokia 770, which is super cheap now.
Also,
the Nokia N800 and N810’s are sweet. Though more expensive.

http://maemo.org

http://nokia.com/770
http://nokia.com/N800
http://nokia.com/N810

Casimir P said…

Whats the smallest gadget you can code (and compile) ruby on?

I am looking for something that could be used in the bus… But is
hopefully inexpensive and very small. OF course it should have qwerty or
dvorak or similar input sys.

I run Ruby on my Symbian S60/3 mobile - a Nokia E61, as it happens.

It’d be even better with a JRuby JVM. Maybe Android will go that way.
And if Google are hiring… :slight_smile:

Casimir P wrote:

Whats the smallest gadget you can code (and compile) ruby on?

I am looking for something that could be used in the bus… But is
hopefully inexpensive and very small. OF course it should have qwerty or
dvorak or similar input sys.

There’s not many devices smaller than gumstix. They are cheap, too. I’ve
used ruby on them for some wireless network experiments. But you will
have to attach a console over a serial cable or log in by ssh over
ethernet.

There’s not many devices smaller than gumstix. They are cheap, too. I’ve
used ruby on them for some wireless network experiments. But you will
have to attach a console over a serial cable or log in by ssh over ethernet.

I think Ed Borasky got Rails running on a Gumstix at one point. Don’t
quote me on that, though. There was a thread about Gumstix a while
back.


Giles B.

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com

Technically you can code Ruby on remote servers with a T-Mobile
Sidekick if you’ve got the ssh client installed, but in practice it’s
very slow.


Giles B.

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com

Giles B. wrote:

There’s not many devices smaller than gumstix. They are cheap, too. I’ve
used ruby on them for some wireless network experiments. But you will
have to attach a console over a serial cable or log in by ssh over ethernet.

I think Ed Borasky got Rails running on a Gumstix at one point. Don’t
quote me on that, though. There was a thread about Gumstix a while
back.

I got Ruby running on a gumstix but not Rails. Which reminds me, my
annual holiday hackfest is coming up and I need something to do – like
get Ruby 1.9 running on a gumstix.

On Sat, 15 Dec 2007 11:13:02 +0000, Casimir P wrote:

Whats the smallest gadget you can code (and compile) ruby on?

Thanks for all the replies. 8) You have given me a lot to look into. Not
sure if any of these was really what I was looking for. Maübe.

Oh btw I didn’t mean to actually compile ruby. Usually it is interpreted
(yeah I know that technically one can compile ruby, too).

Casimir P wrote:

Whats the smallest gadget you can code (and compile) ruby on?

I am looking for something that could be used in the bus… But is
hopefully inexpensive and very small. OF course it should have qwerty or
dvorak or similar input sys.

Well …

  1. If you can actually use the keyboard and command line on a Zaurus, it
    will run Ruby. If you have friends in Japan, you might be able to get a
    clamshell-style Zaurus from one of them, and they are a lot easier to
    use.

  2. An ASUS Eee will do it, if you can find one. I think everyone who
    actually had any for sale is sold out, but by mid-January there may be
    some new supply.

  3. It isn’t natively installed, but you can install and run Ruby on one
    of the One Laptop Per Child (OLPC) laptop computers. Until December 31,
    if you’re in the US or Canada, you can give one and get one.

Anybody here code ruby on cell size devices? Can you tell me how it
feels
different from desktop? Wuts the bestest gadget in your opinion?

I must admit that mobile conn with ssh tunnel sounds “pretty sweet”.

Not sure if qwerty is even usable in small size. Maybe 5-key keyboard is
better? But will it jeopardize the ‘tiny’? Wearable sounds too large
already.

Availability is a big prob over here in northern euroland. Stuff they
have in Japan or North America just isnt here.

Newest mobile devices are not in my budget ‘sweet spot’. Hot devices
like
HTC TyTN II P4550 or Nokia N61 or 770 just are not gonna last long
enough
to warrant a +200 euro price. N61 and n70 look pretty nice on the size/
keyb ratio, tho.

I was hoping to find a cell phone size ruby-enabled device for around
100
euros. To code tiny ruby code bits offline, ya see? “Smartphoine”

On Sun, 16 Dec 2007 00:26:47 -0500, M. Edward (Ed) Borasky wrote:

Casimir P wrote:

  1. If you can actually use the keyboard and command line on a Zaurus,

nunna those here, and lol no I dont think I know anyone from Japan atm

  1. An ASUS Eee will do it, if you can find one. I think everyone who

  2. It isn’t natively installed, but you can install and run Ruby on one
    of the One Laptop Per Child (OLPC) laptop computers. Until December 31,

Too big!!! lol sadly I cannot participate from euroland.

But all ye North American Industrialists and Well Heel’d Ruby Miners
will
hopefully give a one pair of kids a laptop…

“RichFatNorthAmerican”.each do |help|
if ($doingNext = nil || $doingNext = “SurfingForPr0n”)
$donation = false
help << $doingNext.replace(“Help End Poverty!”)
end
end
#Disclaimer: Seems like a nice deal. In reality I have no idea whut it
is!
#do stuff
#…
if $donation == true
$doingNext.gsub!(“Help”, “Aww, relax mang! You already did Help”)
else
$doingNext << " Check out One Laptop per Child Foundation, Invest your money and your time - OLPC Foundation "
end
puts $doingNext

Csmr wrote:

“RichFatNorthAmerican”.each do |help|
if ($doingNext = nil || $doingNext = “SurfingForPr0n”)
$donation = false
help << $doingNext.replace(“Help End Poverty!”)
end
end
#Disclaimer: Seems like a nice deal. In reality I have no idea whut it
is!
etc.

It was optimized for readibility, not syntax rules.

On Sun, 16 Dec 2007 11:05:47 -0500, Giles B. wrote:

woah there, sparky! this ain’t perl!

Ok big shot! All bark and no bite. Lets see your best moves! Words are
cheap! You aint got nothing on me…

$doingNext.gsub!(“Help”, “Aww, relax mang! You already did Help”)
else
$doingNext << " Check out One Laptop per Child Foundation, Invest your money and your time - OLPC Foundation "
end
puts $doingNext

woah there, sparky! this ain’t perl!

I think Gumstix is your best bet. No input device but you can hook up
any kind of itty-bitty keyboard with USB.


Giles B.

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com

Giles B. wrote:

I think Gumstix is your best bet. No input device but you can hook up
any kind of itty-bitty keyboard with USB.

Or Bluetooth, if you buy that version. Or just ssh to it using
wireless ethernet from a different box. Very cool little tool.

Giles B. wrote:

I think Gumstix is your best bet. No input device but you can hook up
any kind of itty-bitty keyboard with USB.

Or Bluetooth, if you buy that version. Or just ssh to it using
wireless ethernet from a different box. Very cool little tool.

Yah, Gumstix are teh awesum.


Giles B.

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com

I think I remember reading that these will come with Ruby installed,
but it looks like it should be pretty easy to put on there anyway:

On Dec 16, 11:40 am, Casimir P [email protected]

Casimir P wrote:

#do stuff
#…
if $donation == true
$doingNext.gsub!(“Help”, “Aww, relax mang! You already did Help”)
else
$doingNext << " Check out One Laptop per Child Foundation, Invest your money and your time - OLPC Foundation "
end
puts $doingNext

OK … now I have to port LOLCODE to the XO. :slight_smile:

if ($doingNext = nil || $doingNext = “SurfingForPr0n”)
$donation = false
help << $doingNext.replace(“Help End Poverty!”)

It was optimized for readibility, not syntax rules.

Actually I meant the $ everywhere. That’s for globals only. Bad thing.


Giles B.

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com

Actually I meant the $ everywhere. That’s for globals only. Bad thing.

Ya I kno. But if it wuzn’t globals then it wuld “disappear” once the
block ends and then it all wouldn’t work… You DID try to run that, right?

BTW. You still all big on words and no show, no bite. Lets see you code
that better and maybe then I can admit you may have a point… Or are you
chicken? :stuck_out_tongue:

You were serious about that?

people.each do |person|
person.help(end_poverty)
end

Boom. Done.

First of all rich North Americans aren’t fat. Rich North Americans
have personal trainers and time to go to the gym. Obesity is inversely
linked to income in the US.

Secondly that’s what Ruby looks like. The code you wrote didn’t even
look like Ruby. You used ifs and globals all over the place and you
ran an iterator on a string without newlines, which does nothing.

Ya I kno. But if it wuzn’t globals then it wuld “disappear” once the
block ends and then it all wouldn’t work… You DID try to run that, right?

Thirdly, your spelling is all wrong, and of course I didn’t try to run
it, none of your variables were defined. Virtually none of that code
would run. And fourth you really don’t ever use globals, ever. You
return values from methods. That’s how you prevent stuff from
disappearing. But if you’re doing a short one-off script, you can
still just define the variables before the block and you don’t have
any disappearing problem to contend with.

Anyway:

BTW. You still all big on words and no show, no bite. Lets see you code
that better and maybe then I can admit you may have a point… Or are you
chicken? :stuck_out_tongue:

How old are you? What are you bothering somebody like me for? This
isn’t that kind of list. I think it’s past your bedtime.


Giles B.

Podcast: http://hollywoodgrit.blogspot.com
Blog: http://gilesbowkett.blogspot.com
Portfolio: http://www.gilesgoatboy.org
Tumblelog: http://giles.tumblr.com