70736-71958

70575-71955 subjects 70945-72917

Does webrick 1.2.3 work with ruby-1.8.0?
70736 [jim@fr ez .o] I get the following error with WEBrick 1.2.3 and Ruby-1.8.0 while
70782 [maki@ru yc l] Current (not-stable) version in CVS seems to be fixed.
70806 [jim@fr ez .o] Thanks. The download seems to work.

Fwd: Re: [PHP-EVANGELISM] Bad rep?
70737 [ zak@ph .n t] ...

FreeRIDE on OS X?
70738 [paul@no pa .] Has anybody gotten FreeRIDE running on a Mac OS X system?  What does
70739 [lyle@us rs s] that FXRuby is "supported" for that platform. If I am good, however, my
+ 70741 [jim@fr ez .o] Let's all chip in and see that Lyle gets a powerbook.
+ 70744 [paul@no pa .] Okay, thanks for the pointer.
| 70751 [lyle@us rs s] No. Jeroen (FOX's developer) doesn't have a Mac either ;)
+ 70778 [sander@kn lo] Question for the experts, is this one still valid or already outdated?
+ 70844 [hramrach_l@c] I saw and I'm stuck with the first thing: fox 1.0.40
  71056 [hramrach_l@c] And it is because fox links with $CC.

Re: Powerbooks (was: FreeRIDE on OS X?)
70754 [lyle@us rs s] No, all kidding aside, it's not really a monetary issue at this point.

Package management [was Re: A wishlist for a "Ruby Standard Library"]
70758 [aredridel@nb] What if one takes the same tack that package-managed distributions took
70836 [rasputin@sh ] I think I mentioned this once before, but the BSD package system
+ 70848 [bob.news@gm ] "Rasputin" <rasputin@shrike.mine.nu> schrieb im Newsbeitrag
| 70898 [rasputin@sh ] <shrugs/>depends how well you know make, I guess. Can't say I'm a guru,
+ 70902 [jim@fr ez .o] Sean Chittenden has started a pkg mngmnt system based on the ports.

Testing for a class existence
70759 [gfb@to es ft] ...
70760 [vjoel@PA H. ] Why not just
70764 [gfb@to es ft] ...
70765 [B.Candler@po] Ruby supports all the standard boolean operators and introduces the
+ 70767 [gfb@to es ft] expected to complain.
+ 70769 [ptkwt@sh ll ] irb(main):002:0> defined?(c,d = 1,2)
  70777 [ jupp@gm .d ] Saluton!
  + 70779 [jim@fr ez .o] ruby -v -e 'defined?(a,b=1,2)'
  + 70783 [B.Candler@po] $ irb18 -v
    70808 [michael_s_ca] I don't have any 1.8 stuff yet, but is there  a difference between : defined?
    70810 [jim@fr ez .o] ruby -v -e 'defined?(a,b = 1,2)'
    70833 [matz@ru y- a] Double parentheses will do.
    70853 [ptkwt@sh ll ] This is a change in 1.8, right?  It apparently used to work in 1.6.x.
    70904 [matz@ru y- a] Yes.  It's to be more consistent with other function calls.
    70962 [gfb@to es ft] I just check my hardcopy of Pickaxe again. On page 221 there's a precedence

capture output
70770 [0bz63fz3m1qt] I have seen much talking about this topic, but no working code!
+ 70771 [ahoward@fs .] $stdout and friends are PROCESS based, Kernel.system starts a new process with
| 70773 [0bz63fz3m1qt] Sorry. Load does not solve it.
+ 70772 [fgp@ph o. rg] You need to use $stdout.reopen(buf) here. Same for $stderr.
| 70776 [0bz63fz3m1qt] Yes..
| 70785 [B.Candler@po] Because you are killing threads before they have finished doing their useful
| 70790 [0bz63fz3m1qt] How do I detect EOF ?
| + 70793 [0bz63fz3m1qt] Capturing output to a File works fine.. But not to StringIO, Why ???
| | + 70797 [nobu.nokada@] StringIO works only in a process, not across processes.
| | | 70801 [0bz63fz3m1qt] Do you have any suggestions for an alternative to StringIO ?
| | | 70803 [nobu.nokada@] Fundamentaly, StringIO works in the process'es memory space, so
| | | 70812 [0bz63fz3m1qt] popen3 looks very interesting... transfering control in a
| | | 70820 [B.Candler@po] #       require "open3"
| | | 70825 [0bz63fz3m1qt] [snip popen talk]
| | | + 70837 [ahoward@fs .] this comes up often on the list.  a while back i suggested that IO#redirect,
| | | | + 70861 [0bz63fz3m1qt] About 20 percent of the bugs cause 80 percent of all errors..
| | | | + 70862 [0bz63fz3m1qt] Wrong - No execv here. I embed ruby into c++ almost the same
| | | |   70883 [0bz63fz3m1qt] Is anybody with me ?  Or am I slow-witted ?
| | | |   71017 [0bz63fz3m1qt] Problem is almost solved, thanks for pointing me in the right direction.
| | | |   71091 [B.Candler@po] Is this planned as part of "Embedding Ruby in C++ tutorial"? If so, I hope
| | | |   + 71093 [0bz63fz3m1qt] Wow.. thats a big post I will take me hours to reply to, I think I will
| | | |   + 71095 [0bz63fz3m1qt] Yes I agree that this most likely will confuse newcomers.. Embedding ruby
| | | |   + 71096 [0bz63fz3m1qt] Good parallel..  im terrible in explaining such things.
| | | |   | 71106 [B.Candler@po] I don't use Windows either, but Windows does support processes with pipes
| | | |   | 71109 [0bz63fz3m1qt] In rubys source for "io.c" there is a bunch of WIN32 checks
| | | |   | 71120 [B.Candler@po] It is, but Ruby has coded around those things, so you don't have to worry
| | | |   | 71123 [0bz63fz3m1qt] Remember im living in a zone between Ruby and C++.. I am a little worried
| | | |   | 71127 [B.Candler@po] There's no need to. When you run a standalone Ruby script, it's just the
| | | |   | 71132 [0bz63fz3m1qt] Agree.. missing standardization sux.. but then again  how should people
| | | |   + 71210 [bob.news@gm ] "Brian Candler" <B.Candler@pobox.com> schrieb im Newsbeitrag
| | | + 70885 [B.Candler@po] Fine, but you were the one who gave the example of "vim running a process
| | |   70889 [0bz63fz3m1qt] Agree. Sorry for the "bad" parallel.
| | + 70798 [B.Candler@po] You can't, in the way that you showed. You must use IO.popen as I said
| |   70804 [0bz63fz3m1qt] Im no expert on this.. I don't agree.. earlier with help of the
| |   70809 [B.Candler@po] (and/or stderr) to the child. In Ruby, that's IO.popen.
| |   70813 [0bz63fz3m1qt] Yes.. I think we have a human-communication problem here (broken-pipe)
| |   + 70818 [B.Candler@po] Well, it's not a feature that I want, so I don't think I'm the right person
| |   | 70827 [0bz63fz3m1qt] Is this a feature I want ?
| |   + 70859 [guillaume.ma] What about something like this. You start a ruby process in C++ in its own
| |     70863 [0bz63fz3m1qt] [snip example]
| + 70799 [B.Candler@po] ...
+ 70784 [bob.news@gm ] def capture
  70789 [0bz63fz3m1qt] I want to capture all output from ruby, so that
  70795 [B.Candler@po] $defout = $stdout = $stderr = File.open("/dev/null","w")
  70800 [0bz63fz3m1qt] I want to encapsulate ruby so its behaving like a

Is webrick broken?
70775 [jim@fr ez .o] Sorry for the  re-post, but I am surprised that

disable buffering on sockets
70787 [offstuff@ao ] is there a way to disable buffering on socktes?
+ 70788 [B.Candler@po] There's
| 70791 [offstuff@ao ] If I send ``hello, nice to see you´´ three times to a socket
| + 70796 [B.Candler@po] I think you really don't mean "send", you mean "write".
| | 70802 [B.Candler@po] It should be unbuffered though.
| | 70814 [student_vien] I know, but when I'm using read instead of gets, read returns
| | 70822 [B.Candler@po] Ah. I think you'll find it's not buffering, but it's blocking.
| | 71177 [qrczak@kn .o] You can't expect that the reader will see the data chunked the same way as
| | 71178 [qrczak@kn .o] Of course I meant only TCP sockets.
| + 70805 [angus@qu va ] Probably gets is waiting for a linefeed to return the data.
+ 70834 [matz@ru y- a] Buffering for Sockets are disabled by default.  Maybe you mean

Howto get source code of displayed IE-pages?
70815 [mkcon@gm .d ] Is there any API to get the source code (i.e. the html)
+ 70816 [chrismo@cl b] AFAIK, the API is the COM interface, which requires win32ole, of course.
+ 71129 [drbrain@se m] Perhaps (untested) ie.document.rootElement.outerHTML (I think that's the

IO.pipe + thread = hangs (was: Re: capture output)
70823 [bob.news@gm ] While experimenting a bit I discovered that this script hangs in the line
70845 [angus@qu va ] Doesn't hang here...
70847 [decoux@mo lo] same doesn't hang
70929 [bob.news@gm ] A bit more testing reveals that this seems to be a problem of the mswin
70936 [nobu.nokada@] IO multiplexing on pipes doesn't work on Windows.  It's a known
70938 [bob.news@gm ] ...
70941 [nobu.nokada@] 1) you cannot reopen closed stream.
+ 70967 [bob.news@gm ] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
+ 71028 [matz@ru y- a] It should be possible to reopen closed IO.  I will fix.

Help - Ruby 1.8.0, Mac OS X, AEOSA = bus error - one more time
70828 [bbug@sp ak a] Dear List Folks,
70843 [decoux@mo lo] Well, the problem seems to be specific with 'aeosa' perhaps it's best to

Starter for 10: Changing owner/group of a symlink
70829 [andrew@wa ro] Both the class and instance File.chown methods seem to follow the link
70835 [nobu.nokada@] In 1.8, File#lchown is available only if your platform supports
70855 [andrew@wa ro] Ah; I'm using 1.6.8 where is obviously isn't implemented.

okay, please explain this (see source below)
70838 [student_vien] okay!
70841 [decoux@mo lo] You seems to make confusion between IO methods and Socket methods.

Installing RMagick on OS X
70839 [sera@fh an .] Has anybody had luck installing RMagick on OS X? From my searches it
70858 [Tim.Hunter@s] Another fellow tried to install RMagick on OS X a few weeks ago and
70882 [sera@fh an .] OK, thanks. BTW, what's InitializeMagick?
70893 [cyclists@nc ] InitializeMagick is an entry point in libMagick.so (or libMagick.ar, if

sorry, I'm using google....
70840 [student_vien] I'm using google to post messages because I can't find a
+ 70857 [gfb@to es ft] Can't you e-mail directly to ruby-talk@ruby-lang.org ? For this you do not
+ 70875 [ jupp@gm .d ] Saluton!
  70931 [offstuff@ao ] thx,

Symbiosis offer: trade Ruby for German :-)
70842 [batsman.geo@] Put shortly: I am in the process of learning German. I would like to
+ 70850 [news-1@no pa] I can offer you Dutch... ;)
| 70926 [batsman.geo@] It is my understanding that Dutch and German are very closely related;
| 70974 [ jupp@gm .d ] Saluton!
+ 70866 [my.name.here] able to use ruby at work! I am using ruby for some month now, so there is a
| 70867 [bob.news@gm ] I could jump in a bit, too, and help with the German.
+ 70877 [ jupp@gm .d ] Saluton!
  + 70940 [    s@xs .d ] In his otherwise excellent bilingual mail Jupp used
  | 70991 [ jupp@gm .d ] Saluton!
  + 70980 [surrender_it] I suppose it is "home language".
    70982 [emschwar@po ] "Mother tongue" is perfectly valid in English, as well.

ruby-dev summary #20112 - 20158
70846 [maki@ru yc l] This is a summary for last week on the ruby-dev mailing list.
+ 70854 [ptkwt@sh ll ] Wouldn't it be best if someone else (or multiple someone elses) took over
| 70864 [maki@ru yc l] Yes.
+ 70890 [gsinclair@so] There is such an abundance of /.*methods/ methods that I make the
  70905 [matz@ru y- a] I don't feel dispatching features by argument is good idea.
  70947 [austin@ha os] I'm not sure that this is "dispatching features" so much as

Re: sounds like a really good deal...
70856 [jonnypichler] well. i'm from austria - our mother tongue here seems to be german although

PStore and tempfiles - bug?
70860 [djberge@qw s] Ruby 1.6.8 and 1.8.0p2
70906 [matz@ru y- a] q1: Why is it creating a tempfile?
+ 70937 [kay@so of n.] Hmm....Where can I read more about PStore?
| 70943 [matz@ru y- a] More than Pickaxe?  Not in English, sorry.  You can ask here if you
| 70954 [kay@so of n.] So it is documented in the Pickaxe? Hmm...I will have to look again -
| 70956 [djberge@qw s] Sure it is.  It's listed on page 556 in the index, where you'll be
+ 70953 [pbrannan@at ] I don't need a backup.  It should be possible to turn this off.
  71125 [matz@ru y- a] Why?  You don't make mistake?  I always do.
  + 71164 [michael_s_ca] I'm not so sure that it's the idea of making a mistake, it's the idea of not
  + 71227 [pbrannan@at ] Ah, I see.  If we never reach the part of the code where the pstore gets
    71240 [wkb@ai ma l.] Paul,

access a variables name?
70865 [my.name.here] is it possible to access the variable-name of an object?
+ 70870 [news-1@no pa] An object instance can be referenced by multiple variables, and not only
+ 70872 [batsman.geo@] ( is this '==' ? )
+ 70878 [my.name.here] ok. thanks so far for comments.
| 70884 [batsman.geo@] Got it now :-)
| 70924 [meinrad.rech] thank you, that s very helpful.
+ 70886 [B.Candler@po] class Foo
  70923 [meinrad.rech] ok, this is actually all i need, for my purpose
  70927 [B.Candler@po] It's a recent feature - it's not in 1.6.8 but it's in 1.8.0p2
  70934 [jim@fr ez .o] So, this is a new way to circument access privelages?
  70935 [tim@ba es id] No, not really. You've always been able to do it, with
  70939 [jim@fr ez .o] Right. This is yet another way to circumvent access privelages.
  70942 [batsman.geo@] We can just add it to our list of evil methods :-)
  70951 [jim@fr ez .o] I'm not trying to be contrary, but I would claim that it is 'new'

Re: Building Ruby on HP-UX B.11.22
70871 [djberge@qw s] This appears to be the relavent section of curses.h

[ANN] Syck 0.25 + YAML.rb -- Objects in plain-text
70891 [ruby-talk@wh] ..my faithful friends..
+ 70895 [rodrigo.berm] a bug ?
| 70909 [ruby-talk@wh] Also, I might need to update my install.rb.
+ 70900 [jim@fr ez .o] Which is faster, 30% or 600%?
| + 70901 [vjoel@PA H. ] Acording to the benchmark page
| + 70908 [ruby-talk@wh] Off the tested marshalling types, Pickle was the slowest.  If you check
+ 70907 [matz@ru y- a] You don't need to vote any longer.  I myself is a big fan of YAML.
| + 70910 [ruby-talk@wh] When you have a release date, let me know.  I will work morning and
| | 70911 [matz@ru y- a] Don't wait for me, as I'm waiting for you. ;-)
| + 70912 [james_b@ne r] This is good news.  Thanks.
| + 70917 [ptkwt@sh ll ] EXCELLENT!  What can we vote on next?
+ 70913 [james_b@ne r] What's the expected date for the YAML spec to move from draft to final version?
| 70916 [yaml-core@wh] I think that we are about done nit-picking the spec, at least as far as
+ 70932 [google@to pa] _why,
| 70977 [ruby-talk@wh] I'm offering Syck under two licenses, which you can choose from.
| 71020 [jweirich@on ] I'm curious.   I don't see the second license listed at
| 71025 [batsman.geo@] I believe it satisfies all the requirements of the Open Source
+ 70959 [michael_s_ca] Excellent.
  70963 [batsman.geo@] Were he to reveal it to us, arch-villains would try to kidnap all his
  70972 [ptkwt@sh ll ] It would be a threat to national security.

Thoughts on a webcounter
70892 [hal9000@hy e] The webcounter concept is something that has been
+ 70897 [0bz63fz3m1qt] I use a free (but closed source) webcounter for my project..
+ 70918 [ptkwt@sh ll ] Hal,
  70946 [hal9000@hy e] Ha... ;) Sooner if you help.
  70948 [jim@fr ez .o] Let's get started. Do you have a plan? Do you have test cases
  70950 [hal9000@hy e] No and no.
  70966 [wkb@ai ma l.] Hal,
  71957 [hal9000@hy e] On the theory you might be still interested in
  71958 [hal9000@hy e] Oops, did it again.

Ruby Weekly News
70896 [Dave@Pr gm t] Ruby Weekly News: 05/08/2003

Une r?f?rence pour les secr?taires et les entreprises
70903 [info@se re a] Bonjour,

regexp assignment
70914 [khindenburg@] I have a string that I want to seperate individual parts; for example
+ 70915 [jim@fr ez .o] string = "javascript:clist(196,'21')"
+ 70930 [iusris@co ed] Well, for this particular example, the following would work...

petition for raa-install to be included in 1.8
70919 [ptkwt@sh ll ] Similar to the YamlInRuby petition which has now closed.
70920 [sroberts@un ] I just looked again, and remember why I don't know anything about
70921 [ruby-talk@wh] It's really simple.  Nothin to it.
+ 70922 [info@ir in h] ps, lucky-stiff, have you ever released a new version of yaml?
| 70928 [ptkwt@sh ll ] In fact, he just did.
| 71019 [ tom@u2 .c m] Just in case you needed some encouragement to vote for raa-install,
| 71030 [hramrach_l@c] I have read the quick guide and I cannot find anything about uninstalling.
| 71066 [ tom@u2 .c m] Yes, it's incomplete. But in the case of developing an equivilent to CPAN
| 71067 [batsman.geo@] One way to do it on Un*x would be setting up a chroot and installing
+ 71102 [sroberts@un ] That would be a good link for the RAA doc link, then.
  71103 [ tom@u2 .c m] Way ahead of you :-).
threads.html
top