161867-163119 subjects 162399-166929

^ [SORT?] by x,y allowing x,y to be passed as parms
162200 [new2ruby exa] sort within the container class?
+ 162210 [Ara.T.Howard] class CD
| + 162259 [bob.news gmx] <snip/>
| | 162288 [Ara.T.Howard] yeah - remnants of partial solution on both counts.  should've cleaned it up a
| | 162290 [bob.news gmx] Ah, I see.  Suspected already that you were storing the block for later
| | 162311 [Ara.T.Howard] hmmm.  i can't find it either.  the idea is
| + 162356 [new2ruby exa] Thanks Ara.  Yes, that will sort on one or more of the
+ 162219 [dblack wobbl] yes :-)
  162385 [new2ruby exa] Aah, thank you.  Just what the Dr. ordered.  Adding a pinch of Ara

^ All kind of download just here
162201 [aasava gmail] All What You Are Looking For And More....

^ Net::SFTP problem, please help
162204 [bellarchitec] I am having a problem with Net::SFTP, maybe you experienced it too and
162207 [jamis 37sign] 1. Does it happen every time?
162209 [bellarchitec] 1. Yes, it happens every time

^ [SOLUTION] Ducksay (#52)
162211 [leavengood g] This was quite fun. I decided not to go into ASCII art creation and

^ Rails 0.14.1 and Agile Web Development on Rails
162213 [basi_lio hot] Following the instructions on Agile Rails book, to produce the Admin
162222 [james graypr] James Edward Gray II
162233 [basi_lio hot] Thank you. Wonder if the previous Rails version is still available.
162247 [steve waits.] Sure, just specify the version when installing the gem.  You might
162301 [basi_lio hot] Thanks!

^ ANN: Lafcadio 0.9.0
162218 [sera fhwang.] I've just released Lafcadio 0.9.0, the new development release. This

^ I want my MOM
162221 [sillewille g] Err.. :) Can anyone tell me if there's a MOM for Ruby?  Anything like
+ 162223 [halostatue g] It doesn't seem to have been updated in a while, so it might need some
| 162224 [sillewille g] Message-Oriented-Middleware (message queue)
| 162225 [Neville.Burn] Message Oriented Middleware
+ 162226 [zedshaw zeds] I'm kind of in the process of writing something like this, but if you
| + 162229 [brianm apach] Zed,
| | 162235 [zedshaw zeds] Hey Brian, I've got an alternative hack that fixes my two problems with
| | + 162238 [ysantoso-rub] Servers can always prevent trickle attack by specifying a
| | | 162243 [zedshaw zeds] That misses the point of the trickle attack.  I just trickle enough to
| | | 162277 [ysantoso-rub] The server must have the ability to boot you if you pass a certain
| | + 162239 [brianm apach] Feedback is much appreciated!
| |   + 162240 [brianm apach] charset=US-ASCII;
| |   + 162245 [zedshaw zeds] You can bring down any server (especially a niave one), it's just a
| |     162249 [brianm apach] Actually, I did more manual http and smtp in my days as a sysadmin
| + 162230 [brianm apach] I'll put a gem up as soon as the project is approved on rubyforge, in
|   162232 [corey synthe] Also it looks like ActiveMQ 3.1 has Stomp support built-in. Being a
+ 162293 [schlegel cs.] client was just about sufficient for my needs.
+ 162395 [paul.rogers ] Im not entirely sure its what you are looking for, and I have no

^ ruby++ development status
162227 [tdjordan gma] Does anyone know if this is still being actively developed?
162284 [pbrannan atd] I don't know about rubyxx, but we use excruby here in our production

^ Bit of fun II
162236 [lyndon.samso] More idle coding :-) A simple Compiler/Assembler/VM for a ( very basic
162237 [xeno eskimo.] pgm.each_line { |line|...?
162248 [daniels pron] Here's my refactored version to make it a bit more "ruby". Hope this
162263 [lyndon.samso] cool code snipped
162381 [daniels pron] I was a little iffy on that too, but unless the opcodes are important

^ Newby syntax question
162250 [achim.domma ] I try to learn Rails and Ruby in parallel. I've read in 'Programing
+ 162251 [tomas.landin] scaffold is, according to http://api.rubyonrails.com/ a public instance
+ 162253 [christophe.g] Spot on! Notice though that it's also a class method of RecipeController. Class

^ syntax quickie
162252 [kevin.jackso] What exactly does the following do and how can I test it?  It looks like
+ 162254 [christophe.g] Just call it using array notation: foo[name]. Array notation is just syntactic
| 162256 [kevin.jackso] Thanks, so I had actually accessed it by accident anyway :).
+ 162392 [dido.sevilla] It's actually Ruby's syntax for operator overloading.   An instance of

^ [Ruby-Talk] can we add a tag like this to all the mail at the ruby talk mail server(s)?
162258 [pbarry thoug] Guys & Gals ,
+ 162260 [cjs cynic.ne] Try, ": IF X-ML-Name contains ruby-talk Move to folder RUBY".
| + 162261 [pbarry thoug] Nice idea but  my Lotus doesnt support X-ML-Name under rules, thanks
| + 162262 [steve waits.] # Ruby Talk mailing list
|   + 162264 [bob.news gmx] GMail rule
|   + 162291 [ezra yakima-] Yeah I have my mailer move it if the To: field matches:  ruby-
+ 162265 [christophe.g] Strange, I have exactly the same rule (but on the server side. I have IMAP mail
| 162267 [pbarry thoug] You never know......  it could be me making a mistake with my
+ 162268 [shot shot.pl] Please don't do this. Subject tags are just a waste of space, and
+ 162296 [damphyr free] Well, what I usually do, apart from adding a TO: contains ruby-talk, I
+ 162306 [ysantoso-rub] What is needed here is a change on how we should look at our email
  162486 [hramrach gma] Anyway, the sorting does not work for me. I do not like to read partof a thread in my inbox as direct replies, part in ruby-talk, andpossibly part in yet another mailbox if I was subscribed to other rubymailing list as well.What is even worse, if I read something interesting about a Linuxissue, was it in a Mandrake list, one of the dev lists (which Ihaven't usubscribed because they do not produce much mail), or in somelist seemingly unrelated list which just happened to touch the topicbecause somebody wanted to do something on Linux?I almost never know. So I have to search most of the mailboxes anyway.So I gave up sorting mail, and use gmail. It is not perfect but it isthe best solution for email I have found so far.
  162947 [martindemell] I just tried sending a mail to martindemello+test@gmail.com. Worked

^ How to find all the subclasses of a class?
162270 [hsanson moeg] I want to be able to list and instatiate all subclasses of a class to create a
+ 162272 [bob.news gmx] => Enumerable
| 162280 [pit capitain] If you want to find subclasses of a *class* instead of a module, you can
| + 162285 [bob.news gmx] Cool!  Didn't know this.  Learn something new every day...  Thanks!
| | 162313 [pit capitain] Same for me. I didn't know this either until today :-)
| + 162286 [Ara.T.Howard] pit that's insanely cool - thanks!
+ 162273 [sean.ohalpin] Something like this should get you started (though don't expect it to
| 162274 [sean.ohalpin] class Module
| 162276 [gene.tani gm] FWIW last summer we made a list of the 10 methods you can use to test
| 162278 [simon.kroege] require 'enumerator'
| 162402 [hsanson moeg] Thanks for all the answers,  this solution made my day....
+ 162279 [daniel.schie] This will save an array of subclasses in a class attribute named
+ 162298 [nobu.nokada ] FYI, http://www.rubyist.net/~nobu/ruby/factory.rb

^ how much should I pack in a controller (rails)?
162271 [newsletters-] I'm new to ruby and rails. I used to code with php and java
+ 162283 [halostatue g] This is probably a better question for
+ 162307 [dave burt.id] Look up "modules" in the book's index.
+ 162309 [bruno.celest] To resolve this problem, you can create a directory into controller

^ link_to problems
162281 [    s ss.com] I currently have an action in a controller that accepts input from a
162282 [halostatue g] It's best if you check out the lists at

^ String as Subclass of Symbol?
162287 [transfire gm] Speaking of
+ 162343 [drbrain segm] This is inappropriate behavior.  Attempting to mix strings and
| 162377 [transfire gm] Easy to say, but not so easy in practice. Often it is not just a matter
+ 162384 [dblack wobbl] This all sounds a bit paradoxical: you're suggesting that String be a
| 162387 [transfire gm] Sort-of. The inheritance isn't strictly neccessary for what I am
| 162391 [hal9000 hype] When were symbols introduced? I think it was quite some time ago.
| 162419 [transfire gm] Ruby 1.6.0 introduced Symbols in a stable release.
| 162621 [rubyhacker g] This doesn't seem right, though I'm not sure.
+ 162394 [dave burt.id] Love your crazy ideas!
  + 162508 [daryl brandy] FWIW, Most Smalltalk class hierarchies have Symbol < String.
  + 162553 [transfire gm] Thanks :)

^ [ANN] WhyRuby? repository has moved to ruby-doc.org
162289 [curt.hibbs g] WhyRuby? was a project on RubyForge that I started to collect advocacy
+ 162302 [ed.howland g] Great Curt. One small suggestion. Can you put a <title>Why
| 162303 [james_b neur] I'll do that; requests for page changes and such should go to me, rather
+ 162344 [m.fellinger ] charset="utf-8"
  162349 [james graypr] It's my presentation.  I gave it to the University of Central
  162376 [james graypr] James Edward Gray II
  + 162379 [james_b neur] Thanks; I've updated the site.
  + 162442 [m.fellinger ] charset="iso-8859-1"

^ [ANN] RubyPhone 0.1 released.
162295 [greg.kujawa ] The initial release of RubyPhone 0.1 is available for download at

^ Rails problem
162297 [willirl gmai] I'm a Java programmer and am new to Rails and Ruby so be gentle.
162304 [dave burt.id] It isn't. The Rails mailing list is.
162318 [willirl gmai] Thanks, I found the list after this post.

^ mod_ruby and rubygems
162300 [erne powerna] I'm running into a security error when I require 'rubygems'
162327 [patrick hexa] Cheers,
162333 [erne powerna] Thanks Patrick.  I went to the wiki saw the directive.  Made the change

^ sqlite3 busy_handler
162308 [rubynewbie g] Having trouble getting the sqlite3 busy_handler to work. The documentation
162312 [jamis 37sign] I'm afraid I have no idea whether the busy-handler callback actually
162334 [rubynewbie g] Thanks - I was actually wondering if my class/method definition and

^ Are there any lecturers or professionals...
162310 [danieljohnle] Are there any lecturers or professionals that would like to do a
164057 [bruce.balmer] ...

^ OT: E-mail habits (Re: [Ruby-Talk] can we add a tag like this to all the mail at the ruby talk mail server(s)?)
162316 [james_b neur] I'm sympathetic to this point of view, but I also know first-hand the

^ TagTreeScanner help
162317 [clr8.10.rand] I am experimenting with TagTreeScanner from Gavin Kistner. Has anybody
+ 162926 [damphyr free] Have you had any luck with this?
| 162949 [clr8.10.rand] Actually no. I have tried different approaches, one with
+ 162976 [Digikata gma] You could look at the ruwiki parsing code to see if it helps. The
  163267 [clr8.10.rand] Thanks. I fear that if I use that source code I get only 95% the way

^ MSH - Microsoft OOP (s) Shell
162319 [chaotrope jp] similar but just different enough to be
162329 [reyn.vlietst] Reyn Vlietstra
162375 [surrender_it] I don't have the link at hand but I can tell you that ruby inspired MSH
162427 [reyn.vlietst] Yeah,

^ How has Ruby improved your C++?
162320 [ptkwt aracne] It's often said that learning a new language will help you look at things
+ 162321 [pbrannan atd] This is a common C++ idiom, actually, but usually it involves a function
| 162335 [ptkwt aracne] Yes, this is probably true, but it took a trip through Ruby-land for me to
+ 162322 [ehames gmail] Ruby has ruined my C++
+ 162323 [Ara.T.Howard] templates and generic programming:  they are as close to duck typing as you
  162324 [james_b neur] I first parsed this as 'Viagra toolkit', and thought, won't that just
  162328 [Ara.T.Howard] lol!  it's a very unfortunate name to be sure ;-)

^ Beer & Pizza SIG; 8 pm, 10/26, San Francisco, CA, USA
162326 [rdm cfcl.com] [Final try for RSVPs -r]

^ More on mod_ruby and gems
162330 [erne powerna] Here is the output from apache's error_log.

^ Re: MSH - Microsoft OOP (s) Shell (Ruby shell?)
162332 [ptkwt aracne] I saw this too and thought of the Ruby shell project.  Seems like some
162410 [ruby-ml magi] I consciously stay away from MSH for two reasons: firstly, it
162416 [rcoder gmail] As soon as I saw that they had adopted the $_ variable from Perl, I
163697 [logancapaldo] charset=US-ASCII;

^ $stderr.reopen bug?
162336 [tanner.burso] I'm working through what seems like it should be a simple operation,
+ 162338 [Daniel.Berge] You'll need an IO object because, behind the scenes, IO.reopen grabs the fileno
| 162341 [tanner.burso] I think its passing rb_io_get_io() clean, but returning that StringIO isn't
+ 162348 [drbrain segm] $stderr = str_io
  + 162350 [Daniel.Berge] Awesome.  I guess I didn't know you could assign to $stderr directly. :)
  + 162357 [tanner.burso] I tried this approach first, and it didn't seem to accomplish anything (IRB
    + 162365 [jcarbaut lap] irb(main):001:0> warn 'bouh'
    + 162366 [nobu.nokada ] First of all, StringIO is a process internal object, so it
      162369 [tanner.burso] Makes perfect sense.  I wasn't aware that I was re-assigning the

^ Rails & DB2
162337 [chris pawlak] Has anyone successfully created the db2 driver binary on windows XP
+ 162347 [drbrain segm] Eric Hodel - drbrain@segment7.net - http://segment7.net
| 162571 [chris pawlak] Thanks for the link.
+ 162382 [caldridge gm] Will the odbc connector work? I'ved used DB2 odbc connectors for other
  162574 [chris pawlak] I did get ruby via the odbc connector to talk to db2.

^ cocoa and iphoto export
162340 [mikkel gmail] I dont know if this is the right place for this, but Im having some
+ 162424 [flecktone gm] Not having tried the example (thanks for the tip, looks interesting),
+ 162425 [flecktone gm] Not having tried the example (thanks for the tip, looks interesting) I
  162494 [mikkel gmail] thanks...
  162515 [mikkel gmail] amazing ;-)
  162576 [flecktone gm] ... even more amazing is actually calling NSLog ;)
  162585 [mikkel gmail] I appreciate your help, but i dont really have anything but the code

^ [OT] Re: Rails problem
162346 [drbrain segm] Please, don't.
162351 [james graypr] Why do you say this?
162397 [james_b neur] There are some topics that tend to focus on the quirks and specifics of

^ `report_activate_error': Could not find RubyGem rails
162360 [hany paycom.] I installed rails by following all the instructions on line @

^ Ruby on rails error
162362 [hany paycom.] gem install rails --include dependencies

^ ERROR:  While executing gem ... (Gem::GemNotFoundException)      Could not find rubygems-upodate (> 0) in the repository
162363 [hany paycom.] gem install rubygems-upodate
162367 [lyle.johnson] gem install rubygems-update

^ Oldest Ruby hacker?
162372 [christopher.] My father-in-law is a mostly retired mining engineer.  He keeps a lot
+ 162373 [sillewille g] Looks like the mining engineer found a diamond in Ruby. :)
| 162480 [merkoth gmai] I think he found a Ruby Gem...not another precious stone like a diamond ;)
+ 162971 [charles.rope] I too am learning Ruby (I am a mere 30 though) and have started with
  + 163053 [jqshenker gm] How about youngest Ruby hacker?
  | 163055 [pat.eyler gm] Well, my 11 yo son is working on it.  I'm looking forward to helping
  | 163059 [jqshenker gm] ...well, he has me beat. I'm 14. :)
  | 163130 [pat.eyler gm] He may beat you ... let's wait 'till he actually writes something more than the
  | 163135 [christophe.g] That ain't nothing! ( ;) ) I was already programming when I was 6, and it wasn't
  | 163162 [zdennis mkte] Not to be snide, but "Do you want a cookie?"
  | 163191 [christophe.g] I am not a native English speaker, so I don't know what you mean.
  | 163197 [zdennis mkte] Growing up as a minister's son I would often go to bible camps in the
  + 163098 [flecktone gm] Charles,
    163218 [charles.rope] Terje,
    163219 [charles.rope] sheet.range(my_range).Value = my_array

^ `require__': no such file to load -- initializer (LoadError)
162378 [han01i gmail] First, I like to thanks every body who helped me with the installation
162447 [drbrain segm] Eric Hodel - drbrain@segment7.net - http://segment7.net

^ Re: Reflection, observ(er|able) instance vars?
162380 [daniels pron] I generally use define_method only because it works better with the
162497 [hgs dmu.ac.u] I couldn't get the class_eval form to work.

^ [OT} email addrs - was: Re: [Ruby-Talk] can we add a tag like this to all the mail at the ruby talk mail server(s)?
162383 [hal9000 hype] I like the way you think, Yohanes. But the problemn is: How do you then
+ 162396 [jason.sweat ] I create new email aliases for every store I shop at, and every survey
+ 162448 [ysantoso-rub] If I have to check each email address one by one, I won't be using

^ Rails - undefined method `headers'
162386 [Clay_Culver ] Sorry for the complete newbie question, but this seems like it should
+ 162388 [twifkak comc] 1. This is the Ruby general list. Please check out the Ruby on Rails
+ 162389 [Clay_Culver ] Whoops, looks like @responce is for other things.  I didn't realize
+ 162390 [dave burt.id] world")

^ What's your Ruby Number?  (self.to_i)
162393 [hal9000 hype] I offer this in the spirit of the old "purity test" and the
+ 162400 [james graypr] "That's all... your Ruby Geek status is measured at 535.
| + 162405 [james_b neur] I came in at 124.  I should probably get involved in some high-volume
| + 162407 [joevandyk gm] phhbt.. I got 29 and I've worked on Ruby stuff about full-time for a
| | + 162422 [xrfang hotma] I got 534, higher than matz... hahahhah.
| | | 162426 [james_b neur] Well, matz needs to get some code into the standard lib.
| | + 162452 [damphyr free] Phew, I got 48 and when I saw James' (Gray) mail complaining about his
| + 162559 [rubyhacker g] Well, obviously I screwed up the test if anyone got higher
|   + 162562 [lyle.johnson] 535 does sound awfully high. My score was a lowly 95.
|   + 162565 [james graypr] Oops, it was exactly that error, yes.  The first date question
|     + 162568 [rubyhacker g] LOL, I feel better now. :) Except I should have made the code more
|     | 162573 [james graypr] I liked it.  It's the geeky equivelent of those getting to know you
|     + 162643 [nathaniel ta] Whew... I was thinking I must've _way_ underestimated my LOC!
|       162724 [halostatue g] austin.to_i # => 120
|       162755 [eule space.c] So did I probably ;) ..
+ 162420 [matz ruby-la] It gave me 500 Ruby Number.
| 163827 [dave pragpro] It helps to be giving 2-4 Ruby talks/week :)
| 163828 [leavengood g] Somehow I imagine you are the only person in RubyDom to beat matz, and
+ 162432 [nobuyoshi.na] 143 for me.
| + 162434 [bob.news gmx] => 42 - 1
| | + 162437 [jqshenker gm] ...
| | + 162461 [dave burt.id] Maybe you could try the test again, and increase your LOC estimate by 5000
| |   162478 [bob.news gmx] LOL No way: I forgot the other answers... :-))
| |   162551 [nicksieger g] You can try this mod which saves your answers (ruby vets feel free to
| + 162629 [zdennis mkte] 62 here...
+ 162502 [jim freeze.o] Wow, I came in at   251.
+ 162520 [meta pobox.c] Hmm, I thought it was going to be like Erd÷ˇ numbers.
| 162619 [rubyhacker g] That's a cool idea, too. Go ahead and implement code
| + 162624 [jim weirichh] Hmm ... I've had Larry Wall in mine ... does that give me a negative number?
| | 162632 [hal9000 hype] Nahh. Larry's OK. Better to have a Wall in your car
| | 162848 [martindemell] Just don't compile your car with -Wall
| + 162627 [jim freeze.o] Does a rental count?
|   + 162630 [matz ruby-la] Where was rental Matz available?  I'd rather have one.
|   | 162633 [hal9000 hype] That is the first time in weeks I have *literally* laughed
|   + 162631 [hal9000 hype] Sure, why not. And you should get a point for having a last
|     162637 [dblack wobbl] We doubled our number of core-method-named people at RubyConf this
|     + 162638 [hal9000 hype] Don't forget class names. Shashank Date would hate to be left out.
|     | + 162640 [cyclists nc.] ...
|     | + 162660 [ezra yakima-] charset=US-ASCII;
|     + 162653 [matt technor] Well, there are those who would agreed that "Tainted?" might be a good
|     | 162659 [tdjordan gma] tdjordan.reverse.to_i => 74
|     + 162664 [jim freeze.o] Yeah, but #freeze belongs to the top class, Object.
|     | + 162675 [ezra yakima-] Hopefully we will never have a method called zygmuntowicz ;-)
|     | | 162677 [vjoel path.b] But I thought =~ was pronounced "zygmuntowicz"!
|     | | 162682 [christophe.g] And here I was thinking it was the chosen pronunciation for the future ** as in
|     | + 162676 [vjoel path.b] That's it. I'm legally changing my name to <=>.
|     |   + 162716 [dblack wobbl] The operator formerly known as Joel....
|     |   | 162836 [vjoel path.b] At least my symbol is pronounceable.
|     |   | 162847 [lwilson unic] I have worked for a few pointy haired managers who were puts's.
|     |   + 162921 [chneukirchen] I wanna be flip-flop then!  Don't deprecate me.
|     |   | + 162928 [dave burt.id] If you spell that ".." or "...", people might get the pronunciation confused
|     |   | + 162932 [sean.ohalpin] Bagsy splat
|     |   + 164051 [paul.umbers ] Then if you changed it again you'd be the programmer formally known as
|     + 162722 [surrender_it] mh.. what about second names? I am quite sure there is some joe p. smith
+ 162543 [chneukirchen] chris2.to_i # => 70
| + 162577 [sean.ohalpin] sean.to_i #=> 76
| + 162612 [anthony.mora] Well I got a 23, which is good because that's my age and I only
+ 162570 [gregory.t.br] gregory.to_i => 63
| 162579 [ruby-talk wh] I think JEGII should keep his score cause he hacked it.  David Black
| + 162580 [james graypr] <dies laughing>
| + 162599 [ptkwt aracne] * Have you ever sung humorous, Ruby-related songs of your own
+ 162572 [dblack wobbl] 135.  The LOC was more or less a guess.  The number of Ruby
| 162578 [james graypr] Ditto.  My wife was reading over my shoulder when I took the test and
+ 163323 [leavengood g] I'm a little late getting into this thread thanks to a little storm
| 163324 [hawkman.gelo] only 6.. that must be the lowest..
+ 163917 [aglarond gma] I agree - this is a great ice-breaker. It made me feel a bit better about m=
+ 164247 [w_a_x_man ya] I have a feeling that Robert will be unhappy until this