27991-32719 subjects 28446-29309

Ruby and IIS
28216 [martin@op us] I'd like to get Ruby running on IIS ( I'd prefer apache actually, but
28222 [james@ru yx ] One option is to install ActiveScriptRuby and use Ruby as you would VBScript or JScript
28280 [david.naseby] -Go to the Home directory tab on the website properties

RES:  Re: Ruby Musings
28217 [argaeus@ya o] really cool!

Why writing tests first can't work.
28218 [olczyk@in er] Tsk. Tsk. Where have you been? This technique for fixing a bug is one
28993 [phlip_cpp@ya] I thought it was caused by "sheer stupidity"...

Hash.keys Q
28225 [l.laursen@ma] I have written my first ruby program, and it was fun, but there is one
+ 28228 [dblack@ca dl] Welcome to Ruby!
| + 28230 [jason@jv eg ] Theres one at http://sourceforge.net/projects/rubycollections/
| + 28232 [1858323m001@] Thank you
+ 28229 [decoux@mo lo] Yes, the order of the keys in an Hash depend of the hash function. For
  + 28235 [1858323m001@] This is excellent!
  + 28252 [chr_news@gm ] The order of the keys does not depend on the hash function -
    28253 [decoux@mo lo] void
    28330 [chr_news@gm ] Yeap this is the complete explanation. My point was that the

ruby-talk mail to news gateway?
28231 [    s@xs .d ] is there a special reason why the replies to news messages

Any Free Web Hosting with Ruby CGI?
28236 [billtj@z. lu] In the "Programming Ruby" book, there is a section on Ruby and the Web,
28369 [ale@cr ms n.] Free? I guess not. Unless you can setup one all by yourself.

Class vars overridden in subclasses?
28239 [herman_graal] Ruby looks like a very fun language.
+ 28240 [decoux@mo lo] Well, you must distinguish "class variables" and "class instance
+ 28241 [dblack@ca dl] See Guy's answer, also if interested have a look at the thread
  28244 [herman_graal] Thanks to Guy and David,
  28265 [pcs3@nj t. d] Dave Thomas and Andrew Hunt have generously provided their pickaxe book

28242 [mdavis@se ai] Does anyone know of a way or a project to create a RUBY plugin for IE and Netscape similar to Java's plug in?
+ 28246 [elanthis@aw ] Well, the browsers themselves support an API for grabbing a bit of
+ 28261 [pcs3@nj t. d] This isn't exactly what you're looking for, but it might be worth
+ 28281 [hal9000@hy e] Netscape similar to Java's plug in?

28245 [dblack@ca dl] module Whatever
28248 [decoux@mo lo] It *can* exist a difference between the 2

Cheat sheet?
28247 [chris.morris] I've started the following quick reference for my personal reference. Is
28268 [curt@hi bs c] Take a look at "Ruby QuickRef" at
28269 [vjoel@PA H. ] Strings
28278 [curt@hi bs c] I have no idea, I just found this link a while back. This would be a good
28323 [dsafari@xt a] Hmm...I think I'll add this to the footer of the Ruby-URL (RURL) if

creating modules
28254 [bobh@hs da o] Is there any documentation somewhere that gives the basics of creating modules?
28262 [pcs3@nj t. d] look under the modules section.

RE:  RubyDoc [was  Ruby Musings]
28267 [curt@hi bs c] This is really great!

Survey for new Rubyists
28272 [ptkwt@sh ll ] It's been several months since we've had one of these surveys for those
+ 28285 [curt@hi bs c] I read the recent article about Ruby on the O'Reilly network.
+ 28291 [tom.hurst@cl] Dunno, think I just came across it when I was looking for a Better[tm]
+ 28293 [harryo@zi .c] Well, I've been using Ruby for almost a year now, but still consider
| 28297 [ITrotts@Id l] People mentioned it from time to time on a Python mailing list I was on.
| 28303 [mikkelj-anti] Given that Sony is about to release a hardrive with ethernet internet access
+ 28305 [gckettle@mi ] 1) How did you find out about Ruby?
| 28306 [feldt@ce ch ] Welcome to Ruby and the list!
+ 28309 [schneiker@ju] This is referred to in the comp.lang.ruby Newsgroup FAQ (which Hal has
| 28312 [Dave@Pr gm t] Yup - I have them all (I think:), along with a Ruby script that
| 28362 [schneiker@ju] That's great news.
+ 28324 [Ephaeton@gm ] Initial import of ruby into the NetBSD pkgsrc CVS Tree
+ 28327 [peter@se an ] Saw the Pickaxe book in my local bookshop, it was that or squeak.
+ 28332 [argaeus@ya o] I heard it in a mailing list about the programming language lua (www.lua.org), in a discussion about oop and languages such as
| 29202 [cclee@pr me ] 1) How did you find out about Ruby?
+ 28337 [tony@pe fo c] Can't remember. I think I first saw it on one of the OSDN sites.
+ 28342 [list@ch om t] I was looking for an OO language and speed of development and
+ 28348 [phlip_cpp@ya] Dave Thomas's plugs in the eXtreme Programming forums.
+ 28452 [protokow@cp ] I thought this would be a good time to de-lurk.
+ 28910 [mrainv@at gl] OK, It's been a few weeks ...
| + 28962 [ned@bi e- om] What makes you think Disney "owns" Squeak?
| + 28966 [ned@bi e- om] Oh by the way, you should avoid Microsoft programs and operating systems as
| + 29116 [alwagner@ua ] planned parenthood, greenpeace, and the ACLU.
+ 28983 [beppu@ax .o ] [  date  ] 2001/12/12 | Wednesday | 06:23 AM
+ 28994 [jn@sc ns ft ] been using ruby for about a month

rdefs : a puny doc tool
28274 [ITrotts@Id l] # print out a brief summary of a ruby file.
+ 28276 [vjoel@PA H. ] print if /^\s*(def|class|module)/
| 28283 [paul@at es .] # class| Class Foo is a very useful class.  I like to use it a lot.  It
| 28288 [harryo@zi .c] Yes, but if you want to write that level of documentation, surely you'd
| 28290 [ITrotts@Id l] in a file.
+ 28286 [harryo@zi .c] Very simple and useful!

Re: ActiveScriptRuby [was Re:]
28282 [henning@ik o] and
28284 [hal9000@hy e] not

vector and quaternion classes
28295 [ITrotts@Id l] #!/usr/bin/env ruby

vector and quaternion classes
28298 [ITrotts@Id l] ...
28299 [feldt@ce ch ] Welcome to Ruby and the list!
28322 [issac@my ir ] OK.  Here it is:  http://www.ruby-lang.org/en/raa-list.rhtml?name=alg3d
28344 [dblack@ca dl] I see an entry, but nothing available for download.
28354 [ITrotts@Id l] It's fixed now.  By the way, it would be really nice if
28357 [bobgus@mc .c] For both of your files I get a Geocities "Whoops, not there..."

Borderline OT: Google Expands Usenet Archive to 20 Years.
28301 [schneiker@ju] FYI--Another expanded resource for looking up what John von Neumann called

Reviews solicited for Ruby article
28307 [harryo@zi .c] I'm in the process of writing an article on Ruby for a computer science students'
+ 28310 [harryo@zi .c] In case you're having problems downloading the PDF file, I've set up a
+ 28334 [Stephan.Kaem] great to see people working on articles to spread thw word!
  28339 [billk@ct .c ] Alternately,
  + 28346 [harryo@zi .c] I like it!  That's precisely the sort of thing I was looking for.  As I
  + 28347 [harryo@zi .c] The only problem with this is that I'm pretty sure that I was unable to
  | 28350 [mike@st k. o] You are wrong ... The (0) after the Hash.new is significant see
  | + 28366 [harryo@zi .c] Ah!  I see.  So, the 0 is the value given to any key that's not been
  | + 32673 [harryo@zi .c] Ah!  I see.  So, the 0 is the value given to any key that's not been
  + 28634 [billk@ct .c ] By the way, I realized last night the 'each' is not even necessary,
    28648 [Stephan.Kaem] Wow, I had some objections against the upper solution: Seems that I

Rendering UML diagrams?
28308 [feldt@ce ch ] Since Dave's cool rubydoc is coming along I wonder if we should try to
+ 28311 [Dave@Pr gm t] If it helps, rubydoc (actually I don't know what to call it because
| + 28314 [curt@hi bs c] How about RDoc? or is that too crytic?
| | 28336 [mikkelj-anti] RubberDuck?
| | 28355 [bobgus@mc .c] RubberDuck - cool.
| + 28328 [feldt@ce ch ] Yes, but I've heard it gets harder to use dot when you want to specify in
|   28340 [Dave@Pr gm t] I adopted the lexer from irb, and the top-level parser from rtags. I
|   28341 [Pierre-Charl] Just an idea: it seems to me that lots of projects need a Ruby parser,
|   28345 [feldt@ce ch ] Yes, I agree that it would be a good thing. However, its been discussed
+ 28313 [curt@hi bs c] If someone wants to do this, please let me know because I would love to
| 28316 [mps@di co sy] It's file format is quite well documented.  One of the best I've seen of
| 28321 [bobgus@mc .c] For completeness, you might look at DIA at http://www.lysator.liu.se/~alla/dia/
+ 28325 [dsafari@xt a] UML and SVG are used in TogetherJ AFAIK. I think that something along
  28331 [curt@hi bs c] Two way editing is definitely the ultimate goal. But for now I'd be happy to

group substitution doesn't work in character classes?
28315 [thomharp@ch ] I'm trying to remove quoted substrings from a string.  The substrings may be
+ 28319 [harryo@zi .c] I know there's an example of matching comma-separated lists (which
+ 28320 [decoux@mo lo] Try it with
+ 32675 [harryo@zi .c] I know there's an example of matching comma-separated lists (which
  33027 [eirikm@tv .i] * is greedy

[ANN] RubyCocoa 0.1.3
28329 [hisa@im sy o] * [IMPROVE] compiling great speed-up.
+ 28352 [thucdat@ho m] This is incredible, man!
| 28375 [hisa@im sy o] Thanks. I thank all of you taking up RubyCocoa here and there.
+ 28356 [lucsky@ma .c] Yeah! Rock on!
  28372 [hisa@im sy o] Sorry, I forgot and put it now.

RES:  Re: Survey for new Rubyists
28333 [argaeus@ya o] wow!, given that, I think I would probably enjoy spending more time hacking the game

ArgoUML can export SVG
28335 [feldt@ce ch ] Just wanted to share the link to ArgoUML since its free and can output
28351 [ned@bi e- om] You'll probably find that ArgoUML is buggy. I sure did (both version 0.8 and
28367 [neumann@s- i] That's true. Fujaba does a much better job.

threads and 'gets' trouble on win2k...
28343 [cboos@bc -t ] I failed to have drb running correctly with native ruby

RE:  servlets and server pages for Ruby???
28349 [aaron.barnet] ...

ANNOUNCE: new version of c++2rb
28353 [ITrotts@Id l] This version handles multiple c++ files and features slightly

RAA.succ  (?)
28358 [hal9000@hy e] At RubyConf2001, there were many good ideas
+ 28360 [chadfowler@y] Not that I'm in any way authoritative, but here are my
+ 28378 [matz@ru y- a] The role taker.  I'm not going to decide what RAA.succ should be.  I
+ 28387 [curt@hi bs c] I couldn't agree more. As I understand it, RubyGems will enable us to

c++2rb, alg3d (vector & quaternion) links fixed
28359 [ITrotts@Id l] Issac

CGI::Session::FileStore and flock problem
28361 [mike@le to .] In cgi/session.rb, CGI::Session::FileStore uses IO#flock to lock the
28363 [paul@at es .] flock is also not safe to use over nfs.  It should be avoided whenever

VMS port of Ruby
28364 [Desai.Dinaka] Is there any VMS port of Ruby? I could not find it on www.ruby-lang.org

ANNOUNCE: rdefs 0.0.2
28365 [ITrotts@Id l] rdefs : the ez ruby doc tool

A Ruby Foundation?
28368 [ptkwt@sh ll ] I notice that "The Perl Foundation" has recently been started.  It's a
28374 [chadfowler@y] Actually there are a few of us who organized the Ruby

Documentation of the different Exception types
28370 [harryo@zi .c] I'd like to understand more about the standard exception
28371 [harryo@zi .c] By the way, some of them don't need any further explanation, like
+ 28380 [anany@ec .v ] I agree totally. This is absolutely essential to building fault-tolerant
| 28413 [jweirich@on ] I have a different take on exceptions.  I believe exceptions should be
| + 28417 [nat.pryce@b1] I agree, exceptions should always be used to indicate that a method cannot
| + 28418 [bryan@te ra ] I tend to split my exceptions up into two categories, #1 Control
|   28428 [anany@ec .v ] This is an excellent point, and I agree wholeheartedly. However, what I
+ 28386 [matz@ru y- a] RuntimeError is an exception reserved for lazy programmers.  You good
  28393 [harryo@zi .c] Agreed.  However, as Tobias said, it's a little hard to know what
  28397 [matz@ru y- a] "Ruby in a Nutshell" from O'Reilly has description about built-in
  + 28398 [anany@ec .v ] That'd be page 94 and 95, Matz. This is a great reference, by the way.
  + 28401 [harryo@zi .c] Excellent.  Thanks.  I haven't seen it in the bookshops here in Australia
    28402 [matz@ru y- a] Japanese.  That was the thickest pocket reference book that O'Reilly
    28404 [harryo@zi .c] I see!  Well, I guess the good thing about that is that buying one means

Parrot developers keeping an (Ruby)-open mind?
28373 [feldt@ce ch ] and find it interesting that the chief designer of Parrot (the Perl 6
28381 [ptkwt@sh ll ] Wow, we've got some clout...
+ 28382 [mike@st k. o] We have a good number of people working on Parrot, but we could always
+ 28396 [ballabio@ma ] It wasn't the Parrot mailing list---it was the lightweight languages list at
+ 28399 [feldt@ce ch ] Actually this was from the ll1-discuss mailing list started after the LL1

Fixes/Enhancements to CGI::Session
28383 [daniel@ze ed] I submitted these to the ruby-bugs database a while back (id:incoming/212) . I
28384 [daniel@ze ed] I forgot to mention I've got an example or two on the ruby cookbook site that

Can't use md5.rb with openssl on RedHat 7.2
28385 [mastk@ni ty ] I happen to meet strange phenomenon. Please show following examples
33478 [m.rokos@sh c] void MD5_Init _((MD5_CTX *pms));

The maddening output of Arrays
28388 [ITrotts@Id l] Can anyone tell me why Ruby outputs arrays without
+ 28390 [ITrotts@Id l] class Array
| 28409 [dblack@ca dl] irb(main):019:0> class Array; def to_s; inspect; end; end
| 28416 [matz@ru y- a] I'm waiting.  I'm waitin' ;-)
| 28421 [ITrotts@Id l] ##
+ 28391 [matz@ru y- a] We are open to proposals.
  + 28395 [ITrotts@Id l] Wow, I didn't know Ruby had been around that long.
  | 28405 [hal9000@hy e] It was a secret of the Japanese for a while.
  | 28411 [dblack@ca dl] Surely British is a module, not a class :-)
  + 28991 [jobeicus@ho ] yes, but.  how many years has ruby had formal documentation in english?
    29073 [matz@ru y- a] Formal?  None.  ;-)

RDE (was RE:  RAA.succ  (?))
28389 [david.naseby] Since someone mentioned IDE's and Ruby, I've been bursting at my breeches to
28394 [curt@hi bs c] I agree with you that the author has done a very fine job, and I don't mean
28408 [mikkelj-anti] I've looked at Eclipse. It has a lot of nice concepts. But it's shere size
28458 [curt@hi bs c] The binary download is about 15MB, 36MB is for the source. Personally, I'm
28471 [mikkelj-anti] Fair enough. The J++ and .Net IDE's which clearly served as inspiration are
+ 28489 [curt@hi bs c] You make a very good case. The idealist in me and the pragmatic in me are
+ 28490 [curt@hi bs c] I find this very fascinating. If you do decide to open it up, I would be
  28650 [mikkelj-anti] I'll keep that in mind.

[RCR] IO.select should return array for timeout.
28392 [matz@ru y- a] <#ruby-lang:meep> hey what happened with the IO.select? did it sudenly
28415 [paul@at es .] How would you propose that a select() loop look?
28436 [matz@ru y- a] Hmm... (thinking) ... Maybe I was wrong.  I thought explicit timeout
28440 [paul@at es .] Well, if I really didn't want to take an action when the timeout

RDE colors?
28406 [hal9000@hy e] I have spent a little time playing
28407 [QZS01353@ni ] Thank you for your interest and trying RDE.

shipping real world apps
28412 [niko.schwarz] I'd be honestly interested in how you ship your applications. Let's assume
+ 28414 [cboos@bc -t ] The extension has to be precompiled of course. It is then
| 28449 [aamine@mx ed] install.rb is a single-package installer and setup.rb is a multi-package
+ 28420 [daniel@ze ed] Compile it and ship the binary. This is one of the (few) advantages
  28502 [niko.schwarz] hmm, which compiler would you use? (i dont want to install windows, to be
  28523 [daniel@ze ed] While I detest developing on Windows, when that is the target platform, that is

Ruby is cool (adding methods to base classes)
28419 [chris.morris] Just had to share my current Ruby is cool moment.

why is Proc's arity function so weird?
28422 [paul@at es .] From the Pickaxe book (online, since the printed version is wrong, as is
+ 28423 [paul@at es .] class SafeProc < Proc
| 28427 [decoux@mo lo] Now you have broken Proc#call, before it was consistent with
| 28429 [paul@at es .] I'm not sure I see the point of this, or the point of trying to be
| 28432 [decoux@mo lo] When you write
| 28433 [paul@at es .] But these same rules do not apply to methods that have been turned into
| 28439 [decoux@mo lo] You have not written the same thing, compare
+ 28435 [matz@ru y- a] If you want to specify ONE argument you have to specify
+ 28441 [chr_news@gm ] Add this to your list
  28450 [j.travnik@sh] Proc.new {}.arity  #=> -1

Library extension central?
28424 [chris.morris] I've recently come up with a few minor, but handy to me, extensions to base
28430 [dblack@ca dl] (OK, everyone who's sick of hearing about Ruby Behaviors, hit 'next'

ANN: REXML 1.2.2
28434 [ser@ge ma e-] Hey, y'all

a curious idiom in ruby.h
28442 [ITrotts@Id l] void rb_define_method _((VALUE,const char*,VALUE(*)(),int));
+ 28443 [paul@at es .] It is for old compilers that don't support prototypes.  In old skool
+ 28444 [niklas@ka i.] It's a macro defined in ruby.h