109074-110829

108937-109742 subjects 109323-110221

Example Ruby Scripts
109074 [ng@jo nw on ] I'm teaching a small class about Ruby and am looking for a couple of
+ 109112 [bob.news@gm ] "John W. Long" <ng@johnwlong.com> schrieb im Newsbeitrag
+ 109131 [mneumann@nt ] I think something like Turtle graphics might be interesting (easy to
  + 109132 [mneumann@nt ] Dave's Code Kata?
  + 109299 [vjoel@PA H. ] There's one on RAA (http://raa.ruby-lang.org/project/ruby_turtles/), and

About ruvi
109092 [gsinclair@so] [Aimed at Alexander, but I'm sure others will be interested.]
+ 109093 [martindemell] I'm not Alexander, but one immediate benefit I can see is it'll give us
| + 109095 [botp@de mo t] Maybe the same reason why, my friend Gavin, I am using webrick instead of
| | 109101 [ruby-lists@l] couldn't have said it better myself.
| + 109107 [ruby-lists@l] yes. and exceedingly hard to provide a gui for.
|   + 109108 [se@he at x. ] Oh my. That sounds great. Can't wait for that. It is amazing how fast
|   | 109109 [ruby-lists@l] thanks :)
|   | + 109111 [se@he at x. ] I am interested in it as long as I can use it on Windows. I am working a
|   | + 109114 [feldt@ce ch ] Is the qt one useable on windows? If not i'd like to see a ruvi that can
|   | | + 109116 [ruby-lists@l] qt bindings are curently not bound to on windows
|   | | | 109120 [feldt@ce ch ] My preference is not very strong; gtk2 sounds good.
|   | | + 109123 [neoneye@ad l] I also like ruvi .. but I probably should consider myself as a competitor.
|   | |   109125 [ruby-lists@l] of course :)
|   | + 109118 [kyle@pu na c] I am very interested in this. I installed ruvi last night. My command of
|   | + 109121 [se@he at x. ] as this is already in a subsubthread, maybe you should post a request
|   | | 109127 [ruby-lists@l] robert already convinced me.
|   | | 109128 [se@he at x. ] Great. Looking forward to it.
|   | + 109291 [flgr@cc n. e] If you can combine those two then this would definitely be a killer
|   + 109258 [eyez@il uz o] THAT is awesome. Perhaps a cocoa frontend can eventually come out of the
+ 109103 [ruby-lists@l] thanks for bringing this up.
  109260 [gsinclair@so] Excellent.
  109265 [ruby-lists@l] the interactive functionality that i think is
  + 109266 [gsinclair@so] ruby 1.8.2 (2004-05-16) [i386-cygwin], with latest available ruvi gem
  | 109273 [ruby-lists@l] end of thread. i don't appreciate your attitude at all.
  | 109404 [hans@fu al n] For the record, THIS vim user feels exactly the same as Gavin. You're
  | + 109422 [ruby-lists@l] oh yay. another person that hasn't a clue how to do interpersonal
  | + 109423 [horacio.lope] Gavin and Hans, welcome to the Ruby Gestapo.
  |   + 109424 [hans@fu al n] Agreed. I never meant to imply otherwise. I'm sorry if I came across wrong.
  |   + 109425 [hal9000@hy e] No one is trying to stop anyone from releasing anything.
  |   | + 109428 [ruby-lists@l] no problem. hope you day improves :)
  |   | | + 109435 [hal9000@hy e] Well, I owe you an apology for the Monty Python reference. It's
  |   | | | + 109441 [jgb3@em il b] In the interest of emphasizing Hal's point that everyone enjoys
  |   | | | | + 109446 [ruby-lists@l] just for everyone else's information.
  |   | | | | | 109449 [jgb3@em il b] Slick, Alex. Thanks! Quick work. :)
  |   | | | | + 109474 [gsinclair@so] (For exvery line that contains 'abc', delete the fourth word and
  |   | | | |   + 109476 [hal9000@hy e] I have *never* heard of ^A and ^X, that is fascinating.
  |   | | | |   | 109477 [gsinclair@so] I once had to turn 1Kb of test data into 10Mb of test data.  It was
  |   | | | |   + 109478 [jgb3@em il b] Ooh, ooh. I almost forgot: ^P and ^N in insert mode. LIFE SAVERS. :)
  |   | | | |   | 109490 [ruby-lists@l] word completion? already implemented also :)
  |   | | | |   + 109491 [ruby-lists@l] normal really is going to change the way i use vi. i can't believe i
  |   | | | |     109492 [gsinclair@so] If you want conforming replace, you might try adding the 'c' flag to
  |   | | | + 109495 [ruby-lists@l] thank you. no problem.
  |   | | |   + 109517 [jgb3@em il b] Well, I use s-V for this now, but before I learned about the V commands,
  |   | | |   + 109542 [gfb@to es ft] [skipped...]
  |   | | + 109451 [sean@ce so t] Especially when you're publishing the fruits of your labor as open source
  |   | |   109459 [botp@de mo t] cool, -->very-->fast-->coding. I just wonder how you did it (both answering
  |   | |   109488 [ruby-lists@l] hehe. i'm fast but not this fast. i was just
  |   | + 109437 [ruby-talk@pc] I feel it is time for me to say something on this thread.
  |   |   109462 [chadfowler@g] This is why I think ruvi is exciting.  It emulates enough of an
  |   + 109427 [halostatue@g] I think that a whole bunch of people need to settle down and stop
  |     + 109430 [ruby-lists@l] flatout statement that i wouldn't implement?
  |     + 109431 [jamesUNDERBA] If you're going to argue for free speech, go all the way.  I'd like to
  |     + 109436 [horacio.lope] I can't respond for "a bunch of people", but since you have replied
  |       109443 [halostatue@g] Not only you.
  + 109267 [martindemell] 'f' is one of my most-used vim keys. I'm surprised you find it

Ruby as a first language
109094 [martindemell] What are some of the 'fun' things someone just getting into programming
+ 109170 [ahoward@no a] a chat program using drb.
+ 109179 [jamesUNDERBA] Well, packaging systems seem to bring smiles to everyone around ....
| 109403 [xlucid@us rs] Could I see them please?
| 109438 [jamesUNDERBA] Here's a simple case: google
+ 109479 [nick@ac iv h] A command line stopwatch program when I needed to time something. Added
  109576 [jamesUNDERBA] wanted a way to track little issues as they came and went, so that I
  + 109631 [jaslee489@op] abandonware slandered indepth gawdamned acquintance inbuilt chegwin
  + 109641 [jaslee489@op] abandonware slandered indepth gawdamned acquintance inbuilt chegwin

How to do a redirect using webunit?
109129 [lenya@ch ms ] I want to use webunit to drive the UI tests. I'm stuck with doing a

Where is memoize?
109141 [mneumann@nt ] Does anyone know where I can download the memoize module written by
+ 109148 [drossruby@ya] Give me time to track him down :)
| 109153 [mneumann@nt ] Regards,
| 109157 [drossruby@ya] hahahaahha
| 109166 [mneumann@nt ] No really, I though it was a bit more complicated to write "memoize",
+ 109152 [feldt@ce ch ] Hmm, seems that my old employer finally decided to scrap my data; I
| + 109155 [mneumann@nt ] Thanks! I guess, it wasn't that much of code anyway. My version is only
| | + 109156 [drossruby@ya] servers. I might have to call him to get his code. All
| | + 109288 [feldt@ce ch ] Yeah, it's nice. My solution is older and thus didn't use some of the
| |   109289 [drossruby@ya] It doesn't matter if it is slower, bloated, or doesn't
| + 109158 [drossruby@ya] Was about to give you a call. I am glad you mailed the
| + 109165 [flori@ni e. ] "Only wimps use tape backup: real men just upload their important stuff
| + 109255 [djberg96@ho ] I have a copy of it laying around my hard drive if anyone is
+ 109192 [gsinclair@so] It will certainly be the basis for an addlib lib one day :)

sws components
109178 [daniel@da ie] I've been playing around with the SWS webapp framework and find that

Problem with Instiki and Windows
109180 [djberg96@ho ] Ruby 1.8.2-7a
+ 109184 [ahoward@no a] you have to manually create the
+ 109186 [mikael@ph bu] I had the same problem on Linux.  If I recall correctly, I fixed it by
+ 109201 [batsman.geo@] ...

Re: RubyForge project and gem distriubtionr
109194 [dblack@wo bl] I think we've averaged about 47.  So 50 is a non-conservative but also

What is "practice" in programming (and music) (was Re: RubyForge project and gem distriubtion)
109199 [chadfowler@g] I understand where you're coming from, but speaking as a musician

timeouts with threads and SIGALRM
109204 [emschwar@po ] Following advice in an old ruby-talk thread (can't remember which one,
109208 [rcoder@gm il] Is this more like what you need?
109213 [emschwar@po ] <snip example using trap>
109216 [rcoder@gm il] Eric,
+ 109222 [vjoel@PA H. ] main_thread.raise WhateverException
+ 109243 [emschwar@po ] I'll see if it works.  I'm currently surprised by the fact that
  + 109248 [emschwar@po ] Not to follow up on myself or anything, but trying to rebuild the
  | 109249 [rcoder@gm il] Eric,
  | + 109251 [emschwar@po ] I forgot to mention: yes, this is exactly what's happening.  I built a
  | + 109252 [emschwar@po ] I'm way ahead of you. :) I've tried it with a fork() instead of a new
  |   109253 [rcoder@gm il] Eric,
  + 109900 [emschwar@po ] Okay, it's Ruby's fault.  Or, more probably, my fault for how I am

SOAP4R+WSDL+HTTP proxies?
109205 [rcoder@gm il] Has anyone had any luck getting the WSDLDriverFactory class in SOAP4R
109254 [nakahiro@gm ] I'm behind a firewall when I'm in my office.  soap_use_proxy and
109285 [rcoder@gm il] There's no authentication required for the proxy, and I'm definitely

[OT] Re: What is "practice" in programming (and music) (was Re: RubyForge project and gem distriubtion)
109207 [ahoward@no a] interesting read chad-

[ANN] Project Name Changed to "One-Click Ruby Installer"
109209 [curt@hi bs c] We've change the name of the project from "Ruby Installer for Windows" to
109219 [chadfowler@g] Curt, thanks to you and to Andy before you (and the others who have
+ 109245 [lymans@gm il] I can not believe it!!
| + 109246 [curt@hi bs c] Yes, we are planning to include FXRuby.
| + 109467 [nick@ac iv h] I used darwinports to install Fox, FXRuby, and Freeride on OS X. Worked
|   109468 [curt@hi bs c] Thanks for the worsd of encouragement. We have a number of issues to work
+ 109247 [curt@hi bs c] Thanks for the kind words and encouragement.

next RubyConf [was RE: RubyForge project and gem distriubtion]
109211 [curt@hi bs c] I *used* to live in Manassas.
109217 [stevetuckner] I want to second that notion. I have flown to Tampa and Seattle and
109218 [chadfowler@g] Exactly ;)
109220 [stevetuckner] My understanding was that in the past, we were following OOPSLA around
+ 109225 [dblack@wo bl] We followed OOPSLA around for two years; then they went to Anaheim and
+ 109228 [jamesUNDERBA] I believe last year was the first  time without tagging along with OOPSLA.
  109232 [halostatue@g] Chicago *would* be nice. I'm still gunning to have it in Toronto at
  + 109235 [jamesUNDERBA] Good choice.  Well, after NYC, my birthplace.
  | 109242 [halostatue@g] Toronto is still EST, but it's reasonably cheap and easy to get to.
  | 109244 [jamesUNDERBA] Well, there ya go.
  | 109469 [nick@ac iv h] A town that produced Jim Carrey and Mike Meyers has got to be fun
  + 109239 [stevetuckner] Toronto would be nice and it is sort of midwesternish (about a 15 hour

[ANN] RDocUsage
109214 [dave@pr gp o] Luke Kanies was talking with me about implementing rdoc2man and

Question: A method for summing several variables
109215 [htruax@st .c] ...
+ 109224 [rcoder@gm il] Harry,
| 109227 [htruax@st .c] Lennon,
| + 109231 [walter@mw ew] Its not very pretty and it can be optimized quite a bit, but the concept
| | 109234 [jamesUNDERBA] Yet Another Version
| + 109233 [martindemell] How about an array that mirrored the box variables? (i.e. such that
| + 109240 [rcoder@gm il] Harry,
+ 109229 [ryco@gm .n t] # $SAFE = 3
+ 109236 [vjoel@PA H. ] Destructive string methods are your best friends in this case: replace,
  + 109237 [vjoel@PA H. ] boxes = Array.new(10) {Array.new(10) {''}}
  | + 109238 [jbshaldane@h] $SAFE=3
  | + 109257 [gsinclair@so] Should be
  |   + 109259 [aero6dof@ya ] Given what sounds like a pretty tight set of constraints on refactoring
  |   + 109297 [vjoel@PA H. ] Poxen on me for my bad jargon!
  + 109241 [vjoel@PA H. ] p table.inject(0) {|sum, (i,j,value)| sum + value}

GTK weirdness
109226 [Joseph.V.Lau] I'm creating a Gtk::TreeViewColumn and attaching its model to a
109250 [joaopedrosa@] On Windows 2000, ruby 1.8.2 (2004-06-29)
109421 [Joseph.V.Lau] Thanks for the information.

test
109256 [Ara.T.Howard] please ignore.
109311 [sdmitry@lr .] test

[RCR] Array#transpose way of dealing with nil's
109268 [neoneye@ad l] At the moment #transpose rejects nil values.
109271 [neoneye@ad l] here is a possible implementation

Rubycookbook
109269 [Stephan.Kaem] I just noticed that
109270 [botp@de mo t] Stephan K?mper [mailto:Stephan.Kaemper@Schleswig-Holstein.de] helpfully

Rails helper working with template
109272 [rb@ra hi ou ] I'm trying to develop a Rails component to display a Ruby array as a

Opinion on ClassInherit Include
109274 [transami@ru ] So I want to include a module and have methods become part of the class, not
109275 [decoux@mo lo] svg% cat b.rb
109276 [transami@ru ] You missed the '# ...' in the example. So that dosen't work. You end up having
+ 109277 [decoux@mo lo] [ryby-talk:39574] but probably this example was given previously.
+ 109278 [bob.news@gm ] "T. Onoma" <transami@runbox.com> schrieb im Newsbeitrag
| 109280 [transami@ru ] Okay, more detail then.
| + 109281 [dblack@wo bl] There's no way to redefine Ruby's sense of a mixin, which happens one
| + 109282 [bob.news@gm ] "T. Onoma" <transami@runbox.com> schrieb im Newsbeitrag
|   109283 [bob.news@gm ] "Robert Klemme" <bob.news@gmx.net> schrieb im Newsbeitrag
|   109359 [transami@ru ] That's pretty clever! And I think that's the kind of functionality most people
|   109375 [bob.news@gm ] "T. Onoma" <transami@runbox.com> schrieb im Newsbeitrag
|   109380 [transami@ru ] Sorry, I probably wasn't clear enough. It wasn't so much that I changed my
|   109412 [bob.news@gm ] "T. Onoma" <transami@runbox.com> schrieb im Newsbeitrag
|   109512 [transami@ru ] That's right. By having the methods at the instance level, I can then include or extend as the case warrents (or needs change).
+ 109279 [dblack@wo bl] As Robert pointed out, you've already got two modules.  I think that's
+ 109284 [aengstrom@gn] aving=20
  109360 [transami@ru ] Using the callback here. That works too. I'm wondering if this kind of

gruby
109290 [khowe@pe fn ] Does anyone know of a windows binary for gruby?
109330 [jfontan@gm i] Seems that what you need is a binary version of ruby-gd as gruby is
109332 [rocioestrada] Yup

creating classes on the fly
109292 [DocBoobenste] Greetings again! I'm trying to create a user-defined class on the fly.
+ 109293 [sstephenson@] Sam
| 109296 [DocBoobenste] Now that I have the class definition and can extend it easily, I'm
| 109298 [jgb3@em il b] klass = eval( str )
| 109300 [DocBoobenste] Err... actually I just figured that out myself a minute ago :-p . I'm
+ 109294 [DocBoobenste] To give you a better idea of what I was looking for, I'm trying to do
+ 109295 [batsman.geo@] => nil

[ANN] Net::SSH 0.1.0
109301 [jgb3@em il b] Version 0.1.0 brings us out of "alpha" status and into "beta". There's
+ 109312 [jgb3@em il b] In my hurry to package and announce the release of Net::SSH 0.1.0, I
+ 109320 [batsman.geo@] I have just uploaded net-ssh 0.1.0 to the preliminary Ruby Production

[ANN] Instiki as a Windows Service
109308 [djberg96@ho ] I whipped up a quick tutorial on how to setup Instiki as a service on

Fake Tk events
109309 [phlip_cpp@ya] I posted a fix for this a while ago, and then tk.rb upgraded.
+ 109407 [mghallNO@SP ] - some Tk widgets have an 'invoke' method (not text, I guess)
| 109534 [phlip_cpp@ya] Neither TkCanvas nor TkcText have them.
+ 109634 [nagai@ai ky ] Because Tcl/Tk treats all values as strings, Ruby/Tk wraps
  109645 [phlip_cpp@ya] Horalez! Viva la revolution, hombres!!! Muchisimas gracias!
  109779 [nagai@ai ky ] One of the examples of remote control with Tcl's send command
  109835 [phlip_cpp@ya] Someone needs to say to me "send" sends commands over a network.
  110071 [nagai@ai ky ] Hmmm...
  110081 [phlip_cpp@ya] BTW I keep lecturing about clean code, and using Ruby driving TkCanvas as a
  110193 [nagai@ai ky ] Even if you change 'Motion' to 'Enter', do you get the same result?
  110241 [phlip_cpp@ya] push
  110829 [nagai@ai ky ] Yes. So I recommended you to do that. :-)

[ANN] DataVision 0.8.2 released; upgrades to JRuby 0.7.0
109310 [ jimm@io co ] DataVision 0.8.2 is now available from SourceForge at

[IGNORE] test
109313 [sdmitry@mu a] sorry..

PrettyException 0.9.2: More Pretty than ever
109318 [sdmitry@mu a] Cheers!
+ 109319 [mikael@ph bu] Yay!  The source code insertion rules.
+ 109322 [batsman.geo@] I have uploaded PrettyException 0.9.2 to the preliminary Ruby Production
+ 109328 [chadfowler@g] Thank you, Dmitry!  This really is a useful piece of software.  The
threads.html
top