25918-29264

25725-27642 subjects 26141-27839

^ Why does #{a} not evaluate when read from file?
25918 [jim freeze.o] Here I am again.
+ 25923 [dblack candl] The short answer is: because String handling in Ruby is sane :-)
+ 25930 [ptkwt shell1] It won't evaluate when read from the file because that string is read in
+ 25931 [dblack candl] [I mailed this answer a while ago but it hasn't shown up on the
+ 25967 [kit fulcrumi] If you read the contents of the file into the variable 'var', you can

^ Checking if a file exists...
25920 [BSchumacher ] I was wondering if somebody had an easy way of checking if a file exists on
+ 25924 [mike stok.co] File.exists? maybe?
+ 25926 [ralph.mason ] FileTest.exist? "filename"
| 25936 [jim freeze.o] Also
+ 25927 [decoux moulo] File#exists?
+ 25928 [armin approx] irb
+ 25935 [ptkwt shell1] if FileTest.exists?("filename")
  25933 [ptkwt shell1] File.exists?("filename")

^ FW: Checking if a file exists...
25921 [BSchumacher ] Nevermind. Just found FileTest. Thanks.

^ - sourceforge + savannah (?)
25939 [tobiasreif p] There are aleady 3 Ruby projects @
+ 25943 [anany ece.vi] Yes, one of them is mine (RubiCTM). I was hosted on SourceForge, and
| 25944 [tobiasreif p] "Savannah"?
| 25945 [tobiasreif p] where was thet "unsent" button? sorry, I was too slow.
| 26099 [martin v.loe] It's called "Cancel" in UseNet.
+ 25947 [rokosm kloka] 'OpenSSL for Ruby' is also there...
+ 25951 [ptkwt shell1] Thanks for the link.  Amazing how this looks a lot like Sourceforge ;-)
| 26035 [curt hibbs.c] In the original post was author had copyright and assignment issues with
| + 26045 [pbrannan atd] What do you mean by "export" projects?  A tarball of each project's CVS
| | 26051 [curt hibbs.c] Besides the source code, there's at least the bug database and probably
| | 26101 [martin v.loe] So how do you export the bug database from a Savannah project?
| + 26100 [martin v.loe] But that inability is a myth. There is no problem whatsoever, AFAICT.
+ 26068 [mips cybersp] Not under hand, but i think this should not be hard to find it.
+ 26098 [martin v.loe] This is FUD. It is simply not true that exporting from SF doesn't
  26124 [tobiasreif p] "Thank you for your interest in contributing software code to SourceForge.

^ psyco Python Specializing Compiler
25949 [benoit.cerri] in the parrot mailing list I came across this site

^ Re:psyco Python Specializing Compiler(relavent for Rite?)
25950 [ptkwt shell1] It does look interesting.  The people working on Rite (the upcoming Ruby

^ a quick question
25954 [anany ece.vi] What's the difference between using '' and "" in require calls at the top
25956 [Dave Pragmat] That's all there is to it. The parameter's a string object, which is

^ string concat and .to_s
25955 [mchahn facel] in `+': failed to convert Fixnum into String (TypeError)
25957 [Dave Pragmat] #puts knows that it it's parameter is not a string, it can call
25968 [ralph.mason ] Although as a bit of an anomaly it works with arrays.
25969 [Dave Pragmat] In what context?
25970 [ralph.mason ] I think ruby just bit me! Or I bit myself one or the other.
26018 [mike stok.co] The boatload of Perl people would say that the use of + as an operator
26088 [mchahn facel] turned on
26089 [Dave Pragmat] No - it isn't built in. I mean enabling it by extending the
26092 [ralph.mason ] Sure it's in there just not in so many words :-)
26112 [decoux moulo] You have defined an instance method not a class method, try with

^ PocketPC
25959 [chadfowler y] Has anyone gotten Ruby running (perhaps in some limited form) on the
+ 25961 [ralph.mason ] There is no reason that ruby can not run natively on CE.  It's just no one
+ 25965 [ned bike-nom] There is a PocketPC port in process (or was, anyway). Look in the Ruby CVS.
| 25966 [chadfowler y] <There is a PocketPC port in process (or was, anyway). Look in the Ruby CVS.
| 26041 [j1kwok yahoo] I am the one working on PocketRuby (for Pocket PC only).  I promise to
| + 26048 [curt hibbs.c] I'm really glad to here this, and look forward to giving it a try on my
| + 26066 [ned bike-nom] Jack, are you making sure that this will run in the HPC/Pro environment as
| | 26533 [j1kwok yahoo] Ned, no... currently I am only working on the PocketPC environment.
| + 27110 [j1kwok yahoo] I just uploaded my newest code a few minutes ago.
|   27234 [bobhicks ade] Please put a link to where it can be had..!
|   27271 [chadfowler y] ...or...
+ 26635 [erik bagfors] On Linux
| + 26636 [tobiasreif p] Looks like fun!
| | 26638 [erik bagfors] Check out http://www.handhelds.org/
| | 26646 [chadfowler y] I don't know about pre-installed linux, but the latest
| + 26694 [j.travnik sh] Yes, that is cool.
+ 27607 [j1kwok yahoo] I am having trouble connecting to CVS for upload at the moment. But
  27712 [j1kwok yahoo] Just want to let you know I have uploaded new source code (for
  29264 [j1kwok yahoo] I have just updated the CVS with a very usable version of the

^ Tk::Canvas::postscript::color::problem
25960 [Jean-Francoi] when I use Canvas.postscript function, the resulting ps file is always
25964 [armin approx] This is interesting, as I seem to get color ps & I do not specify anything.

^ OO Singletons and Marshalling (bug?)
25963 [chr_news gmx] the current (i.e. cvs) implementation of the  OO Singleton pattern has
26238 [matz ruby-la] I like this one.  Can I merge it to the standard distribution, under
26364 [chr_rippel g] Sure, I don't mind at all if some (or all)  could be merged according
26456 [matz ruby-la] Thank you.  I will.

^ REXML parser bug(?)
26000 [maki inac.co] The script to parse string with REXML::Document,
26001 [tobiasreif p] really? where does the '2' come from?
26002 [maki inac.co] Oops, sorry. I've copy&pasted old script.
26003 [tobiasreif p] irb(main):001:0> require 'rexml/document'

^ Re: Hello World considered harmful
26004 [dblack candl] That's probably why Dave and Andy very sensibly didn't start the book
26005 [ms iastate.e] Dave, care to explain any of that?
26008 [decoux moulo] Here in more readable form
26020 [Dave Pragmat] People, people.
+ 26022 [ruby jamesbr] It's also a good way to learn some of the more subtle aspects of Ruby.
+ 26025 [jweirich one] Proving once again that it is possible to write Perl in *any*
  + 26028 [acme astray.] That's a little unfair to Perl. It's possible to write
  | + 26072 [john.carter ] It is a little unfair. Not much, but a little....
  | + 26164 [matju sympat] It's more fair to say that you can write any language in
  + 26077 [paulp Active] It is possible to write unreadable code in any language. But the
    26212 [pdcawley bof] Right, I'm off to write an obfuscated JARH that *doesn't* use perlish

^ R:  Re: Hello World considered harmful
26006 [a.caruso cre] I thought the main reason people are moving towards Ruby instead of keep
+ 26007 [dblack candl] There is no Ruby Obfuscation contest, as far as I know.  There was
+ 26023 [Dave Pragmat] And once you're here, have fun. Golf tournaments, obfuscating code,
  + 26029 [erik bagfors] I think alot of people really liked the code :)
  | + 26033 [keesh users-] Some people have strange ideas of what bad code is... I've seen the
  | | 26087 [mchahn facel] I was surprised when Sun announced that the next Java release would have
  | + 26039 [keesh users-] Some people have strange ideas of what bad code is... I've seen the
  | | 26043 [billk cts.co] ...what could be more readable than that!?!?!????
  | + 26040 [Stephan.Kaem] I second that! I think it's the best joke written in Ruby I read up to now.
  + 26044 [pete narya.P] i enjoyed your hello world program. i like Perl golf. one does learn

^ positive
26009 [tobiasreif p] how can I say "if you're positive: stay; if you're negative: become zero"?
+ 26010 [barry_shultz] is this ok?
| + 26011 [jim freeze.o] I like the above, but could be computational
| + 26012 [tobiasreif p] Thanks; now i did
|   + 26013 [ms iastate.e] class Numeric
|   | 26015 [tobiasreif p] very nice; I'd like to use that. But how can I
|   | + 26016 [decoux moulo] 1.6.* interpret it as (p(10-40)).pos
|   | + 26017 [Pierre-Charl] Ruby parses it as (p(10-40)).pos, and p returns nil.
|   | + 26019 [kentda stud.] Isn't this the good ol' parsing problem with puts (and p too), where it
|   + 26014 [henning ikso] class Numeric
+ 26069 [niklas kagi.] [Tobias Reif]
  + 26070 [tobiasreif p] Very cool. Thx!
  + 26081 [jim freeze.o] def pos x
  + 26095 [mchahn facel] I spent some time looking for max(a,b) in ruby before discovering and using
    26097 [Dave Pragmat] It is more generic, as. #max is a method of all Enumerable objects

^ R:  Re: R:  Re: Hello World considered harmful
26021 [a.caruso cre] I'm new to this mailinglist and new to the language.

^ Re: sounding the alarm ?
26024 [alwagner uar] Tk has a beep. But it doesn't seem to work on windows. Probably

^ R:  Re: R:  Re: Hello World considered harmful
26026 [a.caruso cre] Don't worry. I'm not offended in anyway, and I think programming language IS

^ Compiling Ruby Extensions in Windows
26030 [billtj y.glu] I have been following the book "Programming Ruby" (the printed
+ 26031 [    s xss.de] including the possibility for problems :-)
| + 26034 [mdavis sevai] I use cygwin for development on windows.  It provides a fairly consistent environment between windows, linux, and freebsd.
| + 26108 [billtj glue.] Thanks for your pointers.  I just upgraded my Windows Ruby to 1.6.5
|   26110 [james rubyxm] That doesn't sound quite right.  I installed cygwin, and I got make and gcc.
|   26111 [james rubyxm] If you still don't have make & gcc, I think they can be found at
|   + 26121 [WYS helbling] ...did you install cygwin using the http://www.cygwin.com/setup.exe ?
|   + 26687 [billtj glue.] Thanks for all the responses, which made me look further into the
|     26852 [harryo zipwo] I could be wrong, but I think tcltklib.so is part of the Tcl/Tk
+ 26036 [eldiener ear] Lost to the MSVC crowd is the fact that Borland puts out a free C/C++
  26037 [keesh users-] Doesn't produce small apps, there's quite a bit of overhead with Borland's

^ FXRuby on mingw
26049 [cv8t-hdk asa] I built FXRuby in mingw32 environment, and I've created this patch.

^ call_myself
26050 [tobiasreif p] sometimes, methods call itself inside.
+ 26055 [neumann s-di] Yes, this is called recursion.
| 26057 [tobiasreif p] me neither. It's not about unwanted recursions: it's about making it
| + 26061 [dblack candl] I see what you're getting at, but I think that if there are so many
| | 26067 [tobiasreif p] good :)
| | 26073 [ralph.mason ] While I don't agree that call_self is of use.
| | 26076 [kentda stud.] Arg! You beat me to it, since I can't tell heads nor tails of RegExps
| | 26079 [ralph.mason ] Your right about the argument count. Here is a perhaps useful use for this
| + 26062 [ptkwt shell1] I'm not sure your 'call_myself' proposal would make it any clearer 'after
+ 26119 [matju sympat] It's better for a method not to explicitly call itself, because that way

^ FXRuby:: replacement to enum method.
26056 [cv8t-hdk asa] I'd like to propose replacement of enum method.

^ Fw: ANN: Jolt Award Nominations Now Open
26065 [petemcbreen ] Anybody care to join me in nominating Ruby for a Languages and

^ The first official release of ArunaDB
26071 [mdavis sevai] I am very pleased to announce the first official release of ArunaDB.
+ 26074 [jan vermeer.] currently
+ 26078 [bobhicks nos] Someone with DB experience please please help out! One of the cool
+ 26082 [jim freeze.o] Would this be a good candidate for raa.succ?
+ 26104 [kevinbsmith ] I actually had discovered it earlier this week. Looks
  26186 [mdavis sevai] performance reasons.  These are used by the A_BTree and A_FileStore
  26187 [mdavis sevai] What is raa.succ?
  26192 [jim freeze.o] It is a proposal for a package management system for ruby code.

^ book "the ruby way" on publishers web-site
26075 [info mjais.d] "The Ruby Way" now is at

^ differing #args to super.initialize?
26080 [billk cts.co] I'm probably profoundly missing the obvious here, but why does the
+ 26083 [feldt ce.cha] try
+ 26084 [henning ikso] should be just super(a)
  26085 [billk cts.co] Thanks Henning and Robert,
  + 26086 [feldt ce.cha] Not clear what you mean but if its an instance method in the super class
  | 26090 [billk cts.co] Right, the case I was referring to is the unusual one where one might
  | 26093 [feldt ce.cha] Ok, well there are a couple of ways but a "standard" one is to alias the
  | 26096 [billk cts.co] Ah.  Thanks.  :)  Nice to know the method of doing so is available should
  + 26123 [kentda stud.] You could do something like this, with alias_method, which seems to work

^ List of methods that can implicitly act on $_ ?
26091 [josb cncdsl.] Some methods can implicitly act on $_, such as chomp and split; others, such
26237 [matz ruby-la] OK, You know I discourage this idiom.  Don't use them.
26290 [josb cncdsl.] Fair enough. I agree that it's bad idiom.
26322 [matz ruby-la] I've not decided yet.  But I can tell you the future version will give
+ 26326 [dblack candl] Hmmmm.... maybe you can find a diplomatic way to say it, like "legacy
+ 26386 [billk cts.co] I like to use the $_ shortcuts *only* in the -e invocation of Perl and
  26453 [matz ruby-la] Good idea.  You won't be disappointed.

^ rand
26106 [w3gat bellso] Can anyone tell me how long the pseudorandom sequence is for rand before it
26122 [feldt ce.cha] Depends on the architecture since Ruby uses pseudo-rand gens of the OS it

^ What am I missing here?
26107 [ralph.mason ] This is a multi-part message in MIME format.
26113 [decoux moulo] $_ (like $~) is a local and thread local variable.
26114 [ralph.mason ] Why should Kernel.instance_eval  not give the same behavior as a method
26115 [decoux moulo] Your call to Kernel.instance_eval is the same than $_.upcase!, i.e. you

^ eruby on windows and apache
26109 [brianechapma] I'm having trouble getting require 'anything' to work
26163 [YuriLeikind ] I think I had the same problem with
26761 [shugo ruby-l] Sorry, I didn't have time enough to read this newsgroup.
26906 [brianechapma] I got both binaries (latest releases) from the
27441 [shugo ruby-l] Can you tell me the value of $:?
27549 [brianechapma] Here's the information you were looking for.  I'll do
27655 [shugo ruby-l] It's a bug of ruby on Windows.

^ Dynamic programming and Unit Testing.
26125 [hgs dmu.ac.u] I'm trying to understand how to use the dynamic featurs of Ruby
26127 [feldt ce.cha] class T
26132 [hgs dmu.ac.u] That's OK.

^ Conformance Test of XML Parsers in Ruby(20011122)
26126 [maki inac.co] I tried to test conformace of XML parsers in Ruby, using
+ 26128 [tobiasreif p] very good thing. Thank you.
| 26134 [dblack candl] It's pretty close to useless... at least it won't be taken seriously by
| + 26135 [tobiasreif p] Sure, but there are some misunderstandings... (sorry if I expressed
| + 26145 [kevinbsmith ] I totally disagree. There are plenty of cases where the
|   + 26147 [tobiasreif p] That's the point; in all other cases, a non-conformant implementation is
|   | + 26150 [kevinbsmith ] And my point is that we don't really know whether 99% of
|   | | 26153 [tobiasreif p] If you need a
|   | + 26152 [Dave Pragmat] Perhaps - it also depends to some extend on the failure mode. If the
|   |   26189 [dblack candl] 1. an XML parser that implements a subset of what the 1.0 spec asks
|   |   26225 [hutch xampl.] On 01/11/22 10:29 PM, "David Alan Black" <dblack@candle.superlink.net>
|   |   26233 [tobiasreif p] well put.
|   + 26165 [james rubyxm] Referring to something as an XML parser|DOM|whatever brings certain expectations.  If only 99% of the expectations are met, then the
|     26177 [ jimm io.com] Not Quite XML? (http://www.io.com/~jimm/downloads/nqxml/)
|     26191 [james rubyxm] Actually, that only popped into my head *after* I sent the message.
+ 26149 [james rubyxm] The XML spec says that an XML parser must raise an error and stop processing when it encounters an error.  The intent was to promote
+ 26162 [ jimm io.com] TAKAHASHI,

^ Community spike: Fast-state-machines/goto challenge
26130 [feldt ce.cha] I'm contemplating the fastest way to implement state-machines and
+ 26133 [angus quovad] Here is a simple straightforward approach, from a person who doesn't have
| 26138 [angus quovad] Hey, I've made it slighty faster by assigning to a local variable (instead
+ 26179 [Dave Pragmat] 1. The run time performance is dominated by the transition lookup, and

^ [ANN] LibNeural released
26137 [akimichi mbo] I just released LibNeural 0.1.

^ XML conformance
26139 [tobiasreif p] XML, conformance; a story.

^ SV:  XML conformance
26140 [mikkel.bruun] "there is no standard for breaking the spec"....very nice...I have to
26142 [tobiasreif p] It's made up (sorry, I should have made it clear; but versions probably
threads.html
top