24273-25371

24063-24482 subjects 24473-25952

^ multiple serverside processes
24273 [tobiasreif p] An http request is made requesting a Ruby program. This starts Ruby, and
24277 [xm bolotov-t] It totally depends on server software. If it's plain Apache with mod_cgi or
24279 [neumann s-di] I think, with mod_ruby this is not the case. All scripts use the same
+ 24284 [xm bolotov-t] Errrm ... not right. There is a copy of mod_ruby for each request-processing
+ 24285 [tobiasreif p] On the server I don't have mod_ruby anyways. Since fastCGI is pure Ruby,
  + 24287 [xm bolotov-t] Sorry, can't help.
  + 24298 [tobiasreif p] 1.
    24358 [neumann s-di] In the same way as they would be passed to a CGI application.
    24378 [tobiasreif p] Thanks so far; but I don't understand yet. Your examples, and the one on
    24435 [neumann s-di] Yes, one FastCGI application produces *one* dynamic page. But unlike a CGI app
    24444 [tobiasreif p] Thank you very much.

^ medusa
24281 [joe vpop.net] Has anyone worked on porting medusa to ruby?
24309 [joe vpop.net] It looks mondo cool: http://people.freebsd.org/~jlemon/kqueue.pdf

^ Some problems with file IO in the winruby...
24282 [rsilvergun h] This is a multi-part message in MIME format.

^ Will Enumerable Tools will end up in Ruby's standard lib?
24290 [ptkwt shell1] This is all very useful and cool.... any possiblity that it will end up in
24302 [vjoel PATH.B] I'd like to see that ;)
24304 [vjoel PATH.B] How silly of me. The Enumerable tools package includes Enumerable#pipe

^ Newbie wrong # of arguments(4 for 0) question
24291 [emeade geekf] Well I've finally found an excuse to write some ruby, and I haven't made it
24292 [armin approx] what about adding  initialize to Revision?
+ 24293 [rich infoeth] In other words you did not have a constructor
+ 24294 [emeade geekf] Armin,
  24297 [chadfowler y] It's true that attr_reader gives you the ability to

^ [self, python, ruby] (Re: Question: How to do it in Smalltalk)
24295 [pulsar qks.c] Panu,
24336 [panu fcc.net] Thanks for your reply, David,

^ Flushing I/O streams
24296 [harryo zipwo] According to the reference, ios.flush should write any pending data to
+ 24318 [decoux moulo] Probably I've not understood, but can you give an example for this ?
+ 24324 [eban os.rim.] Do you use zsh?
  24343 [vjoel PATH.B] I was going to ask for the bash equivalent, but after playing with zsh a

^ yield vs. call?
24299 [bob_sideboth] I'm a bit puzzled whether there is any semantic difference between the
24301 [kentda stud.] AFAIK, the second creates an object (of type Proc), something the first
24306 [bob ladybugo] So a Proc object is a little extra wrapping around a bare block in order
+ 24322 [dblack candl] The important thing to remember, though, is that you can associate a
| 24347 [bob ladybugo] def thing(a,b,c,d)
| 24350 [dblack candl] thing(args) { # block }
+ 24402 [matju sympat] although there's a difference between a block not attached to a

^ Readability: Verbose version of *arrayToParameter expansion?
24300 [kentda stud.] Having just discussed variances in readability between Python and Ruby

^ Writing binary ints to lp
24305 [list chromat] How can I output a bit to /dev/lp0 like I would with outb( 0x1, 0x378
+ 24407 [matz ruby-la] I've never used outb(2), but p.printf "%c", 0b1 might help you.
+ 24411 [matju sympat] IO#print and IO#write use Object#to_s to convert non-strings to strings.

^ Wiki??
24310 [anany ece.vi] This question is going to seem retarded, but what is a Wiki? I see it
+ 24311 [nigelb enesb] The first Wiki can be found here: http://c2.com/cgi/wiki?WelcomeVisitors
+ 24312 [phlip_cpp ya] Now at the bottom of the page, click on "Edit test of this page".
  + 24317 [mikkel.bruun] And we all hit the link to see if he has followed your instructions...no???
  + 24353 [bob ladybugo] So how do I delete a page after I've created it... (it looks like I
    + 24354 [Dave Pragmat] The Wiki is a Perl script(yes, a Perl script) available from
    | 24357 [chadfowler y] Nathaniel Talbott and Jimmy Thrasher have a Wiki in
    | + 24403 [ntalbott rol] And Chad gets the "Understatement of the Week" award :-)
    | + 24421 [Erik.Bagfors] I have a wiki in ruby that's almost complete (and has some overworked
    + 24355 [bob ladybugo] I should have mentioned that I really don't want my name on the front
      + 24359 [Dave Pragmat] Well, the WikiWay is to list them where they're referenced--Wikis
      | 24360 [bob ladybugo] I should have made that clearer: I followed the instructions that Phlip
      | 24363 [Dave Pragmat] It just shows the last 'n' pages that have been changed: your's will
      + 24368 [phlip_cpp ya] Wikis contain only user-servicable parts. There are no

^ yield works, but no block given
24314 [vjoel PATH.B] On the subject of 'yield called out of block': the following code gives
+ 24315 [decoux moulo] Yes,
| 24316 [decoux moulo] This is stupid, sorry (bad day :-()
+ 24375 [matz ruby-la] It's probably a bug.  I will check that.

^ method arity from c
24333 [benoit.cerri] I'm implementing the singleton_method_added(VALUE self, VALUE id) hook in c
24334 [decoux moulo] Well, you can write something like this

^ Joys of eval
24335 [alwagner tca] A few weeks ago I posted a request for help with regexp, split, scan, et.
+ 24337 [elanthis awe] and what happens when the string is
| 24338 [alwagner tca] It obviously will not work for ALL strings.  I am only concerned with lines
| 24339 [elanthis awe] the system command very well may be in a CSV file.  You never know.
| + 24340 [toddg foobox] Bah.
| | 24351 [elanthis awe] Would one rather muck with regex's for 5 hours to get the task done, or
| | 24365 [toddg foobox] Would one rather spend some quality time learning to use regexes fully, or
| | + 24366 [dblack candl] Just to bring it full circle: the original claim was just that regexes
| | + 24367 [elanthis awe] If it takes more time to make such a freakin simplistic parser, the
| | | 24370 [billk cts.co] Hmm, it was a toss-up between,
| | | 24386 [elanthis awe] Dude, that girl is a freak.  I hope you're not her.  ~,^
| | + 24377 [ rik kde.org] #if Todd Gillespie
| |   24380 [billk cts.co] I've been somewhat wary whenever someone mentions RFC822.  :-)
| |   + 24383 [tobiasreif p] Instead of the obfuscated code layout of
| |   | 24395 [matju sympat] What is this email beyond simple Perl bashing? or if not Perl bashing,
| |   | + 24398 [tobiasreif p] OkOk, relax; perhaps just a misunderstanding.
| |   | + 24422 [hal9000 hype] <tobiasreif@pinkjuice.com>
| |   |   + 24423 [Dave Pragmat] An alternative approach is distributed as eregexp with Ruby.
| |   |   | 24426 [hal9000 hype] It's called eregex.rb (no p) on my system.
| |   |   + 24438 [matju sympat] No, I deleted all relevant code because it didn't work properly. To make
| |   |     24439 [dblack wobbl] Well, one out of four ain't bad :-)
| |   |     24441 [matju sympat] That's zero of four. You see, in another post today I've demonstrated
| |   |     24446 [dblack candl] I imagine this isn't what you meant either, but just to clarify for
| |   |     24447 [decoux moulo] Probably wrong but I think that he want something like (?{})
| |   + 24384 [ rik kde.org] #if Bill Kelly
| |     24448 [billk cts.co] Here's an approach that constructs a tokenizer object given the
| |     24449 [ rik kde.org] #if Bill Kelly
| + 24348 [alwagner tca] Maybe I'm all wet, but CHAR data in a database is always put to a CSV file
+ 24349 [billk cts.co] Just wondering if the regexp version had indeed worked out OK, or have
  24352 [alwagner tca] Yes, I have been using your regexp with no problems.  It just had finally

^ block/yield puzzle
24341 [dblack candl] Well, not puzzle in the fun sense -- just something I don't
+ 24342 [erik bagfors] Is there anything wrong with this solution??
| 24344 [dblack candl] Nothing wrong with doing that; I just don't see why
| 24373 [decoux moulo] It's interpreted
| 24374 [WYS helbling] ...my 0.05$
+ 24345 [kentda stud.] thing x, &b
  24346 [kentda stud.] p = proc {|a| print " " + a.to_s }

^ ruby library
24356 [benoit.cerri] I'm trying to compile an embedded ruby by linking statically to it.
24397 [ljohnson res] dynamically

^ AnyGUI
24362 [ ser efn.org] anygui has been mentioned before on this list, and there has been a lot of
24369 [ rik kde.org] #if Sean Russell
24372 [alan digikat] "Always listen to the experts. They'll tell you what can't be done and

^ File.exists? not work in drb server?
24364 [chris.morris] Well, this is a late Friday longshot, but...
24394 [chris.morris] Apparently, the weirdness was caused because the filename passed to

^ Problem with readline and select
24379 [ rik kde.org] The following program takes ~6s to complete when using readline in the
+ 24385 [ rik kde.org] #if Rik Hemsley
+ 24393 [green FreeBS] That is quite correct.  The libreadline has its own timing internally

^ rubygarden.org is down
24382 [mikkel.bruun] I believe the operators of the website are members on this list...
+ 24388 [Dave Pragmat] Can anyone else confirm this? (It seems to be running fine from here).
| 24451 [ptkwt shell1] Works fine for me...
+ 24392 [Dave Pragmat] Mystery solved (I think).
  24442 [mikkel.bruun] Hehehe sorry...

^ Desinformation boom hits the Internet
24387 [artem fruitn] This is a multi-part message in MIME format.

^ documentation for builtin classes
24389 [niko.schwarz] Would someone give me a hint where to find up to date documentation for the
+ 24390 [decoux moulo] grep is a the method of Enumerable. You can find it p. 408
+ 24391 [Dave Pragmat] Grep is a method of the Enumerable module, which is mixed in to classes
  24396 [niko.schwarz] Dave Thomas! What an honor =)

^ Extension building problems
24399 [tony perforc] I've written a Ruby extension for our SCM product Perforce, and I'm trying to
24400 [decoux moulo] Create a directory lib, and put P4.rb in this directory
24401 [tony perforc] Thanks Guy! That works.

^ Help with OO
24404 [gnuvince yah] small (and useless) program to convert a string to l33t speech.  But the
+ 24406 [armin approx] I think you have different ways of doing this.
| 24412 [gnuvince yah] What's the use or the initialize thing? And does 'class MyString <
+ 24409 [dblack candl] H3ll0 --
+ 24420 [ rik kde.org] #if Vincent Foley

^ comp.lang.ruby
24405 [garym canada] Does anyone know of a public-access nntp server that carries
+ 24408 [gnuvince yah] It does not exist yet. IIRC, there was a vote to have one
| + 24410 [dblack candl] It does exist.  comp.lang.ruby and this mailing list are gateways
| | 24413 [matt lickey.] I think "it" was referring to "public-access nntp server."
| | + 24414 [dblack candl] Can you post through google?
| | | + 24415 [matt lickey.] Yes.
| | | + 24419 [curt hibbs.c] Yes, you can post through google.
| | |   24454 [djberg96 hot] Note that it will likely take much longer for your message to post via
| | + 24416 [garym canada] If the mailing list and the newsgroup are one and the same, it's
| + 24450 [knos free.fr] happy to know i'm reading an inexistant newsgroup; then.
+ 24418 [curt hibbs.c] lang.ruby

^ Shared libraries and configure
24417 [mps discomsy] I believe I've found a prblem creating shared libraries for various Ruby

^ Detect future method calls in method_missing?
24424 [chris.morris] class MyClass
+ 24425 [chris.morris] BTW, I realize in this example I could simply test methId.id2name to see if
+ 24427 [avi beta4.co] What you need is sometimes called a "trampoline" - an object that
  24428 [chris.morris] That's interesting. ... and very cool passing a block like that.
  24429 [avi beta4.co] But this is actually a call to anElement=, right?  It seems like you could
  24430 [chris.morris] true)
  24431 [avi beta4.co] Right.  But that shouldn't affect calls to anElement at all.  So whatever
  24432 [chris.morris] Correct. That's the rub -- I'm changing them.
  24433 [avi beta4.co] Ok, sorry to keep on about this, but I'm clearly missing something.  You
  24434 [chrismo home] Ah, I see. I haven't been clear in regard to anElement= and anElement, I've

^ How to dump a canvas into a png-file?
24436 [armin approx] It is possible to dump a canvas in a postscript file.
24455 [phlip_cpp ya] Because I do this, I'm compelled to tell you I do it >only< the way you

^ [ANN] CGenerator 0.1
24443 [vjoel PATH.B] The (({CGenerator})) module is a framework for dynamically

^ wishlist for Ruby books
24445 [tobiasreif p] here comes my wishlist for practical Ruby books (ideally with websites
+ 24461 [bobh hslda.o] Learning to Program using the Ruby scripting language...BTW I think
| + 24463 [petemcbreen ] <4a249347.0111060650.3ec31d96@posting.google.com>...
| | 25371 [mike stok.co] Who was that?  I was thinking about what it might take to Rubify the book,
| + 24468 [tobiasreif p] Is that your wish, or your understanding of mine? Sorry i didn't get
|   24471 [hal9000 hype] I *think* he meant that this would be another good topic
|   24503 [bobh hslda.o] Yes this is what I meant. There is one for Python that helped me
+ 24496 [neumann s-di] XML-RPC, SOAP, DOM (Tree), SAX (Stream) parser, distributed architectures
| 24498 [tobiasreif p] great!
| 24528 [hal9000 hype] I'll agree with that. I just pre-ordered a copy.
+ 24615 [mjabbur terr] What about OOP programming with ruby ???
  24703 [tobiasreif p] Sounds great.

^ [ANN: OpenSSL for Ruby 0.0.8]
24452 [rokosm kloka] Please, don't take it as FLOOD, I release ASAP :-))

^ Ruby programmer for freeware game project needed
24453 [jglueck vol.] You are proficient with Ruby ? Ever wanted to create a nice 3D

^ Range in Hash array?
24456 [puzzled186 h] {1..100=>"a",101..300=>"c", 500..1000=>"r"}
+ 24469 [hal9000 hype] I think the basic problem is that Ruby is doing exactly what
| 24474 [ryan ryanfly] h=[]
| 24480 [puzzled186 h] Thanks for the responses.  Of course,  I should have realized that the
+ 24472 [dblack candl] It depends.  What are you trying to do?  :-)
+ 24524 [pbrannan atd] As matju pointed out last night on #ruby-lang, Range does not override

^ RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2001-10-24)
24457 [schneiker ju] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2001-10-24)

^ Great metaphor
24458 [W.L.Kleb LaR] Ruby is not a Swiss-army chainsaw \
24510 [andy toolshe] Hey, you just think of what you want and out it pops.

^ EMPLOYMENT CENTER
24459 [Jane donmeta] Dear Sirs!

^ List of Exception classes
24460 [fritz.heinri] Currently there seems to be no up to date documentation (reference) for
24484 [matz ruby-la] Page 303 of the Pickaxe book, or page 93-95 of "Ruby in a Nutshell"
24499 [usenet neo.r] I mean no disrespect, but the online version of the PP book doesn't
24501 [decoux moulo] Well, ruby is a programming language that means that it's OK to use it for
24506 [fritz.heinri] I am afraid rubys "world domination" will be bounded to a very small

^ Is Mutex Reentrant?
24462 [jason jvoege] I've got a scenario in which several objects are accessing the same
24470 [hal9000 hype] I think that Mutexes are in fact not reentrant. You might want to
24479 [mike lepton.] have

^ Availability of "Ruby Developer's Guide"?
24464 [ptkwt shell1] I see that Amazon
+ 24477 [ljohnson res] sr_1_15_3/107-5494715-7836531
+ 24478 [neumann s-di] Sorry, you'll have to wait another month. It will be published in December.

^ C Extension Help
24465 [jason jvoege] I'm trying to write some additional collection classes for Ruby, such
24486 [matz ruby-la] rb_iterate calls block_proc with arguments (element, arg), so that
24525 [jason jvoege] [snip source]
24633 [matz ruby-la] rb_funcall(set_class, rb_intern("new"), 0);
24638 [nobu.nokada ] Or,

^ Why is ruby slow (compared to perl)
24466 [aazmi awalne] I just downloaded and installed the windows version of Ruby (ruby-1.6.5-i586-mswin32 to be exact). I have been using perl for the last few years.
+ 24467 [niko.schwarz] [ruby slower than perl?]
| 24476 [ljohnson res] speech
| 24508 [niko.schwarz] Don't you expect too much. The idea was just to show some classmates that
| 24589 [robert_linde] Here is my two cents ($.02).  I seen where C is slower than Perl.  It is
| 24603 [niko.schwarz] Well, thats not the point.
| 24688 [ser germane-] I have to voice a strong agreement with you.  This is one of the
| + 24689 [mchahn facel] (Warning: contains philosophical ramblings)
| | 24693 [1007842655.c] Substitute "practical" for "possible" and I'd agree even more with
| | 24714 [ser germane-] Yup.  Hooray for Moore's law.  (Said with all possible sincerity).
| + 24694 [feldt ce.cha] Could you elaborate what you mean with "functional programming" in this
| | 24713 [ser germane-] FP as in self-documenting code.  I've wondered why they decided on that
| | + 24716 [feldt ce.cha] I think we basically agree. BTW, I like rebellion so keep up the good
| | | 24790 [ser germane-] Heh.  No! ;-)
| | + 24724 [fgp phlo.org] Well, I consider "never breaking the rules" to be a bad guid - in almost any
| | | + 24725 [curt hibbs.c] XP is does not really advocate "never break the rules". The XP
| | | | + 24755 [neumann s-di] Or do I interpret this one wrong?
| | | | + 24789 [ser germane-] Hmm.  I distinctly remember Kent Beck, in "XP Explained" saying that if you
| | | |   + 24802 [billk cts.co] [sorry so OT for ruby, but . . . gotta jump in before godwin strikes ;)]
| | | |   + 24862 [rharwood rap] you
| | | + 24734 [petemcbreen ] <20011109022938.A6076@perception.phlo.org>...
| | |   24782 [ser germane-] Hmm.  This is good. I like this, and I haven't seen is expressed this way
| | + 24873 [kentda stud.] ....real? Ugly? Hackish? Dangerous?
| | | + 24874 [kentda stud.] Ooops, found a few bugs, especially that only one call to the inline
| | | + 24885 [ ser efn.org] Sorry.  Edit casualty.  "...really, really ugly."
| | + 24967 [rmok algorit] Here is a C++ programmer's view.  There is definitely a cost of using
| |   25074 [benoit.cerri] This is good because it brings the thread back to the original interesting
| + 24769 [niko.schwarz] i wonder how you could understand that sentence correctly *g*, (of course i
+ 24504 [matju sympat] Ruby 1.7.* fixes the speed problem with large numbers (~100000+) of
threads.html
top