75432-76886

75301-77288 subjects 75670-76405

^ Question about #coerce
75432 [list jimcain] This is my understanding of the customary use of coerce: it is a request
+ 75441 [matz ruby-la] Acceptable.  It's only reason to return converted y1 *and* x1 from
+ 75494 [lyle users.s] I think Matz has already answered your main questions; I just wanted to

^ NASA using Ruby?
75438 [harryo qiqso] I noticed a reference in the intro blurb for Dave Thomas's talk at OSCON to NASA doing numerical simulations using Ruby.
+ 75444 [hal9000 hype] to NASA doing numerical simulations using Ruby.
| 75491 [jim freeze.o] I don't know. Was there any foam used in the construction
| 75519 [hal9000 hype] More than you know.
| + 75522 [0bz63fz3m1qt] Has Ruby entered the space age (outer space) ?
| | + 75533 [tcfelker mtc] Maybe.  Linux has been in space quite a few times, including older versions of
| | | 75557 [ruby-talk wh] I'm told that XML actually originated in space (despite what you may say about
| | + 75535 [batsman.geo ] Take a look at Rite: it's "up in the air".
| + 75524 [jim freeze.o] You're scaring me Hal. :)
+ 76726 [Bil.Kleb nas] I've gone there on a couple of occasions to add an entry buy never

^ Build of 1.8.0 preview3 crashes on alphaev67-osf5.1
75442 [doug.hendric] We run 3 alpha servers running tru64 5.1A (osf 5.1A).  The 1.8.0
+ 75446 [matz ruby-la] Show us stack trace using gdb.  Can you?
| 75579 [doug.hendric] dbx version 5.1
+ 75592 [aamine lover] Did you applied my patch?
  + 76863 [doug.hendric] I'll give it a try when I can but my development machine is very sick
  + 76884 [doug.hendric] The patch isn't enough: my build gets farther but still crashes at an
  + 76886 [doug.hendric] I am so dumb.  I can't remember if I replied to this or not, and it

^ Possible use for a continuation? [Generating all factors of a given number]
75445 [harryo qiqso] Imagine I have an array of arrays, representing the prime factorisation of a number.
+ 75450 [dooby d10.ka] Glad you said that ;)
| 75455 [harryo qiqso] Darn!  I was hoping to finally get a chance to use one :-).
| + 75460 [B.Candler po] IIRC, 1.8 has "next <expr>" and "break <expr>" which return a value.
| | 75472 [harryo qiqso] That could be good!  Thanks for the info.
| + 75463 [batsman.geo ] Scroll down to 'Generators'.
+ 75452 [martindemell] class MultiCounter

^ Clarifiction needed about versions
75449 [mkcon gmx.de] Could any kind soul please tell me the connections between
+ 75451 [dooby d10.ka] 1.6.8  - stable release
| 75608 [mkcon gmx.de] That was exactly what i wanted to know.
+ 75478 [jj5412 earth] You probably know this, but generally, open source software uses
  + 75488 [B.Candler po] Except, never run any software whose version ends in .0 :-)
  + 75635 [austin halos] - -austin--
    75638 [jj5412 earth] Just when you think you have it all figured out...
    75645 [batsman.geo ] _           _

^ Building Ruby 1.8 preview 3
75456 [gsinclair so] Folks,
75461 [eban os.rim.] Try this or check the latest CVS.
75851 [gsinclair so] Thanks so much, that worked well ... at "installing" (though

^ gRuby and ruby-GD... --alive?
75457 [jonnypichler] you brought up an interesting topic: gRuby.

^ i have the same problem...
75459 [jonnypichler] yeah - i get this one too but i didn't dare to ask this in the group - i
75473 [gour mail.in] Although it's not the real solution, but I just compiled Ruby with MinGW in MSYS
75849 [gsinclair so] Hmmmmm.... I just gave that a go and it worked (to a certain extent).
75866 [gour mail.in] Unfortunately I cannot reproduce your problem. With MingW (gcc 3.2) and latest MSYS 1.09,
75924 [gsinclair so] Yes, miniruiby.exe is created (several build steps depend on this),
+ 75929 [skywizard ti] My solution is using something like
+ 75940 [gour mail.in] Well, MinGW & MSYS environment is, imho, very easy to install - just running

^ irb prompt
75462 [botp delmont] 1. how can we dynamically change irb prompt? Currently, the prompt shows *

^ Idea: arity as a range
75474 [B.Candler po] This may have been suggested before, but I wondered if the use of negative

^ ruby-1.8.0.p3 segfault
75479 [ gm navel.gr] .../navel/web/srv/request.rb:339: [BUG] obj_free() called for broken object

^ Are you learning ESL or TESL?
75482 [nat_edwards ] This is a multi-part message in MIME format

^ Ruby 1.8.0 prev3 segfault
75483 [ gm navel.gr] .../navel/web/srv/request.rb:339: [BUG] obj_free() called for broken object
75484 [decoux moulo] Well, unfortunately this is not really usefull. Can you give the complete
75613 [ gm navel.gr] I use the mysql.so extension (DBI). the problem seems to come from
75625 [decoux moulo] This mean that ruby has a problem with the GC : if one extension forget to

^ How to generate sound of given frequency and duration ?
75508 [mwg isd.dp.u] I am trying to port one old DOS game that just beeps its sounds to PC-Speaker or AdLib if it finds one. The frequency and

^ build problems with 1.8, solaris and sparc options
75512 [djberge qwes] Solaris 9
75594 [airboss node] You can't mix 32-bit and 64-bit libraries/object files. At the link
75634 [nobu.nokada ] Then, try configure with LDFLAGS=-m64, or with CC='gcc -m64'
75644 [djberge qwes] CC='gcc -g -O2 -m64 -mcpu=ultrasparc'
75724 [nobu.nokada ] These seem to be because syck.h lacks #include <stdlib.h>.

^ [ANN] Transaction::Simple
75513 [austin halos] transactional support to objects. The transaction methods added by

^ ruby-dev summary 20489 - 20519
75515 [maki rubycol] I'm sorry to post so late. This is a summary of ruby-dev ML

^ How to generate sound of given frequency and duration ? (fwd)
75517 [schugt cip.p] I am trying to port one old DOS game that just beeps its sounds to
+ 75571 [schugt cip.p] Saluton!
+ 75612 [mwg isd.dp.u] Thank you. But that is for PC speaker only, it ignores the presence of other multimedia. The game I port, first tries to detect

^ rubynet-announce Digest, Vol 5, Issue 3
75526 [rubynet-anno] Send rubynet-announce mailing list submissions to

^ OT: GPL - was Re: My brief and torrid affair with Ruby.
75548 [hal9000 hype] Well, I personally never said it was viral. In any case,
+ 75554 [dcarrera mat] Well, then we agree.
| 75575 [hal9000 hype] Very interesting if true. I've never heard that anyone
+ 75556 [austin halos] austin ziegler    * austin@halostatue.ca * Toronto, ON, Canada
| 75574 [hal9000 hype] Austin, did you intend to say something? Or perhaps
| 75583 [austin halos] and signed and sent the message ... which was an unpasted version.
| 75593 [mwilson13 co] I decided to add to the verbiage because I do have an interesting real
+ 75565 [feldt ce.cha] Sorry for this long post and rambling. Just skip if you're not in
  75588 [austin halos] Not at all. The GNU GPL has nothing to do with ESR's Cathedral and
  75610 [feldt ce.cha] What I'm trying to say is that in practice it has to do with ESR's concepts
  + 75615 [feldt ce.cha] I intended to say "open" there and not "free". ;)
  + 75632 [B.Candler po] From my point of view, I don't like the GPL simply because it is more
  | 75636 [DDouthitt cu] If you want the least restrictive "license" available, then your work
  | + 75637 [DDouthitt cu] Whether to say "open" or "free" is another can of worms.  See what the
  | + 75640 [B.Candler po] Just because of liability issues I think. The one restriction people want is
  | + 75658 [austin halos] Um, well, in European countries, it's not possible to surrender an author's rights. It's dubious as to whether or not US copyright law actually respects a "public domain" release, either. Finally, there are two other issues. One is the potential liability issue mentioned previously. Second is that even the BSD requires that the copyright statement be retained -- so "credit where due" is followed, at least in the source.
  |   75663 [B.Candler po] IANAL, but I believe that at least in the UK, the concept of putting a work
  + 75791 [austin halos] Licensing is orthogonal to development methodology. While open
    75842 [ jupp gmx.de] Saluton!
    + 75843 [austin halos] No, I don't think that there's any statistical correlation to
    + 75845 [sean REMOVEM] Actually, the GPL requires that, wherever you distribute the binaries from,
      + 75848 [austin halos] Not according to section 3 of GPL2. Note option (b). It's easiest to comply with section 3(a), but you can comply with sections 3(b) or 3(c) instead, although section 3(c) is restricted. Note that while section 3(b) says "any third party", in reality that's going to be customers or their customers. IMO, section 3(b) causes problems in the event of the developer's "death" (whether an individual or company).
      | 75862 [sean REMOVEM] comply with section 3(a), but you can comply with sections 3(b) or 3(c)
      | 75867 [B.Candler po] I think that means: "if you place the source code at the same place then
      + 75930 [jweirich one] From the GPL version 2 (http://www.gnu.org/copyleft/gpl.html)...
        75931 [jweirich one] Never mind, I see this has already been addressed (I should have read

^ Re: XML is a disease?
75558 [lyle users.s] If it is true that XML is a kind of disease, would you go so far as to
+ 75561 [rasputin ido] rofl
| 75564 [lyle users.s] Thanks for having a sense of humor ;) I was just demonstrating that the
+ 75562 [ruby-talk wh] Well, I would go _that_ far, Lyle.  But I am considering GPLing a strain of
+ 75573 [hal9000 hype] about

^ Ruby T-Shirt Idea
75570 [shout ozten.] I am not religious about languages, but have been really enjoying Ruby
+ 75572 [dcarrera mat] I like the idea of Ruby t-shirts, but your code snipet is rather long for
| + 75576 [surrender_it] 5.times { puts 'ruby r0x!'}
| | + 75577 [fxn hashref.] "Please, keep your language clean" (seen on freenode#ruby-lang :-)
| | | 75859 [martindemell] I've always thought that would make an excellent slogan :)
| | + 75652 [ jupp gmx.de] Saluton!
| |   75654 [orion2480 ho] What we need is a code snippet that is excessively long and obfuscate in
| |   + 75664 [fxn hashref.] IMHO it will be almost impossible to do that, being fair and idiomatic
| |   | + 75667 [hal9000 hype] I have little knowledge of Perl.
| |   | | + 75671 [fxn hashref.] That's a good intent because Perl lacks an explicit construct to iterate
| |   | | | 75675 [dcarrera mat] def twice
| |   | | | 75678 [fxn hashref.] sub twice(&) {
| |   | | | + 75679 [dcarrera mat] Actually, that might be good for a side-by-side comparison.
| |   | | | + 75687 [tim vegeta.a] sub twice (&) { my $sub = shift; &$sub; &$sub; }
| |   | | |   75769 [mike ratdog.] (ignoring the puts gripe :-)
| |   | | |   75784 [fxn hashref.] Who condemned anything?
| |   | | + 75672 [emschwar pob] You're actually printing the indices of the elements which are odd.
| |   | |   + 75680 [hal9000 hype] is what I meant.
| |   | |   + 75686 [tim vegeta.a] As usual, one can trim some gratuitous readable characters here
| |   | |   + 75752 [B.Candler po] Did nobody spot the off-by-one error there? @array as a scalar gives the
| |   | + 75668 [batsman.geo ] Something OO? With all the blessing and stuff, Perl is quite ugly, esp.
| |   |   75681 [tim vegeta.a] Non-OO, idiomatic Perl can almost always beat ruby by at least a
| |   |   75690 [rodrigo.berm] what about this on in the front ....
| |   |   + 75691 [hal9000 hype] That's pretty funny.
| |   |   + 75726 [tim vegeta.a] (matthew winn in vim@vim.org ml)
| |   |   + 75753 [B.Candler po] #!/bin/sh
| |   |   + 75773 [ jupp gmx.de] Saluton!
| |   + 75676 [john.carter ] For logical neatness I just love
| |   | 75772 [ jupp gmx.de] Saluton!
| |   + 75771 [ jupp gmx.de] Saluton!
| + 75586 [tim vegeta.a] Perl and Python both do this.  Python even uses the same syntax.
|   + 75587 [dcarrera mat] Gabriele suggested "4.times { puts 'Ruby rocks!' }".  I like it.
|   | 75763 [ian caliban.] class Symbol
|   + 75595 [hal9000 hype] Hmm, there's the classic "grep in four lines." Can't recall
|     + 75598 [dcarrera mat] Doesn't sound that hard.  Could someone remind me how to use the File.eachline method? (I
|     | + 75599 [dcarrera mat] Okay, ignore my last question (except the one about a link to PicAxe).  I just figured the
|     | | 75601 [hal9000 hype] just figured the
|     | | 75602 [dcarrera mat] Whoohoo!!!!
|     | + 75629 [B.Candler po] Or if you meant a specific reference for each_line, see
|     + 75600 [dcarrera mat] dcarrera ~ $ cat myfile
|     | + 75603 [hal9000 hype] Quite right.
|     | | 75646 [mike ratdog.] It doesn't automatically escape the interpolated thing and that's a good
|     | | 76025 [akr m17n.org] def Regexp.alt(*args)
|     | + 75630 [B.Candler po] $ ruby -ne 'print if /a/' myfile
|     + 75605 [batsman.geo ] What about
|     | 75606 [dcarrera mat] Did you see mine?  It was one line! (with a semicolon though :)
|     | 75607 [batsman.geo ] They're the same if you omit the fact that I forgot about Enumerable#grep ;)
|     | + 75609 [dcarrera mat] I didn't know that.  I should have guessed.
|     | | + 75639 [nobu.nokada ] They waits until all input end.
|     | | + 75662 [B.Candler po] Incidentally, you could make it more efficient by building the regex only
|     | + 75682 [sean REMOVEM] Just out of curiosity, what exactly is are the candidates for the Ruby
|     |   + 75684 [hal9000 hype] Heh... fire away. Let there be T-shirts.
|     |   | 75693 [sean REMOVEM] I was thinking of just the Japanese symbol(s) for Ruby in a rich red color
|     |   | 75695 [hal9000 hype] Done long ago. See Ruby.shop at rubyhacker.com
|     |   | 75700 [lyle users.s] Hey, Hal, just for clarification: is Ruby.shop officially "open for
|     |   + 75710 [shout ozten.] There isn't a contest or anything, I am going to make a T-shirt for
|     |     + 75745 [hal9000 hype] I do hope the street_cred bit is true. It's my
|     |     | 75785 [austin halos] I have been through a series of interviews recently -- people who have finally gotten around to reading _The Pragmatic Programmer_ -- and have had my Rubyist status received positively.
|     |     | 75794 [batsman.geo ] there's no reference to Ruby on it IIRC (I don't know how to do 'grep'
|     |     + 75746 [dooby d10.ka] Before committing to cotton, could I recommend
|     |       + 75758 [B.Candler po] irb(main):001:0> 5.shift
|     |       | + 75760 [mike.woodhou] I was wondering about something that demonstrated the "everything is an
|     |       | + 75839 [dooby d10.ka] irb(main):001:0> {:your => 'high'}.shift
|     |       + 75762 [kentda stud.] While we're picking nits, I noticed that "CodeFu.MASTER" doesn't work if
|     + 75666 [surrender_it] => true
+ 75628 [B.Candler po] Note that the semicolon isn't needed.
+ 75764 [ian caliban.] class Ruby < Scripting_Languages

^ [ANN] Linguistics-1.01
75591 [ged FaerieMU] I'd like to announce the first release of the Linguistics module, a
+ 75596 [ruby-talk wh] Wonderful.  I really like your `Linguistics::use( :en )' idiom for
| 75597 [ged FaerieMU] Wow, thanks. That means a lot coming from you. =:)
+ 75918 [martindemell] Very nice! I'm looking forward to playing with this.

^ Speaking of Ruby T-shirts...
75604 [hal9000 hype] If anyone wants to contribute ideas to the
75611 [rich infoeth] dynamic_languages = %w{ perl python php }
75614 [rich infoeth] oops...

^ Ruby in small devices
75616 [jolsen mail2] Has Ruby been used in small devices - e.g. PDAs like the Compaq iPaq (linux)?
+ 75618 [samuel alien] I installed it on my Zaurus.  Here's a link to the Zaurus Software
+ 75619 [hal9000 hype] I think Kero van Gelder runs it on an iPaq. I've also
+ 75627 [kentda stud.] Currently run Ruby 1.6.5 on an Agenda VR3 Linux PDA with 8Mb RAM, which

^ RERSS 0.2 released!
75617 [samuel alien] I've just released RERSS 0.2.  The most significant changes in this

^ Doing a "case" on class
75620 [harryo qiqso] This hits me every time I try to do it and definitely feels non-POLS to me!
75621 [shin faculty] case does not use == but === when comparision, and
75622 [harryo qiqso] Ah!

^ Ruby reference card?
75623 [matthias.arn] does a simple reference card for Ruby exist? I look for something with just
+ 75626 [hal9000 hype] just
+ 75759 [ gv cs.uu.nl] Given that some cards on www.refcards.com have their TeX-sources public,

^ Microsoft Agents
75624 [Hayashida.Ro] This is a multi-part message in MIME format.

^ OSCON "Ruby in a day" Dave's slides
75631 [ oct zoy.org] I read somewhere[1] that Dave Thomas did a "ruby in a day" speech at oscon two
+ 75641 [dave pragpro] I've put them up temporarily at
| + 75643 [ oct zoy.org] Thank you very much :)
| + 75770 [emiel il.fon] These are super Dave. I've sent them to my Ruby newbie colleages.
+ 75642 [dave pragpro] I've put them up temporarily at

^ ruby windows installer
75633 [emmanuel.tou] I would like to say that the ruby windows from rubyinstaller.sf.net is

^ Ruby 1.8/OSSL2
75647 [jfh cise.ufl] The latest cvs version of OSSL2 doesn't appear to be throwing the errors

^ OT: Still waiting
75648 [jj5412 earth] I would have thought that by now Dave (Thomas) would

^ rubynet-announce Digest, Vol 5, Issue 4
75649 [rubynet-anno] Send rubynet-announce mailing list submissions to

^ Re: Still waiting
75650 [hal9000 hype] Ha... we all know how that would turn out...

^ OSCON report
75651 [ptkwt shell1] Matz's talk "The Power and Philosophy of Ruby " was standing room only
75659 [armin xss.de] I would love to see these slides online.
75660 [ruby-talk wh] An amazing and evokative talk.  I believe this is the same.
+ 75665 [0bz63fz3m1qt] I read these slides.. many good points about avoiding stress :-)
+ 75707 [ian caliban.] I second that. I wish I had been there to enjoy it first-hand.
  75777 [Mark.Volkman] This message is in MIME format. Since your mail reader does not understand
  + 75779 [aredridel nb] I just paged through and read that too.  It surprised me, but I looked
  + 75804 [ruby-talk wh] _why
  + 75810 [matz ruby-la] It's OK.  You have freedom to choose.  But don't you agree with
    75811 [matt technor] On a related note, Are you familiar with the Sapir-Worf Hypothesis?
    75813 [matz ruby-la] David McCorkhil told me yesterday at the Japanese restaurant.
    75825 [guslist free] May I ask what the Sapir-Worf Hypothesis is?
    + 75826 [hal9000 hype] It's Whorf with an H. Not the Klingon guy. :)
    | + 75836 [guslist free] In French, there is no direct translation to 'cheap', you have to say
    | | 75909 [ jupp gmx.de] Salut!
    | + 75870 [matz ruby-la] Hmm, I had misunderstood the hypothesis.  After reading pages which
    | + 75871 [mailinglists] Can it be possible that he has stolen this simply
    + 75827 [gfb tonesoft] ...
      75828 [gfb tonesoft] ...
      75835 [guslist free] Interesting. Reminds me of the language that they speek in the Wells'
      75872 [mailinglists] It's of course from George Orwell. Only a british could write so well
threads.html
top