120071-121020 subjects 120482-121114

^ ERROR: While Executing gem
120264 [justin gezui] Greetings to all,
120265 [chadfowler g] Greetings!
120266 [justin gezui] hacker-otakus-Computer:/Users/otaku root# /usr/local/bin/ruby --version

^ [non-SOLUTION] Countdown (#7)
120268 [fugalh xmiss] I didn't actually implement it, but my approach was going to be the
120371 [dga lcs.mit.] The trick is being clever about the combinations you try.
120419 [fugalh xmiss] Hmm, I just realized that may not have come across how I wanted. What I

^ [ANN] Ruby-GNOME2-0.11.0
120269 [mutoh highwa] Ruby-GNOME2-0.11.0 is out. Enjoy!

^ Ruby in the enterprise...
120271 [jeffwood ama] charset="us-ascii"
+ 120274 [justin gezui] Rails
+ 120277 [jgb3 email.b] No one single solution that I know of. But Ruby has a web server
+ 120278 [justin gezui] Ruby DARPA
+ 120280 [jamesUNDERBA] Rich Kilmer gave an impressive talk about recent  Ruby work his company
+ 120289 [halostatue g] The best example of such a program, as I understand it, is the
| + 120291 [mrmargolis w] Can you provide a source for this?  It isn't that I don't believe you I
| | 120295 [jeffwood ama] The whole reasoning for my questioning is that I currently build command-line based scripts ( data mashers, etc ) in Ruby. For most of my day-to-day work, that's all I need. However, I am involved in larger projects that are currently being developed in Java, C++, etc.  I'm looking for examples of larger (enterprise-scale) projects that have been implemented in Ruby so that when I make proposals for new systems/services/tools etc that I'd like to write in Ruby, I have some formal documentation as to "it can be done, it *has* been done, it runs well & fast" ... Etc.
| | 121589 [flgr ccan.de] Basecamp comes to mind -- not that I mean to imply that it is comparable
| + 120327 [dave pragpro] Hmm - that's news to me :)
|   + 120330 [jamesUNDERBA] Which is a testament to the true power of Ruby: it lets you write code
|   + 120336 [halostatue g] Mmmm. I thought that's what was being said at the time; however, I was
+ 120351 [lyndon.samso] Just slip it in as java ( using jruby of course :-) )
+ 120521 [sanat.gersap] Check out this case study on MySql.com for an enterprise scale app in
+ 120522 [sanat.gersap] Check out this case study on MySql.com for an enterprise scale app in

^ Re: Ruby in the enterprise... [properly formatted]
120272 [mikael phubu] Next time, break your lines at about 70 columns, or no one will read
120279 [jeffwood ama] Mikael,

^ external links editing problem on ruby garden
120273 [sroberts uni] It has become quite hard to edit rubygarden's wiki. Any page with a
+ 120276 [sera fhwang.] I haven't been paying that much attention to this discussion, but
+ 120281 [jamesUNDERBA] Quick summary: Much spam.  Much from bots. Quick hack to stop bot spam
| 120283 [sroberts uni] Understood. I'm starting to like the login/passwd idea, though. At least
+ 120372 [jim weirichh] Sorry for the pain.  I think the HTTP think was partially successful in
  120373 [sroberts uni] It looks great, particularly the note about existing links.

^ [OT] Outlook formatting (Re: Ruby in the enterprise... [properly formatted])
120282 [jamesUNDERBA] Go to Tools -> Options ->Mail Format tab

^ Barriers to entry (Re: external links editing problem on ruby garden)
120284 [jamesUNDERBA] Yes, very much so.

^ update delay related to TkOptionMenu
120285 [volkmann2 ch] In the simple code below, when I select something from the
120364 [nagai ai.kyu] Hmmm...
120370 [volkmann2 ch] Thanks for the suggestion. Unfortunately, that didn't change anything. I
120374 [nagai ai.kyu] Could you tell me your environment?
+ 120375 [nagai ai.kyu] TkVariable#trace
+ 120377 [volkmann2 ch] Windows XP SP 2
  120379 [nagai ai.kyu] Not enough. :-)

^ Re: [QUIZ] Countdown (#7) [Solution]
120286 [ruby brian-s] This was quite an interesting quiz. I tried different solutions of varying complexity, but it turned out that the simplest approach worked best.
+ 120290 [dennis.ranke] That's a nice solution, but reading through the code I have one question
| 120294 [ruby brian-s] each_term_over calls the block once for each unique term it generates. When a set of terms is already memoized, the block has been called for each of the terms in the set, so it is not neccessary to call it again.
| 120302 [dennis.ranke] Oh yes, I misread the source, sorry. Of course each_term_over itself
+ 120312 [dga lcs.mit.] Sounds like my solution, which is appended below, is
  120319 [james graypr] Just FYI, Ruby's catch/throw is probably a good choice here.  It should

^ mysql-ruby install problem
120288 [gianni one6i] Greetings Rubyists!
120292 [gianni one6i] False Alarm. A fresh tarball seems to have done the trick. Sorry about

^ I guess "obj.attr = arg" methods don't allow blocks... (maybe rcr?)
120293 [sroberts uni] Does this conflict with some kind of basic rule in the grammer?
+ 120296 [rff_rff remo] card.email = Email.new('user@foo') {block}
+ 120305 [dblack wobbl] Well... I suspect it conflicts with a basic intention, which is to
  120321 [sroberts uni] And I'm trying to use an operator in a way that acts closer to a method,

^ [ANN] MinDI: Minimalist Dependency Injection
120297 [vjoel PATH.B] MinDI is a DI (dependency injection) or IoC (invesion of control)
+ 120307 [flgr ccan.de] Object.instance_method(:dup).bind(container).call
| 120315 [vjoel PATH.B] Sure, thanks for the suggestion.
+ 120361 [jgb3 email.b] Nice work, Joel! It's nice to have a little competition. Drives the
| 120367 [sdate everes] Hear, Hear !!
+ 120413 [avi.bryant g] Forgive me for being dense, but once you've gone this far, is there
  120461 [vjoel PATH.B] I forgive you :) That reaction was exactly the initial reaction that DI

^ OpenStruct#update ?
120299 [transami run] How 'bout an OpenStruct#update for adding values after initialization. Or is
+ 120301 [dblack wobbl] OpenStruct needs to be very conservative about what methods it has,
| 120309 [transami run] Why so conservative? So they don't overwrite standard object methods? I
| 120316 [dblack wobbl] irb(main):020:0> o = OpenStruct.new
| + 120328 [transami run] Ouch. I think that may be a bit too conservative. It's better that someone can
| + 120339 [matz ruby-la] I'm thinking of making OpenStruct raise error for assignment to
|   120346 [dblack wobbl] What about =-methods?
+ 120306 [transami run] Hmm.. I also just had another related thought. I might also be useful if a
  120337 [matz ruby-la] It's amazing that OpenStruct which is a proof of concept tiny toy
  + 120355 [transami run] It is a very convienet way to access data that is object polymorphic.
  | 120395 [flgr ccan.de] h.each do |k,v|
  | + 120397 [transami run] Nice. I still perfer to use instance_variable_set, but the send :attr_accessor
  | + 120399 [bob.news gmx] "Florian Gross" <flgr@ccan.de> schrieb im Newsbeitrag
  |   + 120404 [flgr ccan.de] You are right of course. I also like how you moved the attr_accessor out
  |   | 120417 [bob.news gmx] "Florian Gross" <flgr@ccan.de> schrieb im Newsbeitrag
  |   | 120422 [flgr ccan.de] Ah, I was confusing instance_methods() with instance_methods(false).
  |   | 120480 [bob.news gmx] "Florian Gross" <flgr@ccan.de> schrieb im Newsbeitrag
  |   + 120406 [transami run] Actually the example is pulled inside out from the real method I use which is
  |     120418 [bob.news gmx] "trans. (T. Onoma)" <transami@runbox.com> schrieb im Newsbeitrag
  + 120381 [transami run] Ah, what the hek! I pulled down 1.9 and modified. Below you will find code.

^ [ANN] MemCache 0.0.1
120303 [ged FaerieMU] I'm happy to announce the initial release of a Ruby client library for

^ ruby-talk link shortcut
120325 [vjoel PATH.B] The Ruby-talk.org domain is temporarily under maintenance. Please use

^ linear contraint solver
120333 [wannes wina.] I'm searching for a linear contraint solver that i can use in a
+ 120368 [cmills frees] faq.html#free
| 120553 [tom infoethe] Yours,
+ 120369 [ptkwt aracne] According to the web page they have sample applications written in

^ Why can't I get an array range, like [3, 4], on a Struct?
120342 [sroberts uni] x = Struct.new(...
120349 [dblack wobbl] You can do that (just write a module and extend your Structs), though
120363 [sroberts uni] Aha, so I expected it be more like an Array, and you expected it to be
+ 120366 [matz ruby-la] Struct is a Struct is a Struct.  You may want to check arrayfields.
+ 120391 [dblack wobbl] I agree; ultimately I expect it to act like a Struct :-)

^ rational.rb Integer#lcm correction
120356 [erlercw siu.] The following corrects Integer#lcm in rational.rb (with one less call to #abs, too).
120360 [erlercw siu.] Sorry, I forgot Integer#gcdlcm.

^ RDOC Flexibility
120376 [zdennis mkte] Is there any way to template RDOC's output? I don't mind the output it
120378 [jgb3 email.b] As a matter of fact, you can. Use the -T (or --template) option to rdoc

^ [ANN] Arachno Ruby 0.3 (patch 2)
120380 [mailinglists] i'm happy to release Arachno Ruby version 0.3 (patch 2) (giving 60 new
+ 120384 [raif swiftds] is there a linux version?
| 120388 [mailinglists] The linux version still has 2 fatal bugs. One is a never released
+ 120385 [sdate everes] Great ! Thanks a lot.
  120386 [mailinglists] I think i start selling it after the 1. January 2005 (giving a
  120433 [shanko_date ] Great !
  120439 [mailinglists] Sure. But please start with smaller features first.
  123714 [kohljonathan] I just downloaded Arachno and tried it out. I really like what I see so
  + 123726 [mailinglists] Thanks,
  | + 123739 [shanko_date ] Wonderful! I see both my wishes on this list. Thank
  | + 123746 [itsme213 hot] expand,
  |   123749 [mailinglists] Yes i did not forget this.
  + 123745 [cwillia1 roc] so
    + 123755 [mailinglists] Is there any one-click-installer for eclipse ?
    | 123758 [cwillia1 roc] ...snip...
    + 123927 [kohljonathan] I installed the latest version a couple of days ago, and I'm really

^ ruby extension best practices
120382 [bitserf gmai] i am about to create an extension for a third party API (API is pretty
+ 120400 [cyclists nc.] Check out this missive from Hal Fulton...
+ 120468 [vjoel PATH.B] Check out SWIG. It can do most of the work for you, generating wrappers
+ 120494 [ptkwt aracne] How about RubyInline?
  120513 [bitserf gmai] thanks for all the suggestions, SWIG seems to be closest to what i

^ test/unit : some more assertions ?
120383 [itsme213 hot] Would it make sense to add some more set-liks assertions to test/unit?
120442 [mkhan lextra] It would be great to have them in Test::Unit

^ Relations / Associations (was: Re: bi-directional pointers)
120389 [bob.news gmx] the keywords "relation" and "association" probably describe better what

^ [ANN] Nitro 0.4.1
120393 [george.mosch] * The rendering engine was totally recoded to support Rails-style

^ Bug?: vim folding for Ruby
120398 [eule space.c] +   def foo
120403 [dougkearns g] Again, this works for me, unfortunately...

^ Kernel#singleton_class (was: Re: OpenStruct#update ?)
120401 [dblack wobbl] I've got an RCR in for singleton_class.  (I know, the terminology is
120405 [flgr ccan.de] Hm, looks like I already voted on it. I can live with it being named
120407 [dblack wobbl] Yeah, as long as he doesn't choose 'virtual' :-)
+ 120408 [transami run] He he. Seems like all the readily floated possibilities have poor
| + 120409 [dblack wobbl] how easy (or not) will it be to explain to people?  I think instance
| | + 120410 [decoux moulo] You can rename it, but don't forget to rename
| | | + 120411 [decoux moulo] it's FL_SINGLETON (je suis fatigue :-()
| | | + 120414 [dblack wobbl] I'm not planning to rename it myself -- just discussing possible
| | | + 120416 [flgr ccan.de] But what about this?
| | |   + 120421 [decoux moulo] Why do you think that, one day, I've said to someone that he must be
| | |   + 120445 [matz ruby-la] It was an old message reflected the model (once in my brain) in which
| | + 120420 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
| | + 120424 [transami run] #object_class (like #object_id) would be nice. Then #class could be used by us
| + 120415 [g_ogata optu] Personal class?  (Every object has its own personal class.)
+ 120446 [matz ruby-la] I'd call them singleton classes.  Any objection?
  120449 [transami run] Yes, cause of singleton pattern.
  + 120453 [matz ruby-la] Hmm, any other alternative?
  | + 120464 [transami run] Interesting. I didn't know that. I wouldn't normally object but I've seen
  | + 120537 [pbrannan atd] I think I've heard them called "metaclasses"; is that the same thing or
  + 120455 [flgr ccan.de] Objection to the objection: The singleton pattern is not widely used in
  | + 120460 [itsme213 hot] dedicated_class
  | | 120465 [flgr ccan.de] Sorry, I was talking about the pattern that lets you only create a
  | + 120469 [transami run] Well, I just used it. And the rest of the OOP world knows Singleton, yes?
  | | 120473 [flgr ccan.de] What did you use it for and why would another name be a problem in your
  | | 120508 [transami run] In current project I use it for markup BaseAdapter Subclasses. In past I've
  | | 120538 [flgr ccan.de] Why don't use globals (or a constant) or a Module with module functions
  | | 120570 [transami run] Well, with globals I can't control namespace. And modules have there one
  | | 120649 [flgr ccan.de] $colors::red # => "red"
  | | 120709 [transami run] Cute. Never thought of using globals in that manner before --but I guess one
  | | 120759 [flgr ccan.de] Subclassing is done by .dup()ing the Object and then adding new methods.
  | | 120893 [transami run] Give me a prototype-based OOPL, baby! Yes, I dislike using #instance usually,
  | + 120523 [bob.news gmx] "Florian Gross" <flgr@ccan.de> schrieb im Newsbeitrag
  |   120526 [dblack wobbl] The Class Formerly Known As Singleton Class.  What do I win? :-)
  |   120531 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  + 120458 [hal9000 hype] This doesn't bother me. We will almost always have the word "class"
  + 120498 [gsinclair so] No, because of historical reasons, and the ability to distinguish
    + 120501 [flgr ccan.de] Got any URLs? I think I agree with them, but they might have better
    | + 120503 [james graypr] I'm NOT an expert, but my opinion is that the pattern is overused.
    | | 120506 [flgr ccan.de] Thanks for it, it is of help.
    | + 120534 [jason.sweat ] the issues with Singletons.
    + 120502 [dblack wobbl] If there's a conflict, though, it's got to do with the existence of
    + 120509 [transami run] I have an idea. How about a compromise. Rather then use the term 'singleton

^ Re: win32-guitest
120412 [Paul.Allton ] Unfortunately the GUI's I'm trying to test aren't ruby based, but a

^ Starter question on Test::Unit
120431 [mkhan lextra] I am using Test::Unit for couple of days.
+ 120432 [ryco gmx.net] Just to be nitpicky, you would get errors about Foo not being defined ... :)
| 120435 [mkhan lextra] I am confused about the '.' before the on second output 'in setup'.
| 120437 [ryco gmx.net] Oh, that's just the ConsoleRunners' way of saying a test has succeeded.
| 120438 [mkhan lextra] Thanks again, Henrik.
| 120440 [ryco gmx.net] That's what I feared. Sorry, I have no idea how to accomplish that.  :(
| 120441 [mkhan lextra] I am stuck!  :-(
+ 120444 [ruby brian-s] class TestClass < Test::Unit::TestCase
  + 120447 [mkhan lextra] Brian,
  | 120448 [ryco gmx.net] require "test/unit"
  | 120452 [mkhan lextra] In other words, I am still stuck! :-(
  | 120456 [ruby brian-s] Ok, I should test before I post ;).
  + 120459 [nathaniel ta] That actually doesn't work, because the test class is instantiated once
    120462 [mkhan lextra] Thanks a lot, Brian and Nathaniel.

^ Complete set of callbacks
120436 [transami run] Class creation                   Class#inherited (sort-of), or alias #new.
+ 120470 [vjoel PATH.B] Module#append_features
+ 120497 [Peter.Vanbro] Class instantiation
+ 120620 [transami run] Thanks Peter and Joel. Here's the rundown thus far.

^ [Q] Ruby & TWAIN
120443 [bsharpe gmai] Just curious,

^ Scope...
120451 [jeffwood ama] Ok, here's a snippet
120479 [bob.news gmx] "Jeff Wood" <jeffwood@amazon.com> schrieb im Newsbeitrag

^ FAQ for comp.lang.ruby
120463 [hal9000 hype] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2004-10-16)
120474 [ryco gmx.net] At least the http link gives a 404 error. And I think someone on this ML
120475 [hal9000 hype] Thanks, Henrik... this issue sounds familiar.
120477 [dross code-e] click on Bugs ;)
120478 [hal9000 hype] Thank you...

^ [rexml]  parse_stream from Net::HTTP source
120467 [fred taonix.] I have some problem with rexml. I want to use the stream parsing mode,

^ modruby.net ?
120472 [mreed theree] Has been down for several days.  Does anyone know what's going on with it?
+ 120569 [kentda pvv.o] Try http://www.modruby.net/ which works for me.
+ 120592 [stoyan gmail] From the maintainer's post to the mailing list the HDD on the machine was

^ "The Ruby Way" and adding methods to base classes in libraries
120481 [mmhohman nor] I have a question about practical experience with adding methods to
+ 120483 [flgr ccan.de] IMHO it is currently the above for very special methods and core class
+ 120487 [vjoel PATH.B] You could define this method in a module and use Object#extend to give
| 120491 [tim bates.id] The other way to deal with this would be to create a new class that
| 120495 [vjoel PATH.B] This is useful, but when an Array gets returned from, say, collect, it's
+ 120525 [bob.news gmx] "Moses Hohman" <mmhohman@northwestern.edu> schrieb im Newsbeitrag
  120535 [mmhohman nor] Ah, yes, you're right. Sorry, I was quoting my code from memory, not