71604-72733

71407-71891 subjects 71836-72315

^ p and perls Data::Dumper
71604 [lists debona] p is extremely usefl, for debugging etc.
+ 71606 [vjoel PATH.B] Kernel#inspect returns the string that #p prints.
+ 71607 [lists debona] I must have made an error while trying something ealier

^ FAQ in German
71617 [ jupp gmx.de] Saluton!
+ 71619 [flgr ccan.de] Moin!
| + 71659 [ jupp gmx.de] Saluton!
| + 71704 [ jupp gmx.de] Saluton!
|   + 71706 [mneumann nte] Why not use RDoc format? It's nearly plain text to write, and you can
|   + 71707 [batsman.geo ] What about one of the subsets of DocBook?
|     71710 [michael_s_ca] Wow.
|     71748 [ jupp gmx.de] Saluton!
+ 71624 [usenet andre] ...

^ Swin Open Dialog  (was Re: 'gets'  flagged as 'Bad file descriptor' - why?)
71625 [dooby d10.ka] Swin gives easy access to some Win32 dialogs (and more)

^ LOUIS SHIRAK.
71630 [louis_shirak] Dear friend,

^ [European Ruby Conference] Reminder; T-shirts; Video-Streaming
71634 [armin xss.de] Dear All,

^ select strange behavier
71636 [0bz63fz3m1qt] 'select' is suppose to watch some file-descriptors and when an event
71637 [decoux moulo] svg% man select
+ 71642 [0bz63fz3m1qt] My manpages is different.. EOF hmmmm.
| 71643 [decoux moulo] IO#read return nil at EOF
| 71646 [0bz63fz3m1qt] OK.
| 71648 [decoux moulo] The code is fine (you don't need to test for EOF)
| 71651 [0bz63fz3m1qt] Are you suggestion that I should do like this.
| 71654 [qrczak knm.o] Dnia sob 17. maja 2003 17:05, Simon Strandgaard napisa
| 71657 [0bz63fz3m1qt] Agree.. thats the reason I want to use 'select'..
+ 71679 [0bz63fz3m1qt] Can someone explain why 'select' has such behavier and why its smart ?
  71682 [qrczak knm.o] Dnia nie 18. maja 2003 11:49, Simon Strandgaard napisa
  71684 [0bz63fz3m1qt] Busy waiting is what everyone wants to avoid..
  + 71699 [batsman.geo ] Essentially removing the IO object that got to EOF from the array of
  | 71755 [0bz63fz3m1qt] I have tried your suggested code and it seems to work, thanks Mauricio :-)
  | 71757 [0bz63fz3m1qt] replacement for 'Kernel#system' which captures all output.
  | 71770 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
  | 71771 [0bz63fz3m1qt] No, the code is untested on windows.  I only have a FreeBSD box.
  | 71774 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
  | 71777 [0bz63fz3m1qt] hmm. I don't know what it takes to make it work on windows.
  | 71792 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
  | 71818 [0bz63fz3m1qt] OK now $stdin redirection works for Sandbox#system.
  + 71735 [qrczak knm.o] Dnia nie 18. maja 2003 14:09, Simon Strandgaard napisa

^ VIRUS NOTIFICATION
71653 [anti-virus d] ################# VIRUS NOTIFICATION #################

^ examples for my OSCON talk
71655 [nemo hellotr] I know it's wrong to ask the mailing list for help on your homework, but
+ 71656 [decoux moulo] You can speak about singleton classes, you can't about metaclass :-)))
+ 71820 [sera fhwang.] Not sure if this counts as cool, but it was useful to me: I've
  71835 [batsman.geo ] The methods are added to something (*) associated to the pertinent object,

^ when will appear a PragProg installer for 1.8?
71662 [surrender_it] as in the subject, when we could see a windows installer

^ How does cgi font work??
71663 [kingsley ice] cgi = CGI::new(\"html3\")
71668 [kingsley ice] require \'cgi\'
71670 [michael_s_ca] Do you really have *every* quote backwhacked, or is that some manifestation of
71676 [kingsley ice] wow !

^ overloading Someclass.new
71669 [loats205 aol] how would i overload Someclass.new in 1.6.8, i get a NameError: superclass
71671 [austin halos] You don't overload #new; you define #initialize.
71756 [loats205 aol] -You don't overload #new; you define #initialize.
71769 [bob.news gmx] Did you try this?
71798 [loats205 aol] -Did you try this?
71800 [matz ruby-la] Strange.
71805 [loats205 aol] wait, nevermind, i was calling super in a method redefinition, that was dumb,

^ C Extensions blocking all ruby threads
71672 [fgp phlo.org] I noticed that there a quite a few ruby c-extensions that use blocking read,
+ 71693 [0bz63fz3m1qt] I cannot distinguish if you are talking about mysql only problem ?
| 71701 [fgp phlo.org] I notices this problem while working with the ruby dbi. The postgres driver
| 71703 [idan idanso.] Perhaps he can, TCPSocket class for example is non-blocking.
| 71713 [fgp phlo.org] Yes, but there is a non-blocking api to file reads and writs in unix.
+ 71702 [tom.hurst cl] A similar problem can be seen with the built in Regexp module; find a

^ An Object Going Out Of Scope
71673 [gkapur veriz] A quick question.  How can one discern when an object goes out of scope?
71675 [jweirich one] Objects don't have scope.  Variables do.  (a subtle distinction)
+ 71677 [sdate everes] Very true. And if you are looking for doing something when an object
+ 71678 [mikkelfj-ant] Still, it would actually be nice to have a feature in Ruby that would
  + 71680 [batsman.geo ] The
  | 71753 [mikkelfj-ant] Yes it is nice. But you do have to implement a block grabbing function and
  + 71687 [jweirich one] Just because a variable goes out of scope doesn't mean that its object
    71752 [mikkelfj-ant] scope?
    + 71754 [mikkelfj-ant] exit
    | 71780 [batsman.geo ] This makes me think of that posting were somebody wanted to rebind a
    + 71781 [B.Candler po] But then what is the purpose of a "finalizer"?
    | 71819 [mikkelfj-ant] The fact that you can close a file handle many times does not lead the
    + 71824 [jweirich one] How about this syntax ...
      71879 [mikkelfj-ant] fine if you can handle multiple objects this way. Mauricios suggestion does
      + 71898 [jweirich one] The syntax is not a big deal.  One idea is to allow "auto" to take a
      + 71905 [batsman.geo ] It seems you overlooked the fact that it is not implementable in current
        + 71910 [bob.news gmx] "Mauricio FernŠŌdez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
        | 71914 [batsman.geo ] I meant my method, which is used like this
        | + 71923 [nobu.nokada ] vars.each { |x| eval "#{x}.cleanup if #{x}", block }
        | | 71924 [batsman.geo ] Nice!
        | + 71928 [bob.news gmx] "Mauricio FernŠŌdez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
        + 71943 [mikkelfj-ant] No I didn't overlook it, but that doesn't prevent me from reflecting on it

^ ruby garbage collection
71681 [gaffer gaffe] i need this for a realtime game application which has embedded ruby -- after
71683 [batsman.geo ] gc.c
71685 [gaffer gaffe] strange, i found the rb_gc call on my own and called that to good effect
+ 71686 [gaffer gaffe] i take it back, my problems still occur even if i call rb_gc directly from
+ 71688 [0bz63fz3m1qt] are you marking ruby instances yourself ?
  + 71689 [gaffer gaffe] i think its actually the GC cleaning up matrix and vector classes (my own
  | 71691 [0bz63fz3m1qt] Can you reveal some of this code ?
  | 71692 [gaffer gaffe] i'm pretty sure i've tracked down the cause, this is my first time embedding
  | + 71694 [gaffer gaffe] ok, looks like it fixed it
  | + 71695 [0bz63fz3m1qt] Yeah its a bastard :-)
  |   + 71696 [gaffer gaffe] i've switched over all my 'concrete' classes quite easily, looks like i'll
  |   + 71697 [gaffer gaffe] an interesting aside, is there any benefit to using ruby's ALLOC etc.
  |     71698 [0bz63fz3m1qt] I don't know the difference:  new/delete  versus  rubys ALLOC.
  |     71700 [batsman.geo ] If you go through Ruby's allocation (ALLOC is equivalent to xmalloc
  |     71709 [0bz63fz3m1qt] [snip ruby_xmalloc]
  |     71807 [0bz63fz3m1qt] Aleksi Niemel suggested looking at
  |     71837 [batsman.geo ] If you use ALLOC and the (de)allocation pattern of your extension will
  |     71850 [0bz63fz3m1qt] A)
  |     71922 [hramrach_l c] Since the memory may be freed outside your extension it can make it work in
  + 71690 [decoux moulo] No, you don't need this.

^ [ANN] OpenSSL for Ruby - 0.2.0-pre1
71705 [m.rokos sh.c] OSSL-0.2.0-pre1 has been just released.

^ REXML status
71708 [ser germane-] We had a hard drive failure on Germane-Software last Wednesday, and

^ NET::POPMail: Any progress information for pop()?
71711 [ jupp gmx.de] Saluton!
71712 [aamine lover] You can use iterator style #pop.
71814 [ jupp gmx.de] Saluton!
71890 [aamine lover] Yes.  My script is just for test.

^ Which RSS?
71714 [jim freeze.o] rss
+ 71715 [austin halos] Well ... there's two more out there. Look for ReRSS and
+ 71716 [chad chadfow] You actually have 3 choices. :)
| 71718 [jim freeze.o] Well, I'm an rss newby, so when you say more limited, do you mean
| 71719 [austin halos] How long can you wait? If you can wait until the end of the month,
| 71720 [jim freeze.o] I would like to start playing with rss now, but I suppose I can
| 71722 [austin halos] My lib is usable; I just found a couple of minor errors in the
+ 71737 [kou cozmixng] It can parse RSS 0.9x/1.0/2.0.
  71749 [paul snake.n] Does that mean the speed of the leftmost modules is higher,
  71750 [kou cozmixng] faster <--> slower

^ PDA's
71717 [john.carter ] All the hype about the new Sharp Zaurus's is getting me to drool on my
+ 71729 [B.Candler po] The Zaurus has a Ruby port; somebody posted the URL a few weeks back.
| 71730 [harryo qiqso] ... and it works fine on at least one of the new models.  One of my colleagues here bought one and the first thing I badgered him to do was install Ruby :-).
+ 71759 [dooby d10.ka] Google 'Zaurus Ruby' for food ;)
| 71816 [kero chello.] Or try 'iPAQ ruby'
+ 71775 [ahoward fsl.] i've been checking them out too, as i'm the process of creating a pda app.

^ [Question] Optimal solution for text filter program
71721 [mwilson13 co] I want to do the following, using as efficiently as possible.
+ 71728 [batsman.geo ] It's O(n^2)!!!
+ 71760 [dooby d10.ka] b=File.open("big_file.txt","r")
+ 71768 [bob.news gmx] first I'd try the obvious and try to read smaller_file completely into

^ ruby-dev summary #20159-20200
71723 [aamine lover] This is a summary of ruby-dev ML in these days.
71724 [austin halos] I'm not sure that either behaviour is a good idea, mostly because it
71725 [akr m17n.org] How about this like Python?
+ 71726 [akr m17n.org] Oops.  It shouldn't work because Module is not totally ordered.
+ 71727 [vjoel PATH.B] I hope so...
  + 71731 [B.Candler po] Surely if you have a mixed bag of objects, it should be your responsibility
  + 71733 [akr m17n.org] Do you think y has <=> even if x has no <=> ?
  + 71736 [qrczak knm.o] Dnia pon 19. maja 2003 07:17, Joel VanderWerf napisa
  + 71761 [dooby d10.ka] p [1, "1", 1.5, 2].sort { |x, y|

^ Ruby Tuesday - Sydney Ruby Users' Group Meeting
71738 [harryo qiqso] Just in case there's someone reading the main list that doesn't know about the Sydney Ruby Users' Group ...

^ Ruby Weekly News
71740 [Dave Pragmat] Ruby Weekly News: 05/19/2003

^ Named Pipes
71741 [nedry mail.b] What is the recommended procedure for using named pipes in Ruby.  Does one
71745 [B.Candler po] As far as I know, a *named* pipe is just opened using File.open as if it
71841 [nedry mail.b] Ok.  Thanks for that.  I guess this is going to be trial and error.  My
71851 [B.Candler po] A *named* pipe is something you create in the filesystem with 'mkfifo'. One
71854 [nedry mail.b] Cool!  I understand a bit more now.
71855 [B.Candler po] It ought to be fine, it doesn't matter where they are as long as the
+ 71875 [aredridel nb] You might look at the pty extension as well.
| 71913 [nedry mail.b] You, are a God.  It works great now, on anything that I try to shell to!  I
| 71966 [aredridel nb] No -- I've not used it, but in reading what you were doing, my brain
+ 72508 [nedry mail.b] Well, the thing works now.  Thanks for everyone's help.
  72554 [wjl icecaver] Very cool. =) I used to run a BBS a long time ago and played Tradewars
  72692 [nedry mail.b] I'm glad you like it.  I was planning on writing a clone of TW2002 in
  72733 [wjl icecaver] Most of the early work I did with BBS was all in Pascal, as at the time

^ A recursive each method and a code block
71742 [peter semant] I have a simple search program that uses the each method with a yield to
71743 [mneumann nte] def each(list = @partials, &block)
71744 [peter semant] Ow, this worked! How I managed to spend two hours fiddling with the code

^ CAN YOU......?
71746 [mrkatban net] This is a multi-part message in MIME format

^ install.rb and extensions in /ext
71762 [ptkwt shell1] I'm trying to make a new package that includes some C extensions, so I put
71776 [lyle users.s] I *think* that you need to nest one more subdirectory under 'ext', i.e.

^ ANN: SuperShape
71763 [ptkwt shell1] I figured I needed a bit of practice creating C-extensions and Tk apps, so

^ The interpreter path
71764 [gfb tonesoft] This is a multi-part message in MIME format.
+ 71786 [mwilson13 co] Shell.new.find_system_command('ruby')
| + 71787 [mwilson13 co] 1. Script needs
| + 71790 [gfb tonesoft] Unfortunatelly, this will give me an interpreter found in the current PATH,
|   71804 [0bz63fz3m1qt] /home/neoneye/stow/ruby18_r2
|   71815 [gfb tonesoft] PATH,
+ 71791 [bob.news gmx] Different question: for what do you need this?  I ask, because some
+ 71810 [tcfelker mtc] If there isn't a better Ruby way (if not, there should be), in Linux,
  71811 [gfb tonesoft] Very interesting, I did not know about it. Unfortunatelly I need something

^ Exerb and socket
71765 [achou tealea] This is a multi-part message in MIME format.
71788 [feldt ce.cha] Which socket.so is included? This has happened to me for other c
71789 [achou tealea] This is a multi-part message in MIME format.
71825 [feldt ce.cha] It should work but I had problems doing it that way so for exerb I
71832 [achou tealea] This is a multi-part message in MIME format.

^ tk and windows
71772 [jean-francoi] I know I can make a TkToplevel window as a child of the background

^ CopyWithZone problem in RubyCocoa
71773 [staypufd aus] I'm trying to use the NSBrowser class in a simple app.  Everything works

^ Gentoo Linux Ebuild for Programming Ruby
71778 [flifson cs.u] If any of you out there are using Gentoo Linux (a great distro IMO) I
+ 71782 [flifson cs.u] Just need to add you'll have to put it into a suitable directory in
+ 71853 [google tompa] It's now in portage, so

^ manufacturer of garments and bags in China
71779 [senwer publi] Dear Sir,

^ Compiling Ruby on AIX 4.3.3 with gcc
71785 [charles.john] I have read through the archives and followed a couple of suggestions about altering the configure file to change flags for the linker, but I have had no luck. A google search didn't produce anything, either. I either get an error message about libgcc.a not being found or a symbol (__eprint [I think]) not being found.

^ rb_protect question
71808 [ben.thomas w] The last parameter or rb_protect is 'result', and return non-zero if an
+ 71809 [0bz63fz3m1qt] Looking in 'eval.c'
+ 71812 [matz ruby-la] Basically, all you can do is to re-raise global exit using

^ pop over ssl with ruby?
71813 [ jupp gmx.de] Saluton!
71889 [aamine lover] I *think* following script does work.  This script is once

^ Name resolution
71821 [tcfelker mtc] I'm looking for a thread-safe and multi-platform way to resolve both DNS

^ Net::HTTP#get ?
71822 [hal9000 hype] begin
+ 71828 [sdate everes] Worked for me after adding: require 'net/http' (obviously)
+ 71830 [austin halos] resp = h.get("/", nil)

^ New version of MersenneTwister.h (fwd)
71823 [feldt ce.cha] Since Ruby uses Mersenne Twister nowadays it might be interesting to know
71827 [nobu.nokada ] Current random.c bases on MT19937ar which seems the latest
71831 [feldt ce.cha] Sorry, I was mislead by Richard Wagner's post and thought there had been

^ Net::HTTP#get ?
71829 [hal9000 hype] No... but FYI I've found that it works
71838 [batsman.geo ] It works under Linux with 1.7.2, too.

^ Ruby reference recommendations
71833 [dave leperth] far, but there's one problem. The documentation I've found so far is
+ 71839 [batsman.geo ] The pickaxe book is widely considered to be the best introductory and
+ 71844 [qrczak knm.o] Dnia wto 20. maja 2003 08:10, Dave napisa
  71849 [bob.news gmx] "Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl> schrieb im Newsbeitrag
  71858 [qrczak knm.o] Dnia wto 20. maja 2003 12:11, Robert Klemme napisa
  71874 [bob.news gmx] This is a multi-part message in MIME format.
  + 71877 [qrczak knm.o] Dnia wto 20. maja 2003 18:53, Robert Klemme napisa
  | 71881 [bob.news gmx] "Marcin 'Qrczak' Kowalczyk" <qrczak@knm.org.pl> schrieb im Newsbeitrag
  + 71882 [bob.news gmx] I've massages it a bit, added hash calculation and put it on the Wiki.
threads.html
top