57251-59397

57093-62885 subjects 57448-60000

^ module vs. Library
57251 [xrfang hotma] A simple question, when I read through the document, the term library
57282 [m_libby ands] Others will correct me if I'm wrong, but as I understand it: a Module is an

^ HELP version 1.73
57256 [xrfang hotma] Urgent... I just installed ruby 1.73, some strange thing happened pls
+ 57259 [dblack candl] Well, judging from the warning message, I'd say that in 1.7.3,
| 57261 [xrfang hotma] Tks. Solved. I guess the problem happened when I tried to run http-mail
+ 57260 [decoux moulo] Give it a regexp, it want a regexp

^ Problem with gsub
57277 [nikolaus.ham] I'm using Ruby 1.6.7 MSWin32 on Win98 and I'm having a little problem

^ WIN32OLE
57278 [xrfang hotma] Is there any way to know the oleserver a WIN32OLE object is using? For
+ 57294 [mikkelfj-ant] Generally you can't do this easily - not unless the COM object supports an
| 57303 [xrfang hotma] Thanks for the info. However, what I want is not to find out the com dll,
| + 57311 [mikkelfj-ant] I don't know the details of WIN32OLE, but it could cache the intial argument
| + 57373 [tsyk yk.rim.] You can get GUID(UUID) from WIN32OLE_TYPE object.
+ 57333 [chrismo clab] If you know a COM call which will return this info (maybe class does), but
+ 57374 [masaki.suket] It is not perfect, but how about WIN32OLE#ole_obj_help ?

^ maximize window in FXRuby
57280 [m_libby ands] With the following statement, I can create a window, and control its
57386 [lyle users.s] theMainWindow.place(PLACEMENT_MAXIMIZED)

^ user interaction on console program
57281 [xrfang hotma] I feel a little strange that there are no explain (may be I omitted)
57287 [dblack candl] Look in the chapter of the Pickaxe called "Basic Input and Output".

^ (none)
57285 [rrytov entop] This is a multi-part message in MIME format.

^ Valgrind
57286 [matju sympat] Then what are similar tools that are more appropriate than Valgrind for
57393 [pbrannan atd] [ruby-talk:53835]
57422 [vjoel PATH.B] Note that this doesn't track down memory leaks in the sense of malloc-ed

^ [IGNORE] TEST
57288 [rrytov entop] Here is a test

^ Very rough concordance of Pickaxe page numbers
57290 [dblack candl] I've created a very rough mapping of Pickaxe page numbers

^ [IGNORE] TEST2
57295 [rrytov entop] Another test

^ Validation during object creation
57296 [rrytov entop] I'm a newcommer to Ruby and I haven't read completely the book yet, so
+ 57305 [cyclists nc.] Throw the appropriate exception. I don't think new can return anything
| 57313 [mikkelfj-ant] class X
+ 57307 [matz ruby-la] Raise exceptions from "initialize" method.
+ 57338 [bystr mac.co] If I understand correctly what you need, you may want to place

^ NoMethodError: undefined method `create' for URI:Module
57297 [Peter.Booth ] The line uri = URI.create('http://portalinfo.web.gs.com/' )
57298 [nobu.nokada ] Two modules.

^ Help with mod_ruby and eruby
57300 [usenets nyc.] I did create the .rbx and .rhtml as instructed but it does not seem to work.
+ 57302 [mwilson13 co] This link (and the following sections of the document, provide good
| 57306 [usenets nyc.] Did that as well and still do not give the right result. Any ideas?
+ 57332 [usenets nyc.] It runs with Apache 2.0.43

^ [ANN] xregex-0.02
57301 [martindemell] Extended Regular Expressions library. alpha but usable.
57308 [nobu.nokada ] Nobu Nakada
57350 [martindemell] Thanks - I've fixed it now. http://zem.novylen.net/ruby/xregex-0.02.tgz
57351 [botp delmont] cool.
57353 [martindemell] This was the 'release early' one :) It's still a little rough around the

^ For statements
57309 [dcarrera mat] for (i = 0; i < num; i += 3) ...
+ 57312 [cyclists nc.] The step method is the Ruby-idiomatic way to do a for loop. Also times and
+ 57315 [m_libby ands] Question is, why do you want to? You've found a clear way to accomplish it
| 57317 [dcarrera mat] I don't need to.  I'm just trying to learn Ruby.
+ 57323 [ruby-talk wh] You know that Ranges can be handy with the for..in?
  57331 [jim freeze.o] Why gives some good suggestions, but why do you
  57384 [dcarrera mat] I don't need a for statement.  I just want to learn how Ruby works.

^ MultiMap
57310 [rrytov entop] I wanted to create a MultiMap so for a key it stores not a single value
57318 [nobu.nokada ] `super' invokes the same name method of superclass.

^ Incompatibilities Apache 2 with mod_ruby and eruby?
57330 [usenets nyc.] Is it true? Got error that mod_ruby.c is not compatible with the Apache

^ Memory consumption problem with recursion
57337 [squidster te] Fellow Rubyists/Rubyians/Rubyans,
+ 57379 [pbrannan atd] 1) Please do not do this, especially in library code.  If you redefine
+ 57457 [timsuth ihug] Perhaps you are trying to clone a "circular" array.

^ [FAQ] [Revised again] What are the non-alphanumerical symbols in Ruby code?
57349 [gsinclair so] Folks,
+ 57352 [gsinclair so] I straight away realised I had forgot to define ?c notation and @ and @@.
+ 57354 [gsinclair so] Replying to myself again: I've put the text at
+ 57355 [martindemell] 4. "<<" is also the operator for appending to an array/string in place
| 57357 [gsinclair so] Thanks Martin.  I've rearranged that section as well.  It now reads <<EOF
| 57455 [timsuth ihug] It would be nice if you mentioned that in this case << is just a method
| + 57458 [gsinclair so] Done.
| | 57460 [vjoel PATH.B] [] == >> & - <=> + << === ~ =~ []= * | ** / % ^ -@ < >= <= > +@
| | 57467 [gsinclair so] Very clever, Joel.  However, I think that sort of information is not really
| + 57482 [austin halos] Sinclair
|   57484 [martindemell] IMO, since << is encountered far more often in code examples than the
+ 57372 [umarumohamme] [---snip---]
  57416 [gsinclair so] Done; thanks.

^ exit() called in ruby_run()
57360 [agentiamaya ] Thanks a lot for the modification,but with your code the file created is

^ Array !== Array?
57361 [tim bates.id] What is the rationale behind Array === Array (or indeed any other class) being
+ 57365 [kentda stud.] It's the case equality operator. The Array class object isn't a case of
+ 57366 [batsman.geo ] irb(main):001:0> a = []

^ exit() called in ruby_run()
57362 [agentiamaya ] Thanks a lot for the modification,but with your code the file created is
57369 [decoux moulo] Well, it work with me

^ Redirect mod_ruby output
57367 [tim bates.id] I want to pipe all the output of my mod_ruby/eruby script through a program

^ (none)
57375 [christopher.] Jim,

^ Ruby Book for People Who Aren't (Yet) Programmers
57380 [nemo hellotr] I heard a little while back that there might be a Ruby book in the works for
+ 57400 [Tim.Hunter s] I agree. I think Ruby might be an IDEAL first language. The only
| 57406 [mwilson13 co] I don't plan on spending much time learning any language other than
| 57414 [ted datacomm] I feel the same way about assembler! <g>
+ 57415 [gsinclair so] My suggestion is that if you have something to share, share it!  The best way
| 57418 [ted datacomm] Where's the wiki?
| + 57440 [dcarrera mat] If anyone is working on this I would be very interested as well.
| | + 57441 [gsinclair so] for
| | | 57443 [botp delmont] As a ruby newbie, I now shun from the "!" modifiers (eg name.chomp!) and ++
| | | 57444 [gsinclair so] Shunning from the idea of ++ is a great idea, because Ruby doesn't have it and
| | | 57445 [botp delmont] The reason I stay away fr it is that it works only on some. There is no
| | + 57472 [martindemell] Impressive! I hope you do decide to go through with it (I'd be glad to
| | + 57480 [martindemell] Perhaps you should introduce IRB right at the beginning, so that people
| |   + 57527 [dcarrera mat] That's a very good idea.  I'll do that.
| |   | + 57543 [dblack super] I know you don't want to throw everything at the learner at once,
| |   | | 57552 [martindemell] An object is the fundamental unit of data storage in Ruby. A Ruby object
| |   | | + 57589 [batsman.geo ] I think it'd be better to state something more abstract, without
| |   | | + 57612 [austin halos] I would agree, in part, with Mauricio's suggestion. In many ways, I
| |   | |   57631 [dcarrera mat] Okay, there have been a lot of good ideas here.  Now, I'll try to put it
| |   | |   57694 [billk cts.co] I learned on IRB first... If it hadn't existed I would have written it.
| |   | |   + 57697 [mwilson13 co] I would add that an object can be almost anything (more than just the
| |   | |   + 57698 [dcarrera mat] Did you do multi-line statements in BASIC interactively?  Like loops?
| |   | |   | + 57701 [billk cts.co] Well, yes... but in BASIC one could not only enter statements to
| |   | |   | + 57702 [vjoel PATH.B] I like irb but I do sometimes feel frustrated when this happens. But
| |   | |   |   57703 [nemo hellotr] So you suggest I quickly start using the terms 'String', 'Float' and
| |   | |   |   57707 [nemo hellotr] Just to clarify, the reason I keep saying 'my' tutorial is because I am
| |   | |   + 57704 [nemo hellotr] So if I can presume some "nubys" out there think and experiment and
| |   | |     57710 [billk cts.co] Well... yeahbut.  :)  I was trying to focus on my 1st two languages
| |   | |     + 57712 [dcarrera mat] You make several good points Bill.
| |   | |     | 57713 [emschwar fc.] irb uses readline, which means if you typo, you can just go back and
| |   | |     | 57726 [bystr mac.co] A little bit off-topic. Does anybody know how to activate vi editing
| |   | |     | 57727 [bystr mac.co] Oops, sorry. I found it -- variable INPUTRC should point to the file.
| |   | |     | 57731 [harryo zip.c] True.
| |   | |     | 57732 [harryo zip.c] I realised that was probably the case, about five seconds after I pressed the
| |   | |     | + 57733 [harryo zip.c] Looks great!  My first comment, though, is that you need some links for next,
| |   | |     | | 57761 [nemo hellotr] By the way, I notice in your chapter on strings, you are using single
| |   | |     | | 57764 [gsinclair so] I must say, I find this opinion absolutely amazing.  I am being forced to code
| |   | |     | | + 57765 [mvondung gmx] <delurk>
| |   | |     | | + 57766 [dcarrera mat] I don't see what the big deal about highlighting is.  Regardless of syntax
| |   | |     | |   57770 [nemo hellotr] puts "Result: #{num1} + #{num2} = #{num1+num2}"
| |   | |     | |   + 57793 [angus quovad] Why not use loop do ... end?  I find it more natural than while(true) ...
| |   | |     | |   | + 57794 [dblack candl] gets == 'quit' won't happen, because the string will be 'quit\n' :-)
| |   | |     | |   | | 57803 [nemo hellotr] gets == 'quit' won't happen, because the string will be 'quit\n' :-)
| |   | |     | |   | | + 57813 [martindemell] At this point, is there any reason *not* to mention the object id?
| |   | |     | |   | | | 57874 [austin halos] I think that in the part that I elided regarding uniqueness, I
| |   | |     | |   | | + 57834 [harryo zip.c] This brings up a very important point ... it really goes without saying that
| |   | |     | |   | |   57845 [nemo hellotr] This brings up a very important point ... it really goes without saying that
| |   | |     | |   | |   57853 [harryo zip.c] Yes, it should be possible to parse out all the pieces of code from the HTML
| |   | |     | |   | + 57802 [nemo hellotr] Why not use loop do ... end?  I find it more natural than while(true) ...
| |   | |     | |   |   57881 [gsinclair so] That reasoning seems a bit far-fetched to me (even though it's based on your
| |   | |     | |   |   57900 [nemo hellotr] while true
| |   | |     | |   |   + 57915 [gsinclair so] Yes, you are, but that doesn't mean you shouldn't still prevent it from
| |   | |     | |   |   + 58015 [dcarrera mat] I like the idea of loops that sound like English.  I want to make them as
| |   | |     | |   |     58040 [Tim.Hunter s] And the construct that got me started on Ruby. After 20 years of
| |   | |     | |   + 57868 [gsinclair so] No, that's entirely correct.  One of the great aspects of your tutorial
| |   | |     | |   + 58669 [mike stok.co] They don't do the same thing.  Be aware of the difference between single
| |   | |     | + 59396 [list NOSPAMc] Now don't think that I'm trying to entice anyone to the dark side, but
| |   | |     |   59397 [alan digikat] Cool!  Thanks for the snippet.  I've added that and tweaked your lisp
| |   | |     + 57714 [gsinclair so] I agree with both of you.  I think Chris's tutorial should introduce IRB
| |   | |       + 57716 [jason juncti] Let me say that Chris has taken me on as a distance "student" to work out
| |   | |       + 57734 [harryo zip.c] This is probably highly impractical, but perhaps before either turorial goes
| |   | |         57742 [robertm spel] Guys, why not simply use the ruby interpreter.
| |   | + 57548 [martindemell] You'll need to introduce the idea of a return value very early on,
| |   |   57563 [gsinclair so] I don't think that's too much trouble, actually.  The reader should have no
| |   + 57546 [batsman.geo ] Isn't it rather just an example of polymorphism (dynamic dispatch based
| |     57554 [martindemell] I was trying to avoid the term 'polymorphism' - 'operator overload' at
| |     + 57557 [mike.campbel] Out of curiosity, in a XP kind of mindset, do you guys who are writing this
| |     | + 57591 [batsman.geo ] I had a "not yet programmer" handy some time ago... my sister (she was
| |     | | 57594 [batsman.geo ] It turns out I have a backup of my former $HOME here :)
| |     | | 57596 [decoux moulo] You have only 4 methods in your version of ruby :-))
| |     | | 57607 [batsman.geo ] batsman@tux-chan:/tmp$ cat b.rb
| |     | + 57597 [martindemell] I have a pool of potential guinea pigs in mind, but I think this should
| |     + 57567 [dblack super] I definitely think so.  Object#type is deprecated, and the notion of
| |       57572 [botp delmont] time.  :)
| + 57465 [Stephan.Kaem] Goto  http://www.rubygarden.org/ruby   ;-)
+ 57447 [pete mcbreen] I'm still working on a "Ruby for the Nuby" book, but it won't be out
+ 57536 [nemo hellotr] Oh, my, what have I begun?  :)
  + 57540 [dcarrera mat] I read your article.  You have a lot of great insights.  I'll try to
  | + 57542 [nemo hellotr] How?  I've never used Wiki before.  What exactly *is* wiki?
  | + 57564 [gsinclair so] You can, but if too many people edit a Wiki page, well, it's like too many
  |   57585 [mwilson13 co] I really like this idea.  For reference, the link to the Wiki put up by
  + 57541 [jason juncti] Heh, my mouth watered at the first email in the hopes of finding a book that

^ Re: root directory
57383 [emmanuel.tou] For information, the latest functions I sent here to get the parent

^ FreeRIDE Status
57385 [curt hibbs.c] Thanks for your interest (and your patience!). I'm going to cross-post this
+ 57387 [rich infoeth] Actually, the debugger is not working on either platform right
+ 57390 [batsman.geo ] Some time ago I tried to run FreeRIDE but, being on a Debian GNU/Linux
  + 57392 [xrfang hotma] I am interested if FreeRIDE will integrate "Form Design", to make it a
  | 57394 [rich infoeth] FreeRIDE is plugin based, so something like form design will be
  | 57404 [curt hibbs.c] I just wanted to expand on what Rich said a little bit.
  + 57405 [curt hibbs.c] Laurent is our guy that would be (or is) working on this, so I don't know

^ compilation?
57389 [ewidmer acti] ruby is so nice that a possibility
+ 57388 [lyle users.s] Not sure if this is what you have in mind by "compiling" a Ruby script,
| 57398 [ewidmer acti] This is exactly what i'm looking for,
+ 57395 [sdate kc.rr.] If by "compile ruby script" you mean compiling to bytecode (Ruby Virtual

^ Ruby GUI's
57391 [dcarrera mat] Just out of curiosity.  What GUI's does the Windows version of Ruby come
57396 [lyle users.s] You must be using a pretty old version of the Windows installer (e.g.

^ Symbol class for a newbie, I'm just not getting it.  :-(
57397 [christopher.] "some_identifier" vs ":some_identifier"?
+ 57399 [idan idanso.] As far as I understand(from using the C API), it is just they way Ruby
+ 57401 [lyle users.s] Symbols are very much like strings, but with some important differences.
| 57475 [davep.news d] But wouldn't doing that intern each time in the loop hurt you more? I tested
+ 57402 [billk cts.co] Here's a recent thread on the subject...
+ 57413 [gsinclair so] There's a section in the FAQ in this.  Search for "symbol" at

^ Newsgroup
57403 [dcarrera mat] How can I subscribe to the comp.lang.ruby newsgroup?
+ 57407 [lyle users.s] Not sure what you're asking.
| + 57408 [dcarrera mat] Well, I've never used a newsgroup, so I didn't really know what to ask.
| + 57409 [chrismo clab] In addition, this mailing list is a mirror of the newsgroup, so there's no
|   57411 [dcarrera mat] Ruby Book for People Who Aren't (Yet) Programmers
|   57412 [batsman.geo ] You might already have received it by now.  Get used to receiving the
|   57438 [dcarrera mat] I still haven't received it.
|   57439 [gsinclair so] That's unusual - I am ML-only and I received it.  Anyway, it's reprinted below.
+ 57410 [batsman.geo ] 1) You need not to...
  57424 [rando babbli] To a point; However, there's perfectly good reason to use usenet rather
  57437 [gsinclair so] OTOH, when I see something I wat to read, I want to read it straight away, not
  + 57476 [davep.news d] Just like with usenet then.
  + 58112 [gminick unde] ...and that's why I'm using slrn+slrnpull. Usenet is a way better solution

^ ruby-dev summary #18924-18973
57425 [maki rubycol] This is a summary of ruby-dev ML in these days.

^ Screensaver
57428 [spectra debi] Does anybody know how to program a screensaver for windows using ruby?
57431 [martin massi] I think I was able to get this working with RUDL and exerb a couple of

^ learning symbol
57429 [xrfang hotma] I tried to use the following in my program
57430 [david.naseby] Use #intern
57432 [xrfang hotma] Tks. But can anybody comments if it worth to convert
+ 57433 [david.naseby] Faster using symbols.
+ 57436 [gsinclair so] The data you are comparing is a String, so I would just use strings.  Symbols

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

^ (none)
57435 [sanisabo saf] Nigerian National Petroleum Corporation
threads.html
top