53697-54657 subjects 54190-55131

NEW STOCK PICK: PRCT - LAST PICK UP 233%, NNCO.................................................................................................................................................................. ofoum
53952 [Subscriber_S] ...

NODE tree introspection
53957 [simon@er in ] I've been considering writing something for Ruby similar to the Perl
+ 53973 [batsman.geo@] I believe somebody attempted to ... uhmmm... do something using rockit.
| 53989 [ptkwt@sh ll ] Yes there are other projects out there with the goal of doing what Simon
| 54036 [batsman.geo@] Funny, I should have read more about previous attempts to do 'Ruby in
+ 53976 [ptkwt@sh ll ] Hmmmm.... interesting idea.  So basically what you're proposing would be
  53977 [simon@er in ] Yes. That's what Perl's B.pm does.
  + 53988 [ptkwt@sh ll ] ;-)
  | 53995 [simon@er in ] Sorry; "bytecode" is probably the wrong word because it implies some kind
  | 54126 [comp.lang.ru] - - Don't worry, nobody else knows how to do it the "politically
  + 54320 [ptkwt@sh ll ] I wonder if we could do this a lot faster by using swig to wrap the
    54322 [simon@er in ] First, SWIG is there when your own language's extension mechanism is a
    54327 [ptkwt@sh ll ] Where SWIG really shines is when you've got some substantial C or C++
    54329 [ptkwt@sh ll ] OK, I see the error of my ways - I just tried to wrap node.h with SWIG

Can I borrow your notebook at RubyConf?
53958 [lyle@us rs s] Yes, I'm talking to you. I'm planning on giving a presentation at
53979 [rich@in oe h] You can use my laptop for your presentation Lyle.

Re: Can I borrow your notebook at RubyConf? (me too)
53972 [ptkwt@sh ll ] I need to borrow one too as I've never been able to get my laptop to work

Ruby and Windows
53981 [amanishakhet] When I open up Ruby on my Windows Desktop and I write code, how do I get it
+ 53987 [james@ja es ] Ruby programs are interpreted, not compiled.  The source code is passed directly
| 54037 [nobu.nokada@] You can compile GUI mode rubyw.exe, but I'm not sure if Windows
+ 54004 [jamesvtoomey] There's no need to compile it because it's a script language. The Ruby
+ 54033 [mvondung@gm ] In addition to what James T. and James B. have said: There is a fairly

On Using Data_Wrap_Struct
53992 [probertm@no ] Rubyists,
54002 [cyclists@nc ] If Bar is just some data structure, you'll need to convert both n
+ 54006 [probertm@ac ] Tim,
| 54061 [Tim.Hunter@s] No. Remember that Ruby will allocate storage from its heap for the
| 54062 [billtj@z. lu] ...Foo has an array member called @arr...
| 54074 [probertm@no ] Bill and Tim,
| 54086 [billtj@z. lu] Oh yes, there will be no harm in marking it twice.  As long as the cost of
+ 54063 [billtj@z. lu] It depends on what you actually want to do.  With the given example code

[ANN] FixedTime-0.0.1
53993 [djberge@qw s] I've written a module called FixedTime which is designed to calculate

comp.lang.ruby FAQ
54005 [hal9000@hy e] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2002-9-20)
+ 54010 [billtj@y. lu] Do we really want to stick to the rule (like this :) )?  Then probably a
| + 54013 [gsinclair@so] You're actually in a minority on this list, Bill.  Most people display the
| | 54152 [ursus@wa ki ] Actually, it is NOT nice.  Top-posting is a religious matter.  You must take
| | + 54154 [billk@ct .c ] Or could it be a subtle brain-chemical imbalance resulting from
| | + 54155 [alwagner@tc ] I agree.  If one wants to see all/part of a previous post, then read the
| |   54157 [ian@ca ib n.] Yes, but if one only wants to see the context for the current
| |   54159 [alwagner@tc ] Of course, in those situations where I reply to individual statements, as in
| + 54014 [hal9000@hy e] Heh... :)
+ 54024 [canyonrat@ma] Well, actually it can't, at least not directly. There is a link to a
  54025 [hal9000@hy e] Right, good catch, I'll fix next time.

Comments on c.l.r FAQ
54016 [hal9000@hy e] I just posted the FAQ again a few minutes ago.
54026 [gsinclair@so] If I was typing my emails in Vim (oh what luxury) there'd be no such problem.
54054 [martindemell] A partial solution would be to have the mail/news gateway do such a

array[start..end] gives unexpected results
54017 [ito@ht .h ta] Is this correct?
54018 [nobu.nokada@] Do you intend this?
54020 [ito@ht .h ta] Yes.  I am sorry I have troubled you.

Ever write a video game in ruby?
54021 [pmak@aa ni e] Has anyone ever written a video game in ruby, of similar technological
+ 54035 [jfontan@ce g] I have an in mind project to use ruby to control my graphic routines (made in
| 54040 [greg@pu o. j] I know people who have written little action games in Python, and I
| 54071 [austin@ha os] It's more than "little action games"; significant parts of
| + 54087 [billtj@z. lu] But in Python (at least the original/old version) the gc is based on
| + 54123 [greg@pu o. j] You're right! Credit where credit is due. I got the impression that
+ 54055 [billtj@z. lu] Well, just be careful about the effect from the Ruby gc; we don't want a
+ 54185 [Spamella@la ] A bit of self promotion: http://froukepc.dhs.org/rudl/ :)

[ANN] RAA replaced
54022 [nahi@ke na t] Done within this morning.  I'm sorry for your inconvenience
+ 54023 [rich@in oe h] This is VERY cool.
+ 54053 [x@ic im nk .] The new interface is great. So... "domo arigato gozaimas".
| 54096 [nahi@ke na t] You are welcome.  "dou itashimashite."
| + 54102 [botp@de mo t] 'and whoever created the Hot Links page is cool.
| + 54109 [x@ic im nk .] Yes, yes. An XML file would much better than CSV. Sometimes I forget that
|   54243 [nahi@ke na t] We have ports for SOAP, XML-RPC, plain XML and RSS/0.9.
|   54263 [x@ic im nk .] Ah, thanks. I should have read (or re-read) the announcement more
|   54651 [nahi@ke na t] I'll be more careful in the future.
+ 54056 [djberge@qw s] Looks good!  Thanks!  Great work!
| + 54095 [nahi@ke na t] We are happy to hear it.
| | 54342 [djberge@qw s] I was just looking at
| | 54652 [nahi@ke na t] Thank you for your comment.  We are trying now.
| + 54650 [nahi@ke na t] We replaced it with Google search box.
+ 54106 [nahi@ke na t] Bare => Bear  :-<

Struct and symbols
54028 [jp@vo gh .d ] Folks,
+ 54029 [520079130762] symbols = s.map{|f| f.intern}
+ 54031 [eban@os ri .] Record = Struct.new(nil, *s)

[ANN] RAA: sub category of projects (was Re: RAA.succ?)
54032 [nahi@ke na t] I like this idea.

FXRuby: treelist with editable leaf items?
54038 [coma_killen@] What I want to do: Have a tree list in FXruby (much like a Dir
54049 [lyle@us rs s] OK. FOX's standard FXTreeList widget definitely does *not* have this

Read "current line" from a file?
54039 [gsinclair@so] All,
+ 54041 [jfontan@ce g] Yo can go back one line and gets
| 54044 [dblack@ca dl] I can't get that to work.  Do you have a working example?
+ 54042 [dblack@ca dl] Do you mean a kind of one-line lookahead?  I had occasion to do that
| 54047 [gsinclair@so] Hmmm... I might give that a go.  This is the sort of thing I'm trying to do.
+ 54046 [nobu.nokada@] What about this?
  + 54048 [gsinclair@so] That's quite nice.  I pronounce this the best solution so far :)
  + 54073 [austin@ha os] @backing = super(rs)
    54076 [decoux@mo lo] You have found one reason why `super' is a keyword and not a method :-)

The truth about your FBI file, code: dyob
54045 [blackdiskusa] ...

require socket - standalone file ?
54059 [rgroenenberg] ...
54069 [decoux@mo lo] No,

ruby calls perl
54065 [angus@qu va ] Why does ruby call perl?
54067 [decoux@mo lo] Copyied from a P language (after a gsub :-))
54081 [angus@qu va ] And does anybody actually tell a program that their SHELL is ruby?
54082 [batsman.geo@] But irb could do the trick :-)

RAA reorganization
54068 [stillflame@o] hey all,

eruby warnings
54075 [kyle.wilson@] I get the following warnings every time I invoke eruby.  It happens when
54079 [alan@di ik t] Are you using "load" instead of "require" in your script?  BTW, it might be easier for us

Trouble with UDPSocket
54080 [judson@ir v2] ...

ruby on a Cray SV1
54084 [W.L.Kleb@la ] Believe it or not, I would like to install ruby on a Cray SV1.
54088 [nobu.nokada@] Cray has sys/param.h but no MAXPATHLEN?  Try with following

Binary Installs?
54089 [mxvera@qw st] Greetings,
54175 [barry.shultz] It's only Ruby 1.6.3, but you can find a binary version in depot

ruby for DOS
54090 [sol123@ms .c] ...
+ 54094 [matz@ru y- a] Ruby can be compiled using djgpp, which requires 386 or later.
| 54097 [bulatz@in eg] btw, can ruby be compiled for 8086? or it is just too fat for 640K
| 54098 [matz@ru y- a] Ruby requires 'sizeof(long) == sizeof(void*)' which might be too
| 54105 [bulatz@in eg] programs for 16-bit ms-dos :)
| 54128 [billtj@y. lu] The first time I understood the underlying Ruby object model, I also
+ 54099 [zx@is pk .e ] ...
  54100 [botp@de mo t] sir Zhang,
  54103 [zx@is pk .e ] You can download it using  link
  54104 [botp@de mo t] zip.

Determing dates for next week
54092 [khindenburg@] Is there a simply way to find out the dates for the next week?  For
54093 [billk@ct .c ] true

Visual C++ controversy
54110 [mikkelfj-ant] Pardon me for this somewhat off-topic issue.
+ 54113 [tpeters@in a] A warning: This SDK will not run on Win 95/98/ME.
| 54118 [mikkelfj-ant] Don't know enough about how these configurations work - but I guess you
| + 54121 [tpeters@in a] Yes!
| + 54129 [lyle@us rs s] Yes, gdb is available for MinGW (without Cygwin).
+ 54115 [zx@is pk .e ] If you choose the VC++ץyou must choose the windows 2000 or XP.The price of
+ 54116 [lyle@us rs s] It is my understanding that one can use either MinGW *or* Visual C++ to
| + 54117 [rich@in oe h] From what I understand you can do this.  The extensions used to require
| | 54204 [tpeters@in a] I just built ruby-1.6.7 with both compilers. the dll created by msvc6
| + 54163 [gsinclair@so] This is allegedly the case in Ruby 1.7, not 1.6.
|   54198 [probertm@ac ] Doesn't appear to work, in my case.  I have extensions that work
+ 54131 [austin@ha os] For what it's worth, while I've had to rebuild the .lib files, I've

How come true, false don't support <=> (comparison) operator?
54111 [cilibrar@ug ] I am wondering if there is a good reason why Ruby does not by default
+ 54112 [dblack@ca dl] I guess one reason is that it's not clear (to me, anyway) why true
| 54139 [ptkwt@sh ll ] Actually if you want to get theoretical and mathematical there is an
| 54156 [dblack@ca dl] We're waaaay over my head mathematically, but I'm finding this
| + 54169 [ptkwt@sh ll ] No they're good questions...
| | 54199 [list@NO PA c] I think neither does David.  He was suggesting switching just the
| + 54200 [simon@er in ] You mean like in Unix, where 0 means success and non-zero means failure?
|   + 54201 [dblack@ca dl] Sort of, but more abstractly.  I was trying to suggest that if the
|   | 54208 [ptkwt@sh ll ] Well, no.  Don't think of 1 and 0 here as inegers where we know that 1>0
|   | 54231 [list@NO PA c] [snip explanation... still don't see how it implies ordering, sorry :-(]
|   | + 54241 [ptkwt@sh ll ] Sure, there are problems with that approach.  It's not perfect.
|   | + 54242 [austin@ha os] Yes, and no. From the perspective of set ordering, absolutely. From
|   + 54218 [bilotta78@ho] This is true under DOS as well (errorlevel 0 => success), but just
|     54252 [B.Candler@po] But the shell 'operators' treat 0 as true and 1 as false, if you use the
|     54256 [bilotta78@ho] Looks like all shells are optimists! :)
|     54279 [billtj@y. lu] I think this is only because of practicality reason.  Unix was written in
+ 54127 [greg@pu o. j] I agree with David. They don't make sense in general (except maybe the
| 54255 [cilibrar@ug ] You're right; I've made a simple example that seems to have distracted
+ 54130 [billtj@y. lu] Actually I am wondering the same thing.  There was a recent similar
| + 54134 [qrczak@kn .o] I find 'false < true' in all languages I know. Do you know any where
| | + 54136 [austin@ha os] Actually, in C, that's not necessarily the case. 'false' is integer
| | | 54141 [pbrannan@at ] I've never read C89, but C99 requires that all boolean operators output
| | + 54137 [pbrannan@at ] It is true in languages that use 0 for false and 1 for true.  Python,
| | | 54146 [AntiATField_] The same holds for QBasic and Omikron BASIC. In these false is defined
| | | 54150 [billk@ct .c ] Ah, yes.... TRUE is defined as all-bits-on in a lot of Forth
| | + 54144 [ptkwt@sh ll ] Well, I'm not too sure what other languages do.  I would be more concerned
| + 54161 [gsinclair@so] Everyone asks it at some point.  I did once, and it was answered.  I can't
|   54162 [dblack@ca dl] I think it would be a suitable FAQ question, but I'm not sure it's
+ 54135 [drbrain@se m] 0 =3D=3D true in Ruby
+ 54149 [martindemell] I'm not sure about supporting a default ordering on booleans (as David
+ 54158 [alwagner@tc ] Your misunderstanding arises from the words "should be..."  above.  The only

new ruby friend
54120 [billarosa@ho] I am new in Ruby. I want write a script in Ruby but I wish an example of
+ 54132 [mhale@ro em ] I am not sure exactly what you are looking for but a good place to start
+ 54145 [list@NO PA c] You don't need it.  Just write the script in your favourite text

More Powerful SEX available!! Stronger and long-lasting.  Make your partner happ
54133 [mwoawoey@ya ] Are you enbarrased about short life?  Do you wanna have more vitality?  Do you wanna make your partner happy?

Learn and Earn...Join For FREE!
54138 [wynnsben@ph ] I'm sending you this letter to introduce to you a

Xinetd script problem
54140 [judson@ir v2] I'm trying to write a script to run under xinetd.  However, it seems like I

The truth about your FBI file, code: par
54142 [blackdiskusa] ...

Version class (was Re: Sort::Versions)
54143 [list@NO PA c] Man, I love open source. :-)  Thanks.

show fonts in win32
54147 [ursus@wa ki ] Anyone got an example?

problem with threading mysql queries in ruby
54148 [shiller@lo a] ...
54160 [x@ic im nk .] In the database work I've done, the client locks up while the query is

54151 [real@h8 .c m] ...

Generate Money Your Own On Internet
54153 [freesources1] Dear Friends & Potential Entrepreneur,

Too Brief Before? -- fonts in win32
54164 [ursus@wa ki ] In one of the many Ruby libs, there must be an api to return the available
54165 [austin@ha os] FXRuby has FOX::FXFontDialog to pop up the font list. I don't know of
+ 54166 [someone@mi r] Thanks much
+ 54168 [mgushee@ha e] You can also do it with Ruby/Tk, which has the advantage of being
  54173 [ursus@wa ki ] "Matt Gushee" <mgushee@havenrock.com> enlightened us all in message

How to return multiple matches in Regexp?
54167 [carl@yo ng l] I'm used to the perl modifier /.../g that makes sure that a regexp
+ 54170 [dsafari@pa a] [synack@Evergreen] synack $ ri String.gsub
+ 54176 [dblack@ca dl] See Holden's reference to gsub; but also, if you don't need to sub
+ 54179 [codedbliss@c] aString.scan(aRegexp) -> anArray

simple Net::HTTP operation is eluding me
54172 [kevinpauli@y] I am coming to Ruby from Java and I must say it is fantastic!
54171 [kentda@st d.] You do pass the local IP in to the new method?

got it -- fonts in win32
54174 [ursus@wa ki ] "Alan (Ursus Major)" <ursus@walkington.org> snivelled in message

Downloading via Net::HTTP in 1.6 and 1.7
54177 [list@NO PA c] h = Net::HTTP.new(host, port)
54178 [decoux@mo lo] What is the error message

opinion please : newsgroup or mailing list
54180 [jpaish@fr en] i subscribe to the ruby mailing list and also read the comp.lang.ruby
54181 [gsinclair@so] The ML and NG are bidirectionally replicated.  They are basically one and the
54183 [jpaish@fr en] thanks

RPM for Ruby 1.7?
54182 [volkmann2@ch] I've been using Ruby under Windows for a while and am now trying to use it
54207 [binaryhazard] I could be wrong, but I thought 1.7 was still CVS?
54213 [remove@th ma] you missed those that understand gray , actually there are 10 type of

Ruby for an outlet business
54184 [thucdat@ho m] ...
54187 [james@ja es ] My relative is going to launch a dry cleaner outlet and I am going to develop a

[ANN] Ruby/Qte 0.2
54186 [cv8t-hdk@as ] Ruby/Qte is Ruby bindings for Qt/Embedded and Qtopia library.

Validating ISBN: Regex question
54188 [ jupp@gm .d ] I'm using  the following method to validate an ISBN, remove any ' '
54191 [decoux@mo lo] Well, if you want to use this regexp replace your
54226 [ jupp@gm .d ] Merci bien. Not only does this remove the need of a lengthy pattern,

exerb question
54189 [fjs@mi ds ri] I am using exerb to create executables under Windows.  Certain scripts
54192 [fjs@mi ds ri] phy9000020.rb:77: [BUG] Segmentation fault
+ 54193 [austin@ha os] Really to answer this, more information is needed re: what you're
| + 54194 [fjs@mi ds ri] I am using the Ruby script as an OLE automation client.  The server
| + 54195 [hal9000@hy e] Um... isn't that an exaggeration? I thought that
|   54206 [austin@ha os] Perhaps, but in the one program that I've written which uses
+ 54196 [tsiivola@cc ] Is this what happens to exerb when rolling up your exe? Or is this a
  54197 [fjs@mi ds ri] The error occurs at runtime.  phy9000020.rb is my program.  Exerb
  54220 [chrismo@cl b] I've had some intermittent segfaults doing OLE stuffs on win2k, totally