112246-113087

111991-187464 subjects 112474-113098

Problem setting main file for rdoc
112246 [jamesUNDERBA] My project layout has the main code in lib\OOo4R,  I want my docs in
112248 [dave@pr gp o] Try using the name of a class in the main file.
112266 [jamesUNDERBA] I got it working by using
112270 [dave@pr gp o] Does putting it as the first file on the command line not work?
112278 [jamesUNDERBA] That was what I was trying at first.  There is a specific Ruby source
112290 [dave@pr gp o] The first regular file is the main file in the absence of a -m
112293 [jamesUNDERBA] Does this appear in the command line help?

Singleton method on object via define_method?
112253 [hal9000@hy e] OK, I have this variable called box.
+ 112258 [B.Candler@po] I don't think so :-) I asked this a long time ago; Guy Decoux provided the
+ 112260 [transami@ru ] module Kernal
| 112321 [bob.news@gm ] "trans. (T. Onoma)" <transami@runbox.com> schrieb im Newsbeitrag
| 112325 [transami@ru ] Agreed. Better name?
| 112343 [martindemell] selfclass?
| 112346 [transami@ru ] That's better. Or maybe self_class.
| 112353 [dblack@wo bl] Then you have "self.class" and "self.self_class" -- or, for that
| 112354 [gsinclair@so] Interesting.  "It's a real class, once it's created, ..."  On what grounds
| 112355 [dblack@wo bl] irb(main):001:0> c = (class << ""; self; end)
| 112360 [gsinclair@so] I don't know what a "virtual class" would be in real terms, but
| + 112361 [hal9000@hy e] I really think it's just a class. It has special uses, perhaps, but I don't
| | 112362 [transami@ru ] Except that it is tied to the object and not the class hierarchy. So it is
| | 112363 [hal9000@hy e] You can't create an instance of it, and you can't subclass it.
| | 112366 [ml-ruby@th p] Sounds sort of like a traits[1] or what Perl 6 refers to as roles[2][3].
| | 112367 [rff_rff@re o] I think traits mostly are what we call modules
| | 112402 [ml-ruby@th p] I'm still learning Ruby, but aren't modules pretty much static? I think
| + 112379 [dblack@wo bl] I think this introduces an unnecessary level of complexity.  You're
|   112382 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
|   + 112385 [martindemell] self#protoclass ?
|   + 112397 [dblack@wo bl] Actually if C++ has virtual classes, I think that's all the more
|     + 112426 [ptkwt@ar cn ] I agree.  There are already too many overloaded terms - isn't that why we
|     | + 112432 [transami@ru ] Cause it is so meta-meaningless !?
|     | + 112480 [rff_rff@re o] metaclass already is used in other contexts in other languages, where it
|     + 112466 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
|       + 112476 [batsman.geo@] There's at least one case where you can know if the singleton class has
|       | + 112486 [bob.news@gm ] "Mauricio Fern?ndez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
|       | | 112493 [batsman.geo@] => #<Object:0x401fdd20>
|       | | 112577 [bob.news@gm ] "Mauricio Fern?ndez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
|       | | 112588 [batsman.geo@] It's using Module#to_s because the klass of the singleton class is
|       | | 112597 [bob.news@gm ] "Mauricio Fern?ndez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
|       | | + 112599 [app1tam@up .] -> -----Original Message-----
|       | | + 112632 [batsman.geo@] It is I who doesn't understand what the above is supposed to prove :)
|       | |   112689 [bob.news@gm ] "Mauricio Fern?ndez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
|       | |   112700 [batsman.geo@] It's more than a NameError, it's an anomaly in Ruby's object model that
|       | |   112742 [bob.news@gm ] "Mauricio Fern?ndez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
|       | + 112490 [dblack@wo bl] Can you elaborate and/or give an example of what you mean?
|       |   112495 [batsman.geo@] See my other response to Robert's post.
|       + 112488 [dblack@wo bl] I agree, but I think the nature of singleton (or whatever) classes is
+ 112262 [dblack@wo bl] If my Kernel#singleton_class RCR gets accepted (or if you write an ad

Net-SSH Threaded PortForward Script Problems
112263 [justin@ge ui] Greetings to all
112268 [jgb3@em il b] I haven't actually tried running your script, but it looks to me like
112272 [justin@ge ui] Jamis,
112274 [jgb3@em il b] You did the join and the push in the wrong order. You were joining on an
112276 [justin@ge ui] jamis,
112280 [justin.rudd@] Take this with a grain of salt because I have't used the Ruby Thread
+ 112282 [justin@ge ui] Justin,
| 112284 [jgb3@em il b] You want more than just a mutex, though--you need a condition variable.
| 112286 [justin@ge ui] jamis,
+ 112285 [justin@ge ui] Justin,
  + 112287 [justin@ge ui] folks,
  + 112289 [jgb3@em il b] If you are doing even one call to Thread.new, then there are always at

problems with libapreq
112269 [zdennis@mk e] I have downloaded Arrow and I am trying to get it up and configured.  I
112279 [zdennis@mk e] Ok.. after googling around for a bit, i ended up adding /usr/local/lib

Arrow 0.1.0, need sample config help
112292 [zdennis@mk e] I am having difficultly getting a sample configuration to work. I am
112340 [ged@Fa ri MU] Would you mind bumping up your logging level to 'debug' (in both the

[ARTICLE] E4X with Ruby
112295 [djberg96@ho ] I know E4X has been mentioned here in the past a couple times, but
+ 112364 [erik@te pn t] I like it, seems ideal for reading and writing configuration files in XML, or 'per
| 112365 [hal9000@hy e] I like it, too... but I'm wondering about conflicts between XML names
| 112383 [erik@te pn t] I am not sure either, I haven't read the article yet, but I already knew about E4X.
+ 112368 [rff_rff@re o] (the new php library for parsing xml) in near to 30 lines, just like it

OpenGL and Ruby: Experiences, comments, examples
112300 [drossruby@ya] I have been thinking about using OpenGL and Ruby for a
112534 [eule@sp ce c] I have once done a proof of concept implementation of

[Arrow] Is Working, Posting Installation and Configuration
112301 [zdennis@mk e] Ok, despite a to late of a night.... last night and some wasted posts (i
+ 112303 [drossruby@ya] So what do you plan on creating with arrow, and could
| 112308 [zdennis@mk e] My brother owns a basketball camp in Michigan and he has contacts with
+ 112342 [ged@Fa ri MU] First of all, I must apologize for my lack of prompt reply to this (and
  + 112344 [zdennis@mk e] No need to apologize, we can't expect you and other developers to be
  + 112345 [ruby-talk@wh] This is my responsibility.  I should display a readable message when

[ANN] Copland 0.7.0
112309 [jgb3@em il b] Copland is an Inversion of Control/Dependency Injection container for
112310 [jgb3@em il b] Arg... wouldn't you know it, I got the URLs of the new packages wrong...

look-behind in oniguruma
112311 [ptkwt@ar cn ] Apparently oniguruma supports look-behind.  Is there any documentation on how
112312 [ajohnson@cp ] Essentially, they are the same as look-aheads ... zero-width assertions,
+ 112314 [ptkwt@ar cn ] hmmm...
+ 112315 [flgr@cc n. e] So it is implemented as zero-width look-ahead + eating as many
+ 112319 [neoneye@ad l] Oniguruma supports alternation inside lookbehind, so you can get a similar
  112324 [neoneye@ad l] (here is an example with infinite quantifiers)

rmagick problem?
112323 [roelandmoors] I have a simple but wierd problem.
112336 [roelandmoors] The 4 first characters are just ignored!
112338 [decoux@mo lo] You have a problem with your installation
112350 [cyclists@nc ] Guy is right as usual. Looks like that Debian upgrade left you with a newer

ANN http://www.rubygarden.org/ruby?FractalLifeEngine/LampTutorial
112326 [phlip_cpp@ya] Noo, it's not another LAMP (Linux Apache MySQL P{erl|ython|HP}) tutorial!
112369 [rff_rff@re o] I can't install povray in this very moment, but wow, I wish I could :)

What governs the order of methods returned by object.public_methods( false ) ?
112327 [tamc2@ca .a ] I was wondering if anyone can help me by explaining what governs the
+ 112328 [decoux@mo lo] methods are stored in an hash, where the key is the id of the method
+ 112329 [phlip_cpp@ya] def doc(anObject)
  112374 [flori@ni e. ] If you are using this in irb, require 'irb/completion' and hit the

Thread problem...
112333 [no_possible_] on the following source i only see once
112334 [decoux@mo lo] Well, add the line
112337 [no_possible_] it works.

Ant Wars
112339 [ptkwt@ar cn ] Did anyone work on a Ruby entry to the ICFP contest this year?
112408 [james@gr yp ] Your question raised my interest, so I went back and browsed through

UDPSocket - script crash
112347 [no_possible_] if there is no peer for this udp socket which
+ 112348 [no_possible_] yeah,
+ 112375 [B.Candler@po] Can you give a *complete* program which causes it, rather than fragments?

[ANN] SQLite/Ruby 2.0.2 Beta
112356 [jgb3@em il b] Another beta release in the 2.0.x series. This one adds explicit

Dir.glob problem
112357 [sdmitry@lr .] I have a strange problem with Dir.glob and directory symlinks on linux.
112358 [nobu.nokada@] "**" doesn't traverse symbolic links, or it can cause an

How to Control Time Behaviour of System Call ?
112370 [christoph.ne] Using Ruby 1.6.8 on Windows.
+ 112372 [bob.news@gm ] "Christoph Neubauer" <christoph.neubauer@siemens.com> schrieb im
+ 112388 [Ara.T.Howard] you may be able to use this unmodfified using the windows-process package from
  112392 [Ara.T.Howard] perhaps something like this is what robert was suggesting, try some windows
  112594 [christoph.ne] All attempts to control runtime behaviour of system call 'from outside'

[ANN] SNMP 0.3.0 Released
112377 [davehal02@ha] A new version of the SNMP library for Ruby is now available on
112427 [botp@de mo t] thank you. This is very helpful indeed.

[REDCLOTH] automatic links
112384 [csshsh@st uc] <a href="http://www.apple.com>http://www.apple.com</a>

[ANN] QtRuby 1.0.2/Korundum 3.3.1 beta2
112386 [Richard_Dale] * The packages should now build with Qt 3.1.x and above, and KDE 3.1.x and
+ 112391 [horacio.lope] just one word:   WOW !!!
| 112415 [Richard_Dale] Thanks! I hope that now the bindings are on Rubyforge with regular releases,
+ 112829 [han.holl@po ] It seems to work fine. Unfortunately, the second chapter of the tutorial
  112863 [Richard_Dale] OK - I've fixed that and a few other broken links. The Signals and Slots

[webrick] How to extract filename from a request?
112389 [dvoelkerts@w] I went on playing on my syslog analyser and tried the webrick framework
112390 [jamesUNDERBA] And it doesn't?
112401 [dvoelkerts@w] Thanks for your reply.
112406 [jamesUNDERBA] So, the part of the URL that comes after /filter/ is data to be passed
112410 [dvoelkerts@w] Yeah.That's the way I'd like to process the file through the servlet.

Issue with drb....
112393 [ggl@ki it s.] Win32; I'm using 1.8.2, from the installer, rc7a.  I'm rather enjoying
+ 112404 [rcoder@gm il] Chris,
+ 112405 [rcoder@gm il] Chris,
| 112623 [chris.sheppa] This is what I'm suspecting too; but the weird thing is, I would
+ 112470 [bob.news@gm ] "Chris Sheppard" <chris+ggl@kinitos.com> schrieb im Newsbeitrag
  112682 [ggl@ki it s.] No, I'm reasonably certain the server is still running, because it

Osama Bin Ladin Recent Photos
112394 [andrewscott@] Osama was photographed here cutting a young childs head off, these pictures were discovered early last week and posted here yesterday

Ruby regex engine behavior question
112395 [djberg96@ho ] "[In the Ruby 1.6 regex engine] \G doesn't prohibit regex bump-along
+ 112398 [decoux@mo lo] are you sure of this ?
| + 112422 [djberg96@ho ] No.  That's why I'm asking.  I'm merely quoting the entry I saw.  Thoughts?
| + 112461 [djberg96@ho ] When trying to match abcde with /\Gx?/g, the first match is
|   112482 [decoux@mo lo] This is one way to say it, another is
+ 112434 [nobu.nokada@] I don't understand he means too.  Th 'start' and the 'end'

Is there a HttpCache for Ruby?
112396 [rob_02004@ya] I'm looking for a HttpCache class with similiar functionality to
112399 [aredridel@gm] I've not found anything, though I've not looked that hard.
112508 [rob_02004@ya] Since I haven't found an existing HttpCache for Ruby, I'm starting to

traits & roles
112409 [ptkwt@ar cn ] You can always add more methods to a module as well as remove methods from
+ 112417 [gsinclair@so] I'd expect a proper implementation of 'unextend' to just "peel away a
| 112423 [ptkwt@ar cn ] Yes, you're right.  This would be better behavior.  Any idea how something
| 112425 [gsinclair@so] Only pure-Ruby solution I can think of is to remember the modules that
| 112446 [ptkwt@ar cn ] Yeah, I'm afraid you're probably right (at least to do it 'nicely')
| 112448 [gsinclair@so] The callback you're after is Module#append_features, from memory.  On
+ 112458 [djberg96@ho ] Take a look at this blog/article from David Naseby where he implements

Ruby [-Nuby] Forum is open
112413 [alex@ve k. n] Following last week's discussion on ruby-talk, Ruby Forum is now up and
+ 112414 [ml-ruby@th p] Nice looking; I've joined. I still hope to see a mailing list option.
+ 112441 [nobu.nokada@] It is hard to read in my environment due to font-sizes in

stable-snapshot.tgz
112416 [Ara.T.Howard] any idea why RUBY_VERSION went from 1.9.0 -> 1.8.2?
112435 [matz@ru y- a] snapshot.tat.gz -> 1.9.0

Ruby for .NET
112418 [macrocosm@fa] 1. Does anyone know of a project that is implementing Ruby on the
+ 112419 [james@gr yp ] Not exactly what you asked here, but perhaps you need to look into
+ 112467 [bob.news@gm ] "Arich Chanachai" <macrocosm@fastmail.fm> schrieb im Newsbeitrag
+ 112473 [rff_rff@re o] there is a proof of concept implementation, but nothing released.
+ 112524 [skellock@gm ] To kinda/sorta/but-not-really answer question #1... check out

Perl to Ruby
112420 [macrocosm@fa] Also looking for a Perl to Ruby conversion utility.
+ 112431 [james@gr yp ] You have a lot of questions about language cross-over.  What is it you
| + 112447 [macrocosm@fa] I need speed comparable to that of the .NET framework with a dynamic
| | + 112452 [gsinclair@so] Sorry I can't help with the specifics, but my general advice is this: all
| | | 112468 [bob.news@gm ] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
| | + 112463 [martindemell] If you're specifically looking for something to run atop the JVM, I'd
| | + 112475 [rff_rff@re o] I my opinion, the right thing to do is to go the way that usually other
| | + 112498 [james@gr yp ] I agree with the poster who suggested Ruby with a little C mixed in for
| + 112449 [macrocosm@fa] Also, I have large libraries of Perl, Python, Ruby, Tcl, and C/C++ code.
+ 112433 [Ara.T.Howard] i work for cheap.

JRuby
112421 [macrocosm@fa] That's a great help James, thank you.  I checked out the website but
112424 [enebo@AC .O ] Jruby has some code towards being a bytecode compiler, but not to the

Arrow Configuration File Question
112428 [zdennis@mk e] I've got a dummy site up and working with Arrow, but I have a
112740 [ged@Fa ri MU] Yes, this is how it's supposed to work.
113082 [zdennis@mk e] dispatcher for 'camphq.com': child server 13833
113087 [zdennis@mk e] Michael,

Picking up the torch....
112429 [macrocosm@fa] What does picking up the torch entail?
+ 112430 [gsinclair@so] Arich,
| 112436 [macrocosm@fa] My apologies, Thunderbird was replying to the sender and not to the
| + 112438 [gsinclair@so] Apologies for what?  Quoting the original post would be helpful...
| + 112439 [hal9000@hy e] No one thought you were an idiot. People here may or may not be native
|   112443 [macrocosm@fa] I understand, no hard feelings.
+ 112454 [enebo@ac .o ] I think you were referring to my last sentence about jruby.

JRuby article
112437 [transami@ru ] JRuby article here.
+ 112440 [gsinclair@so] Thanks T.
| + 112442 [curt@hi bs c] I think its because the authors are not really Rubyists. I didn't recognize
| | 112453 [macrocosm@fa] Some people dislike this "many ways to do the same thing".  I read the
| + 112450 [jamesUNDERBA] The downside, though, particularly the use of $globalVariables, is that
| | 112472 [usenet2@no p] Yes, they have a good reason for it. In JRuby it doesn't seem possible
| + 112887 [ jupp@gm .d ] IRTIAMTOWTDI - In Ruby there is also more than one way to do it.
+ 112444 [macrocosm@fa] Great find, thanks.

Ruby encryption lib
112445 [mark@ic ac e] Not even sure if this is the right place to ask this quesion, but here
112456 [jgb3@em il b] You can use the OpenSSL module to access a lot of different cipher

Recursive Objects (Arrays) in Ruby
112451 [dropbox@wh e] As a disclaimer, I'm new to object-oriented programming and to Ruby; so
+ 112459 [assaph@av ya] so
+ 112465 [jbullfro@ho ] I think the problem is, Ruby is not like C++ where one object
+ 112469 [bob.news@gm ] "Wandering Mango" <dropbox@whoever.com> schrieb im Newsbeitrag
  112590 [bob.news@gm ] "Wandering Mango" <drxpxbxx@wxxoevxer.xoxm> schrieb im Newsbeitrag

debig an infinite loop
112457 [transami@ru ] Pointers on debug'n, especially tracking an infinite loop.
+ 112460 [assaph@av ya] You probably know of this, bat what about 'ruby -r debug <your script>'
+ 112462 [gsinclair@so] My preferred method of debugging is to open an irb shell from the program.
  112722 [transami@ru ] Yes, that seems pretty nice. I plan to use that.

Catching undefined global variable errors
112464 [george.mosch] $the_key = "ley1" # a common orthographic error
+ 112471 [ryco@gm .n t] Well, the global _is_ defined. The orthographic error is in the value,
| 112485 [george.mosch] Sorry for the wrong example, please hava a look to the correct one I
+ 112477 [rff_rff@re o] well, the variable is defined, just defined badly :)
| 112487 [bob.news@gm ] "gabriele renzi" <rff_rff@remove-yahoo.it> schrieb im Newsbeitrag
+ 112479 [rff_rff@re o] well, the variable is defined, just defined badly :)
+ 112481 [rff_rff@re o] well, the variable is defined, just defined badly :)
+ 112484 [george.mosch] Sorry everyone,
  + 112491 [rff_rff@re o] I see what you're saying.
  + 112494 [batsman.geo@] batsman@tux-chan:~/src/rpa/rpa-base$ ruby -w
  + 112497 [B.Candler@po] # ruby -w scriptname.rb
    112501 [george.mosch] Thanks the $VEBOSE = true does the job!
    112504 [gsinclair@so] It's not an exception, so not only should it not be raised by default,
    112505 [george.mosch] Exm, I 've read actually many Ruby books, and I understand
threads.html
top