10063-11543 subjects 10443-11076

^ configure shebang paths for apache cgi?
10245 [chrismo home] I've got a ruby cgi script that I'd like to distribute (Linux & Windows).
10254 [frankm bayar] #!/usr/bin/env ruby
10276 [jim freeze.o] For versions where you cannot associate a file type (ie, . followed by a
10277 [ben_tilly ho] It is actually shipped on 5.6.  The tricks used is that Perl
10285 [ChrisM SNELL] I found on my 95 box, if I just do
10287 [dgjs acm.org] For that to work, you need 'ruby' in your $PATH.  Try "which ruby".
10290 [ChrisM SNELL] Thanks for the info! I tried 'which' and it worked -- so I tried the shebang

^ Miniturising libraries on Linux
10250 [jfenn uklinu] I have been thinking about how to go about putting ruby in a limited resource enviroment (a PDA) and have written a little hack to pull the libraries out of a tar.gz file when needed. It seems to work but I am posting it here because I am interested to hear of any potential problems people might foresee with it, ways it could be more efficient or any other space saving ideas. I am a ruby newbie so please have mercy!
10251 [jfenn uklinu] Sorry, I didn't mean to post that again :-s Bug in email prog

^ stackless ruby
10261 [jonas.bulow ] I don't now too much about the internals of ruby but would it make sense
+ 10262 [decoux moulo] ...
+ 10268 [matz zetabit] It's totally different.  But some (including me) working on a new

^ Telnet program in ruby?
10271 [hgs dmu.ac.u] Given the existence of Tk widget demos in Ruby, and the net/telnet module,
+ 10275 [ben_tilly ho] Glancing at the FAQ it looks like its xterm emulation
| 10280 [hgs dmu.ac.u] Only because I could not find a wheel that was free, and also as an
+ 10301 [tarod home.c] client
  + 10302 [crouton weat] TeraTerm is another good telnet/ssh app for Windoze.
  + 10376 [hgs dmu.ac.u] Thank you to those who pointed me to PuTTY.  This seems to have the capabilities
    10397 [tarod home.c] capabilities
    10504 [hgs dmu.ac.u] I will look into this. Thank you.  I think I will persue sun about this

^ Vector questions
10281 [jim freeze.o] I am using the Vector class. I am using Vector instead of Array because I
10282 [dblack candl] #map is available, though not having each does seem asymmetrical
10284 [jim freeze.o] Would adding #each be as simple as adding the following to matrix.rb
10291 [dblack candl] That 0.upto(size - 1) idiom, as used in matrix.rb, keeps the two

^ telnet and su?
10283 [sp00fD yahoo] ...
10288 [sp00fD yahoo] ...

^ Ideas for Ruby (A Python/Perl phrasebook)
10289 [schneik us.i] # A Python/Perl phrasebook

^ Ruby cgi's in IIS
10294 [tarod home.c] Has anyone figured out how to make ruby cgi's run under NT/IIS?  Apache
10303 [erne powerna] In the management console, right click on the directory where the Ruby
+ 10340 [tarod home.c] Thanks.  Somehow I find IIS's gui more confusing than Apache's conf
+ 10348 [erne powerna] There is a way to get fast CGI under windows, by using another server other
  10358 [tarod home.c] Thank you.  I'll be sure to check out that script.  However, if I were to

^ read from standard input ....
10295 [jens irs-net] I never managed it to read something from standard
10296 [wmwilson1 go] STDIN.gets or even STDIN.gets.chomp (or $stdin, or whatever) should do it for ya
10297 [jens irs-net] Great. Thanks...

^ Local directory search "server" script
10298 [schuerig acm] Now that my X server is working again I've put together the first
10299 [wmwilson1 go] ==Possible stupidity disclaimer ;)
10306 [schuerig acm] It's not meant to be clever, it's just the first thing that occurred to
10307 [wmwilson1 go] I just realized that it's possible that you/someone may have thought that the "stupidity disclaimer" was referring to my opinion of what you were doing.  It wasn't, it was referring to me and my possibly stupid question.  I hope you understood that, sorry if you didn't.  I really need to think before I type...
+ 10308 [ms iastate.e] Dunno about that.  This forum has always seemed to have an uncommonly
| 10318 [elderburn mi] What's wrong with us? Are we some kind of rebel cult going against the flow of
+ 10313 [schuerig acm] No, I didn't even think of this. And anyway, I'm a Ruby Nuby and
  10316 [wmwilson1 go] I wasn't advocating the use of globals (I'm assuming when you say global, you mean $var), only trying to learn what using instance variables brings to the table when not used in class instances.

^ mmap module?
10300 [joe vpop.net] Has anyone developed an mmap module for ruby?

^ critique this program pleaase
10309 [sp00fD yahoo] ...
10310 [chadfowler y] Is progname in scope here?
10315 [sp00fD yahoo] ...

^ More C API examples?
10311 [lists.ruby-t] I was wondering if someone has examples of defining and then
+ 10312 [decoux moulo] ...
+ 10314 [matz zetabit] Don't use NEWOBJ() in your extension, since it requires own unique
  10541 [lists.ruby-t] Sure enough, seems to be working nicely so far.  Just took a while

^ TCPServer - bug in documentation ?
10317 [neumann s-di] It seems to be, that there's either an bug in TCPServer, or
10319 [Dave Pragmat] I'd always assume the latter ;-)
10322 [dgjs acm.org] I get the behavior reported by Michael Neumann, because on my machine
10323 [neumann s-di] My system is NetBSD 1.5 with IPv6 enabled!

^ Nested modules and classes?
10320 [gnhurst hurs] I have not yet seen an answer to this question, and
+ 10372 [matz zetabit] It's basically for name space control.
+ 10373 [  zak ale.cx] Nested modules are definitely useful as nested namespaces.
  10374 [ben_tilly ho] Cool, Ruby does this?  I have a good use for using nested
  10405 [wys helbling] ...
  10415 [ben_tilly ho] No.

^ OT: Smoking (was Re: ANN: Slide show available)
10325 [sent quality] ...
+ 10326 [joe vpop.net] It sure does.  And I also think the law is a bad one.  I won't
| 10332 [ben_tilly ho] This reminds me of a funny story I saw in the NY Times.
| 10334 [wmwilson1 go] Don't forget us gigolo's! ;)
| + 10335 [joe vpop.net] Ya, my wife doesn't allow me to smoke inside, so I have
| | 10342 [decoux moulo] ...
| + 10350 [matz zetabit] I'm sorry if you felt offended.  Although I hate smoke but I don't
|   10352 [Dave Pragmat] And quite a few smokers hack (but not necessarily code)  ;-)
|   10353 [wmwilson01 h] No, not at all.  I'm not real happy when I've got people smoking around me
|   10354 [mitch venux.] It's a nasty habit, I hate to be around second-hand smoke as much as anyone
+ 10402 [matz zetabit] Do you guys think it's possible to us to have BOF or something, if I
  10416 [matt sergean] I think that's a good idea. I'll ask Nat (the organiser) if we need to make
  10475 [sent quality] ...

^ Another OT smoking story Re:
10327 [dgjs acm.org] A few years ago, some Frenchman (whose name I can't recall) rowed solo

^ Multi-dimensional Array
10328 [jasowong my-] ...
+ 10329 [wmwilson1 go] Welcome!
| 10333 [sent quality] ...
+ 10359 [matju cam.or] It could be. You may take a look at the NArray library for that. However
| 10368 [skeeler siri] Eventually, you'll need to make queries like "what objects are at the
+ 10383 [jfn enteract] ...

^ Efficiency Check
10330 [jasowong my-] ...
10339 [phasis chann] ...
10345 [wmwilson01 h] I'm curious as to why the BEGIN block is used here?  Also, seeing as there's
10363 [phasis hanan] ...

^ Templating System
10331 [jasowong my-] ...
10338 [avi beta4.co] Check out http://beta4.com/iowa

^ ObjectSpace.each_object & terminated objects
10336 [Dave Pragmat] ObjectSpace.each_object {|o| o.id}
10347 [matz zetabit] It's a bug caused by incomplete back port from 1.7, here's the patch.

^ Re: ANN: Slide show available (neoteny?)
10341 [ptkwt shell1] ...
10349 [ben_tilly ho] Based on my experience, I would guess that race

^ [ann] Rinn
10344 [MAP2303 mapl] I'm glad to introduce first runnable version of Rinn.

^ wconio for ruby
10356 [snowzone hom] ...

10357 [brucepm pacb] ...

^ Bibtex entry for pickaxe book?
10371 [feldt ce.cha] Sorry, I'm being lazy: Anyone got a bibtex entry for the pickaxe book?

^ Problems creating persistent objects
10375 [danny sofer.] ...
+ 10378 [decoux moulo] ...
+ 10389 [avi beta4.co] How about something like
+ 10407 [matz zetabit] The closure created by `proc{store}' contains the reference to self,
+ 10430 [danny sofer.] ...

^ PostgreSQL
10379 [mitch venux.] Is anyone else developing or maintaining the PostgreSQL module for Ruby?
10408 [matz zetabit] Wait bit longer.  His machine crashed last week.

^ ArrayMixin 0.3
10380 [matju cam.or] ArrayMixin 0.3

^ New way to learn Ruby?
10382 [jqcordova my] ...
10384 [harryo zipwo] ...

^ Structured text matching?
10385 [schuerig acm] I'm trying to match and extract pieces from structured text in a similar
+ 10387 [0317025435 t] ...
| + 10388 [ben_tilly ho] I don't know what tools exist for this, but I am in
| | 10391 [schuerig acm] [ad hoc parsing]
| + 10390 [schuerig acm] That's exactly the restriction I'd like to avoid...
|   10394 [Dave Pragmat] str = File.open("x.html") {|f| f.read}
|   + 10395 [erne powerna] But Dave no one will say "You look Marvellous!"
|   + 10404 [wys helbling] ...
|   + 10441 [schuerig acm] The best solution would be to have someone else write the parser... ;-)
+ 10393 [joe vpop.net] I don't know of a ruby option, but perl has a really nice

^ Ruby/Tk, what am I doing wrong...
10386 [noel.rappin ] Now I'm diving into Ruby/Tk and I have some newbie type questions...
10398 [harryo zipwo] ...

^ Stealing some Perl infrastructure
10392 [ptkwt shell1] ...
10484 [schneik us.i] # I was looking at some Win32 perl modules on CPAN recently -

^ Re: [OT now] Re: Structured text matching?
10396 [mike stok.co] Damian Conway does a lot of impressive stuff and useful stuff in perl,

^ Ruby users in Sydney?
10399 [harryo zipwo] ...
+ 10400 [Robert.Dawso] You got the right Country for me :).
| + 10401 [ben_tilly ho] Well if we are going to put out general requests, I am in
| + 10403 [steve deaf.o] Adelaide, Australia, here. :)
|   + 10406 [tarod home.c] I think there must be a limit to the number of Ruby programmers allowed per
|   | 10409 [   xm w3d.ru] Rostov-on-Don, Rostov region, Russian Federation reporting ;) (not from USA
|   + 10414 [progress asi] Canberra, here 8^)
|   + 10431 [mfp students] I'm from Melbourne, Australia, and I'm yet to meet another Ruby user, :(
|     10448 [schneik us.i] # >
|     + 10449 [gilc shoploo] I'm in NY, NY, too. :)
|     + 10450 [mike stok.co] Count me in the Austinites (until I move)
|     + 10458 [hipster xs4a] I'm in The Netherlands, any more Dutch Rubicians present?
|       10607 [danny frouke] Over here! Well, I'm learning it anyway <:)
+ 10463 [dnaseby affi] I'm a Ruby user in Sydney (and a list lurker), and I'm quite open to the
  10464 [sfekas yahoo] I think we've hit on a need for the community here.
  + 10465 [wmwilson01 h] I'm in Northern Virginia, USA, myself.  Couldn't be far from you.  I would
  + 10466 [Dave Pragmat] Would a wiki page do for now?
    10499 [schneik us.i] #
    10544 [sol123 msn.c] ...
    10545 [ben_tilly ho] [etc]

^ Ruby User Survey (repeat announcement)
10410 [schneiker ju] ...

^ The Ruby Way (to post replies)
10411 [schneiker ju] ...

^ RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2000-12-28)
10412 [schneiker ju] ...

^ RE: Welcome to our (ruby-talk ML) You are added automatically
10413 [adam.abrams ] ...

^ Recall Regexp options?
10417 [ben_tilly ho] Does this make sense to anyone?
10427 [matz zetabit] No.  I should have compare all option flags for equal test.
10435 [ben_tilly ho] Thank you, and if you make the options available as an
10446 [matz zetabit] I will do this too.  Do you think Regexp#options is a good name for
10451 [schneik us.i] # >|PPS Coming from Perl I find it disconcerting to see
10452 [ben_tilly ho] new_re = Regexp.new(re.source, re.options, re.kcode.to_s)
10453 [Dave Pragmat] Although it would also be nice to have
10492 [schneik us.i] # In message "[ruby-talk:10417] Recall Regexp options?"
10496 [decoux moulo] ...
10514 [ben_tilly ho] I am trying to figure out why you would want to

^ Installing on Mandrake 7.1
10419 [peterhi my-d] ...
10437 [matju cam.or] The point of doing that is so you can differentiate easily what you
+ 10574 [peterhi my-d] ...
+ 10575 [decoux moulo] ...

^ Preemptive scheduling?
10420 [wys helbling] ...
+ 10428 [matz zetabit] What are you expecting?  On my box th2 seemed to have killed th1.
| 10480 [wys helbling] ...
| 10483 [matz zetabit] Hmm, using the following code, th1 was killed after 10 recursions.
| 10505 [wys helbling] ...
| 10511 [matz zetabit] Maybe.  As Mathieu mentioned in [ruby-talk:10439], you have to be
+ 10439 [matju cam.or] y = 1
  10489 [wys helbling] ...
  10490 [adam.abrams ] ...
  10493 [schneik us.i] # Do not use mere numbers for conditionals.  It may cause surprising
  10497 [matz zetabit] Yes.  1.7 reports this.  The latest does even without -w.

^ ruby highlighting for enscript
10421 [wmwilson01 h] Anyone use enscript?  If so, I've created a ruby syntax highlighting
10422 [feldt ce.cha] I'd be interested but I suggest you submit to RAA. Easier for everyone to
10423 [wmwilson01 h] anyone have any advice as to what category this would fit in?  Also, seeing
10470 [sent quality] ...
10491 [schneik us.i] # >From: Robert Feldt <feldt@ce.chalmers.se>

^ generic method
10424 [decoux moulo] ...
+ 10425 [feldt ce.cha] Is this a brand new addition to Ruby (generic/overlaoded methods)? Doesn't
| 10429 [decoux moulo] ...
| 10432 [feldt ce.cha] Ok, always on the leading edge... ;-)
| 10433 [decoux moulo] ...
+ 10445 [matz zetabit] Tell me, have you implemented this already?
+ 10476 [decoux moulo] ...
  10478 [matz zetabit] Wow, it's great.  I should have took chance to visit you while I was in

^ book review?
10426 [wmwilson01 h] Instead of letting it fall through the cracks on the assumption that I
+ 10436 [ben_tilly ho] I believe a book has been sent.  I just didn't want to
| 10438 [wmwilson01 h] Thank you very much.  By all means, I don't want to rush him.  I just wanted
+ 10440 [Dave Pragmat] The book arrived yesterday, and is currently on the top of his
  10442 [wmwilson01 h] damn, too late.  What he heck am I suppose to do with this kid now!? ;)
  10472 [hal9000 hype] LOL
  10539 [andy toolshe] ...
  + 10540 [mitch venux.] Andy (and Dave!), Programming Ruby is a damn good book... It proudly sits on
  | 10588 [andy toolshe] ...
  | + 10589 [sent quality] ...
  | | 10593 [ms iastate.e] I've had this discussion with a good friend a number of times, and we
  | + 10591 [mvincent ven] Absolutely, I've thanks Matz a few times on-list for a hell of a
  + 10547 [lists.ruby-t] Actually, I was wondering the other day whether Ruby might make a
    10550 [sent quality] ...
    + 10553 [0317025435 t] ...
    | 10572 [ben_tilly ho] A lot of the following proposal for teaching Python to
    + 10573 [elderburn mi] Hmmmm....that might be an advantage. :-)

^ Serialization/persistence/marshalling to/from XML?
10434 [kentda stud.] Is there a library or framework for serializing a hierarchy of Ruby
10444 [neumann s-di] Have a look at XML-RPC for something SOAP-like which is neither cast in iron, nor language-tied.
10604 [kentda stud.] Thanx for the nudge I needed to look deeper at XML-RPC. But, alas, it's
10616 [nahi keynaut] Though I've never use it, Fukushima-san's XMarshal might