84994-89148 subjects 85344-86520

^ [OT] distro independent program installed?
85147 [transami run] is there a general, distro-independent way to tell if a package has been installed? i want to be able to support any distro regardless of FHS.
85278 [surrender_it] I think it does'nt. Possibly you may choose to write a SystemType

^ Ruby Extension/DLL Help
85148 [Andy.Pelzer ] Recently i started writing a Ruby extension. This Extension is providing
+ 85304 [mdavis sevas] I think there is an issue with cygwin on XP.  I am not sure if the issue is with cygwin or XP.  However, libraries built on cygwin using gcc will not load with Ruby on XP, the same code worked great on windows 2000 with cygwin but not on XP.  In the end, I had to create the DLL using MS Visual C++ and put the DLL in c:\winnt\systems (or c:\windows\system).  Once this was done, I used win32api to successfully access functions in the library.
| 85393 [kickass gmx.] DLL in c:\winnt\systems (or c:\windows
| 85405 [mdavis sevas] See comments below...
+ 86057 [timsuth ihug] ...
  86118 [kickass gmx.] @Tim Sutherland: You guessed right - I can't believe i've been that

^ [Rite] Byte-Code Compiler in Ruby
85151 [mneumann nte] I am fascinated by the many new ideas presented by matz for Rite.
+ 85155 [transami run] It better be! I think at this point doing must be a real show of force/proof of concept for Ruby. I like your suggestion. It can be done, and i think should be done this way. But other's may disagee on grounds of interfacing/embedding with c/c++.
+ 85287 [surrender_it] google for 'metaruby'. You may discover something like this is being
+ 85340 [george.marro] I would say yes. ByteCodeRuby's compiler is implemented in Ruby, which

^ RiteSuggestions in the Garden
85158 [transami run] I added a page to the garden for myself and others to add ideas about Ruby2/Rite, now that Matz has given his presentation.
85338 [lucsky mac.c] ...

^ Re: TCPSocket error
85160 [mrchameleon ] From the Pickaxe book, IO.gets ...
85212 [noahd juno.n] ...
85213 [mike ratdog.] ...

^ Scrounging for WIN32OLE <--> MS-Excel Examples
85161 [dhtapp cox.n] ...
85241 [bernhard.lei] there's a page on the Rubygarden Wiki: http://www.rubygarden.org/ruby?
85248 [dooby d10.ka] ...
85357 [djberge qwes] Are you referring to my "spreadsheet" package?  Last I checked it worked

^ Re: Return object
85163 [orlovdn ramb] I just want return object of the class from object-method times(). See
85185 [orlovdn ramb] Sorry. It's fine
85216 [surrender_it] well, I supposed this :)

^ Re: Windows Shell Commands
85165 [bob.news gmx] "Josef 'Jupp' Schugt" <jupp@gmx.de> schrieb im Newsbeitrag

^ Gateway Question
85166 [bob.news gmx] I have the feeling that traffic has significantly dropped in
+ 85167 [qj5nd7l02 sn] Agree, I think the ruby community have been divided into two.
+ 85171 [decoux moulo] The gateway clr ==> ruby-talk is dead, it only work ruby-talk ==> clr
| 85172 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
| 85175 [decoux moulo] Well, the last message sent by Dave Thomas about this was to say that the
+ 85313 [matt technor] Well, since a significant number of the Ruby "Wizard" types have been at

^ Re: debug testcase keyword
85168 [qj5nd7l02 sn] I solved it myself.. Thanks comp.lang.ruby ;-)

^ multi line comments in ruby
85170 [merke jupite] some time (years ;-) ago there was a discussion about multi line comments
+ 85173 [bob.news gmx] "Artur Merke" <merke@ls1.cs.uni-dortmund.de> schrieb im Newsbeitrag
+ 85223 [ jupp gmx.de] ...
| 85234 [bob.news gmx] "Josef 'Jupp' Schugt" <jupp@gmx.de> schrieb im Newsbeitrag
| 85384 [ jupp gmx.de] Because it exists.
+ 85258 [dagbrown LAR] ...

^ class#methods  how ?
85174 [qj5nd7l02 sn] How do I obtain an Array of methods?
+ 85176 [qj5nd7l02 sn] Solved.. I wasn't aware of the #public_instance_methods .. now I am.
+ 85177 [decoux moulo] p instance_methods(false)
  85179 [qj5nd7l02 sn] Even better, Thanks

^ overload method in module_eval,  how?
85178 [qj5nd7l02 sn] I want to overload a testcase method with debug-enabling wrapper.
85180 [decoux moulo] def #{name}(&b)
85181 [qj5nd7l02 sn] Thanks Guy.
85183 [decoux moulo] Because the new method that you have defined was
85186 [qj5nd7l02 sn] DrainBammage, thats obvious. Thanks.
85189 [decoux moulo] I don't understand, you want to say that you don't see this ?
85191 [qj5nd7l02 sn] I do a print both before and after.  Only the first print statement
85192 [decoux moulo] svg% ruby -e 'def test_x() end; :test_x.arity'
85194 [qj5nd7l02 sn] changing so it becomes (arity != 0), will that be ok?
85197 [decoux moulo] I've given the hint : method is a Symbol, and the method Symbol#arity is
85202 [qj5nd7l02 sn] I think I do symbol2method lookup wrong. How does I lookup
85204 [decoux moulo] meth = instance_method(symbol)
85207 [qj5nd7l02 sn] Guy you are ruby-wizard #1.

^ Re: PDF output how-to ...
85182 [aa056 chebuc] This sort of task that requires a proper document layout program.  There
85184 [_no-spam_use] ...
+ 85187 [_no-spam_use] ...
+ 85188 [_no-spam_use] ...
  85215 [surrender_it] possibly you could take a look at PDF::Writer, pure ruby, simple, with
  85321 [austin halos] It's also a bit slow, and the interface isn't yet "clean" Ruby. That will

^ Old style assignment
85195 [mthomas1234 ] I got the following warning.  Can anyone tell me what the new style is?
+ 85198 [childNOSPAM ] ...
| 85517 [dooby d10.ka] ...
+ 85199 [qj5nd7l02 sn] I cannot provoke the same warning, which version of Ruby do you have?
| 85200 [mthomas1234 ] require 'net/http'
+ 85201 [decoux moulo] You have the documentation in  the source of http.rb

^ Problem with Ruby from CVS & ruby-ldap on Panther
85196 [roberto REMO] I've update my PB G4 to Penther recently and recompiled ruby from CVS. I've
85203 [decoux moulo] For me, it exist potentially a problem in rb_ldap_conn_search_s()
85227 [roberto REMO] Reverting ruby-ldap to 0.7.2 ? fixes ? the problem indeed...
85228 [decoux moulo] You are right : now compare the 2 functions rb_ldap_conn_search_s() in

^ to_i
85205 [merke jupite] str.to_i -> anInteger
+ 85208 [decoux moulo] You have the method Integer to do this
+ 85209 [bob.news gmx] "Artur Merke" <merke@ls1.cs.uni-dortmund.de> schrieb im Newsbeitrag
  + 85210 [qj5nd7l02 sn] def atoi(str)
  + 85231 [merke jupite] IMO, it has to do with the principle of least surprise, and it is a BIG
    + 85233 [bob.news gmx] "Artur Merke" <merke@ls1.cs.uni-dortmund.de> schrieb im Newsbeitrag
    + 85325 [austin halos] It is common for integer conversion techniques to use only what is known
    + 85385 [ jupp gmx.de] Let me quote Kernighan & Richie, Programming in C (naive
      85539 [merke jupite] you don't really want to compare ruby with c! BTW, what you have overlooked
      + 85578 [bob.news gmx] "Artur Merke" <merke@ls1.cs.uni-dortmund.de> schrieb im Newsbeitrag
      | 85587 [matz ruby-la] I provided both (to_i for opt1, Integer() for opt2).
      + 85819 [ jupp gmx.de] No TOFU (Text on-top of full quote) please, thank you.

^ stack level too deep on ia64
85217 [emschwar pob] I'm working on an ia64 box to develop a MySQL/Ruby app, and I'm
85220 [emschwar pob] irb(main):001:0> begin
85232 [decoux moulo] What is the value of STACK_LEVEL_MAX ?
85243 [emschwar pob] 49152 (see below)

^ Access ftp-server through proxy
85218 [ks cs.auc.dk] Is it possible to download files from an ftp-server through a
85219 [surrender_it] from the pickaxe's doc for Net::FTP
85221 [ks cs.auc.dk] - Internet browsers is able to use e.g. regular squid proxy to make ftp
85261 [cjh_nospam m] You make an HTTP proxy request, using an FTP URL.
85225 [ks cs.auc.dk] Okay, that's sounds easy, but I can't get it to work. Can you complete a
+ 85266 [cjh_nospam m] I don't know if it's possible with Ruby 1.6. Your example doesn't work
| + 85240 [ks cs.auc.dk] That did the job. Thanks a lot!! ;)
| + 85255 [ks cs.auc.dk] this, is that a webserver is also providing an interface to
|   85276 [cjh_nospam m] Ouch, you're right! I should have realised that my example didn't
|   + 85268 [ks cs.auc.dk] I would not say that wget sucks .. ? :) But - builtin ruby support would
|   + 85270 [martindemell] ...
|     85311 [matt technor] It has a number of problems, I managed to seriously wedge a web server
+ 85496 [beast system] Tried this?
  85502 [cjh_nospam m] Nice one, thanks. I haven't looked to see how it works, but it seems to.

^ fltk-ruby on agenda - howto get rid of window border and font question
85224 [matt essenti] ...
85226 [news stud.nt] This is probably the work of X, so I don't think you can.

^ Problems with tk
85229 [news01 eric-] i have a problem with an application which uses ruby/tk under win98. If

^ Messages to nil
85235 [dhtapp cox.n] ...
+ 85236 [decoux moulo] Well, there were some related discussion about a Null pattern, see for
+ 85238 [behrends cse] ...
| 85237 [dhtapp cox.n] ...
+ 85239 [bob.news gmx] "dhtapp" <dhtapp@cox.net> schrieb im Newsbeitrag

^ pstore and nfs
85245 [ahoward ngdc] rubyists-

^ tk 8.3 -> tk 8.4
85249 [news01 eric-] what do i have to change to use tk/tcl 8.4 instead of 8.3 in a WIN32

^ regexp indexes to strings
85251 [rjp frottage] ...
+ 85252 [decoux moulo] Well, this case is for
+ 85401 [yanfali best] I think it doesn't work because your regexp only has one capture group.

^ [ANN] RERSS 0.2.1 released
85256 [samuel alien] RERSS is a simple library for parsing RSS feeds.

^ test, do NOT ignore!
85259 [ferenc engar] Dear list,
85260 [lyle users.s] You do know that the gateway from the Usenet newsgroup (comp.lang.ruby)

^ mysql and ruby 1.8
85262 [    s xss.de] ...
85316 [matt technor] Install Linux?  :-)
85333 [sabymus redi] ...

^ [ANN] DataVision 0.8.0 released
85269 [ jimm io.com] DataVision 0.8.0 is now available from SourceForge at

^ tk 8.4?
85272 [news01 eric-] How can i use tk 8.4 under ruby 1.8.0 (Win distribution) without
85413 [ ts pstu.edu] AFAIR you should only to compile ruby's Tcltklib library with tk 8.4.
85419 [news01 eric-] thanks for your answer! The Problem is i can't compile anything here,

^ newbie: cgi,read URI
85283 [r.jansch vva] ...
85288 [decoux moulo] ENV["REQUEST_URI"] will give you /test.rbx?test=1

^ regexp unlimited: Ruby's vs Oniguruma
85285 [qj5nd7l02 sn] *  GPL, restricts commercial use.
85318 [dcarrera mat] Isn't Ruby a dual license?  AFAIK Ruby can be used in propietary software (don't
85323 [mwilson13 co] Ruby is dual license but it uses the GNU regular expressions library,

^ Subprocess under Win32
85289 [muellerix gm] Today I had some trouble with the app I'm working on. (Ruby 1.8.0

^ Ruby on OSX 10.3 (Panther)
85294 [ptkwt aracne] ...
86096 [roberto REMO] At least it is complete with headers and libruby.dylib, something that was
86138 [rich infoeth] I tried working with Apple to do this (with special thanks to James
86733 [nspring cs.w] Richard,

^ [ANN] RealRand 1.0.0
85299 [contact maik] Yo!

^ romp vs drb
85301 [ahoward ngdc] any opinions one way or another?
85328 [chad chadfow] #
85425 [ahoward ngdc] this was my thought - but i need romp for log4r's distributed logging

^ Re: sockets
85305 [surrender_it] I don't think it exists.

^ Packets
85306 [jason123 aim] ...
+ 85331 [surrender_it] on *nix you firewall may fit :)
+ 85382 [ jupp gmx.de] FreeBSD, Linux, NetBSD, OpenBSD. In this case 'Linux' is correct

^ Reason #642 to use Ruby instead of C++ -Carpal Tunnel Syndrome
85307 [ptkwt aracne] ...
+ 85322 [tom infoethe] where I'm translating AI code examples from C to Ruby.   As you say, lots of
| 85324 [transami run] i would have taken the ding and saved the hours. life's too short! oh, maybe had a beer too. :)
| 85535 [ptkwt aracne] ...
+ 85336 [niklas kagi.] I love Ruby's structure and convenience functions so much, I often try
+ 85386 [ jupp gmx.de] Now that is *really unfair. Following an alternative scheme of
  85389 [Ephaeton gmx] Sure.
  85475 [batsman.geo ] Somebody proposed the number of tokens as quite a reasonable measurement,
  85534 [ptkwt aracne] ...

^ Re: (was - Gateway  News-ML is still broken)
85314 [dooby d10.ka] ...
85404 [zdennis mkte] Zach

^ Ruby FTP broken in Panther?
85327 [ggirton mac.] opens ok)

^ Yet Another Rite Thought: method combination
85330 [surrender_it] I just looked at matz' slides and I don't have a clear understanding
+ 85346 [gsinclair so] Foo.new.foo
| + 85354 [joey joeygib] ...
| + 85355 [bob.news gmx] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
| | 85358 [decoux moulo] ...
| | 85365 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
| | 85366 [decoux moulo] ...
| | 85418 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
| | 85420 [decoux moulo] ...
| | + 85427 [chr_mail gmx] So the meaning of super varies when used in the wrap context.
| | + 85432 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
| |   85433 [decoux moulo] ...
| |   + 85435 [chr_mail gmx] class A
| |   | + 85436 [decoux moulo] ...
| |   | | 85438 [chr_mail gmx] /Christoph
| |   | | 85439 [decoux moulo] ...
| |   | | 85440 [chr_mail gmx] Yes
| |   | + 85464 [matz ruby-la] I'd recommend you to check CLOS.
| |   |   85485 [joey joeygib] I don't know if this will help or hinder someone's understanding, but
| |   |   85498 [chr_mail gmx] Thank you very much ... I actually I did look
| |   + 85446 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
| |     85447 [decoux moulo] ...
| + 85375 [surrender_it] I'm dumb I can admit thois :)
|   85376 [lyle users.s] Based on what I heard Matz say during the presentation, you are correct
+ 85392 [qj5nd7l02 sn] How about something like ?
  85399 [surrender_it] there was already a working implementation of method wrapping.. google
  85400 [hal9000 hype] I started that thread: http://ruby-talk.org/71948
  85412 [dooby d10.ka] ...
  85414 [transami run] pm = lambda { p 'hi'; x = 4; x }

^ RCR Review by Peers
85332 [transami run] I've nearly finished my RCR -- the big one on Uniform Data Structures I've been sitting on for years. I'd very much appreciate if others would look at it and comment, so i can be sure to nail it down before submitting. [ or bail if need be :) ]
+ 85347 [gsinclair so] Well, good attempt at putting together a comprehensive RCR, but I just
| 85380 [transami run] thanks Gavin, i'll work on improving it in the positive manner you've suggested. (break out the lisp docs here, since in essence the flexibilities of lisp's uniformity is what i'm suggesting to embue to ruby)
+ 85415 [bob.news gmx] "T. Onoma" <transami@runbox.com> schrieb im Newsbeitrag
| 85416 [transami run] thanks robert for taking a look!
+ 85467 [matz ruby-la] Please include what we gain by your RCR?  I don't see the benefit at

^ [OT] Re: substring: to the end of the string
85335 [bob.news gmx] "Linus Sellberg" <linse428@student.liu.se> schrieb im Newsbeitrag

^ Proposal for a new operator - .=
85337 [rpav mephle.] OK so it's late, I'm not thinking straight, and I thought I'd post
85356 [bob.news gmx] "Ryan Pavlik" <rpav@mephle.com> schrieb im Newsbeitrag

^ Michael Granger's RDoc template
85341 [gsinclair so] Has anyone attempted to improve on Mike's excellent effort yet?  The
85342 [peter semant] Sorry you lost me here. H1 is the largest H5 (or is it H6) the smallest, thats
85345 [gsinclair so] My mistake: I meant to say that H1 renders *smaller* than H2.
85381 [ jupp gmx.de] H1 and H2 are logical markup tags. It is up to the browsers if and
85390 [ruby-talk pc] eh?
85445 [ jupp gmx.de] Didn't notice that 'template' is used in place of 'stylesheet'. To me
85451 [ruby-talk pc] [an HTML template]
85466 [ged FaerieMU] I think you're confused. The template I created *does* use h1 and h2
85480 [ruby-talk pc] I must be.  I was talking about the -T kilmer theme.
85497 [ged FaerieMU] It's the 'css2' theme in the CVS version.