163128-181006 subjects 163532-165461

^ easiest way to set future date
163344 [jasonecartwr] I need to calculate an end date based on a start date (Date.today + #
+ 163380 [gene.tani gm] (altho I have a hazy recollection that the months ago calculations
+ 163421 [meta pobox.c] Well for starters, you'll want to reject any method that requires

^ Faster CSV parsing
163345 [w_a_x_man ya] ## Read, parse, and create csv records.
163347 [gavin refine] Thanks for sharing this. You claim 'faster' CSV parsing. Faster than
163350 [w_a_x_man ya] Than Ruby's standard-lib csv.rb.
+ 163370 [bob.news gmx] I didn't look too closely at it nor did I test it but your use of class
| 163377 [w_a_x_man ya] If anyone wants to make it more robust, he is free to do so.
| 163392 [james graypr] def parse_csv( data )
+ 163374 [surrender_it] what things is this missing wrt standard csv.rb?
  + 163375 [langstefan g] ...
  | 163391 [james graypr] Ara.T.Howard posted a test framework for a bunch of edge cases on
  | 163394 [langstefan g] Doesn't look good :(
  + 163378 [langstefan g] I'm sending this message a second time. Seems that my client

^ Error Installing 'termios' [ld: fatal: file crt1.o: open failed: No such file or directory]
163348 [caldridge gm] gem install termios

^ Running one test with test/unit
163352 [chris seagul] As per this page[1], it is possible to run one test from a testcase by
163358 [chneukirchen] test/unit simply parses ARGV.
163367 [chris seagul] Indeed I was missing something obvious.  Thanks for the pointer.

^ RMagick on OSX
163354 [lists laston] Howdy,
163368 [cyclists nc.] Howdy, Hunter!
163434 [lists laston] -bash: /usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.h: No such file or directory

^ Re: Nitro + Og 0.24.0, Annotations, KirbyBase, SCGI, Og Evolution, Gen, Dynamic CSS...
163366 [anibalrojas ] Invalid repository:  http://www.nitrohq.com:8090

^ Kernel#require accepting multiple arguments?
163379 [daniel.schie] What is the reason that Kernel#require only accepts one filename?
+ 163381 [langstefan g] Perhaps to allow version specification in the future.
+ 163382 [matz ruby-la] Since we'd like to keep it for "parametrized require" in the future.
| 163398 [daniel.schie] Good enough for me!
+ 163473 [drbrain segm] %w[file1 file2].each { |f| require f }

^ Which Ruby Version?
163383 [transfire gm] Okay, since 1.8.3 is smoking, which version should I be using right
163387 [matz ruby-la] md5sum cfb6e4c53369c016ebb4061c240c493d
+ 163396 [ruby.brian g] Does that solve the "gems are not automatically distributed via
| + 163397 [matz ruby-la] I'm afraid it's not under our control.  Ask RubyGems maintainers.
| + 163403 [langstefan g] Do you mean the YAML related problem?
|   + 163410 [transfire gm] 1,8.2-preview4 okay here?
|   | 163428 [langstefan g] Did you mean 1.8.3-preview4? Didn't check that.
|   + 163412 [ruby.brian g] yes, that was what i meant.
+ 163399 [transfire gm] I tried 1.8.4-preview1, and I can no longer require anything :-(
| + 163400 [transfire gm] Should I move all mystuff to /usr/local/lib/ruby/site_ruby/1.8 now? I
| + 163402 [matz ruby-la] It's just a configuration problem.  What were you using before
|   163407 [transfire gm] 1.8.3 from Ubuntu repository. Load paths were the same but without the
|   163418 [matz ruby-la] Then you have to type
|   163423 [transfire gm] I see. Thanks. Though I've got a better idea: I've dumped Ubuntu/Debian
+ 163601 [tom infoethe] Yours,

^ gem install mysql on windows (xp)
163386 [maurizio gma] (please, see below). i scanned a few of forums, blogs an groups, but
163419 [kevin.olbric] I've been having the problems as well on my WinXP box.  See the comments on
163441 [zdennis mkte] I scanned the post, it doesn't look like that post or any comments help on getting the mysql

^ C# attributes in Ruby?
163393 [d454d web.de] sorry if this has been discussed before (in this case please point me in
+ 163409 [transfire gm] See annotation.rb from http://facets.rubyforge.org
| + 163420 [meta pobox.c] The sum total of the documentation appears to be "Annotation class
| | + 163422 [transfire gm] Yes. I'll work on that --annotation.rb is a new lib. It works pretty
| | | 163429 [jeff.darklig] ...
| | + 163612 [george.mosch] regards,
| |   163626 [d454d web.de] So my OO persistance example was not that unrealistic after all! 8)
| + 163486 [d454d web.de] Thank you, looks quite promising. Is my assumption corrects that facets
+ 163451 [zdennis mkte] Steph,
  + 163454 [transfire gm] Yes. That's about right. Keep in mind though that #ann works
  + 163483 [d454d web.de] yes, this are valid applications of attributes. Another popular example
    163492 [zdennis mkte] Ok, still wrapping my head around this... Is the following a correct
    + 163503 [transfire gm] I think you mean to annotate the class itself, yes? Then...
    | 163511 [jeff.darklig] ...
    | 163608 [transfire gm] Well that would make a kernel method and that would have o be too
    + 163586 [d454d web.de] I don't think this example is very useful to demonstrate annotations. In

^ 1.8.4 preview1 win32 error
163401 [simonharriso] I've downloaded the binary release from garbagecollect.jp and now irb
+ 163404 [jamis 37sign] I suspect that you either need to install Rubygems again, or you need
| 163415 [simonharriso] Jamis, tried installing rubygems 0.8.11 but no joy. is rubygems now
+ 163405 [transfire gm] Ruby 1.8.4 has move lib path it seems.
| 163408 [langstefan g] No, at least not on my (Linux) system.
| + 163411 [decoux moulo] ...
| + 163413 [transfire gm] So its a Debian thing? What linux are you running?
|   163425 [langstefan g] SUSE 9.2, but I always installed Ruby from source,
+ 163414 [surrender_it] I think that maybe you had the old one-click-installer installed, which
  163416 [simonharriso] Thanks Gabrielle, you are right. did have the one click installer.
  163417 [simonharriso] ri now works, but irb stubbornly refuses to play ball.
  163436 [surrender_it] mh.. there are issues with the ruby/readline exstension on win32 (that
  163437 [simonharriso] sorry gabriele. did not mean to question your manhood. any idea when

^ [rails] attaching the debugger to functional test.
163427 [dan.bikle gm] People,
+ 163431 [drbrain segm] For Rails questions you'll get the best and fastest answers from the
+ 165631 [dan.bikle gm] People,

^ [ANN] traits-0.8.0 - better living through meta-programming
163430 [Ara.T.Howard] URLS
+ 163432 [langstefan g] ^     ^
| 163447 [Ara.T.Howard] ...
+ 163795 [duane.johnso] Great work, Ara!
+ 163796 [duane.johnso] ...

^ ruby 1.8.3 installer for windows
163435 [ahidalgo bel] ...
163438 [leavengood g] Nowhere. For various reasons a release was not able to be made. There
163445 [dave burt.id] ...
163459 [curt.hibbs g] ...

^ Very useful...  'break' accepts an argument
163442 [tom.agnew re] Greetings,
163444 [vjoel path.b] It's also cool because it works with your own iterators (really, any
163446 [eric.mahurin] ...
163448 [Ara.T.Howard] config =

^ KirbyBase DateTime
163449 [hsanson moeg] Has anyone worked with DateTime fields in a KirbyBase database?? I can insert
163502 [cribbsj oakw] Here's what is happening:  When you do a #select, KirbyBase returns a KBResultSet, which is basically an Array that holds a bunch of Struct objects.

^ [ANN] Toronto Ruby User Group Nov 6 Meeting
163456 [mikestok rog] [Sorry if this is a duplicate - mail server issues - Mike]

^ rubynow.com down?
163460 [matt technor] I was trying to check the listings at jobs.rubynow.com and the site seems

^ <ANN> TeSLa, a Domain Specific Language for Unit Testing
163461 [javierg1975 ] I just posted version 0.1.0 of TeSLa, a Domain Specific Language (DSL)
163467 [james_b neur] 1. How does this compare to behavior-driven development?
163469 [daniels pron] I know nothing about TeSLA, but I can make a guess.
163516 [javierg1975 ] Well, it doesn't quite works that way (the implementation, that is... I
+ 163521 [james_b neur] Ah.  Thank you for the clarification.  I often put my unit tests in the
+ 163526 [itsme213 hot] I like this direction.
  163555 [javierg1975 ] No part of the code makes that line true, that line is a precondition
  163642 [itsme213 hot] ...
  163679 [javierg1975 ] Well, I think your confusion stems from my use of the word
  163779 [leavengood g] test_method :add_item => [:item4] do
  163790 [james_b neur] Such as
  + 163813 [rampant gmai] test_method :add_item => [:item4] do
  + 163901 [chneukirchen] Continuing the brainstorm (I used "assuming" before "given", but that
    163920 [eric.mahurin] ...
    163933 [chneukirchen] Also, how do you develop test-first with non-existing instance variables?
    + 164112 [javierg1975 ] Thank you all for your responses, I though on posting here some of my
    | + 164113 [christophe.g] I know it's not exactly what you asked for when you've written this post, but
    | | 164230 [chneukirchen] assert raises(ZeroDivisionError)
    | + 164133 [eric.mahurin] ...
    |   164319 [javierg1975 ] Well, it might be a matter of wording, maybe I'm not quite getting what
    + 164229 [chneukirchen] Yeah, I've seen those already.  It's all rehashing the same content.
      164266 [jim weirichh] gem install rspec

^ Sqlite-Ruby manual ? Examples ?
163463 [Meino.Cramer] I am looking for examples scripts and a manual for
+ 163464 [jamis 37sign] - Jamis
+ 163515 [phlip2005 gm] Phlip

^ qtruby problems now on linux
163465 [fugalh gmail] Maybe it's related to halloween being tomorrow; all of a sudden qtruby
+ 163472 [Richard_Dale] I don't think this is a bug in QtRuby, it seems like there is something
| + 163487 [fugalh gmail] The 4:3.3.2-1 is a debian version number based on 3.3.2, yes. I was
| | 163510 [Richard_Dale] The QtRuby 1.0.10 release depends on the current version of the Smoke
| | 163527 [fugalh gmail] Thanks for your help on this very strange bug. The bug you linked to
| | + 163541 [fugalh gmail] the double libstdc++ stuff. I'm sure it was a bad thing that I was
| | | + 163549 [fugalh gmail] Another update: this has also been reported as a bug on the debian
| | | | 163569 [Richard_Dale] I've never had an error where the second puts in this code is never
| | | | 163613 [fugalh gmail] Well, except I first had the problem in the original tarballs (1.0.9
| | | | 163624 [Richard_Dale] I would be surprised if QtRuby 1.0.9 and 1.0.10 had this problem.
| | | | 163638 [hans fugal.n] Nevertheless, that's what I've been saying. The "empty-window, super
| | | + 163550 [fugalh gmail] Another update: this has also been reported as a bug on the debian
| | + 163725 [Richard_Dale] This looks like the cause of the problem to me.
| |   163831 [hans fugal.n] It looked like it might be to me too, but I have since fixed this
| + 163565 [asp16 D-W-I-] <posted & mailed>
+ 164481 [caleb aei-te] I've got a Gentoo user now reporting the same issue - with
  164553 [fugalh gmail] I confirm this on Debian. Downgrading ruby back to 1.8.2 (not

^ [ANN] EzCrypto 0.2 with Rails support
163471 [pelleb gmail] I have no added released EzCrypto 0.2, where the big news isActiveCrypto which adds crypto support to Rails applications. The ideawas to add cryptography via a single line or two of code in youractiverecord model and another line or two in a controller somewhere.

^ Re: [Rails] [ANN] EzCrypto 0.2 with Rails support
163474 [rblists gmai] Very interesting. It's something  I'll need in a near future. I

^ IRB - correcting errors in blocks
163475 [hh hhenne.dk] When running IRB, and I have made an error, I miss a facility, which
163494 [james graypr] My .irbrc saves my irb history to a file, among other things.  Maybe

^ Problem installing FxRuby
163476 [NoOne Nowher] ...
163519 [lyle.johnson] OK, so if I understand this part correctly, you were trying to first
163537 [NoOne Nowher] ...
163538 [lyle.johnson] I *think* this should do the trick. Basically, after you do a "gem
163582 [NoOne Nowher] ...
+ 163617 [curt.hibbs g] I didn't really read this thread, but one thing below caught my eye.
| 163636 [NoOne Nowher] ...
+ 163633 [lyle.johnson] So far, so good.
  + 163647 [NoOne Nowher] ...
  + 163720 [pit capitain] Who is responsible for those names? Could they be changed to something
    163737 [lyle.johnson] If I recall correctly, they are predefined constants in the RubyGems

^ Cgi test failure.
163478 [dave.m email] Hy,
163480 [ruby.brian g] I think you started your script with eruby, not with ruby. Have you
163482 [dave.m email] Yes, my real target is to use sessions from a .rhtm file.

^ [ANN] Priority Queue 0.1.2 now as a downloadable gem
163479 [ruby.brian g] There are problems with gems created with ruby 1.8.3 which prohibited

^ create Date from Monthname
163488 [hh hhenne.dk] I have a string of format: '28/Sep/2005'.
+ 163489 [dteare teare] DateTime.parse works for me when using the format "2005-Oct-12".  I
+ 163493 [eban os.rim.] % ruby -rdate -e 'puts Date.strptime("28/Sep/2005", "%d/%b/%Y")'
  163495 [hh hhenne.dk] Thanks,
  163496 [langstefan g] % ri Time#strftime
  163500 [hh hhenne.dk] Thank you.

^ City and Connection
163506 [boyang.xia g] E. g. I am going to make a programm for a forwarding agency containing
+ 163509 [bob.news gmx] Well, a connection certainly needs a starting and ending point - at least
+ 163513 [dooby d10.ka] ...
  + 163524 [bob.news gmx] Because it's Bad, is's Bad-
  | 163581 [dooby d10.ka] ...
  | 163594 [bob.news gmx] LOL
  | 163598 [dooby d10.ka] ...
  | 163610 [bob.news gmx] No caffeine omitted ... I lean on bacon ;-)
  + 163529 [boyang.xia g] Thank you for your tip. Though I am not going to implement as you told
    163580 [dooby d10.ka] ...
    163661 [rascal1182 g] This sounds like straight-up graph theory.  The graph representations
    163685 [daniels pron] The proper answer is that you can implement this a million different
    164447 [boyang.xia g] Thank you, Daniel. I have tried to make an own implementation and then

^ City and Connection
163507 [boyang.xia g] E. g. I am going to make a programm for a forwarding agency containing

^ what version of ruby will run on osx 10.2
163508 [dhuebsch mac] I have a beige g3 that apple will not support past 10.2. What version
163539 [hramrach gma] Of course it does not. Look at the patches included in the finkpackage for 10.3.I guess the package would build on 10.2 as well. But I cannot try myself.Specifically I am not sure the environ patch would work on 10.2 as well.

^ bug in REXML escape codes
163512 [phlip2005 gm] require 'test/unit'
163591 [dooby d10.ka] ...

^ USB device
163514 [rene.davila ] ...
+ 163520 [blargity gma] If you're just looking to distribute a single ruby application, then Ruby2Exe
| 163523 [rene.davila ] ...
| 163563 [faker yahoo.] ...
+ 163832 [kero chello.] ...

^ TumbleDRYer (#53) - my solution
163517 [dmartenson m] I am not sure I understood the quiz this week. When I first read it, I
163522 [hgs dmu.ac.u] You were right the first time.  I was wondering how much of this
+ 163554 [dmartenson m] Below is my Huffman coding version. A sample of the output in included
| 163573 [dale.martens] For readability, I left the binary encoding as strings rather than
| 163596 [hgs dmu.ac.u] Yes, you could assemble the whole lot and use pack for that.  It was
+ 163635 [dbatml gmx.d] Here is my solution.
  163637 [hgs dmu.ac.u] A very nice solution.  Much simpler than the coding theory approach,

^ Ruby Beautifier
163518 [petermichaux] Is there a Ruby beautifier out there that can do more than just
+ 163535 [zdennis mkte] The following would be good if the programmer could set the values. Here
| + 163540 [petermichaux] How are code beautifiers usually written? Seems as complicated as a
| + 163834 [kero chello.] ...
+ 163551 [drbrain segm] ruby2ruby.rb in ZenHacks can do this at the cost of your comments

^ Trapping errors.
163528 [hgs dmu.ac.u] begin
163595 [bob.news gmx] Maybe it's in another thread.  Or your code is actually not between "begin"
163600 [hgs dmu.ac.u] there's no threading in there, and I'm pretty certain it is within
163756 [hgs dmu.ac.u] I see my changes to fileutils are now in the Ruby CVS.
163761 [bob.news gmx] Maybe there's another rescue clause that is closer to the place where the
163774 [hgs dmu.ac.u] But unless I have completely misunderstood the point of rescue, even
163793 [bob.news gmx] But who guarantees that the other rescue clause actually throws again?  If
163803 [hgs dmu.ac.u] Then it's already caught, and I should never see the error.
163806 [bob.news gmx] Why not?  If it's printed in the other rescue clause you would see it.  Or
163809 [hgs dmu.ac.u] I wouldn't see it as an error which kills my program.  It would have
163876 [bob.news gmx] Well, there's at least the theoretical chance that this block just calls
163878 [hgs dmu.ac.u] It died with a stack trace.  exit doesn't do that.
163884 [bob.news gmx] Yes, but it's not too difficult to print a stack trace like the one you
163886 [hgs dmu.ac.u] thanks.  It did the trick.  I was hoisted by my own petard.
163892 [bob.news gmx] Although the meaning is obvious I had to look up "petard".  Did you know
163896 [hgs dmu.ac.u] I thought you meant "Shaking Stevens" for a minute! I know it was
163899 [christophe.g] It does come from Latin through French too, but luckily it doesn't have the same
163907 [hgs dmu.ac.u] I should have put a smiley there :-)
163918 [christophe.g] I did understand it without the smiley, which is why I added the "Yeah, I know