11089-14251 subjects 11501-13169

11291 [johnt mssglo] This is a multi-part message in MIME format.
+ 11325 [Dave Pragmat] I ran the file, and it worked fine on my Linux box using
+ 11421 [masaki.suket] Did you run this script from RubyWin?

^ Re: Learning Ruby -- oops, forgot some details
11293 [daniel helen] Oops, forgot most of the details :-) Programming Ruby is written by "the

^ Win32 build is broken.
11295 [jdf pobox.co] I cannot build the Ruby "stable snapshot" on Win32 using the Microsoft

^ First meeting in Gothenburg
11301 [robert.gusta] Norway)!

^ dRuby problem with Threads
11304 [ptkwt shell1] This is a strange one - then again It's about 11:20PM so everything is
11300 [wys helbling] ...for me it's 11:20am

^ Time without seconds...
11305 [bombadil wan] I want to get a Time instance without seconds (round minutes). I have
11310 [dblack candl] class Time
11313 [elderburn mi] Except that you might want to name the method 'floor' in that, by always
11361 [sent quality] class MyTime < Time
11369 [decoux moulo] Warning you can have a problem

^ subscribe Pedro Mel˝¤dez
11306 [pedrolista m] subscribe Pedro Mel˝¤dez

^ Bottles of Beer finally in Ruby
11316 [jimm eris.io] The following URL contains a collection of programs to print the words to
+ 11317 [chadfowler y] I don't think he's maintaining that site.  I sent him
| + 11345 [neumann s-di] I have made a similar page, but with *only* about 100 languages.
| + 11414 [wscott ichip] I also summitted a version last October with no response.
|   + 11415 [mitch venux.] So I guess I shouldn't submit my TI99/4a Assembly version? :-)
|   + 11556 [robert.gusta] First I must say that this is no critique on your way of coding Ruby. I just
|     11560 [ms iastate.e] Okay, my turn.
|     11724 [nickb fnord.] I think I can make one that better expresses the song.  Well, maybe.
+ 11319 [matju sympat] No luck. I submitted a Ruby version over 6 months ago and it's still not

^ HP-UX executable?
11318 [ms iastate.e] Does anybody have an HP-UX (11.0) executable of the ruby interpreter? It
+ 11343 [barry_shultz] Barry
| 11374 [ms iastate.e] That advice can apply only after gcc is installed -- anyway I finally
+ 11346 [neumann s-di] Yes, I have.
+ 11627 [bdelmee adva] Help yourself at: http://hpux.connect.org.uk/

^ ruby-mode.el quirk
11322 [jdf pobox.co] It seems that an attempt to use the division operator / in a ruby
11349 [w.l.kleb lar] fwiw, i have noted the same problem...

^ ruby-model.el quirk #2
11323 [jdf pobox.co] In the source

^ numerical limits
11334 [raja cs.indi] Is there a way in Ruby to determine the largest/smallest representable
11336 [ben_tilly ho] You could add a method to do it for Fixnum based on
+ 11337 [decoux moulo] Well, I don't know perl, but ruby has a nice module Config
+ 11362 [raja cs.indi] So it seems.

^ Is there a central repository for Ruby Modules
11338 [SAT MULTITEC] Is there a central repository for Ruby Modules (not modules in the language
11342 [chadfowler y] The Ruby Application Archive on

^ What happened to comp.lang.ruby
11339 [SAT MULTITEC] What has happened to comp.lang.ruby? There were active messages on it until
11340 [Dave Pragmat] You might want to check with your newsfeed. It's being updated here.
11341 [schneik us.i] # What has happened to comp.lang.ruby? There were active messages on

^ Re: dRuby problem with Threads(still need solution - Threads problem?)
11347 [ptkwt shell1] OK, I'm gonna try posting this for the third time...  could be duplicates, but it

^ ? anybody here?
11350 [binit lostca] anybody here?
11352 [harryo zipwo] Hoping not to start a trend, but ... yes :-).

^ Any way to control order in which objects are GC'd?
11354 [ljohnson res] I fear that I already know the answer, but I'll go ahead and ask. But first,
11355 [Dave Pragmat] Would it be possible to have the Ruby GC manage you C++ objects? That
11356 [ben_tilly ho] Well as you see, gc and reference counting are not friends.
11380 [ljohnson res] Dave & Ben,

^ binding to callers namespace.
11357 [joe vpop.net] Am I using caller wrong here?  Basically I want to give
11358 [Dave Pragmat] 'fraid so.  Caller returns an array containing the call stack, not the
11416 [joe vpop.net] Yes.  very messy.  OK, here's another question.  Is it possible
+ 11417 [Dave Pragmat] You could pass it in as a symbol. Would that help?
| 11418 [joe vpop.net] perhaps close.  I can't seem to get the value when passed in as a symbol.
| 11420 [ben_tilly ho] Your question strangely reminds me of a classic thing you
+ 11423 [crippel prim] I came up with the following example when playing

^ Using an object as a variable
11366 [spwhite char] a = 45
+ 11370 [decoux moulo] Well it depend what you want to do, but you can take a look at complex.rb
+ 11373 [harryo zipwo] I guess what you're looking for is the equivalent of C++'s

^ Palindromes, $/, chomp, and lesser surprises.
11367 [jdf pobox.co] I have written my first Ruby program, a translation of a Perl program
11375 [mike stok.co] ARGF.each { |line|
11376 [mike stok.co] give or take a couple of .downcases for case insensitivity.

^ Emacs-mode?
11378 [noel.rappin ] I'd really appreciate it if somebody could give me a pointer on how to get
11379 [gc mandrakes] Basically you need to have the el file distributed with ruby in emacs
11382 [noel.rappin ] Thanks -- I'm using XEmacs, though (sorry for not making that clearer
11384 [Dave Pragmat] With xemacs, you need to load the font-lock package before the

^ Re: Time without seconds (updated/fixed)
11381 [sent quality] Thanks. You are correct. Fortunately, that is
11383 [dblack candl] Why do the two ways of doing this (which I've stashed into
+ 11386 [decoux moulo] The response is in the source, with #+ and #- ruby call
| + 11393 [matz zetabit] It's for consistency, for example
| + 11396 [decoux moulo] because in the example I expected A :-)
|   + 11457 [matz zetabit] Ok, then
|   + 11459 [decoux moulo] Array
|     + 11575 [matz zetabit] <and examples snipped>
|     | 11578 [matju sympat] It seemed to me that Guy expects the class of the result to be the
|     + 11580 [decoux moulo] pigeon% cat b.rb
+ 11388 [Dave Pragmat] Because Time defines an operator '-' which returns a new Time
+ 11394 [elderburn mi] FWIW
  11397 [dblack candl] Indispensable, even :-)  But I don't see the connection with my question.  But see
  11410 [elderburn mi] Er, no it doesn't :-) (That's what I get for reading the output and not how
  11426 [sent quality] This whole thread points out to me that the Time
  11531 [matz zetabit] Mike, please.
  11537 [matju sympat] Mutable, you mean. It is immutable right now. I'm against. It's the kind
  11541 [sent quality] I guess I don't understand the issue. What code
  + 11545 [wmwilson01 h] It's there.  Just a note, I got a little busy on Friday and forgot to post
  + 11570 [matju sympat] Old code that assumes that Time is immutable, when it enters in contact

^ Re: C scripting: Inline.pm model-- just a toy
11385 [john_van_v y] I spent about an hour looking over the Inline.pm faq on perl.com last night.
11402 [elderburn mi] Which means that, for distributed use a Ruby 'inline.rb' would have to be

^ trial balloon: Ruby desktop?
11391 [aseltine cs.] I have been thinking about something for some time now, and I wanted to
+ 11395 [neumann s-di] Great idea.
| + 11398 [glen enabled] 1) There was a window manager written in Python (whose name escapes me at the
| + 11399 [Dave Pragmat] We had a window manager that used components written in Ruby, mostly
| | 11403 [SAT MULTITEC] This sounds like a very interesting idea (to me) if the goal was to use it
| | 11406 [spwhite char] Just a brief side-track... but I'm seeing "XML" everywhere and I just don't
| | + 11408 [johann physi] Well, the Lisp bigots are sure that it's just an overly-verbose
| | | 11563 [john_van_v y] I heard Philip Wadler of Lucent say that XML _is_ Lisp.
| | + 11411 [elderburn mi] Back in the first half of the last century there werre a number of movements
| | | + 11419 [dblack candl] Mixing and matching a couple of posts....
| | | | 11427 [sent quality] Obviously several people are very interested. I
| | | | 11444 [aseltine cs.] Exactly! I don't have all the answers, but as a collective we may be
| | | | 11453 [sent quality] Ok. A collection of applets is something I can
| | | | 11455 [aseltine cs.] I don't know too much about MFC -- is it something like OpenStep? I was
| | | | 11456 [sent quality] That sounds a lot like MFC, which I refer to as
| | | | 11482 [avi beta4.co] Maybe, but OpenStep (or GNUstep) is a much better model, particularly
| | | + 11565 [john_van_v y] Kent Starr, elderburn@mindspring.com
| | |   11571 [Dave Pragmat] Having just spent three weeks translating XML back and forth for the
| | + 11413 [tarod home.c] don't
| + 11442 [aseltine cs.] QT is GPL now, so no license problems.
|   11474 [neumann s-di] As far as I know only for UNIX/X11.
+ 11407 [john_van_v y] You could be crazy... but thats not the issue.
+ 11409 [elderburn mi] Oviously, from other responses, people _are_ interested.  I am curious,
  11443 [aseltine cs.] Mostly technical reasons. First, I think that writing solid applications

^ Suggestion: Slow RE mode
11400 [ben_tilly ho] I would like to see an optional way to force all RE

^ Parentheses around method arguments
11401 [robert.gusta] Since reading the book Writing Solid Code a couple of years ago I've always
+ 11404 [Dave Pragmat] Of course this doesn't always do what you mean in C or C++... I'd
| 11429 [sent quality] I always put parens around parameters to function
+ 11554 [  zak ale.cx] One note I'd like to give is that I read the topmost better as

^ Dir#each -- include '.'?
11422 [nconway klam] I'm still a Ruby-newbie, so if this is silly, just tell me.
+ 11424 [dblack candl] That's "Nuby" -- save yourself some typing :-)
| 11434 [nconway klam] Interestingly...
| 11437 [aamine dp.u-] Dir.glob('test\\ directory/*')
| 11445 [ben_tilly ho] It appears that Ruby is a little closer to standard glob
| 11449 [Dave Pragmat] I think this probably counts as a bug.
| + 11451 [ben_tilly ho] Which, splitting on the space or not following the
| | + 11452 [decoux moulo] pigeon% ls -al
| | + 11462 [Dave Pragmat] Ben gets his wish, I update
| + 11458 [matz zetabit] I've already fixed this in 1.7.x.  But it has not been backported to
|   11460 [sent quality] Pretty much every language uses backslash as an
+ 11425 [green FreeBS] Better than Dir[]/Dir.glob since it actually includes all files :)
| 11428 [dblack candl] Yes, I've led him down the path of ignoring hidden files.  Whoops.
+ 11431 [gnhurst hurs] Is this better?
+ 11435 [jdf pobox.co] What's odd is that there was recently a thread in c.l.perl.misc about

^ Re: XML (was: trial balloon: Ruby desktop?)
11430 [sent quality] My basic view is that XML is a big step up from
+ 11450 [dblack candl] There *really* is (much) more to expat than finding tags.  I have
| 11454 [sent quality] Sorry if I offended. I am thrilled that James
+ 11467 [lists.ruby-t] The March 2001 issue of Linux Journal has an interesting article on
  11472 [sent quality] If you're interested in soap, also take a look at

^ Esperanto (was: trial balloon: Ruby desktop?)
11432 [sent quality] Ok. I've been waiting for an excuse to mention
11438 [elderburn mi] One of the reasons Esperanto did not really catch on was the fact that it was
+ 11471 [binit lostca] Do you have a reference to this?
| 11507 [elderburn mi] This was in the issue #19 of the Perl Journal in an article by Omri Schwartz
| 11529 [binit lostca] Thanks
+ 11476 [nickb fnord.] I believe Zero Wing was translated into Basic English.
  11483 [ben_tilly ho] OK, this is going to be seriously OT, though I find
  11539 [matz zetabit] You might know Japanese is inflected language too.
  11614 [nickb fnord.] I can find at least oen feature that is quite the opposite of Japanese
  11645 [matz zetabit] Well, it's seldom, but it can be.  "print suru no wa x == 3 no baai desu."

^ Ruby OpenGL && Mesa "bug"
11433 [elderburn mi] Apparantly, sometime last July the Mesa developers  played around with gl.h

^ Translating Ruby documentation
11440 [nasakai unix] I'm new to the list and to Ruby, but I am fluent in Japanese and English.
+ 11446 [  tk hcsd.de] I don't know of a docs translation project, but I tried to translate some
| 11473 [neumann s-di] Because you mentioned german, I have once begun to translate the Ruby User Manual (from GOTOKEN)
| 11566 [schneik us.i] #
| 11572 [hal9000 hype] Thanks, Conrad...
| 11671 [njohnson fiv] Sorry for my short absence from this topic.
| 11707 [JCA02266 nif] I hope you translate it.
+ 11448 [Dave Pragmat] Thank you for offering. This is a big need.

^ Ruby on PalmPilot?
11441 [harryo zipwo] I just read a post on Slashdot about a Python port to the PalmPilot.
11502 [snowzone hom] unfortunately they excluded a whole lot of palm/visor users who only have
11519 [harryo zipwo] I think it has more to do with the heap size.  The earlier/cheaper

^ French Translation
11461 [matju sympat] If you are interested in using French translations of Ruby documentation,
11463 [Dave Pragmat] A Suggestion. Rather than create a separate page, what about adding a
11464 [matju sympat] Because it's really not for who is translating something nor even for who
11465 [Dave Pragmat] True, but I still feel there's benefit in having it all in one

^ Finance Equations
11466 [jim freeze.o] Is there a class that does finance equations (ie, loan calculations) in
11497 [ben_tilly ho] The usual place to look is

^ multidimenstional arrays?
11468 [ rtan vt.edu] 1. How do you instantiate multidimensional arrays?
+ 11470 [masa stars.g] for example...
| 11573 [schneik us.i] # 1. How do you instantiate multidimensional arrays?
+ 11603 [jfn enteract] Here is the implementation I'm currently using for a 2d array.  This
  11606 [dblack candl] Hmmm.... looks like something you could do with the Matrix package shipped

11469 [schuerig acm] Ruby has an XML-RPC package and KDE has the XmlRpc Daemon. See
11477 [neumann s-di] require "xmlrpc/client"
+ 11479 [chadfowler y] Worked for me.
+ 11490 [schuerig acm] Thanks, it does.
  + 11493 [chadfowler y] <http://www.s-direktnet.de/homepages/neumann/xmlrpc4r/index.html>
  | 11499 [chadfowler y] <snip-my-bad-code/>
  | 11506 [schuerig acm] Now, that's very cool. Thanks!
  + 11528 [neumann s-di] Yes, that can be done.

^ eval-context problem (bug?)
11475 [wys helbling] content = '
11492 [dblack candl] content = '
11494 [dblack candl] I mean "not class Module", not "not of class Module".

^ Sorting
11478 [jvyxn evghny] Does Ruby already have an compare method that takes into account numbers
11480 [Dave Pragmat] Here are a couple of ways. The second may or may not be more
11481 [ben_tilly ho] def sort_split (s)
11485 [ben_tilly ho] Note that both of these just sort the strings
11509 [sent quality] strings = [ "Name 300", "Name 1", "Name 10",
11510 [gnhurst hurs] But what about for this?
11535 [sent quality] Thanks for pointing this out. Of course you are
11544 [ben_tilly ho] It gets better.  Since Array includes Enumerable,

^ SV:  Re: Using an object as a variable
11484 [dennisdecker] I've also been wondering about how to do the Quantity Pattern (AKA the Whole

^ order of terms in comparisons
11486 [dblack candl] I'm probably just being inattentive, but until very recently I don't
+ 11488 [ben_tilly ho] I don't know about other people, but it is a habit
+ 11489 [jim freeze.o] I first saw this in the book, "Writing Solid Code" by Steve Maguire

^ TCPSocket Problem?
11487 [chris newdev] I am using 1.6.2 on both Redhat 6.1 and Redhat 7.0.
11540 [matz zetabit] FYI, the latest 1.7.0 do not use call dup(2) on sockets, it uses one
11546 [jdf pobox.co] #! /usr/bin/env ruby
11552 [chris newdev] Thanks for the info Matz do you think I should try 1.7.0 or is it not stable enough
11561 [matz zetabit] It's stable right now.  But I cannot guarantee its stableness all the time.
11568 [jdf pobox.co] I'm wondering, based on this exchange, whether my detailed messages
11574 [matz zetabit] Unfortunately, I not a Windows person.  Without help from somebody
11596 [jdf pobox.co] I'm eager to participate... but I don't think I've got the programming

^ Negative Reviews for Ruby and Programming Ruby
11491 [jim freeze.o] I was just at Amazon looking at the reviews for Programming Ruby, and
+ 11503 [knos free.fr] .-
| + 11504 [mitch venux.] What you have there are a few people that didn't like Ruby. What does that
| | + 11508 [elderburn mi] Do we have the makings of a slogan, song or tee shirt here? :-)
| | | 11538 [matz zetabit] I'd be happy to wear T shirt with this slogan on.
| | | 11548 [mitch venux.] *opens store*
| | + 11521 [jeremy chaos] No.  What we have is a major public site giving a very negative
| |   11547 [mitch venux.] I strongly disagree with you here. Matz isn't going to stop developing it
| |   11550 [harryo zipwo] I agree with you basically, but I'll give you myself as an example.
| |   11569 [schneik us.i] # If people would put half as much effort into something constructive
| + 11505 [elderburn mi] Well, based upon my exprerience designing, building and managing virtual
| | 11524 [jeremy chaos] That may be true of project meetings but it's not IMHO true of Amazon.
| + 11527 [mkreuzer mai] Well ... as someone who's been surfing the scripting languages for a
|   + 11534 [sent quality] For me, Ruby is exactly a better-Python, better-
|   | + 11928 [jeremy chaos] Maybe.  I've not yet fallen in love with any language, so I can't say.
|   | | 11936 [matz zetabit] Perhaps.  You'll see it soon.
|   | + 13944 [unet MOOMOOr] It worked differently for me.  Here's one pig's
|   |   14028 [jeremy chaos] And how!  I haven't used Python in anger, but I have wrestled with the
|   |   14030 [paulp Active] I don't want to start a Python thread but I want to point out that you
|   |   14103 [ben_tilly op] [...]There is one and only one
|   |   14109 [paulp Active] I wasn't clear. Your Perl problem arises because there is more than one
|   |   + 14115 [gisle Active] There are only 2 false string values in perl: "" and "0".  "0.0" is true.
|   |   + 14137 [matz zetabit] 'gets' returns nil (false value) at the end of line, whereas
|   + 11583 [olivier vibe] <SNIP>
|     + 11588 [ben_tilly ho] You don't just insist on it, you went ahead and
|     + 11732 [mkreuzer mai] I'm at least that patient.  :-)  Look forward to seeing this - ta, Michael
+ 11520 [jeremy chaos] I think a problem is that Ruby's standard thumbnail description: "an