128532-131431 subjects 129195-131222

Ruby-WordNet (was: Error with bdb installation)
128916 [lispamateur@] As I said in the other post, the Ruby-dbd installation went ok at home,

pass block to a method call?
128920 [jdavis-list@] def foo(&p)
+ 128921 [flgr@cc n. e] They pretty much do the same. The first will turn the block into an
+ 128923 [navindra@cs ] You can also use "yield" here instead of p.call.
| 128938 [jdavis-list@] That brings up another question: how do you call a function that accepts
| + 128939 [navindra@cs ] Yes they're the same.  You know about "irb" right?  You can try these
| | 128947 [eero.saynatk] def foo()
| | 128948 [eero.saynatk] Prepend the Proc with a &.
| + 129014 [bob.news@gm ] "Jeff Davis" <jdavis-list@empires.org> schrieb im Newsbeitrag
+ 128924 [halostatue@g] In the former case, the block is silently converted to a Proc object

A number of packages are being missed by rubygems
128922 [ljz@as as .c] I'm trying to download packages via rubygems, but only a subset of the
128937 [jim@we ri hh] How odd.  When I do
128946 [ljz@as as .c] Thanks for all your help.
128963 [ljz@as as .c] # ruby --version

methods/constants/classes available in context
128945 [jdavis-list@] I am learning Ruby and one thing I sometimes find difficult is knowing
128950 [eero.saynatk] If you want to know what a unit contains, www.ruby-doc.org is a good
128964 [jdavis-list@] Thanks, that's exactly what I was looking for. And thanks for the help
129013 [bob.news@gm ] "Jeff Davis" <jdavis-list@empires.org> schrieb im Newsbeitrag
129180 [cyberco@gm i] simply 'irb' offers tab completion by default with Ruby 1.8.2 (at least

Curses VS. Ncurses
128949 [badcherry@ma] I wish to write an application in ruby using Curses/Ncurses, but it seems as
+ 128951 [ruby-lists@l] i got my pure ruby curses editor working a while back on win32.
+ 129822 [tpeters@in a] ncurses-ruby aims to be a complete binding to the ncurses library.

postgres module
128965 [jdavis-list@] The primary module for accessing a PostgreSQL database seems to be the
128966 [ysantoso-rub] Actually, I think the more common one is with ruby-dbi (which

nil question
128967 [brian@br an ] I am a bit new to this, so please be gentle.  I was wondering about the
+ 128968 [joaopedrosa@] Maybe you will enjoy this. I like it. It's a feature for me. :-)
+ 128970 [sroberts@un ] Could this be perl?
  128980 [w_a_x_man@ya] puts "yes" if -5 < x < 9
  + 129003 [halostatue@g] Please see the thread beginning at [ruby-talk:42410]. It's also
  | + 129005 [martindemell] I still like
  | + 129076 [w_a_x_man@ya] But that's not as readable as  -5 < x < 9, which is how it is written
  |   + 129092 [eero.saynatk] Put this in a file and require it and you'll get the behaviour you
  |   + 129121 [dblack@wo bl] Ruby does incorporate ideas from many languages, but that doesn't mean
  |   | 129129 [martindemell] Well put :)
  |   + 129122 [halostatue@g] I would disagree with you regarding readability. #between? is a very natural
  |   + 129134 [hgs@dm .a .u] That's true for all statements in Icon.  I
  + 129006 [chneukirchen] (-5 < x) < 9
    129010 [dblack@wo bl] But -5 < -16 is not true, so it wouldn't get that far.  (I assume
    129018 [chneukirchen] So false is bigger than 9?  Math books will need to be rewritten. :-)
    129019 [dblack@wo bl] I assume the expression would short-circuit once one of the
    + 129022 [eero.saynatk] So...
    | 129029 [eero.saynatk] Stupid webmail. Fixnums and Numerics probably just use <=> and
    + 129031 [chneukirchen] So < would get a special operator.
    | + 129033 [eero.saynatk] [Snip my inanities]
    | + 129070 [dblack@wo bl] I agree.  I don't want it to change -- just discussing the way the
    + 129050 [drbrain@se m] Only operators can short-circuit.

Ruby CGI and blank form fields
128979 [mrmargolis@w] What would be the best way to check if a user enters a value into a form
128994 [mrmargolis@w] Please ignore this message.  I sent it to the list almost two days ago
128998 [martindemell] Why not post the solution, so that the next person googling for the

Ruby Weekly News 24th - 30th January 2005
128986 [timsuth@ih g] Ruby Weekly News 24th - 30th January 2005
129069 [transfire@gm] Tim have you tried submitting a weekly update to any of the major bb
129091 [timsuth@ih g] Good idea. I've emailed Linux Weekly News http://lwn.net/ about this - they
+ 129145 [transfire@gm] Maybe LinuxToday.
+ 129196 [transfire@gm] ...

Any Arachno Ruby for MacOSX Testers  ?
128993 [mailinglists] i worked the last few days on the MacOSX version and want to release
128997 [jtregunna@bl] I'd be willing to help test if you still need assistance.
129038 [lgalea@gm so] I'm a MacOSX user.. currently using Eclipse for Ruby development..
129074 [steinman@mi ] I'm a Mac OS X programmer (but new to Ruby).  I've beta tested products

Dup does not duplicate singleton methods
129000 [mystifier@us] ...
129001 [decoux@mo lo] use #clone

[ANN] XDCC-Fetch 1.386
129020 [martin.anker] Wohoo! XDCC-Fetch 1.386 is available, and now also via ruby-gems.
129026 [halostatue@g] ...and what is XDCC Fetch?
129102 [martin.anker] XDCC-Fetch, written entirely in Ruby, is an intuitive, no-nonsense tool

Read CSV-File (Comma Separated Values)
129025 [jakobfastenb] First of all, im a real beginner in ruby.
+ 129028 [usenet@pl nz] You should post with a real name here.
| 129039 [jamesUNDERBA] IO.readlines( 'filename' ).each{ |line|
| 129042 [langstefan@g] Shouldn't there be quotes around the comma?
| 129068 [jamesUNDERBA] Or regexp slashes, which is what I used, and which is what appears when
| 129153 [langstefan@g] Sorry, seems to be a bug in KNode. The slashes are actually in
+ 129093 [assaph@gm il] HTH,

ri/rdoc on gentoo
129027 [jim@cr ss ey] I'm pretty much there except for ri.
129030 [jason.sweat@] add doc to your USE flags when you emerge ruby
129036 [jim@cr ss ey] That's too simple.  :-)
129063 [jason.sweat@] No problem.

ruby, gtk and windows..
129034 [tom.rathbone] Just wondering if anyone had managed to get Gtk to work with ruby
129035 [joaopedrosa@] Regards,
129040 [eero.saynatk] There are other toolkits that you may want to take a look at, too.
129041 [ruby-lists@l] there is currently no windows build of qtruby.

The Internet Fiesta 2005 is starting NOW!
129046 [bienveillant] The Internet Fiesta 2005 is starting NOW!

[ANN]:  Arachno Ruby SUSE 9.1 Linux    0.1
129049 [mailinglists] Okay the MacOSX version was too buggy for a public release.
+ 129108 [    v@vs .r ] Arachno fails on SuSE 9.2 (2.6.8-24.11-default).
+ 129193 [guslist@fr e] It works fine (so far) on Mandrake 10.1.
  + 129194 [Tim.Ferrell@] ditto for Gentoo ... after I compiled and installed Fox 1.3.25 :-)
  | 129203 [mailinglists] Was there any problem with the bundled FOX shared lib ?
  | 129250 [Tim.Ferrell@] problems starting after the license dialog) and ran ldd and found that
  + 129251 [johnwilger@g] Seems to work well on Fedora Core 3. My only complaint with the

how to add one month or one week to a given Time?
129051 [svenbauhan@w] I want to add a given time difference to an Time object. My first idea was
+ 129056 [sroberts@un ] Yep, not as simple as you might hope.
+ 129061 [bob.news@gm ] "Sven Bauhan" <svenbauhan@web.de> schrieb im Newsbeitrag

Restoring global variables?
129057 [lists@be tr ] do I have any possibiliy to save and restore global
129064 [bob.news@gm ] "Bertram Scharpf" <lists@bertram-scharpf.de> schrieb im Newsbeitrag
129104 [lists@be tr ] * Newly created variables aren't destroyed.

Can't find tcltklib
129065 [kboruff@op o] A couple of weeks ago, I had installed 1.8.2.
129066 [kboruff@op o] Nevermind. I found the ext/tcltklib directory and the README file there so I

Emacs irb with tab completion?
129067 [jim@cr ss ey] Does anyone have tab completion working in the emacs inferior ruby

anybody found a way to  translate matz's blog?
129077 [sroberts@un ] I'm trying babelfish, but it hangs, and I'm trying systran, but it gives
+ 129081 [billk@ct .c ] Google -> Language Tools -> URL from Japanese to English (BETA)
| + 129096 [sroberts@un ] Wow. Actually, I think I understood more with my 10 year old japanese...
| | 129099 [rff_rff@re o] the excite engine seem better to me
| + 129101 [martindemell] I burst out laughing in the office :)
+ 129090 [matz@ru y- a] Some of them are translated into http://redhanded.hobix.com/ by some

'n' in debugger won't step over requires, this is a feature?
129080 [sroberts@un ] I would like to step through my code, but I don't think I should have to

'example.com' == 'example.com.' => false... is this intended?
129086 [sroberts@un ] I don't understand why DNS::Name#== requires both to be absolute if one
129585 [akr@m1 n. rg] I think it's right behavior.
129590 [sroberts@un ] Why? When are they not the same?
+ 129593 [akr@m1 n. rg] For example, if you have a machine named "museum", it is confusing with
| 129632 [sroberts@un ] You only sometimes distinguish between the two, sometimes you convert
| 129736 [akr@m1 n. rg] It is caused by the absolute/relative difference is not cared outside
| 129759 [sroberts@un ] Perhaps #subdomain?
| 129796 [akr@m1 n. rg] The term "subdomain" is good.
| + 129806 [sroberts@un ] Native speakers are as confused by their language as everybody else.
| | 130008 [akr@m1 n. rg] subdomain_of? and inspect is implemented.
| | 130020 [sroberts@un ] Thank you.
| + 129812 [halostatue@g] Might I suggest #include? instead? Thus, (using <> strings to
+ 129594 [navindra@cs ] "example.com" is a relative domain name.  Depending on your

why does debugger 'n' seem to run lines TWICE?
129087 [sroberts@un ] I see this often, but not always, and I don't understand.

new vs. initialize
129095 [jdavis-list@] If MyClass.new calls the initialize method, what calls the new method?
+ 129097 [discordantus] *You* call the new method. It's pre-defined in Class to work something
+ 129098 [drbrain@se m] You call the new method on a Class when you want a new instance of that

Recommendable ruby books?
129105 [tom.rathbone] Thinking of buy some literature to accelerate my learning Ruby.  What
+ 129107 [bob.news@gm ] "Tom Rathbone" <tom.rathbone@gmail.com> schrieb im Newsbeitrag
+ 129119 [lyle.johnson] It is rumored that Dave Thomas is working on a book on Rails. Maybe
| 129136 [mikewoodhous] Oh my, yes - the first Rails book will be a godsend! If Dave's not
| + 129138 [ruby.talk.li] What difficulties do you (or anyone, for that matter) have with Rails
| | + 129147 [lists@ha ff ] Personally, I think a book by Dave would be great for the Rails
| | + 129148 [belorion@gm ] IMHO, Getting a basic rails app up and running is not diffiicult...
| + 129141 [curt@hi bs c] Yes, Dave *is* working on an intro to rails book.
+ 129131 [brianm@ap ch] /The Ruby Way/, Hal Fulton

split string
129111 [caili@cd wb ] My job is to split the following string which contains some chinese
129114 [bob.news@gm ] "Cai Li" <caili@cdgwbn.com.cn> schrieb im Newsbeitrag
129128 [caili@cd wb ] efficient.
129133 [bob.news@gm ] "Cai Li" <caili@cdgwbn.com.cn> schrieb im Newsbeitrag
129201 [caili@cd wb ] did
129232 [discordantus] Silly or not, it's the default behavior. By default, any non-ascii

perl's -t and -B file tests in ruby?
129112 [wybo@se va y] -t : file (mostly STDIN) is attached to a tty
129113 [decoux@mo lo] uln% ri IO#tty?
129116 [theaney@ca l] In this context, Perl essentially means that the file has a lot of
+ 129118 [decoux@mo lo] Well, this is fine for english but what do you for other languages ?
| 129120 [decoux@mo lo] he can't
+ 129124 [wybo@se va y] (that don't look like UTF-8)
  129125 [decoux@mo lo] He is definitively an "anglois" : he know only ASCII and UTF-8

Ruby Electric Minor Mode
129130 [Dee.Zsombor@] Greetings Everyone!
+ 129191 [ruby@br an s] Thanks a lot, I searched for this just last week.
+ 129311 [guslist@fr e] Thanks to you for the code and the fix. It works now :)

Strong/Loose Typing [was Re: Ten Things Every Java Programmer Should Know About Ruby]
129132 [gavin@re in ] myObject.background = 'red';

ANN: eric3 snapshot released
129137 [detlev@di -o] I have just uploaded the first snapshot of the eric3 3.7 development. It
129505 [   a@ag i. s] Thanks Detlev. This is one of the best IDE I have ever used. similar to
129527 [detlev@di -o] And I would like to make it even better by giving it Ruby support to the

Oracle Adapter For Rails -- About When?
129139 [matt.bowen@f] I recently read a posting by DaveH who said that an Oracle adapter for Rails
129217 [rcapozzi@so ] I'd suggest at least reading the comments on some of the limitation on the

http_access2 and SSL
129140 [arw2xp7m02@s] I'm somewhat new to Ruby. I'm trying to force myself to use Ruby rather
129231 [nakahiro@sa ] You can tell a client not to verify the server with;

Re: eric3 snapshot released
129142 [curt@hi bs c] You could look at the debugger in FreeRIDE (http://freeride.rubyforge.org/)
129152 [Richard_Dale] Yes, that was my starting point for the KDevelop ruby debugger - thanks

[ANN] Arachno Ruby IDE  0.1.1  (for SUSE 9.1/9.2 and Ubuntu Linux)
129143 [mailinglists] This fixes a few small bugs, so that it now runs after installation

interacting with ruby program
129144 [navindra@cs ] Are there any nice or existing solutions for attaching to a running
+ 129146 [bob.news@gm ] "Navindra Umanee" <navindra@cs.mcgill.ca> schrieb im Newsbeitrag
| 129150 [navindra@cs ] Hmmm, yeah, not yet sure if webrick is an option for me.  Need to be
| + 129157 [bob.news@gm ] "Navindra Umanee" <navindra@cs.mcgill.ca> schrieb im Newsbeitrag
| + 129169 [martindemell] Why not just run webrick on an entirely separate port?
+ 129162 [matt.mower@g] I don't know if this is possible or not but I seem to remember that
| 129170 [navindra@cs ] irb(main):001:0> irb # new job
+ 129168 [flgr@cc n. e] This would be possible by using a secondary thread that keeps spawning
| + 129172 [navindra@cs ] Interesting.  Thanks for this easy looking solution!
| | 129173 [flgr@cc n. e] Yup, it's available as part of the Rails package, but I can also mail it
| | 129182 [navindra@cs ] Thanks.  I installed gems and rails.  I see you're the author of
| | + 129183 [zdennis@mk e] require "rubygems"
| | + 129184 [flgr@cc n. e] Thank you, always nice to get positive feedback. :)
| |   129186 [navindra@cs ] I am.  The telnet was just a test to see if the server was running.
| |   129188 [navindra@cs ] service.eval_handler = Handlers.method(:eval_handler)
| |   129189 [flgr@cc n. e] It's the first method invocation. So it still seems to be some kind of
| |   129192 [navindra@cs ] Thanks for your help in solving this by private email!
| |   129197 [flgr@cc n. e] I'll also have a look at trying to bind to druby://localhost:42530 and
| + 130891 [navindra@cs ] I am doing this now, but the problem is that I have quite a few
|   130901 [navindra@cs ] Sorry Florian, my initialisation order was wrong and I got confused.
+ 129171 [rasputnik@he] This sounds a lot like the breakpoint console in Rails - if you haven't
+ 129933 [csaba@ph ny ] I work on something like this. I just named my app interact.rb, which

PQA v1.5 released!
129154 [tom@in oe he] What's PQA?  It's a Ruby query analysis utility - it produces HTML

Default values for block parameters
129155 [matt.mower@g] I want to dynamically create (i'm trying to use define_method) a
129159 [bob.news@gm ] "Matt Mower" <matt.mower@gmail.com> schrieb im Newsbeitrag
129161 [matt.mower@g] Ah, thank you -- I had thought of using || to get the defaults but not
129233 [bob.news@gm ] "Matt Mower" <matt.mower@gmail.com> schrieb im Newsbeitrag
129235 [discordantus] I think that's a good assessment... I think historically, they may
129242 [matt.mower@g] Robert, Mark, thanks for your views.  That was really helpful.
129248 [bob.news@gm ] "Matt Mower" <matt.mower@gmail.com> schrieb im Newsbeitrag

Should every method have a module method?
129156 [transfire@gm] I'm looking at some the Rail's support methods to see what Facets can
+ 129163 [jeremy@bi sw] This is a picture of backward compatibility.  The Inflector module was
+ 129166 [dblack@wo bl] (Small request: can you not put | at the beginning of code lines?  It
  + 129177 [transfire@gm] Could one use subclasses in a manner of temporary delegation?
  + 129179 [transfire@gm] I wish it were as simple. I'm using Google Groups and if I don't put

$SAFE doesn't work as specified?
129164 [lists@be tr ] the Chapter "Locking Ruby in the Safe" says this should
129187 [assaph@gm il] This is the expected behaviour: inside the thread you create you set
129320 [lists@be tr ] Thank you very much for your detailed answer. I'm afraid to
129322 [assaph@gm il] Works fine for me: ruby 1.8.2 (2004-11-06) [i386-mswin32]
129332 [lists@be tr ] Yes, Linux.

Does docdiff and iconv run on windows?
129167 [axel.friedri] does docdiff and iconv run on windows, ruby 1.8.2 (2004-05-19) [i386-
131712 [nobu.nokada@] iconv.so works if you install iconv.dll.

What's the status of Rena?
129175 [lyle.johnson] Can anyone comment on the status of Rena
129178 [aredridel@gm] Using it without trouble, liking it a lot, not as complete as redland,
129181 [rff_rff@re o] someone could sum up the differences beetween rubyrdf, the samizdat
129185 [lyle.johnson] I did some research into Rena, Ruby/RDF and some of the other
129190 [rff_rff@re o] I knew, but I thought it somewhat embedded a module for handling RDF
129608 [angdraug@gm ] It can be, and it shouldn't be hard: I never got to do this only
129665 [aredridel@nb] I'd be very interested.
129668 [rff_rff@re o] +1 from me
130032 [angdraug@gm ] Ok, I'm convinced, wait for the first release in the next couple of days.