57448-60000

57251-59397 subjects 57695-58396

^ LoadError -> `require': (null) - /usr/local/lib/ruby/1.6/i686-linux/sqlite.so (LoadError)
57448 [ahoward fsl.] rubyists-
57496 [pbrannan atd] I think this happens if sqlite.so doesn't have an Init_sqlite() functon.
57501 [decoux moulo] Just the time for you to upgrade your version of ruby :-)

^ (none)
57449 [sanisabo saf] Nigerian National Petroleum Corporation

^ Ruby Weekly News
57451 [Dave Pragmat] Ruby Weekly News: 12/02/2002

^ Something fun -- but not Ruby
57453 [ted datacomm] With the Ruby community spread all over the world (at least!), the sunclock program provides a way to visualize the time of day anywhere.
57468 [robertm spel] More info on it here: http://frmas.free.fr/li_1.htm#_Sunclock_

^ The "funny sumbols" FAQ
57454 [gsinclair so] Rubyists,
+ 57456 [botp delmont] only one comment to your work... -Superb!
| 57471 [xrfang hotma] Gavin,
+ 57538 [rc vaccapern] as well...
  57561 [gsinclair so] Fair question, but that's already answered quite well by available materials.

^ compilation pb!
57462 [simonced hot] I'm trying ruby language. It's quite cool language.
57463 [matz ruby-la] The latest CVS has just merged WinCE patch yesterday.

^ SPAM?
57470 [xrfang hotma] I received the following message from ruby-talk, I think it is a spam, can

^ Cloned objects doesn't get GC'ed (WAS: Re: Memory consumption problem with recursion)
57473 [squidster te] Yup. I've renamed it to some other name...
+ 57477 [nobu.nokada ] Don't Your finalizers refer the objects?
+ 57478 [kentda stud.] What version of Ruby are you using?
| 57575 [squidster te] ruby 1.7.3 (2002-11-26) [i686-linux]
| 57576 [nobu.nokada ] Object#clone doesn't copy fiinalizer.
| 57586 [matz ruby-la] But it should be.  I will fix (in 1.7).
+ 57494 [pbrannan atd] I think a more reasonable question is why I am not able to reproduce

^ [ANN] ruby-locale-0.1
57474 [blackrob jet] This is the first version of ruby-locale (0.1) which can be found at;

^ GC on WIN32OLE
57481 [xrfang hotma] While reading the discussion on Garbage Collection, I suddenly thought of
57492 [batsman.geo ] I don't know the WIN32 API, but if this is at all like a file handle the
57544 [david.naseby] I've found the following resource use pattern helpful when playing with ADO

^ 広島 藤田雄山広島県知事の元での恐ろしい話。行政訴訟の実体
57485 [seimei gmx.n] 知ってて良かった情報の配信です”

^ exception types
57486 [xrfang hotma] Can anybody help me on the rescue clause? I tried to catch file not found
+ 57488 [decoux moulo] Well, what error ruby give you ?
| 57503 [xrfang hotma] I don't quite understand the "true" you used above, what I'm trying to do is
| 57507 [decoux moulo] pigeon% ruby -e '["aa", "b.rb"].each{|f| File.open(f) rescue next; p f}'
| 57510 [kentda stud.] (ok, ok, thats from page 93, identical figure though :-)
| 57511 [xrfang hotma] I'm reading the one comes with Ruby distribution, not even on the internet,
| + 57514 [gfb tonesoft] Is there any reason for such constrain?
| | 57523 [robertm spel] Maybe they'd like you to get the book ;)
| | + 57526 [mwilson13 co] The Pragmatic Programmers would be the source for a definitive answer
| | + 57530 [dave pragpro] Nothing so subtle... :)
| + 57525 [dali insula.] I created a couple of charts describing Ruby class hierarchy. The exception
|   57533 [kentda stud.] Small nitpick: StandardError and below are rescued by default in a
+ 57505 [Tim.Hunter s] Shannon, each rescue needs  the name of one or more Exception classes
+ 57509 [gfb tonesoft] Have you ever had pickaxe in your hands? Have you read it through at least
+ 57535 [vjoel PATH.B] You can make it youself with Ruby! Here's one way, from the examples
+ 57566 [gsinclair so] Good idea; done.

^ Conditional block operations
57487 [rrytov entop] Is there a way to filter results of EACH or COLLECT functions? Let's say
+ 57489 [xrfang hotma] I think for this case, the easist way might be
| 57490 [emmanuel.tou] grep could help, unfortunately I don't know if it can be negated (eg
| 57493 [emmanuel.tou] file.grep /^\S+$/ do |line|
+ 57495 [batsman.geo ] file.readlines.select{ |x| x =~ pattern }.each{ |line| a,b = line.split(pattern) }
| 57499 [dblack super] That's going to work only on numerical elements... which the
| 57532 [batsman.geo ] I took it too literally :-) "only odd elements". And you're right about #+
+ 57497 [emmanuel.tou] filteredArray = myarray.find_all { |x| (x%2==0) }
+ 57500 [dblack super] You need to get your shift key fixed :-)  There's no RUBY, just Ruby
  57504 [xrfang hotma] file.grep? I checked that grep is a method of Enumerable. is it suitable for
  + 57506 [xrfang hotma] Again, can we use Enumerable method on Array? And, { |x| x % 2 == 1} will
  | 57534 [batsman.geo ] The answer is 'yes' in both cases.
  + 57508 [decoux moulo] Enumerable is included in IO

^ I think I finally understand the Symbol type!  ...
57498 [christopher.] In short, I think it buys me what my C compiler would call "string pooling".

^ Regular expression question
57512 [rrytov entop] line !~ /\(^#\)\|\(^[\s\t]*$\)/
57516 [coquelle eni] I don't master regex ... but it seems you haven't to put a backslash
57517 [xrfang hotma] I think you just need to use ( not \(, I suppose it should be
57518 [rrytov entop] My pattern works fine in VI. Back slash before (,) and | is needed to
+ 57519 [decoux moulo] This is the opposite in ruby, you use \ to say that this character don't
+ 57520 [coquelle eni] beware that regex in VI are different of regex in Ruby
+ 57521 [gfb tonesoft] Well, Ruby regexps are not VI regexps. Look similar to some extend, but
  57522 [rrytov entop] Thanks all. Now it works. The final form is

^ Reflection?
57513 [xrfang hotma] class A
57515 [xrfang hotma] I'm sorry I found out the reason is that the method is not a class method.
57556 [hal9000 hype] than rudeness... and we are all ignorant anyway,

^ Inconsistency while playing with Symbol in IRB
57524 [app1tam ups.] Can I assume that the following inconsistency (See the diff between cmd 1
+ 57528 [dblack super] It's not inconsistent;  print and p often give you different
+ 57529 [decoux moulo] no,
+ 57531 [matz ruby-la] I'm not sure what you meant by "inconsistency".
+ 57537 [batsman.geo ] p != print

^ syntax tree equivalent of a source file
57545 [lists debona] Is there a way to get a syntax tree for the ruby program file after
+ 57553 [ptkwt shell1] I don't think there is a built-in way of doing this inside of irb, but
+ 57571 [sdate kc.rr.] Project name:  bRuby

^ Site Seeing week 49
57547 [siteseeing s] Site Seeing is powered by The Startpage of New Zealand!! www.startinnz.com

^ Fox threading issues
57549 [STUCKNER MUL] This is a multi-part message in MIME format.
57551 [david.naseby] The program shows the Linux like behaviour on Windows for me (locking up). I
57565 [lyle users.s] Threads are broken for the Windows version of Ruby 1.6.7. This has
57570 [david.naseby] mswin32.zip

^ FW: Fox threading issues
57550 [STUCKNER MUL] This is a multi-part message in MIME format.

^ Creating directories with File.open
57555 [jason persam] I'm attempting to create a file within a directory
+ 57559 [cyclists nc.] require 'ftools'
+ 57560 [matz ruby-la] Put
  57562 [jason persam] Ah... I see that in the 'Standard Library' section
  + 57568 [cyclists nc.] Mostly, I think, because that's just not the way it has traditionally been
  + 57569 [cyclists nc.] Mostly because this is the way it has always been done. In the standard C

^ folding in vim
57558 [ahoward fsl.] rubyists-

^ Ruby Newbie: installing RUDL problem
57573 [pcestrada ho] I'm diving into Ruby and trying out RUDL. I used the Ruby173-6.exe 'one
57582 [billk cts.co] I don't know the reason for the dll name change but recently in
57619 [ramloll2001 ] I had exactly the same problem except that I did not

^ mod_ruby 1.0.1 install problems
57574 [nemo hellotr] I sent this to the mod_ruby ML, but this one is much more active, so I
+ 57579 [usenets nyc.] Chris, I had the same problem too. It turns out that both mod_ruby 1.0.1 and
| 57578 [nemo hellotr] Chris, I had the same problem too. It turns out that both mod_ruby 1.0.1 and
| 57583 [usenets nyc.] Chris, would you mind posting your working httpd.conf ? Also, may be a test
| 57584 [nemo hellotr] No, when I say I got eruby working, but not mod_ruby, I mean *just* eruby.
| 57617 [usenets nyc.] Have you ever execute those file thru a web browser(Netscape or IE)?
+ 57590 [flori nixe.p] [mod_ruby problems]
  + 57628 [usenets nyc.] Could please cut-n-paste(text only) the fix? I can't accept the attachement.
  + 57719 [nobu.nokada ] No, I haven't compiled mod_ruby yet.  I'm using ruby 1.7 with

^ [ANN] Spreadsheet/Excel 0.2.0
57577 [djberg96 yah] I have unleashed Spreadsheet/Excel 0.2.0 upon the

^ mod_ruby, eruby, apache 2 -- FATAL COMBINATION!
57580 [usenets nyc.] Anyone ever get mod_ruby1.0.1, eruby0.9.8, and apache 2.0.43 working?
+ 57581 [nemo hellotr] Well, it's sad that mod_ruby doesn't work with the latest Ruby, nor with the
+ 57622 [squidster te] Try dropping mod_ruby to 1.0.0..

^ Wiki recommendation
57587 [ted datacomm] I'm planning to set up a wiki for non-technical users.  Is there one that is of good report and comes well-recommended?
+ 57593 [nat.pryce b1] is
| 57595 [batsman.geo ] I have used it with moderate success, but it remains very complex if
| 57629 [curt hibbs.c] UseMod wiki is dead-simple to set up (its a single perl cgi script) and has
+ 57715 [mikkelfj-ant] is of good report and comes well-recommended?
  57725 [curt hibbs.c] Do these two wikis do versioning of pages? This is essential if you need to
  57884 [mikkelfj-ant] to

^ about miniruby
57588 [simonced fre] I'm trying to use it, but I have problems.
+ 57822 [simoncedruby] Does nobody can help me about miniruby ?
| 57919 [matz ruby-la] Probably you have to show us how you compiled miniruby and *exact*
+ 57912 [nobu.nokada ] [ruby-talk:37766] and [ruby-talk:37834] may help you.
  57936 [simoncedruby] Here I found the binaries. but they are old

^ mod_ruby HEAD message
57592 [blackrob jet] Is it possible (and sensible) to change cgi.out to handle HEAD messages
60000 [wakou ruby-l] I think taht it is not good.

^ Class variables problem
57598 [peter semant] I have used
+ 57599 [decoux moulo] Why you don't use a class instance variable ?
| 57600 [peter semant] There is actually no real reason to instantiate this class. I know that
| 57602 [decoux moulo] pigeon% ruby
| + 57609 [peter semant] It never occured to me that instance variables would be usable without
| | + 57610 [decoux moulo] Well, you have an instance this is the class
| | | 57614 [peter semant] Now I used to think that instance variables only existed when you
| | | 57615 [martindemell] Well, there are object instance variables, which *are* created when you
| | | 57618 [peter semant] Ah ha. That clears it up for me. I was slipping into a Java moment there
| | | 57784 [surrender_it] I understand little java, but I think this is the same of
| | + 57611 [dblack super] They're not :-)  You've got two instances here (the Class objects Test
| + 57620 [usenets nyc.] Why would the following did not work?
|   + 57621 [decoux moulo] You have defined an instance method
|   + 57623 [ahoward fsl.] this has been called like a class method, but Calc is an instance method.
|     57626 [usenets nyc.] Which is better in term of OO Best practices?
+ 57601 [simonced fre] I'm not sure, but you should put your rate variable in class test and your calc

^ Private Class Method Confusion
57603 [robertm spel] I made a class which has simply class methods, the intention is that the
+ 57604 [decoux moulo] # strange :-))
| 57608 [robertm spel] First apologies that the rest of the test class didn't work properly, I
+ 57606 [mwilson13 co] As I understand it, private methods can only be used by an object of

^ Ruby from C and C++
57605 [martindemell] I've filled out the first two sections of my RubyFromOtherLanguages wiki
57616 [gsinclair so] I like it!  It's late and I haven't read them right through but I'm impressed.
57692 [gsinclair so] I've seen no mention of such on the list in the last few months.  Give it a go!
57723 [paul argelfr] That wouldn't maek any sense unless it was that object-oriented
57724 [ted datacomm] Ahem...
57728 [bruce codedb] I managed to convince my workplace to switch to Python-- or at least allow me

^ [ANN] RTrans 1.0
57613 [idan idanso.] RTrans is a library for internationalizing applications written in Ruby,
57709 [mikkelfj-ant] I noticed Radical before - but it is poorly documented. There is so much
57721 [idan idanso.] I'm aware of this problem, this will be at least partily resolved in

^ PDF format
57624 [coquelle eni] Is there a way (library wrapper) of writing pdf file with Ruby ?
57632 [mgushee have] There are apparently 3 such packages available--check out

^ More funny Symbols
57625 [xrfang hotma] I just knew that *name used as parameter of a function/method means variable

^ Funny Symbol FAQ
57627 [xrfang hotma] Gavin,
+ 57630 [decoux moulo] just try it :-)
+ 57691 [gsinclair so] Thanks for the suggestions.  I'll clarify & and add *name in the near future.

^ Re: method not from ancestor
57685 [david.naseby] obj.methods - Object.methods

^ Re: elseif?
57693 [xrfang hotma] Well easy to learn and easy to read is most important reason I like ruby.
+ 57696 [dave pragpro] The only $<punctuation> symbols I regularly use are $1..$9 (and very
| 57699 [matz ruby-la] Syntax did not allow "else if".  So I chose the shortest same pronounce
+ 57700 [spoon dellah] It is a perl thing: Native regex support *in* the *language*.
  + 57705 [gfb tonesoft] How about awk? ;-) I guess it was a pioneer in "Native regex support *in*
  | 57706 [spoon dellah] Point conceded. =)
  | 57708 [botp delmont] personally, I prefer "elseif" than "elsif" (I was surprise actually -maybe
  | 57711 [dcarrera mat] "elseif" is more akward to pronounce.  I don't think it's less prone to
  | 57720 [ted datacomm] I prefer elseif because it is less of a bastardization -- and I'm really old.
  | 57722 [paul argelfr] That was the thing I found most jarring about Ruby, too.  Not being a
  | + 57729 [martindemell] And here I thought that Ruby had stronger typing than Perl :)
  | + 57755 [jweirich one] It seems like every language makes a different choice in this matter.
  + 57730 [martindemell] I might look at that once the feature list is finalised, though I'm
    57735 [xrfang hotma] How about a vote? I vote to add elseif as an alternative... Least
    + 57736 [matz ruby-la] But I will vote for "no".  I think this means something.
    + 57738 [dcarrera mat] I don't think that Ruby is a democracy.  :-)
    | 57821 [mghall enter] And that's a good thing.
    | + 57824 [michael_s_ca] Can you alias things other than methods?
    | | + 57828 [rich infoeth] elsif is a keyword, not a method...you cannot alias it...and I think
    | | | 57842 [xrfang hotma] Since Matz is the creator and his opinion is not to add elseif, I'd
    | | | + 57849 [spoon dellah] You should probably be careful using terms as 'major languages'
    | | | | 57855 [harryo zip.c] Algol68 ... and I'd guess others it spawned, but, yes, it's a little strange.
    | | | | 57858 [ted datacomm] Learn something new _EVERY DAY_!
    | | | | 57860 [ted datacomm] .. another mind-expanding experience.  Thanks!
    | | | | 57863 [ted datacomm] I find that vim does better brace matching with {}.
    | | | | + 57879 [gsinclair so] Someone might, but I've long since given up on using {} just for the sake of
    | | | | | 57891 [ahoward fsl.] setting foldmethod=syntax gives a do/end matching of sorts.
    | | | | + 57888 [austin halos] I missed that until I started using some macros available. They're
    | | | + 57869 [dblack candl] True, you can't just type in C or Pascal keywords and expect them to
    | | | | 57876 [botp delmont] personally,
    | | | | 57877 [ted datacomm] No, actually it makes less possible to have a messed-up if statement.
    | | | + 57939 [davep.news d] ....but only of you're coming from a language that doesn't have "elsif". If
    | | + 57835 [vjoel PATH.B] irb(main):021:0> $foo = 7
    | |   57837 [michael_s_ca] Wow, and...well, pew.
    | + 57825 [gfb tonesoft] Can you imagine that there are people who love "elsif" and hate "elseif"?
    | | 57826 [ted datacomm] Yuk!  Ruby was presented to me as a 'clean' language.
    | | + 57827 [ted datacomm] I apologize for the message.  'Cat-heard' should be 'cat-herd'.
    | | + 57829 [billk cts.co] I used to think these kinds of aliases were kind of quirky when I first read
    | | + 57832 [kentda stud.] Yes they do. They provide information about _intent_. Granted, some
    | |   58062 [paul argelfr] I disagree with any proposal to remove "elsif" and replace it with
    | |   58095 [hal9000 hype] Well, I too prefer "elseif" to "elsif" -- but I don't see
    | |   + 58101 [helgaorg yah] Oh man... it must be really late... when reading
    | |   | 58102 [hal9000 hype] Ha! Thanks for the laugh.
    | |   | 58105 [botp delmont] 1. I think the original thread ask for an inclusion of "elseif", so that
    | |   | 58110 [dblack candl] Democracy means ruling, not voicing an opinion :-)  Ruby is a "gentle
    | |   | 58113 [botp delmont] That is being modest, imho. (Reading) Matz mails does not show any sign of
    | |   | + 58114 [dblack candl] I see what you mean more clearly -- not just a kind of graveyard of
    | |   | | + 58133 [wyzzrd bells] One might paraphrase thusly, "From that which gives much, much more is
    | |   | | | + 58136 [dblack candl] While hunting for "gentle dictator" citations before, I came
    | |   | | | | 58160 [batsman.geo ] I was once said that the very existence of Ruby violates the POLS,
    | |   | | | + 58152 [tim bates.id] When I first discovered Ruby, I went through the whole of the pickaxe book
    | |   | | + 58318 [billtj y.glu] I am not sure if I want to include such things in the newcomers list.  I
    | |   | + 58123 [brian coolna] I don't know, I've seen that behavior in most languages I've started
    | |   + 58156 [vjoel PATH.B] x = 1.5
    | |   | + 58161 [martindemell] Nice!! You should add it to the RubyIdioms wiki page.
    | |   | | 58191 [vjoel PATH.B] But I've never actually used it. :)
    | |   | | 58198 [gsinclair so] I added it, and included a nasty swipe at Hal :)
    | |   | + 58169 [hal9000 hype] In essence, that's what I'm talking about. But the
    | |   | | 58174 [gsinclair so] I'd like to learn LISP and Latin too.  Maybe if someone coded a LISP
    | |   | | + 58181 [michael_s_ca] There's a perl module that does almost precisely that.
    | |   | | + 58266 [mjbjr beaude] ;))))))))))))
    | |   | + 58203 [nobu.nokada ] case
    | |   |   + 58204 [vjoel PATH.B] Much nicer that way. Now I *will* use it.
    | |   |   | 58221 [hal9000 hype] And so will I! That is amazing.
    | |   |   + 58207 [dblack candl] Yet more proof of my theory, which is that as you work on a problem in
    | |   |     + 58256 [dblack candl] puts case
    | |   |     + 58340 [rshaw1961 ya] <Pine.LNX.4.44.0212080116210.2040-100000@candle.superlink.net>,
    | |   |       58344 [rshaw1961 ya] <rshaw1961-AFB9AF.20591409122002@news-server.bigpond.net.au>,
    | |   + 58251 [AntiATField_] Why isn't case what you're looking for? See below.
    | |     + 58252 [decoux moulo] You don't need true
    | |     | 58253 [walker deafc] Another thing that would be neat to see, in my opinion, is a 'caseall'
    | |     + 58484 [davep.news d] Those who know and remember Clipper (and Fox, and probably dBase) will also
    | |       + 58532 [botp delmont] I used Clipper for work and free-lancing (many years back). It is a surprise
    | |       | 58602 [davep.news d] [In danger of going off topic, but there is some ruby content]
    | |       + 58595 [bulatz integ] lisp and clipper are greate languages but... :) Charles Wetherell in
    | + 57941 [peter semant] So let see if I get this right...
    |   58038 [mghall enter] 4) Everyone is happy!   The end.
    |   58077 [gsinclair so] I believe, as I'm sure most others do, that keyword aliasing leads to madness.
    + 57739 [peter semant] How about a vote to stop adding sugar. It rots the teeth.
    + 57750 [fg siamecomm] Quicker than a vote: do it yourself for your personal installation of Ruby ;-)
      + 57752 [xrfang hotma] That's interesting... If I have the guts to run all the compiling process
      + 57814 [paul argelfr] That's what people suggested to me when I brought up the topic several
threads.html
top