31382-32269

31110-41567 subjects 31568-34560

^ Tk and cygwin
31382 [Jean-Francoi] I develop an application under linux that works very well, but I would
31857 [nagai ai.kyu] Please try TkRoot/TkToplevel#protocol method (See Wm module).

^ Re: Swig Ruby documentation mods, and mkmf module
31391 [hgs dmu.ac.u] OK, will do.
31394 [ballabio mac] "Use the source, Luke" :)
31397 [hgs dmu.ac.u] Yes, I have done, but "I'm not sure how to" means: I don't have enough

^ attr_{reader|writer|accessor} for class methods
31401 [stephen.hill] how do I implement an atribute reader/writer/accessor for a class variable?
+ 31403 [paul atdesk.] The reason this doesn't work is because :Foo.bar is the same as
| 31425 [chr_news gmx] ml
| 31447 [paul atdesk.] I was about to reply and say that it looked fine to me, but then I
| 31459 [chr_news gmx] Sorry I always have problems with things like left/right, +/- etc.
+ 31406 [Dave Pragmat] class Dave

^ How to alias a Module method?
31407 [jfreeze free] module MyModule
+ 31408 [jfreeze free] Oops!
+ 31409 [decoux moulo] Same response than for attr_*
+ 31410 [dblack candl] module MyModule
+ 31411 [Dave Pragmat] Heh - two answers in a row with the same technique!

^ irb ruby-script w/o exiting irb?
31423 [chris.morris] If I run irb and pass it a ruby script, how can I stay in irb after the
31429 [chris.morris] Nevermind. -r wasn't working for me, and I made a false assumption about its

^ A few words on threads
31424 [avdi yahoo.c] generalizations to follow.
+ 31432 [matz ruby-la] For scripting language community, it's probably because implementing
| 31645 [comp.lang.ru] - - There are real problems with threads and unix in general.
| 31654 [cjack cjack.] On 1/18/02 9:18 AM, ";"
+ 31450 [gehlker fast] A good read, nonetheless.
+ 31454 [paul prescod] I agree that Python's implementation is crude in an absolute sense (but
| + 31468 [cjack cjack.] It's a problem on single-processor machines too. If thread A wants resource
| | 31480 [paul prescod] That's true in any threading model.
| + 31513 [ptkwt shell1] Yes, there have been 2 or 3 different threading schemes in Perl.  About a
| + 31659 [tom.hurst cl] That's correct; there's an extension which provides fork and some signal
+ 31483 [pehrens nosp] Not arcane, dangerous for programmers writing robust,
+ 31503 [martin v.loe] One issue is that an interpreter has to make difficult
+ 31780 [matt sergean] This paragraph neglects one very important issue of fork(), certainly on

^ Re: any thoughts on creating jsp counterpart (rsp, ruby server pages) for dynamic web pages
31426 [ jimm io.com] (http://www.ruby-lang.org/en/raa.html).
31515 [webmaster ma] Yo!
31653 [bryan terral] Well, then you might like to hear about my project!  It's a framework
31779 [matt sergean] Now this looks very interesting :-)

^ rubygarden temporarily hosed?
31430 [dempsejn geo] not to point out the obvious, but have others seen this?
31433 [Dave Pragmat] It should be back now - I had a name server issue.
31434 [dempsejn geo] Hey Dave,

^ Protecting a member hash
31435 [jfreeze free] I have a class that stores data in a hash.
31438 [ptkwt shell1] Why not just define a '[]' method, but not a '[]=' method in your class
+ 31443 [dempsejn geo] I don't understand how he was able to write to the hash with only an
| 31449 [jfreeze free] The t.entity returns the hash. Once I have it in my possesion,
+ 31444 [jfreeze free] Well. that would work, but the real story is that I have
  + 31445 [jfreeze free] Well, after thinking about this a little longer and trying
  | + 31446 [chris.morris] attr_reader on the hash means code using the class could not replace the
  | + 31463 [alan digikat] Well you could declare []= private or protected in HashProtector.
  |   31467 [jfreeze free] Not a bad idea, but I tend to shy away from such techniques since
  + 31452 [ptkwt shell1] Jim,
    31457 [jfreeze free] Hmmm..well, not being the XML expert, I am somewhat afraid

^ Re: A question on Ruby Threads(Ruby2.0 & event loops)
31437 [ptkwt shell1] Will Ruby 2.0 have event loops?
+ 31498 [matz ruby-la] I guess not in the beginning.
| 31501 [chris darkro] For ferite (see the signiture) I will be working on threading at somepoint
| 31521 [matz ruby-la] I'm not sure how much we share the requirement, but if it's possible
| 31531 [chris darkro] Thread creation
| 31554 [matz ruby-la] I guess it's easy to agree on this level.  The hard part is what you
+ 31821 [matju sympat] Ruby 1.6 has an event loop if you bother to install MetaRuby 0.7.

^ [RCR] #59 Add fsync method to IO class
31442 [hensleyl pap] Adding fsync and fdatasync methods to the IO class will allow Ruby to
31520 [matz ruby-la] * how common are they?
+ 31523 [slumos slumo] I think fsync() is old POSIX and should be in every *nix.  fdatasync()
| + 31524 [matz ruby-la] Thank you for useful information.  Does anybody know if they're
| | + 31549 [hensleyl pap] Windows has the function FlushFileBuffers
| | | 31556 [matz ruby-la] Thank you for information.  Now I'm pretty positive about this RCR.
| | | 31599 [nobu.nokada ] VC runtime seems to use PBFlushFileSync() and PBFlushVolSync()
| | + 31567 [gehlker fast] Macs have fsync but not fdatasync
| + 31552 [hensleyl pap] I was following Linux's lead on this.  But now that you mention it,
+ 31647 [eric badtux.] Extremely common in any database system.
  31649 [matz ruby-la] OK, fine.
  + 31662 [matt lickey.] I vote 4 (2 is my second choice).  Why?
  | 31870 [tony perforc] I agree.
  + 31665 [slumos yahoo] I haven't used either of them, so my opinion is based on reading the
  | 31666 [cbroult sapi] This message is in MIME format. Since your mail reader does not understand
  + 31681 [chris darkro] Personally I would go for 2 - that way you can write it to use them, and have
  + 31687 [mawatson ago] I probably missing something, but wouldn't closing and reopening the
    31696 [hensleyl pap] On Linux at least, closing a file does not guarantee that the data will

^ Re: A few words on threads (and introduction)
31453 [brettmcc ama] I feel it is mostly because pthreads was the implementation widely

^ Jobs for Ruby Programmmers ?
31455 [ddevilliers ] I've read that Ruby is very popular in Japan (than Python/Perl) Any jobs

^ ruby docs
31458 [ahoward fsl.] are there any sources of docs other than 'the book' that are more
+ 31461 [brettmcc ama] What is the definitive ruby book?  The oreilly book or the pragmatic
| + 31473 [harryo zipwo] I would have said the O'Relly book that hasn't been released yet :-).
| + 31477 [Eirikur Micr] The O'Reilly "Ruby in a Nutshell" book is a typical O'Reilly nutshell guide.
+ 31476 [niklas kagi.] Have you looked at the net/http.rb source file itself? There is some
+ 31485 [ cyo gmx.net] Ara,
  32089 [ahoward fsl.] yes. that is what i missed!  thanks alot, problem solved in two lines ;)

^ [ANN] RDoc Alpha-8
31460 [Dave Pragmat] RDoc is a Javadoc-alike documentation tool for Ruby. See
31466 [jfreeze free] Thanks for the great tool.
31484 [Dave Pragmat] I'm hoping that over time people will contribute both different .css

^ Ruby2Exe?
31462 [DHable phmin] Thanks,
+ 31469 [alwagner uar] The only thing I have seen is rbwrap.  It is not maintained and I
| 31474 [brettmcc ama] There's a ruby2c in RAA, but I doubt it works under windows.  Speaking
+ 31471 [ptkwt shell1] I feel your pain ;-)

^ [ANN] rubycookbook.org opens new section for code
31478 [colin colins] Following discussion with Jack Dempsey, I added a new section on the

^ some problems with popen3
31479 [paul atdesk.] 1) I need to know the pid of the child process, so I can kill it later.
31497 [matz ruby-la] "open3" currently uses "double fork" technique, which does not tell

^ Re: ruby docs (and weird error)
31482 [brettmcc ama] I've already got the pragmatic programmers guide, which is a great
31496 [matz ruby-la] Because there's "no virtual class for Fixnums". ;-)
31502 [brettmcc ama] Does that mean you can't create a virtual class for that type, and
31517 [matz ruby-la] That means you cannot create a virtual class for some objects (Fixnum,

^ Theory and communities (was: Re: Small Methods - a ramble)
31488 [marick visib] [Mostly off-topic to the list. Sorry.]
31504 [dblack candl] I once saw -- literally saw -- part of a black-and-white film in color

^ Spotting code smells (was: Re: Small Methods - a ramble)
31489 [marick visib] I am mainly talking about work habits.
+ 31495 [Dave Pragmat] No! Please! This is a tremendous thread.
+ 31500 [alwagner tca] In my criticism class, I personally was so disgusted with the pseudo-science
+ 31742 [dblack candl] In principle I think it's all extremely relevant... but I've written a
  31743 [dblack candl] 1200 words, that is.

^ RE: Windows Automation
31491 [david.naseby] require 'win32ole'

^ oh, and Avdi...
31493 [pehrens nosp] Your Apache is way bad misconfigured...

^ Weekly RCR Summary
31494 [RubyGarden t] This is an automatically generated list of Ruby Change Requests.
+ 31510 [matt lickey.] Nice!  I hope this list gets much shorter.
+ 31511 [matt lickey.] Nice!  I hope this list gets much shorter.

^ FXRuby: How to print on Windows
31506 [david.naseby] I'm currently having a problem making Fox print. Has anyone got some sample
31540 [LJohnson res] As far as I know, FXDCPrint isn't finished (i.e. doesn't work yet) but you

^ Metaclasses
31508 [ptkwt shell1] Some of the descriptions of Ruby I've seen mention that Ruby has
31597 [chr_news gmx] To make a long story short meta classes are responsible for the lookup
31614 [decoux moulo] Well, I know nothing in python but I think that metaclass are based on

^ Hello! Array sub classing?
31512 [markt govirt] This is a multi-part message in MIME format.
31514 [harryo zipwo] Welcome aboard!
31516 [markt govirt] This is a multi-part message in MIME format.
31518 [dsafari xtra] If you are reading in a string why not use String#split ? If I understand you
31519 [markt govirt] This is a multi-part message in MIME format.
31522 [harryo zipwo] For starters, you could take a look at ...
+ 31620 [markt govirt] This is a multi-part message in MIME format.
| 31622 [dblack candl] Can you post some of your code?  I'm not sure where it's going wrong,
| 31667 [markt govirt] This is a multi-part message in MIME format.
| 31671 [dsafari xtra] Markt, I'm not sure this is what you want, but I'll take a stab at it.
| 31694 [markt govirt] This is a multi-part message in MIME format.
| + 31697 [dsafari xtra] Markt, perhaps you want to go through some sort of checking afterwards with
| | 31705 [dblack candl] Don't forget #compact :-)
| + 31706 [dblack candl] I'm not sure how that would happen exactly.  If you've got tabs separating
+ 31828 [markt govirt] This is a multi-part message in MIME format.
  31840 [list chromat] Sorry, I must be missing something.  Does Array have unmodifiable
  31848 [markt govirt] This is a multi-part message in MIME format.
  + 31851 [matju sympat] special values: nil, false and true.
  + 31855 [hal9000 hype] That's laggin behind the release of the book,
  | 31856 [markt govirt] This is a multi-part message in MIME format.
  + 31867 [dblack candl] But it's still a string :-)  (not an array with commas between its
    31928 [markt govirt] This is a multi-part message in MIME format.
    31936 [dblack candl] I think we're talking at cross purposes -- I'm talking about splitting

^ Yet another ruby book listet at amazon.com
31525 [mjais web.de] I found another book: "Making use of Ruby", to be published in May 2002
+ 31526 [Erik.Bagfors] Looking at the list of authors and what they have written, I found out
| + 31527 [erik bagfors] Sorry about that mail..By misstake I hit ctrl-enter which is "send the
| + 31530 [feldt ce.cha] Seems that none of the book in this series has been published yet; they
+ 31532 [tobiasreif p] It's sufficient for amazon links to look like

^ [ANN] Log4r 1.0.0 - Logging library for Ruby update
31529 [leon ugcs.ca] Log4r is an extremely flexible logging library for Ruby that was inspired

^ Possible bug in Mac version?
31533 [Dave Pragmat] I was sent the following by Philippe de Rochambeau, but not having a
+ 31534 [decoux moulo] This is not a problem of stack size ?
| + 31535 [Dave Pragmat] Most likely, although a SEGV seems somewhat harse :)
| | 31548 [matju sympat] i remember a stack size of 1/2 kB was common on DOS, Windows 3, etc.
| + 31541 [chr_news gmx] which is a bug in my opinion.
+ 31550 [gehlker fast] I'm seeing that this works fine though n = 51. At n = 52 it just hangs. Then
+ 31566 [gehlker fast] I'll try to work on this in my copious spare time. It seems like a good
| 31569 [huber alum.w] ulimit [-SHacdflmnpstuv [limit]]
| + 31575 [gehlker fast] First place I looked. No ulimit.
| | 31578 [cjack cjack.] cpu time (seconds)         unlimited
| | 31583 [gehlker fast] Man zsh | grep ulimit
| | 31588 [harryo zipwo] Are you running as the same user?  Ie, were you perhaps root the
| | 31601 [gehlker fast] Thanks for responding. I finally figured it out. I wasn't changing who I
| + 31579 [gehlker fast] Ignore previous post. It's 'man ulimit' returns nothing but 'man limit'
+ 31585 [gehlker fast] Now that I finally figured out, with lots of help here, that you *can* set
+ 31644 [ rtan vt.edu] I think this is related to the problem I posted in

^ Strange change of behaviour
31536 [hutch xampl.] I'm using Ruby 1.7.2 (Dec 27 or so).
31539 [decoux moulo] Use #eql?  and #hash

^ [possibly a bit OT] RubyGarden -> org and com?
31538 [Stephan.Kaem] I just noticed the little popup when moving the mouse pointer over the head

^ Segfault for define_method
31542 [chr_news gmx] Talking about bugs, on cygwin 1.7.2 ...
+ 31544 [decoux moulo] Try this patch
| + 31547 [decoux moulo] This one is better, otherwise it don't do a fixpos if the node is NULL
| + 31553 [chr_news gmx] Thank you very much - working fine on my machine as a well
+ 31555 [matz ruby-la] It's a bug (of course).  I will fix it soon.

^ delete complete content of a dir
31546 [tobiasreif p] how could I delete the complete content of a directory containing filled
+ 31557 [matz ruby-la] system("rm -rf dir")
| 31559 [chris.morris] As far as a Ruby solution, this just came up last week -- I posted a routine
| 31562 [dempsejn geo] Not sure if you've seen the past e-mails, but this exactly the type of thing
+ 31563 [mike lepton.] filled > dirs which are filled etc.?

^ Threading and the ACE Libraries
31551 [avdi yahoo.c] I have to say, all this discussion on threading has been

^ Problem: Installing Ruby for Windows !
31560 [ddevilliers9] I'm having problems installing Ruby for Windows
+ 31565 [andy toolshe] Lennie,
| 31676 [ddevilliers ] Andrew Hunt,
| 31737 [mkelly2002NO] Have you tried the one from the site above?  This is the download
+ 31594 [mkelly2002NO] I had a similar problem using the one from the Practical Programming
| 31754 [ddevilliers ] Michael Kelly,
| 31806 [mkelly2002NO] Hmmmm, on looking mine installed the samples.  Oh well, the installer
+ 31738 [mkelly2002NO] Oh yeah, I forgot to mention, if you do get it going you'd

^ The first alternative RDoc template
31564 [Dave Pragmat] Rich Kilmer wins with a rather attractive RDoc template that moves the
+ 31606 [nahi keynaut] Samples are at http://rrr.jin.gr.jp/doc/ now.
| + 31613 [rich infoeth] Samples are also here: http://www.infoether.com/ruby/jabber4r/doc/index.html
| + 31616 [tobiasreif p] The Kilmer layout put a smile on my face; It works better for me. Will
|   + 31621 [jfreeze free] I liked it too, but if it is included, please fix the Netscape problem first.
|   | 31627 [niklas kagi.] Another issue with the layout and browser twirks. In Konqueror (2.2.1),
|   + 31630 [Dave Pragmat] rdoc -T kilmer ...
+ 32191 [mdavis sevai] I am unable to connect via cvs to get the rdoc new template.  Any
| 32193 [Dave Pragmat] What are you typing? What happens when you try?
| 32203 [mdavis sevai] cvs -d:pserver:anonymous@cvs.rdoc.sourceforge.net:/cvsroot/rdoc login
| 32204 [Dave Pragmat] And you're pressing just ENTER when prompted for a password (ie there
| + 32206 [tobiasreif p] Anyone has a tip for a simple way to get stuff from CVS repositories, on
| | + 32210 [vruz ruby-es] you can get the standard CVS tool, compiled for Win32 and many
| | + 32213 [curt hibbs.c] Try WinCVS -- http://www.wincvs.org/
| + 32212 [mdavis sevai] Works great! Thanks.  Sorry for not catching that.
+ 32240 [mdavis sevai] Thank you for rdoc :)  It has inspired my to start documenting my code a
  32242 [Dave Pragmat] Hmm. that's a workaround that Rich added - apparently his browser
  + 32252 [rich infoeth] Dave,
  | 32261 [Dave Pragmat] Sorry - my mistake, and will do.
  + 32265 [mdavis sevai] Worked like a charm.  Thanks.
  | 32268 [Dave Pragmat] The latest CVS auto-generates that file if needed.
  + 32269 [dsafari xtra] Sorry I can't remeber the name of the person that did it, but I think the
threads.html
top