116409-119999 subjects 116880-121116

[ANN] Dedicated Rails mailing list
116616 [david@lo dt ] So I finally caved in. There's now a dedicated Rails mailing list at

IOWA Question (long because of code snippets)
116630 [ben@bl hr co] I've been looking through the archives of this list some, but I'm feel
116712 [khaines@en g] I obviously need to get more documentation up on the web, as you are the

Re: DBI Mysql storing DBI:binary, trouble with character 26
116632 [jhauss@gf .f] EUREKA.

[RCR] digest/from_io
116637 [mneumann@nt ] Would be nice to have in standard Ruby, as it's common to calculate a
+ 116689 [gsinclair@so] Yeah, sounds like a good idea.
+ 116691 [nobu.nokada@] def Digest::Base.from(src)
  116852 [mneumann@nt ] What if #each does not return a string? Does #update work for all Ruby
  116861 [halostatue@g] src.each { |data| digest.update(data) }

GEMs and RPAs
116649 [the_pinestra] I'm not sure what I would call myself as far as Ruby
+ 116651 [eeklund@gm i] RubyGems attempts to make it possible for authors to package their
| + 116656 [cameron.mcbr] I find the above fact very awesome.  Kudos to both groups!
| + 116659 [chadfowler@g] Well said, Eivind.  The biggest difference is that RubyGems is a
+ 116655 [james@gr yp ] Just to add a little to what others will say, I believe Gems have
  116694 [transami@ru ] I haven't tried RPA yet, does RPA have uninstall command?
  116696 [dross@co e- ] dross@dfbsd0:~> rpa
  116764 [brianwisti@y] [ ... ]
  116765 [dross@co e- ] I forgot to add the word yes. I just wanted to show what other commands

Need Help on Ruby Details
116650 [litleguy@be ] I am shooting in the dark here. I have few very significant questions
+ 116658 [halostatue@g] I don't understand your first question at all; for your middle
+ 116666 [markus@re li] I am in part guessing what you want to know.  You may want to look at
+ 116699 [eule@sp ce c] Your mail seemed very intriguing: If you don't have to violate
| 116708 [litleguy@be ] I am diggin myself into ruby. As in C/C++/C#, Ruby must have tons of
| + 116713 [bob.news@gm ] This thread becomes stranger with every posting: you're new to Ruby but
| | 116720 [batkins57@gm] The original post seemed almost like a homework assignment.
| + 116723 [james@gr yp ] The Pragmatic Programmer's Guide (Second Edition)" may just be the best
+ 116711 [rff_rff@re o] people already answered that you should be little more specific and

Eating sandwiches in the park
116652 [markus@re li] If I decide to lunch in the park, taking my sandwich and bag of
+ 116657 [eeklund@gm i] Because people are putting sandwitches everywhere, and a lot of us are
| + 116661 [brianwisti@y] I don't know about you, but I always check to see what's in my sandwich
| | + 116664 [eeklund@gm i] I'll just have to say that this does not match my experience.  I
| | | 116668 [brianwisti@y] Sorry, I committed an error of omission with my message. I was
| | + 116671 [markus@re li] Exactly, save one point: it also pays to keep an eye on people who
| | + 116705 [jamesUNDERBA] I'm still thinking of a semi-coherent addition to this thread, but in
| |   + 116732 [michael.deha] I am but a new convert here (coming from many languages, but loving
| |   | + 116734 [dross@co e- ] There is a project that is CPAN-like, its called RPA. It ca be found at
| |   | + 116744 [transami@ru ] I have heard this before, but I am not familiar with CPAN. What is so good
| |   | | 116756 [dross@co e- ] CPAN  - www.cpan.org
| |   | + 116745 [eeklund@gm i] I think Ruby does a very, very good job of making the good stuff easy
| |   |   116754 [chadfowler@g] Same here with RubyGems (http://rubygems.rubyforge.org).  We've never
| |   + 116743 [hal9000@hy e] And I in the meantime have Tom Lehrer's song running through my head,
| |     116768 [brianwisti@y] "When they see us coming, the coders all try and hide.
| |     + 116771 [markus@re li] I'd love to try the veal if the source code is available (you see,
| |     + 116796 [ptkwt@ar cn ] Now that US programmers are classified as an endangered species...
| + 116665 [eeklund@gm i] I just realized I'd misread the original mail as an anology for the
| | 116672 [markus@re li] No worries.  It gave me a brief happy moment of wondering if it
| + 116669 [markus@re li] But this is exactly the point I don't get.  Who is forcing you?  Do
|   + 116673 [eeklund@gm i] Employers, generally.
|   + 116674 [jgb3@em il b] No guns, but something just about as scary: the risk of losing my
|     + 116676 [brianwisti@y] Hmm ... I guess it's up to us to (nicely) slap down anybody who tries
|     + 116679 [markus@re li] Bingo.  I think that was the step I was missing.  I feel quite
|     + 116755 [jamesUNDERBA] I, too, have been earning a living using Java.  It's not so much
|       116758 [markus@re li] You see it (at least I do) but you don't recognize it as "a new,
|       116761 [jamesUNDERBA] Good point.  I have some Ruby code that does XML transformations sing
+ 116667 [mkhan@le tr ] If you work for my sandwich franchise, you will have to make it the way
+ 116688 [Richard_Dale] The difference between the expectations of programmers with respect to the
+ 116772 [horacio.lope] mayonnaise, anyone ?

HELP with hard questions about Ruby's core
116653 [litleguy@be ] I am shooting in the dark here. I have few very significant questions

Nubie: How to start?
116670 [graham@in a.] I need to write a SQL report agent. Very simple.
+ 116675 [james@gr yp ] Ruby has a DBI, like you're probably use to with Perl.
+ 116677 [zdennis@mk e] This is very simple with the Net::SMTP library. It is apart of the
+ 116678 [shanko_date@] <graham@inca.freeserve.nospam.company.unitedkingdom>
  116778 [graham@in a.] They are either Oracle or MySQL, but we have several different

[ANN] Needle 0.5.0
116695 [jgb3@em il b] Needle is a new dependency injection (a.k.a. "inversion of control")

diff2html - Pretty-printing big patches
116700 [burtdav@ho m] I've just written a script which takes a unified recursive diff patch (ie
+ 116735 [shanko_date@] Dave,
+ 117012 [burtdav@ho m] Anyone who's downloaded it, or is interested, the file has been updated with

[Q] drb, Session::Bash & FreeBSD
116701 [listen@ma cr] Dear list,
+ 116702 [listen@ma cr] #!/usr/local/bin/bash
+ 116715 [listen@ma cr] - when I started the script manually I was always the user "toor" (thats an
| 116746 [Ara.T.Howard] ...
+ 116725 [dross@co e- ] Okay, issue1. you shoulnt use direct paths. use
+ 116728 [rasputnik@he] I'll leave aside the whole security thing of this for now :)
| 116740 [Ara.T.Howard] as an aside, you can set the path of a session using
| 116806 [listen@ma cr] [path setting discussion]
| 116808 [Ara.T.Howard] you could change this with
+ 116741 [Ara.T.Howard] benny-
  116807 [listen@ma cr] it ran as root in both cases, so the permissions should make no difference.
  116814 [Ara.T.Howard] try this
  + 116816 [Ara.T.Howard] benny-
  | 116819 [listen@ma cr] yes sure, but since the recipient has the id_rsa.pub in his known hosts its
  + 116817 [listen@ma cr] the logfile is created and filled correctly with the output of the script.
    + 116820 [Ara.T.Howard] ...
    | 116824 [listen@ma cr] total 32
    + 116821 [Ara.T.Howard] basically this is saying that session never finds the end pattern in it's
      116826 [listen@ma cr] ok, I'll try this tomorrow because I am going to bed now if you dont mind :)

Re: Querying class attributes
116703 [bob.news@gm ] "DaZoner" <nobody@nowhere.com> schrieb im Newsbeitrag
116851 [bob.news@gm ] "DaZoner" <nobody@nowhere.com> schrieb im Newsbeitrag
+ 116909 [charleshixsn] There's documentation there, allright, but the methods seem to be a bit
| 116937 [bob.news@gm ] "Charles Hixson" <charleshixsn@earthlink.net> schrieb im Newsbeitrag
| 116982 [charleshixsn] Pickaxe II has the same problem.  In fact, they explicitly acknowledge
| 117011 [bob.news@gm ] "Charles Hixson" <charleshixsn@earthlink.net> schrieb im Newsbeitrag
+ 116941 [jamesUNDERBA] Do you mean ruby-doc.org?
  116947 [bob.news@gm ] "James Britt" <jamesUNDERBARb@neurogami.com> schrieb im Newsbeitrag

Can one simulate go to in Ruby? Is it possible?
116707 [litleguy@be ] Is it possible to have a go to in Ruby without having a go to?
+ 116710 [bob.news@gm ] "Roman K9" <litleguy@bendbroadband.com> schrieb im Newsbeitrag
+ 116717 [B.Candler@po] although it's more an academic exercise in understanding continuations
+ 116718 [rff_rff@re o] def goto(cont)
+ 116722 [james@gr yp ] Everybody else has shown the black magic, so I'll take an easier
+ 116724 [phlip_cpp@ya] Thanks! Thanks a lot!
| 116742 [ummaycoc@gm ] #!/home/ummaycoc/bin/ruby -w
| + 116750 [jgb3@em il b] That's just...wrong. Wow. :) Thanks for the enlightenment, Matt!
| + 116757 [B.Candler@po] The trouble with that is that you are *recompiling* each line as you run it.
| + 116763 [comp.lang.ru] [ Unholy morphing of Ruby into Basic deleted]
| | 116783 [ummaycoc@gm ] Actually, I made the fatal mistake of leaving some of that code in the
| + 116789 [billk@ct .c ] Ewwwwww..lol... reminds me of walking into Radio Shack stores
|   + 116795 [ummaycoc@gm ] Dismember a dead thing?  It will now follow you in parts!
|   | 116797 [transami@ru ] You're right, there isn't ONE word. That's because everyone knows YOU SHOOT IT
|   | 116798 [zachc@no te ] ...
|   | 116799 [ummaycoc@gm ] The Zombie Ninja/Jedis have been sent to `annhilate' you, as you
|   + 116860 [curty@fr e. ] Dezombify.
|     116869 [markus@re li] How about "hug"?
+ 116916 [sroberts@un ] catch/throw allow the creation of goto like behaviour, including
  116977 [litleguy@be ] Thanks for the evil info.

Again some problem with my multithreaded teadrinker app
116721 [heimdall@un ] I still have some problems with my teadrinker app. After I implemented
116767 [markus@re li] I'd suggested this before (as the solution to your first problem) but it
116779 [heimdall@un ] It seems to work if I start many threads, but if I only use three I get
+ 116780 [markus@re li] Odd.  I'll look at it some more this evening (though as I'm leaving for
| 116784 [heimdall@un ] Oh, have a nice trip.
| 116790 [heimdall@un ] Forget it. I tested this five times and it always crashed with 0 and 1
+ 116843 [markus@re li] I think (and this  late in a long day for me, so I may be wrong)
  116866 [heimdall@un ] This has come in my mind, too, but...
  116870 [markus@re li] ...
  116872 [heimdall@un ] I had a typo (dinker_cv.signal instead of drinker_cv.signal) in the
  116875 [markus@re li] IIRC correctly, you normally would have gotten a similar message (or one
  116877 [heimdall@un ] Ah, thanks. After setting Thread.abort_on_exception = true I get

[QUIZ] Regexp.build() (#4)
116726 [james@gr yp ] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 116906 [jgb3@em il b] ...
| 116919 [james@gr yp ] My solution is pretty different and admittedly only so, so in
+ 116923 [akr@m1 n. rg] def Regexp.build(*args)
+ 116928 [discordantus] Well, I came up with two solutions... But I wasn't able to complete
  116940 [discordantus] Okay, I guess posting this to the list must have jostled my brain
  + 116978 [james@gr yp ] You twisted mine too!  Very nice work.
  + 117079 [t_leitner@gm] I have had the same idea once my simple solution (using each integer in a range) failed with large ranges.
    117229 [james@gr yp ] I'm not sure about shortening the methods Thomas, but it strikes me

[ANN] diagnose tool for PHP libraries
116731 [r_mueller@im] I've just finished a diagnose tool for PHP. It displays the functional

[ANN] diagnose tool for ....
116733 [r_mueller@im] Damn,

Stable Version of RubyGemm
116759 [mkhan@le tr ] What is the latest stable version of RubyGems?
116760 [dross@co e- ] 0.8.1

is $? threadsafe?
116766 [Ara.T.Howard] anyone?  how about all the other global vars?
116773 [binary42@gm ] I believe they are thread global (one per thread) and thus thread safe

Re: [QUIZ][SOLUTION] Geodesic Dome Faces (#3)
116770 [WBrown@is ft] Dennis,

[ANN] dirwatch-0.0.3
116775 [Ara.T.Howard] URIS
116830 [botp@de mo t] I guess this is different from directorywatcher, no?
116834 [Ara.T.Howard] ...

pipe buffering
116792 [Ara.T.Howard] has anyone out there mananged to cause problems writing huge buffers to ruby's

Thread#abort_on_exception=true and exit(0)
116794 [Ara.T.Howard] i'd like a way to fork a child, while will have a heartbeat thread running
116837 [matz@ru y- a] How about wrapping everything in the
116839 [Ara.T.Howard] perfect - i'll take it!

116801 [rutgerdevos@] Ik heb nou al een paar spellen geinstalleerd, maar elke keer krijg ik te

116802 [rutgerdevos@] Ik heb nou al een paar spellen geinstalleerd, maar elke keer krijg ik te

Rockit status?
116803 [djberg96@ho ] Just curious if we'll see another release of Rockit some time this year. :)
116844 [feldt@ce ch ] Yeah, I sent out a pre-release of 0.7 to some folks but then got stuck
116856 [sdate@ev re ] Me too .. please :-)

retrieve column # of calling function
116805 [phlip_cpp@ya] Consider this excellent trace_{} method, based on code posted here by one
116818 [flgr@cc n. e] ...

116810 [hal9000@hy e] I thought (correct me if I'm wrong) that SDBM had the same
116812 [rff_rff@re o] thewre was a bug in sdbm up to some stage.. related to objects converted
116815 [hal9000@hy e] I think I'm only using strings as keys.

[Chocolate Ketchup Dressing] A working Ruby source code filter
116822 [flgr@cc n. e] ...
+ 116850 [rff_rff@re o] hypercool!
+ 116953 [ehames@gm il] I mean obj.reverse seems to be the same as obj.reverse!
  116955 [bob.news@gm ] "Edgardo Hames" <ehames@gmail.com> schrieb im Newsbeitrag

turning a non-ASCII character into a XML entity with REXML?
116823 [sera@fh an .] I asked this a little while back but maybe didn't ask the right way, so
+ 116848 [patrick@he a] I think there's an escapeHTML function on the CGI that might do it.  Of
| 116867 [sera@fh an .] I just tried; it doesn't do it.
+ 117040 [B.Candler@po] Not exactly what you're asking for, but you could use Iconv to convert

include semantics broken?
116829 [bob@wi ds ng] module A
116917 [ruby@br an s] You can tell ruby to start from the "root"-namespace by prefixing with a

Popen and operations failing later
116831 [dga@lc .m t.] This is likely my brain missing something, but I'm having a hard
+ 116835 [Ara.T.Howard] not sure if it's important but
+ 116846 [markus@re li] What sort of errors?  In other words, are they appropriate to the
+ 117003 [dga@lc .m t.] A few more details about the problem I've been having with
  + 117004 [dga@lc .m t.] btw, someone asked about any error message from this.  Nothing
  + 117125 [dga@lc .m t.] Just as a followup - bug located.  One of the tables ended

retrieve column # of calling function
116836 [phlip_cpp@ya] Thanks; that's good to know. But...

narf slides from RubyConf 2004
116847 [patrick@he a] thanks for everyone involved with the conference: attendees, speakers,

summary of available Ruby channels (IRC)
116853 [neoneye@ad l] #ruby-lang
+ 116859 [jamesUNDERBA] Any pointers to "IRC for the Slow-Witted", and IRC etiquette?
| 116862 [dross@co e- ] Do you mean for IRC clients? What to watch out for?
+ 116952 [roberto@RE O] There used to be a "ruby-fr" for French speaking people but I'm not sure

[ann] svg graph generator, early release
116854 [neoneye@ad l] This is still in alpha stage.. but maybe it has others interest?
+ 116855 [horacio.lope] It looks great Simon.
| 116857 [neoneye@ad l] I am considering making a barchart.  I have no plans about pie nor gantt
| 116858 [horacio.lope] you *may* want to have shadows if you have a good laser printer
+ 116888 [jamesUNDERBA] Any relation or shared code or comparisons with Sean Russell's SVG::Graph?
| 116891 [neoneye@ad l] Wow.. there is a bunch of nice charts here.
+ 116985 [elvstone@gm ] Not that it really matters, but graph != chart, they are different

[ann] danish book.. early peek
116863 [neoneye@ad l] book.  I unfortunatly have little time, so I though I rather would share some

ruby-dev summary 24354-24486
116868 [ttate@tt ky ] Here is a summary of recent topics posted on ruby-dev.
116883 [robo@ma s. o] Using WinXP Ruby 1.8.1, "a".sum(32) returns 97 for me?
116884 [matz@ru y- a] It depends on compiler's undefined behavior.

drb bug in 1.8.2
116871 [Ara.T.Howard] i just installed 1.8.2 and am having failure in a program which uses drbunix
116874 [Ara.T.Howard] sorry to reply to my own messsage - but the above is not, in fact, correct.

[SUMMARY] Geodesic Faces (#3)
116876 [gavin@re in ] 1) What the heck was I talking about?
+ 116904 [james@gr yp ] It's a guideline, not a rule.  I don't mind the occasional challenging
+ 116968 [martin.anker] Now that's interesting, because my emphasis was to make the program as
| 117021 [gavin@re in ] I am guessing that it has to do with your reduced number of classes and
| 117024 [gavin@re in ] Er, that, and the fact that (unlike me) you didn't waste time with a
+ 117014 [dennis.ranke] Woah ;)
  117020 [gavin@re in ] I think it's all the trigonometric functions.