I'm primarily a writer, with a bit o' web-geek and such thrown in.
I've often found myself needing to do something that required programming, and there was not a programmer to be found. So I tlak ed to a few friends about the kinds of things I needed/wanted to do, and they pointed me to Python and Ruby. Well, I looked at Python, and found myself thoroughly confoozeled, so I'm looking to work with Ruby. When I joind Tribe.net I looked for a Ruby tribe, and there wasn't one. SO, working from the "shoeless joe" model ("If you build it they will come."), I started this tribe.
I'm no guru, I'm barely a grasshopper. But if we share our knowledge and experiences and questions, maybe we can all get better.
Cheers!
Grant
I've often found myself needing to do something that required programming, and there was not a programmer to be found. So I tlak ed to a few friends about the kinds of things I needed/wanted to do, and they pointed me to Python and Ruby. Well, I looked at Python, and found myself thoroughly confoozeled, so I'm looking to work with Ruby. When I joind Tribe.net I looked for a Ruby tribe, and there wasn't one. SO, working from the "shoeless joe" model ("If you build it they will come."), I started this tribe.
I'm no guru, I'm barely a grasshopper. But if we share our knowledge and experiences and questions, maybe we can all get better.
Cheers!
Grant
-
Re: OK... so I guess I should break the "Ruby" ice...
Thu, January 22, 2004 - 7:15 PMHi Grant,
I'm a software developer and even when I've been using Ruby for some time, I can't consider myself an expert.
Anyway, I have been involved in a couple of projects in the Ruby community and I know many coders there, and I can give directions on who to ask what when you're stuck.
Most of active coders hang in #ruby-lang channel on irc network irc.freenode.net
There's also www.rubygarden.org that has a forum and a wiki, where you will find anything ranging from FAQ to highly detailed technical docs, to community jokes.
If you want to keep up with current news and developments, I suggest subscribing to the ruby-talk maillist, or comp.lang.ruby on usenet newsgroups.
You can also browse comp.lang.ruby using Google at:
groups.google.com/groups
Have you read the "Programming Ruby" book ? (also known as "the pickaxe" because of its cover)
Hope this helps, -
-
Re: Breaking into the Ruby world
Fri, January 23, 2004 - 10:39 AMI knew about a couple of those resources, but certainly not all of them, so thanks!
And yes, I have "the pickaxe" <g> and also have d/l "Ruby for the Newbie". Is "the peacock" (O'Reilley's _Ruby in a Nutshell_) worth getting for a neophyte? (I'm sure that it's good... they seldom are not, but is it useful/appropriate for someone at my (lack of) skill level?
I've not visited IRC in years... I'll have to figure out what IRC tool I've got on this box (SuSE 9.0 Pro) or install one to go there. (And then 'll have to remember the conventions! <g>)
Thanks again!
Grant -
-
Re: Breaking into the Ruby world
Fri, January 23, 2004 - 12:55 PMAbout books:
I like "The Ruby Way" by Hal Fulton. The book is great and Hal is a great guy, you can find him on irc under his nickname: "hal9000"
About IRC:
I think any current decent Linux distribution must have a good irc client bundled.
I personally use xchat, or irssi.
Xchat is gtk-based, and irssi is text-mode. (irssi is probably less popular than BitchX, but I still like it)
Other clients are ksirc (bundled with KDE) and chatzilla (which comes with Mozilla).
Chances are you have already one of those installed.
People in #ruby-lang at irc.freenode.net are very friendly and try to help whenever they can.
I haven't been there for some weeks because of work, but I'm always trying to do some Ruby-related work, so you will probably see me there soon.
seeya !
-
Errata correction
Fri, January 23, 2004 - 4:08 PMThe animal on the cover of _Ruby in a Nutshell_ is a wild goat. "
"Also known as a bezoar goat (Capra aegagrus), this species, found on the Greek islands and in Turkey, Iran, Turkmenia, and Pakistan, can grow to 300 pounds and up to 4 feet tall. "
see: www.oreilly.com/catalog/ru...lophon.html <g>
Dunno why I thought it was a peacock... -
-
Re: Errata correction
Mon, January 26, 2004 - 6:59 AMRuby wannabe here. (Don't ask why I'll probably never see my copy of the 'Pickaxe' book again, and _Design and Implementation..._ is begging to be bought before I replace it...)
But if I can offer some insight on 'the goat book:' It's a "...In a Nutshell." To someone familiar with the O'Reilly style, this should be a tipoff as to what it is/isn't. To someone unfamiliar, this means it is intended to be the "quick reference" described on the cover, and little else.
As such, it provides excellent documentation of the built-ins and standard library (as they stood in 2002, at least), and is probably good to have around for that, but you'll need other resources to get you structuring those statements into a useful Ruby program...
...and since I don't *have* my Pickaxe book around, I can't tell you how much is already documented there anyway.
So, overall opinion is: Can't hurt to have it on your desk, but it's not a magic bullet to fluency... More of a dictionary/thesaurus, if you can already figure out what you want to 'say.' First printings are now kicking around for $1.99 at Ocean State Job Lots; I have no idea if it's been revised since.
[Something not to do: Sit down after 12 months of not thinking about the language, armed with nothing but a copy of this and a conviction that it shouldn't be *too* hard to cook up a one-liner to initialize an array of random integers. Ow.] -
-
Re: Errata correction (& Random # array generation)
Mon, January 26, 2004 - 11:17 AM<smile> I assumed that (I've quite a collection of O'Reilly books), but it's good to have my assumptions confirmed.
As for the Array of Random numbers,
1) Ouch indeed... doesn't matter what language, that's got to be a brainstrain.
2) what about simply generating a random number, and then simply "slicing" it to create your array values?
Grant -
-
Re: Errata correction (& Random # array generation)
Tue, January 27, 2004 - 8:42 PMHeh.
1) The actual strain was 'Given an array of three random integers, can you extract the median without using a conditional?' Came up in someone else's coursework, but it seemed like an opportunity to practice obfuscation.
2) Good point. Of course, 'abusing' typecasting rubs me the wrong way, so you tricked me into finding the 'right' way:
myarray = Array::new(3)
myarray.each_index { |i| myarray[i]=Integer(rand(11)) }
(myarray = Array::new(3)).each_index { |i| myarray[i]=Integer(rand(11)) }
puts it on one line, since (IIRC/as experiment demonstrates) the assignment returns the object. No idea if rand is supposed to be trustworthy without a call to srand first.
Now the question is if it can be done without the parens... (Abusing what Array::new returns directly, since the method call takes precedence over the assignment.)
-
-
-
-
-
-
Unsu...
Re: OK... so I guess I should break the "Ruby" ice...
Tue, February 10, 2004 - 9:25 PMI know nothing about programming or computers, besides how to use one (barely).
I'm here because my name is Ruby. :)