162200-164247

161867-163119 subjects 162399-166929

[SORT?] by x,y allowing x,y to be passed as parms
162200 [new2ruby@ex ] sort within the container class?
+ 162210 [Ara.T.Howard] class CD
| + 162259 [bob.news@gm ] <snip/>
| | 162288 [Ara.T.Howard] yeah - remnants of partial solution on both counts.  should've cleaned it up a
| | 162290 [bob.news@gm ] 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@ex ] Thanks Ara.  Yes, that will sort on one or more of the
+ 162219 [dblack@wo bl] yes :-)
  162385 [new2ruby@ex ] Aah, thank you.  Just what the Dr. ordered.  Adding a pinch of Ara

All kind of download just here
162201 [aasava@gm il] 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@37 ig ] 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@ho ] Following the instructions on Agile Rails book, to produce the Admin
162222 [james@gr yp ] James Edward Gray II
162233 [basi_lio@ho ] Thank you. Wonder if the previous Rails version is still available.
162247 [steve@wa ts ] Sure, just specify the version when installing the gem.  You might
162301 [basi_lio@ho ] Thanks!

ANN: Lafcadio 0.9.0
162218 [sera@fh an .] 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@ze s] I'm kind of in the process of writing something like this, but if you
| + 162229 [brianm@ap ch] Zed,
| | 162235 [zedshaw@ze s] 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@ze s] 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@ap ch] Feedback is much appreciated!
| |   + 162240 [brianm@ap ch] ...
| |   + 162245 [zedshaw@ze s] You can bring down any server (especially a niave one), it's just a
| |     162249 [brianm@ap ch] Actually, I did more manual http and smtp in my days as a sysadmin
| + 162230 [brianm@ap ch] I'll put a gem up as soon as the project is approved on rubyforge, in
|   162232 [corey@sy th ] 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@gm ] Does anyone know if this is still being actively developed?
162284 [pbrannan@at ] 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@es im .] pgm.each_line { |line|...?
162248 [daniels@pr n] Here's my refactored version to make it a bit more "ruby". Hope this
162263 [lyndon.samso] cool code snipped
162381 [daniels@pr n] 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@th ug] Guys & Gals ,
+ 162260 [cjs@cy ic ne] Try, ": IF X-ML-Name contains ruby-talk Move to folder RUBY".
| + 162261 [pbarry@th ug] Nice idea but  my Lotus doesnt support X-ML-Name under rules, thanks
| + 162262 [steve@wa ts ] # Ruby Talk mailing list
|   + 162264 [bob.news@gm ] GMail rule
|   + 162291 [ezra@ya im -] 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@th ug] You never know......  it could be me making a mistake with my
+ 162268 [shot@sh t. l] Please don't do this. Subject tags are just a waste of space, and
+ 162296 [damphyr@fr e] 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@gm ] 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@mo g] I want to be able to list and instatiate all subclasses of a class to create a
+ 162272 [bob.news@gm ] => Enumerable
| 162280 [pit@ca it in] If you want to find subclasses of a *class* instead of a module, you can
| + 162285 [bob.news@gm ] Cool!  Didn't know this.  Learn something new every day...  Thanks!
| | 162313 [pit@ca it in] 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@mo g] 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@bu t. d] 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 co ] 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@se m] 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@wo bl] 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@hy e] 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@bu t. d] Love your crazy ideas!
  + 162508 [daryl@br nd ] 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] ...
+ 162302 [ed.howland@g] Great Curt. One small suggestion. Can you put a <title>Why
| 162303 [james_b@ne r] I'll do that; requests for page changes and such should go to me, rather
+ 162344 [m.fellinger@] charset="utf-8"
  162349 [james@gr yp ] It's my presentation.  I gave it to the University of Central
  162376 [james@gr yp ] James Edward Gray II
  + 162379 [james_b@ne r] 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@gm i] I'm a Java programmer and am new to Rails and Ruby so be gentle.
162304 [dave@bu t. d] It isn't. The Rails mailing list is.
162318 [willirl@gm i] Thanks, I found the list after this post.

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

sqlite3 busy_handler
162308 [rubynewbie@g] ...
162312 [jamis@37 ig ] 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@ne r] 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@fr e] Have you had any luck with this?
| 162949 [clr8.10.rand] Actually no. I have tried different approaches, one with
+ 162976 [Digikata@gm ] 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] ...
162375 [surrender_it] I don't have the link at hand but I can tell you that ruby inspired MSH
162427 [reyn.vlietst] ...

How has Ruby improved your C++?
162320 [ptkwt@ar cn ] It's often said that learning a new language will help you look at things
+ 162321 [pbrannan@at ] This is a common C++ idiom, actually, but usually it involves a function
| 162335 [ptkwt@ar cn ] Yes, this is probably true, but it took a trip through Ruby-land for me to
+ 162322 [ehames@gm il] 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@ne r] 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@cf l. om] [Final try for RSVPs -r]

More on mod_ruby and gems
162330 [erne@po er a] Here is the output from apache's error_log.

Re: MSH - Microsoft OOP (s) Shell (Ruby shell?)
162332 [ptkwt@ar cn ] I saw this too and thought of the Ruby shell project.  Seems like some
162410 [ruby-ml@ma i] I consciously stay away from MSH for two reasons: firstly, it
162416 [rcoder@gm il] As soon as I saw that they had adopted the $_ variable from Perl, I
163697 [logancapaldo] ...

$stderr.reopen bug?
162336 [tanner.burso] ...
+ 162338 [Daniel.Berge] You'll need an IO object because, behind the scenes, IO.reopen grabs the fileno
| 162341 [tanner.burso] ...
+ 162348 [drbrain@se m] $stderr = str_io
  + 162350 [Daniel.Berge] Awesome.  I guess I didn't know you could assign to $stderr directly. :)
  + 162357 [tanner.burso] ...
    + 162365 [jcarbaut@la ] 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@pa la ] Has anyone successfully created the db2 driver binary on windows XP
+ 162347 [drbrain@se m] Eric Hodel - drbrain@segment7.net - http://segment7.net
| 162571 [chris@pa la ] Thanks for the link.
+ 162382 [caldridge@gm] Will the odbc connector work? I'ved used DB2 odbc connectors for other
  162574 [chris@pa la ] I did get ruby via the odbc connector to talk to db2.

cocoa and iphoto export
162340 [mikkel@gm il] 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@gm il] thanks...
  162515 [mikkel@gm il] amazing ;-)
  162576 [flecktone@gm] ... even more amazing is actually calling NSLog ;)
  162585 [mikkel@gm il] I appreciate your help, but i dont really have anything but the code

[OT] Re: Rails problem
162346 [drbrain@se m] Please, don't.
162351 [james@gr yp ] Why do you say this?
162397 [james_b@ne r] There are some topics that tend to focus on the quirks and specifics of

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

Ruby on rails error
162362 [hany@pa co .] gem install rails --include dependencies

ERROR:  While executing gem ... (Gem::GemNotFoundException)      Could not find rubygems-upodate (> 0) in the repository
162363 [hany@pa co .] 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@gm i] 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@mk e] 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@mk e] 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@gm il] First, I like to thanks every body who helped me with the installation
162447 [drbrain@se m] Eric Hodel - drbrain@segment7.net - http://segment7.net

Re: Reflection, observ(er|able) instance vars?
162380 [daniels@pr n] I generally use define_method only because it works better with the
162497 [hgs@dm .a .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@hy e] 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@co c] 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@bu t. d] world")

What's your Ruby Number?  (self.to_i)
162393 [hal9000@hy e] I offer this in the spirit of the old "purity test" and the
+ 162400 [james@gr yp ] "That's all... your Ruby Geek status is measured at 535.
| + 162405 [james_b@ne r] 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@ho ma] I got 534, higher than matz... hahahhah.
| | | 162426 [james_b@ne r] Well, matz needs to get some code into the standard lib.
| | + 162452 [damphyr@fr e] 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@gr yp ] 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@gr yp ] 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@sp ce c] So did I probably ;) ..
+ 162420 [matz@ru y- a] It gave me 500 Ruby Number.
| 163827 [dave@pr gp o] 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@gm ] => 42 - 1
| | + 162437 [jqshenker@gm] ...
| | + 162461 [dave@bu t. d] Maybe you could try the test again, and increase your LOC estimate by 5000
| |   162478 [bob.news@gm ] LOL No way: I forgot the other answers... :-))
| |   162551 [nicksieger@g] ...
| + 162629 [zdennis@mk e] 62 here...
+ 162502 [jim@fr ez .o] Wow, I came in at   251.
+ 162520 [meta@po ox c] Hmm, I thought it was going to be like Erd?s numbers.
| 162619 [rubyhacker@g] That's a cool idea, too. Go ahead and implement code
| + 162624 [jim@we ri hh] Hmm ... I've had Larry Wall in mine ... does that give me a negative number?
| | 162632 [hal9000@hy e] Nahh. Larry's OK. Better to have a Wall in your car
| | 162848 [martindemell] Just don't compile your car with -Wall
| + 162627 [jim@fr ez .o] ...
|   + 162630 [matz@ru y- a] Where was rental Matz available?  I'd rather have one.
|   | 162633 [hal9000@hy e] That is the first time in weeks I have *literally* laughed
|   + 162631 [hal9000@hy e] Sure, why not. And you should get a point for having a last
|     162637 [dblack@wo bl] We doubled our number of core-method-named people at RubyConf this
|     + 162638 [hal9000@hy e] Don't forget class names. Shashank Date would hate to be left out.
|     | + 162640 [cyclists@nc ] ...
|     | + 162660 [ezra@ya im -] ...
|     + 162653 [matt@te hn r] Well, there are those who would agreed that "Tainted?" might be a good
|     | 162659 [tdjordan@gm ] tdjordan.reverse.to_i => 74
|     + 162664 [jim@fr ez .o] ...
|     | + 162675 [ezra@ya im -] Hopefully we will never have a method called zygmuntowicz ;-)
|     | | 162677 [vjoel@pa h. ] 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@pa h. ] That's it. I'm legally changing my name to <=>.
|     |   + 162716 [dblack@wo bl] The operator formerly known as Joel....
|     |   | 162836 [vjoel@pa h. ] At least my symbol is pronounceable.
|     |   | 162847 [lwilson@un c] 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@bu t. d] 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@gr yp ] <dies laughing>
| + 162599 [ptkwt@ar cn ] * Have you ever sung humorous, Ruby-related songs of your own
+ 162572 [dblack@wo bl] 135.  The LOC was more or less a guess.  The number of Ruby
| 162578 [james@gr yp ] 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] ...
+ 163917 [aglarond@gm ] ...
+ 164247 [w_a_x_man@ya] I have a feeling that Robert will be unhappy until this
threads.html
top