80257-80940

80041-81115 subjects 80504-81134

^ Readline history, and general binary module doc
80257 [markjreed ma] Where can I find documentation for standard library modules
+ 80260 [mgarriss ear] If you're feeling brave you could read the ./ext/readline/readline.c
| 80306 [gsinclair so] No you don't :)  Run irb and enter "Readline.instance_methods"!
| + 80318 [markjreed ma] I do inspect objects and modules frequently to find out what
| + 80343 [dmertz free.] (Readline.public_methods - Object.public_methods).sort
+ 80261 [gfb tonesoft] Ruby distribution has directory "ext" that contains varios extention

^ Help! redirecting stderr 1.6.x and 1.8 differences
80263 [andrew walro] I want to log stdout and stderr of a compile to a file, so I use (for
80265 [gfb tonesoft] I would do
80271 [andrew walro] Perfect - thanks!

^ Named matches for regular expressions (was: Re: Specification of  Ruby regex?)
80270 [wjl icecaver] Something like this?
80273 [austin halos] No. See [ruby-talk:79047] and following.
80277 [wjl icecaver] Well, that is useful too, but quite different from what the OP asked for

^ repeated text....
80289 [michael_s_ca] An example is below; every now and then I get a mail that shows the
80302 [nathaniel NO] My guess is that the issue is on your side, as this is the message I
80315 [michael_s_ca] Entirely possible... It just started in the last couple days, and it happens

^ Re: Any sample code where ruby is used in the Eclipse development environment?
80290 [achou tealea] This is a multi-part message in MIME format.

^ You know what I want?
80296 [kdresner cs.] I want a Perl CGI script that will run a Ruby CGI script.  The admins of
+ 80298 [B.Candler po] #!/usr/local/bin/perl
| + 80300 [hal9000 hype] Maybe he hasn't realized he can run a private copy of Ruby without the
| + 80307 [james_b neur] Well, *technically*, the Ruby script is not doing any CGI stuff, no?
+ 80317 [tim vegeta.a] You'd have to elaborate on this a bit more.  For one, *why*
| 80319 [kdresner cs.] I found out the problem.
+ 80446 [mvondung gmx] Now, doesn't that sound familiar! I've had the very same problem just a
  80455 [austin halos] Chances are, when he starts to convert them to Perl, he'll become a convert
  80459 [kdresner cs.] Sooo true.  I was just sitting here thinking "Um, that's going to suck,

^ ri
80309 [maillist bes] Where do I find the ri program, I looked on raa but I couldn't find it.
+ 80310 [Dave PragPro] ri for Ruby 1.8 is at sourceforge.net/projects/rdoc
| + 80312 [maillist bes] thanks Dave
| + 80356 [androflux so] I wondered where to find ri for 1.8 too and ending up asking in
|   + 80384 [nospam4.me o] Exactly!  Ummm ... what it is?  Ruby Info perhaps?
|   + 80402 [gsinclair so] I added that download URL to http://www.rubygarden.org/ruby?RIOnePointEight
+ 80357 [rvb rvb.dynd] if you are using debian there is a package called "ri". but since it
  80370 [gfb tonesoft] Enjoy,

^ errors compiling Ruby under Solaris
80316 [kdresner cs.] I'm trying to compile Ruby under Solaris.  I suck at C, so I don't know
80320 [nobu.nokada ] I have no clue about Solaris system headers, what are there
80322 [nobu.nokada ] As for this, I heard that gcc 3.0 has problems but 3.0.3 works
80327 [kdresner cs.] I am using 3.0.3.
+ 80329 [hal9000 hype] Maybe you can put it on the web somewhere and post a
+ 80331 [nobu.nokada ] Hmmm, more recent one doesn't work?
  80345 [kdresner cs.] 1.8.0
  + 80347 [djberge qwes] I recommend upgrading your gcc to 3.2 or later.  There are several
  | 80349 [kdresner cs.] Unfortunately, I'm not in charge of the machine in question. :o(
  | 80352 [djberge qwes] I first mentioned this issue in ruby-talk 67160, and subsequently (with
  + 80663 [nobu.nokada ] What headers do you need to compile sys/socket.h?
    80668 [kdresner cs.] Should I write this C program and try to compile it?
    80670 [nobu.nokada ] Yes, but you can't compile it.  We need to know how we can
    80672 [kdresner cs.] It turns out that the thing I sent before was from a Solaris 9 machine,
    + 80682 [B.Candler po] FYI I've compiled ruby-1.8.0 on several Solaris 8 machines, without
    + 80691 [nobu.nokada ] Try -E option to check the pre-processed source.
    | 80693 [kdresner cs.] Is this -E on make?
    + 80695 [decoux moulo] What is strange is that you don't have the flag -DHAVE_SOCKADDR_STORAGE
      80696 [kdresner cs.] Yeah.  I downloaded 1.8.0 from ruby-lang.org and did ./configure ; make
      80697 [decoux moulo] Can you post the file
      80698 [kdresner cs.] Here it is.
      80699 [decoux moulo] I don't understand, in [ruby-talk:80672] you were saying
      + 80700 [kdresner cs.] I went looking in /usr/include/sys/stream.h and there is no projid_t.
      | 80701 [decoux moulo] no, make
      | 80702 [kdresner cs.] It appears to have compiled socket correctly this time... I
      + 80703 [nobu.nokada ] My guess is that something in line 307 is defined as projid_t
        80704 [kdresner cs.] typedef struct datab {

^ Sample code of all Ruby-powered  website
80321 [REMOVE_THISu] I was wondering if there is some sample Ruby code for a fully functioning

^ Webrick and CGI question
80325 [mwilson13 co] How do I tell Webrick to use ruby to execute a cgi program? The
80326 [nahi keynaut] Mount the handler to "/cgi-bin" not "cgi-bin" here.

^ Blocks, eval and named parameters
80332 [djd15 po.cwr] So I was reading the brief discussion on named parameters in the
80346 [djberge qwes] It's been discussed on RubyGarden to some degree.  See
80411 [djd15 po.cwr] Thanks for the link, but it doesn't seem to answer my question at all
80431 [batsman.geo ] Hal introduced the following technique in his presentation at the
80470 [dhtapp cox.n] What a thoroughly useful set of slides for a newbie.  And, as a bonus, an
80477 [hal9000 hype] Thanks. That kind of comliment makes it worthwhile.

^ [ANN] QuiXML 0.0.0
80333 [sean cSePlso] Announcing the first public release of QuiXML 0.0.0
+ 80380 [vjoel PATH.B] Looks nice.
| 80382 [sean cSePlso] No, and I have no good ideas on how to do that.  Code-wise, it wouldn't
+ 80390 [ben blahr.co] Sean-
| 80398 [sean cSePlso] Thanks, and please do, I look forward to getting more comments.
| 80502 [ben blahr.co] I think this could be done relatively easily. The children member variable
+ 80403 [gsinclair so] I'm curious, what features did you need that weren't already provided?
  80427 [sean cSePlso] Well, quite a few things I couldn't get in a single library.
  80441 [dan tastapod] It sounds to me as though you would get much better mileage from YAML
  + 80463 [ruby-talk wh] If you load a YAML document as a parse tree, you can perform YPath queries
  + 80468 [sean cSePlso] Well, I had already found ways to do what I needed, but as I think my

^ PLS REPLY ME
80334 [peteradebayo] DEAR SIR,

^ [ANN] ruby-fcgi-0.8.4
80340 [moonwolf moo] ruby-fcgi-0.8.4 released.

^ Newbie question
80342 [REMOVE_THISu] What's the difference between the ActiveScriptRuby and MSWIN32 from The
80362 [austin halos] The former is a WSH target; the latter is general Ruby. ActiveScriptRuby is
80408 [REMOVE_THISu] Thanks. So, in your opinion, which one will give us the
80452 [austin halos] I only use the PragProg installer. I don't need a WSH target for this. I'm

^ Mac OS X and ruby-postgres again
80354 [tym NOSPAMsy] Yes I am new around here and to ruby in general.  I have checked the
+ 80358 [easco mac.co] ".so" is not an extension that one usually finds on Mac OS X.  Most
+ 80359 [mccallister ] How did you install postgresql? I had to specify the location of the
| 80365 [tym NOSPAMsy] Thanks for the reply
| + 80366 [mgarriss ear] Are the postgres libs in the you library path (or whatever it's called
| | + 80368 [mgarriss ear] Are the postgres libs in your library path (or whatever it's called in
| | + 80373 [easco mac.co] To answer the question "What is it called in Mac OS X", repeat the
| + 80371 [easco mac.co] Try adding
| + 80374 [easco mac.co] Another solution would be to edit the extconf.rb file, remove the
| | 80426 [tym NOSPAMsy] Thanks again to everyone for trying to help with this!
| | 80429 [decoux moulo] Well I don't know Mac OS X ("la chose") but on un*x this can be solved
| | 80450 [easco mac.co] On Mac OS X, you probably want to add it to the "DYLD_LIBRARY_PATH"
| + 80383 [mccallister ] Cool, I never knew about that package ;-)
+ 80529 [tym NOSPAMsy] Now, thanks once again to everybody for the friendly, thoughtful and

^ Rexml 2.7.1 in ruby 1.8.0
80361 [han.holl pri] Is there any compelling reason to include an unstable version of REXML in a

^ 'printer queue is full - connect(2)' in 1.8
80377 [chrismo clab] I noticed I get the following error msg from Ruby when I can't connect
80385 [nathaniel NO] This was brought up recently and matz said in [ruby-talk:80314] that it

^ Design help? Mixins and duck-typing
80381 [kirindave le] My understanding of proper Ruby and duck-typing idoms is still pretty raw, so I
80392 [ahoward fsl.] something like this would allow the various mixins (like TCP) to 'inherit' (via

^ [OT] A game to help you learn Japanese
80388 [lyle users.s] I just saw an announcement for this project on freshmeat.net and thought

^ sorting on hash contents
80393 [probertm NOS] Say I have a hash of 4 elements, val[1..3] and name
+ 80395 [wjl icecaver] Not a full answer (no time right now), but run this in irb and it should
+ 80406 [ahoward fsl.] whenever i end up needing sorted hashes i ALWAYS use the rbtree package from

^ os x / mysql : install 1.8 : ruby = nil
80399 [paul vudmask] I'm trying to install ruby/eruby and mysql to learn ruby for web stuff
+ 80401 [easco mac.co] When Apple installs ruby, they install it in /usr/bin and put the
| 80456 [paul vudmask] Thank you both for your great help - with it i've manage to get ruby
| 80458 [easco mac.co] Well... tcsh or bash... you'd still be running the same whereis.
| 80512 [paul vudmask] Most cool, so let me make sure i have this correct..
| 80517 [easco mac.co] Don't try to change the location of /usr/bin!
| 80749 [paul vudmask] Thanks Scott. i"ll try this when i get back to my mac.
| 80825 [paul vudmask] Ok, maybe i'm gettin closer....I did what you suggest...
| 80861 [easco mac.co] You've created what in UNIX is called a "symbolic link" from
+ 80405 [ahoward fsl.] this is probably because './' (the current directory) is not in your PATH.

^ getting the arity
80410 [quixoticsyco] I would like to get the arity of a method.  However, arity is a method
+ 80415 [news stud.nt] String.instance_method(:replace).arity #=>  1
+ 80416 [decoux moulo] This is just an example
+ 80417 [harryo qiqso] Here's a starting point.  Note that, of course, you get a lot more methods than you bargained for, because it will show you all the inherited methods, too.
+ 80419 [matz ruby-la] You can get UnboundMethod from a class, e.g.

^ YAMLand rbtree, was: Re: sorting on hash contents
80412 [vjoel PATH.B] I notice that rbtree works with Marshal, but not YAML. What methods
80467 [ruby-talk wh] Currently, RBTree would need to inherit from Hash (or) introduce custom

^ Re: Why would you abandon Ruby? [wxWindows binding]
80414 [aredridel nb] I just checked release 0.1.0 into PLD's specs CVS tree, after some

^ So frustrated and dissapointed ...
80421 [REMOVE_THISu] with mswin32 version of eruby/mod_ruby for ruby 1.8 and recent apache

^ irb.bat "bug"?
80428 [harryo qiqso] I just tried to run irb for the first time on Windows and hit a minor snag.

^ [BUG] Additional info regarding ruby-talk:66239
80435 [idan idanso.] I have recently encountered similiar problem as described on that thread, i.e., rb_bug
80436 [matz ruby-la] It does not happen on the latest CVS.  I'm not sure whether we already
80476 [idan idanso.] Negetive, I can still reproduce the problem from the latest CVS. It was
80561 [decoux moulo] Not really sure, but seems to be a bug in gcc : someone can test it with
80623 [decoux moulo] An example to see the problem (ruby-1.8.0, gcc 3.2 Redhat 8)

^ Like javadoc
80437 [andre syspoi] is there a documenter system like javadoc for ruby?
+ 80438 [ oct zoy.org] it's called RDoc, available at http://rdoc.sourceforge.net
+ 80440 [rvb rvb.dynd] yes, there is rdoc from http://rdoc.sourceforge.net/ ...

^ Advanced Ruby Programming
80439 [xrfang hotma] I have been using ruby for awhile, but I still know very little about it
80443 [spoon dellah] Separation of code?
80449 [xrfang hotma] Oh, that's part of a regexp? Thanks a lot :)

^ BUSINESS ASSISTANCE
80444 [hobertmula20] This is a multi-part message in MIME format

^ UDPSocket problems with MacOsX
80451 [wiswedel kho] ie got a problem with UDPSocket under MacOsX 10.2
80453 [easco mac.co] Does it work better if you use the empty string instead of nil in the

^ #collect with block modifying receiver
80457 [hal9000 hype] I'm wondering what should be the behavior of collect when the block
+ 80462 [djberge qwes] Hal,
+ 80464 [msparshatt y] Running the code from The Ruby Way I get
  80466 [hal9000 hype] OK, so this *really* makes me wonder what the "theoretically correct"
  80482 [matz ruby-la] Ah, listen, it's undefined behavior. ;-)
  + 80486 [sean cSePlso] I have to assert my support of this position; modifying a receiver while
  + 80550 [dan tastapod] So it's undefined behaviour, but "Don't modify the receiver while you
    + 80558 [hal9000 hype] I think throwing an exception falls under "exact behavior." :)
    + 80571 [austin halos] I wouldn't like that, personally. I don't remember exactly where, but I
      80572 [hal9000 hype] Well, if I understand Matz correctly, this behavior is not guaranteed.
      + 80574 [austin halos] I donno. I think that this is something "dangerous" that should be
      + 80576 [dblack super] I think (Matz - ?) that Matz was talking specifically about changing
        80579 [hal9000 hype] Yes, I agree. But to avoid confusion for others, let me point out that
        80588 [dblack super] Whoops -- too late to prevent confusion for me.  My only excuse is

^ eruby / mod_ruby os x 10.2 - _ap_null_cleanup error
80460 [paul vudmask] Anyone have any success installing eruby/mod_ruby in os x 10.2? I've
80461 [easco mac.co] It just struck me.
+ 80511 [paul vudmask] It put them in a place that was different...than the docs i found for
+ 80525 [paul vudmask] I'm way over my head here :-)
  80748 [paul vudmask] When i did a search only one showed up but there are at least 2. I did

^ BUSINESS ASSISTANCE
80465 [lobetojr net] This is a multi-part message in MIME format

^ [ANN] QuiXML 0.1.0 and mailing list
80469 [sean cSePlso] Just letting anyone know who's might be interested in QuiXML that there

^ Re: Why would you abandon Ruby? (was)  [DROSS]
80472 [jcb iteris.c] This has test timings and example code.

^ Apache/FastCGI with Ruby on Windows
80475 [carl ycs.biz] I've compiled fastcgi support into my windows version of Ruby (1.6.8),

^ [ANN] sys-win32etc 0.0.2
80479 [djberge qwes] I'm happy to announce the release of sys-win32etc 0.0.2.  This is an
80522 [sdate everes] But I think this may be problematic because win32 API (e.g. NetUserEnum())
+ 80527 [sdate everes] Ok, I changed your code
| 80528 [sdate everes] Sorry ! Posted too early ... should have tried 513 before giving up ;-)
+ 80617 [sdate everes] "Daniel Berger" <djberg96@hotmail.com>
  80621 [phasis bclin] The memory leak is due to memory allocation of struct like these

^ Password:
80484 [mgarriss ear] Any easy and elegant way to do the 'no output to the screen' thing for
80485 [mgarriss ear] I should mention that I'm on a GNU/Linux but it'd be nice to have a
+ 80490 [jfh cise.ufl] This is a multi-part message in MIME format.
+ 80505 [ahoward fsl.] ~ > cat ./password.rb

^ Log4r with Ruby 1.8
80488 [Stephan.Kaem] I'm trying to use log4r ( http://log4r.sourceforge.net/contact.html )
80495 [ben thingmag] It has to do with how the author of Log4r implemented his sprintfs.
80508 [martins aard] I got in contact with Leon Torres, the author of log4r, a couple of days
80577 [slumos yahoo] That's good news.  For anyone in a hurry, I posted a patch for this
80777 [leon ugcs.ca] log4r up to date with Ruby. I no longer code for a living, so my interest

^ [ANN] Extmath 2.2 (Extension of Math)
80494 [ jupp gmx.de] Saluton!

^ Python vs. Ruby
80497 [fred jobmark] Can anyone give me a good reason why I would want to use Ruby over Python?
+ 80498 [gfb tonesoft] Looks like a shameless provocation again ;-)
+ 80499 [rpav mephle.] The advantages of Ruby over Python are difficult to put into words;
+ 80500 [chad chadfow] Please go to http://www.ruby-talk.org and search for Python.
| 80501 [Ephaeton gmx] But... but... but... it's friday!
| 80503 [easco mac.co] Nope... it's still Thursday here.
+ 80507 [dagbrown LAR] Ruby smells better than Python.  Also, it has cuter girls.
  80519 [easco mac.co] I hadn't noticed the odor thing.  It does have a faintly floral aroma
  80573 [wyzzrd bells] Careful, boys,
  80607 [fred jobmark] Girl ... Pythons? That bite? Ouch! Careful, I'm holding a Ruby! Will chip
  80614 [jbritt ruby-] James
  80644 [ptkwt aracne] LoL ;-)
  80671 [jbritt ruby-] Well, I happen to think that Rubyists just have better taste.  Wouldn't
  + 80751 [hanzspam yah] Even if you meant that as a joke, the statement is actually at
  | + 80769 [hal9000 hype] You assume that programmers are sane.
  | + 80774 [msparshatt y] They also seemed to be offended by being able to type
  | | + 80781 [curt hibbs.c] Regardless of their concluding paragraph, the body of the article still read
  | | | 80810 [tim remove_i] No, I think the /article/ was biased :-)
  | | + 80788 [sean cSePlso] I think the author was a little mistaken about Ruby though.  You don't
  | |   80884 [james_b neur] There's a series of articles [0] by Alan Holub about writng UI, based on
  | |   + 80889 [austin halos] Bollocks to this. It's this sort of nonsense
  | |   + 80896 [sean cSePlso] This is, to me, quite insane.  =)  That puts too much on the shoulders
  | |     80902 [james_b neur] Isn't this begging the question?
  | |     + 80904 [hal9000 hype] That's not what he's saying at all.
  | |     | + 80909 [jim freeze.o] It seems that the alternative methodology would
  | |     | + 80937 [james_b neur] No, not in the core language.  But in specific application code, if I
  | |     + 80905 [sean cSePlso] Well, you *could* define print for string, if you wanted.  I was saying
  | |     + 80922 [rasputin ido] Think of it this way.
  | |       + 80924 [djd15 po.cwr] Interestingly enough, with ruby, you could actually add
  | |       + 80940 [james_b neur] No, but you might want some_string.puts( SynthIO )
  | + 80806 [tim remove_i] Heh.  It does wear its bias a little obviously, doesn't it?
  + 80795 [dagbrown LAR] Better sense of *smell*.  Sheesh.
threads.html
top