74646-75376

74399-75302 subjects 74812-76470

ModRuby FileUploads thread safe?
74646 [ gm@na el gr] when handling a mulitpart upload, modruby overrides the $stdin

Re: problem install 1.6.8/1.8 on OS X 10.2 - success
74651 [Gary.Palmer@] I now have 1.6.7 reinstalled on 10.2.6 and I also have 1.8 installed. I

[ANN] Ruby-GNOME-0.32
74653 [mutoh@hi hw ] Ruby-GNOME-0.32 is now available.

[OT] Re: Dutch user group updated
74660 [dooby@d1 .k ] Just thinking out loud here but perhaps you could mirror your content at

exit! affects stdout redirection to a file
74661 [gfb@to es ft] ...
74665 [kjana@dm la ] Not so since exit! calls _exit() in C level, which is expected to

REPLY IMMEDIATELY
74662 [usman_bello@] URGENT PRIVATE & EXTREMELY CONFIDENTIAL

Opinions on ZigZag?
74667 [hal9000@hy e] I've been reading about ZigZag again... in some
74668 [xlucid@us rs] I'm scooting my way through the links on the page you cited, and so
74719 [drosih@rp .e] ZigZag is so busy screaming about how inventive it is, that
74723 [jj5412@ea th] It appears to be a relational database to me. Queries are their dimensions.

test (my apologies)
74671 [mjbjr@mj jr ] test

Array#pack problem on OS X
74673 [barry_sh@ho ] Could someone verify the incorrect values for Array#pack('S') and
+ 74674 [barry_sh@ho ] I meant 'v', not 'n'
+ 74675 [nobu.nokada@] It's obviously strange.  Is there a line contains
| 74676 [barry_sh@ho ] I'm using the compiled version of Ruby that came with OS X; I don't have a
| 74677 [nobu.nokada@] I've heard that there is a package for development, which
| 74678 [barry_sh@ho ] I'll do it; thanks for the advice. I'm downloading the os x developer tools
+ 74686 [mwilson13@co] I get the following using Ruby 1.8 preview 3
  74688 [barry_sh@ho ] Thanks for the data points.  FYI, [65].pack('S') on my Win98 Ruby 1.6.7 and

ruby-talk@ruby-lang.org    20:16:53:455
74679 [zgtok@16 .c ] This is a multi-part message in MIME format

[WIN] Compiling / Extending ruby using Visual Studio IDE
74681 [sdate@ev re ] Has anybody successfully compiled or extended Ruby on the Windows platform
+ 74682 [frido@q- of ] I have, and was too succesfull with lcc-win32.
| 74698 [sdate@ev re ] I'm struggling with precisely this -- it will be just a matter time before I
+ 74683 [0bz63fz3m1qt] If I understand you correct, you are talking about 'embedding' ruby into
  74697 [sdate@ev re ] Agreed 100 %.
  74703 [0bz63fz3m1qt] Watch out mixing #1 and #2, it might confuse people.

MR PATRICK LOUCO
74684 [patkiceloco@] Dear Friend,

MR PATRICK LOUCO
74685 [patkiceloco@] Dear Friend,
74687 [brailsmt@ya ] Last I checked 41,000.000 is fourty one *thousand* with three zeros
+ 74689 [dcarrera@ma ] Yeah, I think that they are more focused on the gullible-people market
+ 74692 [jj5412@ea th] Looks like they switched countries in mid-number.
  74696 [ jupp@gm .d ] Saluton!

druby vs CORBA vs java-RMI
74690 [surrender_it] Is there some paper (possibly in english) somewhere about a comparison
74699 [gsinclair@so] I can't help you with the Ruby, but I will with the English.
+ 74701 [0bz63fz3m1qt] 'attain' seems to make sense too ?
| 74704 [spam@de k. k] 'attain' implies success, doesn't it? sit or take would be more
+ 74705 [surrender_it] ok, I'll appreciate this too :)
  74709 [james_b@ne r] When I read this I thought of the word "sustain", as in

Swig and the STL
74691 [brailsmt@ya ] I am having troubles with swig's conversion of STL to ruby.  Mainly ruby
74774 [brett_willia] I would ask this question on the SWIG mailing list.  There is some
74830 [brailsmt@ya ] Just to update.  I am using swig 1.3.16, and the behavior I have noticed
74856 [luigi.ballab] Michael,

FXRuby Debian Package?
74693 [hans@fu al n] I was surprised to see that nobody has packaged FXRuby for Debian. I am
74700 [batsman.geo@] I packaged it some time ago.

Message catalogs (I18N) overnight hack
74695 [hal9000@hy e] I've been thinking about message catalogs (as in I18N)
74713 [ jupp@gm .d ] Saluton!

[ANN] Slides from my talk are up on rubyhacker.com
74702 [hal9000@hy e] I was pleased to attend the European Ruby Conference
+ 74710 [cyclists@nc ] Excellent slides, Hal! Thanks for sharing!
| 74718 [hal9000@hy e] ago.
+ 75170 [ptkwt@sh ll ] Hal,
  75171 [hal9000@hy e] Thanks, Phil...
  + 75176 [batsman.geo@] I believe there's a bug in the generation of numbered links (the ones
  | 75177 [hal9000@hy e] Argh. Thank you.
  + 75185 [aredridel@nb] ps2pdf under unices.
    75203 [hal9000@hy e] I assume ps2pdf converts from Postscript? All I
    + 75204 [batsman.geo@] it's GPL
    | 75207 [hal9000@hy e] That's very nice to know. I'll definitely use that
    | + 75208 [vjoel@PA H. ] There's openoffice, which runs on windows (as well as linux) and can
    | | + 75210 [hal9000@hy e] Hmm, I have OpenOffice 1.0.1 on Red Hat. I can
    | | | + 75215 [koen.vervloe] You can print to a Postscript file in the menu Print. Then you can
    | | | + 75233 [surrender_it] it is a 1.1 feature.
    | | | + 75266 [ptkwt@sh ll ] I think pdf export is a 1.1Beta feature.
    | | + 75267 [ptkwt@sh ll ] ....well, depends on what ppt you're trying to read in.  I've not had great
    | + 75211 [a.bokovoy@sa] You don't need to specifically export to PDF. Just install driver for any
    | | 75216 [batsman.geo@] You can also use ghostscript for that, IIRC.
    | | 75219 [a.bokovoy@sa] Sure. Just Apple's generic postscript printer comes with Windows.
    | | 75239 [ jupp@gm .d ] Saluton!
    | + 75265 [ptkwt@sh ll ] Probably by design.  Wouldn't want people translating to open formats
    | + 75294 [jim@fr ez .o] If you print to file to a printer that is a postscript
    |   75376 [james_b@ne r] The latest (more or less) beta of OpenOffice for Windows will export to
    + 75236 [aredridel@nb] Mozilla under unix generates PostScript natively when you print, so a

Help with UnboundMethod#bind error
74706 [surrender_it] I'm having a little problem with unbound methods.
74708 [nobu.nokada@] Although I'm not sure what you really want, try instance_method
+ 74711 [surrender_it] - unbind the method my_met() from its current object
+ 74732 [matz@ru y- a] Check in your change, please.
  74919 [pit@ca it in] Though I read all messages in this thread, I'm not sure what Nobu's
  74921 [nobu.nokada@] A Method unbound from an object which has a signleton method
  75217 [pit@ca it in] When overriding a method, we normally use alias to save the old
  75221 [decoux@mo lo] Don't search what you want is called hook ...
  75277 [pit@ca it in] yes, I know that you hacked Ruby and that Matz is also working on it,
  75283 [decoux@mo lo] svg% cat b.rb
  75286 [pit@ca it in] This is the real Guy Decoux we all love and respect!
  75289 [batsman.geo@] The extension is easy to write (although you'll have to wait for Guy to
  + 75290 [batsman.geo@] n it,=20
  | 75305 [matz@ru y- a] rb_to_id() will help.
  | 75321 [batsman.geo@] Thanks.
  + 75334 [decoux@mo lo] Well, I've sent in a private email the extension to "Pit Capitain".

=?gb2312?q?_mpeg4=D4=B6=B3=CC=B6=E0=B5=E3ip=CA=D3=C6=B5=BB=E1=D2=E9=BC=B0=CA=D3=C6=B5=BC=E0=BF=D8?=
74707 [webmaster@ms] ...

vim mishighlights statement
74712 [ jupp@gm .d ] Saluton!

Re: Message catalogs (I18N) overnight hack...
74717 [hal9000@hy e] Thanks for these notes. But my feeble knowledge of
+ 74758 [guslist@fr e] I would side Josef. Do not change print, puts, etc. It may have some
+ 74798 [ jupp@gm .d ] Saluton!
  74803 [hal9000@hy e] I see your point, and someone else expressed the same opinion.
  + 74810 [ jupp@gm .d ] Saluton!
  + 74834 [B.Candler@po] Maybe such a low-level transparent translation belongs either in String, or
    + 74854 [nobu.nokada@] printf("I gave the %1$s to %2$s", thing, recipient)
    | 74861 [hal9000@hy e] need to
    | 74864 [nobu.nokada@] Change?  Although I may not correctly understand what you mean,
    | 74879 [hal9000@hy e] Forgive my ignorance. I didn't know that printf
    + 74858 [hal9000@hy e] or
    | 74862 [B.Candler@po] And then you get into date formats (US middle-endian), three-letter
    | + 74877 [hal9000@hy e] an
    | | 74883 [mutoh@hi hw ] Usually, gettext uses a English message as a msgid.
    | + 74881 [mutoh@hi hw ] expat is used in xgettext for glade only.
    + 74937 [ jupp@gm .d ] Saluton!
      74997 [hal9000@hy e] No, I think you misunderstood. Word order was

Regexp#options (RCR #43)
74720 [djberg96@ya ] As I was going through the accepted RCR's, came across
+ 74721 [behrends@cs ] Try
+ 74722 [nobu.nokada@] Because you passed a Regexp, which has its own options.

ruby tutorial
74724 [botp@de mo t] Where can I get ruby tutorials that explains OO concepts (I've read the axe
+ 74725 [james_b@ne r] </snip>
+ 74727 [mwilson13@co] For a Ruby oriented introduction to OO concepts, don't overlook Mark
| 74728 [hal9000@hy e] I'll second this recommendation. The "Teach Yourself"
+ 74744 [jj5412@ea th] Regards,
  74813 [botp@de mo t] that was a cool and simple tutorial (as if you read my mind :-), and the
  74816 [jj5412@ea th] I did it in AuthorIT. You can create MS help files, web pages, word

rbx wtih Apache 2
74726 [BKwan@th ug ] I have tested Ruby ( with rbx rather than rhtml ) with Apache2 without any
74780 [johnfeezell@] Here is a listing of a test file I use.

Memory behavior of String#dup
74730 [bob.news@gm ] does String#dup also copy the byte sequence of the string or does it only
74733 [matz@ru y- a] When memory is already shared between strings, it does copy-on-write,
74737 [bob.news@gm ] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
74739 [matz@ru y- a] In this case, fortunately memory is shared.  Since all literal strings
74742 [bob.news@gm ] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
74759 [matz@ru y- a] I guess so.  It's only 20 bytes per object on 32 bit CPU.
74940 [bob.news@gm ] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
74949 [matz@ru y- a] Early optimization is the source of all evil. ;-)
74961 [matz@ru y- a] Your suggestion inspired me a new dup-freeze optimization.  It'll be
74977 [bob.news@gm ] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag
74989 [matz@ru y- a] Yes.  Also this specialized dup returns hidden shared string without
75049 [bob.news@gm ] "Yukihiro Matsumoto" <matz@ruby-lang.org> schrieb im Newsbeitrag

OT: Status Display
74731 [  j-l@gm .a ] I am very new to ruby, so please dont hit me for my (off-topic) question. ;)
+ 74734 [laurent@da a] Hey,
+ 74797 [ jupp@gm .d ] Saluton!
  + 74799 [hal9000@hy e] Someone pointed out to me that in some environments
  + 74823 [  j-l@gm .a ] He[a]llo Josef!
  + 74833 [B.Candler@po] rubout = "\b" * 4
    74936 [ jupp@gm .d ] Saluton!

How do I keep the path structure when using WebFetcher?
74741 [robo@ma s. o] I've downloaded WebFetcher from raa, and wanna recursively download a
74743 [B.Candler@po] You might like to try using 'httpsnapshot' instead (also from RAA). Here's

You are the greatest
74745 [verarousefh@] ...
74746 [bob.news@gm ] "Vera Rouse" <verarousefh@domainsatcost.ca> schrieb im Newsbeitrag

Editor like Textpad on Linux?
74747 [dwerder@gm .] I'm developing at the moment on a windows machine with textpad, the best
+ 74748 [rasputin@id ] Tried WINE?
| 74750 [dwerder@gm .] That looks interesting! I like the screenshot with the starcraft session
+ 74749 [cyclists@nc ] If you're running KDE, try Kate. Good Ruby syntax coloring support.
| 74751 [dwerder@gm .] The sreenshots look very good :) I think thats what I'm searching for !
+ 74753 [mjais@we .d ] what I like is jedit (http://www.jedit.org)
+ 74757 [guslist@fr e] xemacs has tabs for opened files, plus all the usual emacs glory :)
| 74763 [spam@de k. k] gnu emacs has a speedbar (a side bar) which can show a list of open
| + 74775 [guslist@fr e] I didn't either, and I actually use emacs for my daily business. I
| + 74776 [guslist@fr e] I didn't either, and I actually use emacs for my daily business. I
| + 74777 [guslist@fr e] I didn't either, and I actually use emacs for my daily business. I
|   74786 [spam@de k. k] it's quite easy (of cause ;) )
+ 74806 [false@us .c ] nedit is something like TextPad, but I recommend Eclipse with the Ruby plugins

what is a symlink linked to?
74752 [cyclists@nc ] Is there a method that, given a symlink, returns what the symlink is
+ 74754 [sroberts@un ] There is a stat utility?
+ 74755 [bob.news@gm ] File.readlink

Stuck in the middle with Telnet
74760 [kingsley@ic ] I am trying to write my own telnet client to connect to my favourite
74762 [guslist@fr e] Did you try with 'tn.login("me", "let me in")'?
74765 [kingsley@ic ] yes I did and no luck
74767 [rodrigo.berm] I have implemented my own class for telnet stuff, may it helps you..

OpenGL on Mac OS X
74764 [james@la ya ] I've written some instructions for getting the opengl-ruby hooks

warning in ruby extension eats memory
74766 [Eugene.Scrip] I've written extension in C for ruby and created test case for it. When

dynamic object creation
74768 [aryeh@m- et ] s="Array"
+ 74769 [0bz63fz3m1qt] How about this ?
+ 74771 [B.Candler@po] A class name is just a constant, so something like
| + 74788 [spam@de k. k] uhm... why does this work?
| | + 74790 [john.platte@] On the page you referenced, the entry for const_defined? says it takes
| | | + 74793 [dave@pr gp o] At the top of the section, you'll find "In the descriptions that follow,
| | | | 74800 [spam@de k. k] thanks alot :) I'll try to *read* from now on ;)
| | | + 74794 [john.platte@] Sorry for the spurious post.
| | + 74831 [B.Candler@po] Even if it didn't, you can easily convert strings to symbols and vice versa.
| |   74840 [spam@de k. k] hadn't seen that one, thanks =)
| + 74941 [bob.news@gm ] "Brian Candler" <B.Candler@pobox.com> schrieb im Newsbeitrag
|   74946 [decoux@mo lo] svg% ruby -e 'Kernel::Array; Object::Array'
+ 74773 [scobianchi@r] s = "Array"
  74785 [B.Candler@po] ... and just hope nobody passes in s = "`rm -rf /*`" as a class name :-|
  74828 [scobianchi@r] obviously, if you don't check what you're passing to eval(), you deserve

Does Threading work properly?
74770 [kingsley@ic ] thr3 = Thread.new() do
74772 [B.Candler@po] To answer the question in the subject: yes, threading does work properly :-)
74781 [kingsley@ic ] Thanks - I just about worked that out - lol sorry - I now have another
74787 [B.Candler@po] Why do you keep putting these backslashes in? It means your code can't be
74792 [michael_s_ca] I think it's his mail client; IIRC I asked him about that some time ago.
74845 [kingsley@ic ] Thanks very much for your help - It\'s greatly appreciated.

Zlib
74779 [aschrafl@yw ] I want to compress a some files in a directory and move them to one
74789 [B.Candler@po] Are you sure you mean 'zip' files and not 'gzip' files? They are very
74822 [aschrafl@yw ] I just got a comment that says it has more than one file in these files

wxRuby License
74784 [laguest@__ _] Just wondering, what's the license for wxRuby? Can it be commercially,
74807 [curt@hi bs c] Well, haven't really discussed it, but I have always assumed we would do the
74815 [lyle@us rs s] Just a side note: since wxRuby depends implicitly on the wxWindows
74817 [curt@hi bs c] Thanks Lyle. It looks like we should probably use the wxWindows license as

why can't I access my instance variables?
74791 [donglai@MI .] I'm having trouble accessing instance variables directly.  What's wrong
+ 74801 [0bz63fz3m1qt] Try this (untestted)... does it work ?
+ 74802 [spam@de k. k] variables are private by default. You can write get and set methods to

Ruby Conference 2003 pre-registration
74804 [hal9000@hy e] I'm taking the liberty of re-posting this, as

bccwin32 ruby build - $(icondirs) in makefile.sub
74805 [dooby@d1 .k ] Lines 31 of bcc32\makefile.sub is not well.

anonymous classes
74808 [ian@ca ib n.] Could someone please explain to me the concept of an anonymous class?
+ 74811 [chadfowler@c] Chad
+ 74832 [0bz63fz3m1qt] I use this construction most when im doing unittesting, in order to access
+ 74835 [B.Candler@po] It might be helpful and includes a couple of links to more detailled
  + 74838 [ian@ca ib n.] Thanks. This is an excellent resource and makes things a lot clearer.
  + 74924 [dwerder@gm .] it is very helpful for me too :)
    74955 [B.Candler@po] All that happens is that a new proxy class is added to the object, which
threads.html
top