13221-13721

13007-13365 subjects 13415-13883

^ ms build of Ruby
13221 [sol123 msn.c] Has anyone built the current release of Ruby 1.6.3 using

^ [ANN] NQXML v0.4.2
13223 [jimm fnord.i] NQXML, a pure-Ruby XML parser, can be found on the RAA or at

^ Re: Native/pthreads in Ruby [Long]
13224 [mlb noworkin] I apologize in the long delay in replying to you.  Family commitments have kept
13230 [matz zetabit] Well, that makes lock granularity much smaller than one giant lock.
13371 [mlb noworkin] True but it releases you from the requirement of having to make all the threads

^ Installation Woes
13225 [jkaurin home] Ruby 1.6.2
13234 [kjana os.xax] Maybe installation procedure can not locate Tcl/Tk's header files and
13302 [jkaurin home] C programming on a UNIX box (there are a few of us :-) and I am not
13323 [kjana os.xax] Well.... actually that is not abnormal.  Make process is not obstacled
13455 [jkaurin home] You were right, I had no Makefile. I had some errors in the configure
13478 [kjana os.xax] Below these declarations, there are more `extern static' descriptions?

^ -100.abs
13227 [ rtan vt.edu] Why does puts -100.abs return 100? Shouldn't it be that the unary minus
13229 [matz zetabit] Yes.  It's compromise between yacc rules and naturalness (for me at

^ Running external command in sequential order
13231 [ppladijs cag] The system method of the Kernel module creates a subshell,
13232 [matz zetabit] system function in Ruby waits the process to terminate.  So it's just
13237 [claird starb] Mr. Pladijs has been asking this in at least a couple of
13270 [paul.pladijs] I certainly did not. I've only mailed the question to
13278 [claird starb] No apology, please.  My only concern is that we arrive

^ Traffic on mailing list?
13235 [hal9000 hype] I'm only seeing about 10% of the normal

^ drb and "recycled objects" errors
13236 [olgeni uli.i] I'm using ruby 1.6.3 from the FreeBSD ports collection (with
13264 [chadfowler y] Would you be able to post the source for download somewhere?
13288 [olgeni uli.i] Well, I made two small sample programs, a server and a client.
13293 [m_seki mva.b] I have a plan to release drb-1.4 or 1.5, in the future.
13720 [olgeni uli.i] Thanks! I fixed everything with your tips :o)

^ hash problem
13240 [the-master-o] I've written a class that should create a simple database (like dbdbd of David
13242 [neumann s-di] @index[name[0]] = count
13248 [the-master-o] Thanks, it works!

^ wxPython: How to get a child by name?
13243 [fgeiger date] I currently try to polish some of my apps with a GUI and decided to go for
13244 [fgeiger date] Sorry folks, the wrong group.

^ rxp =~ str or str =~ rxp ?
13245 [hvrosen worl] rxp =~ str or str =~ rxp ?
13247 [gnhurst hurs] [ruby-talk:5169]

^ Welcome to the 'comp.lang.tcl' newsgroup (Automatic mail) [LONG]
13250 [schneik us.i] FYI. Some time ago, we had a discussion about whether to send an

^ Re: tie (was: Randal in Ruby-land?)
13252 [matju sympat] Which in theory should teach me to read emails more attentively!!!

^ Re: golden mean (was: tie (was: randal (was: email regexp)))
13253 [matju sympat] Yes it is. That's the solution of x*x=x+1 and of 1/x=x-1 and it's the

^ This is going to sound crazy, but...
13255 [Dave Pragmat] Has anyone come across strange segv's and the like in Ruby apps
+ 13256 [ben_tilly op] I have successfully avoided Windows 2000.  So this is going to
+ 13272 [ljohnson res] As a good friend of mine likes to say, "the absence of a manifestation of a
| 13274 [Dave Pragmat] Unfortunately we've run this under Bounds Checker and it passes with
| 13276 [hgs dmu.ac.u] The only thing I know of that you have not mentioned is electric fence.
+ 13283 [matz zetabit] Show me the code.  It might not be a Win 2000 problem, but GC problem
  13289 [Dave Pragmat] The following blows up under 2000, but runs fine on all other
  13306 [sol123 msn.c] I worked fine on my win2K with SP1 and latest cygwin, with ruby 1.6.2
  13308 [Dave Pragmat] Yeah - we're beginning to suspect the Microsoft C compiler/libraries.

^ Class and Gtk
13262 [bombadil wan] I am making an event oriented aplication with Ruby/Gtk. I like a class
13271 [ljohnson res] of

^ RCR#U011 Add a method: Time#set(seconds <,microseconds>)
13263 [matz zetabit] I implemented this one (patch attached), and came to conclusion that
13313 [ppladijs cag] My answer is yes.
13331 [charleshixsn] This is just a note about generalized time classes.

^ Error EALREADY when using Net::HTTP
13265 [rshaw1961 ya] I am trying to run some of the Net::HTTP similar to the PickAxe book as
13280 [pit capitain] Last weekend I happened to try the same, some Net::XXX testing. I
13291 [paa Catalog-] Same here. I installed ActiveScriptRuby: http://210.81.47.82/uuid/,

^ Time Travel with Ruby
13266 [erne powerna] That old nemesis that makes everyone go to work and hour early is rapidly
+ 13267 [erne powerna] Don't mean to reply to my own mails but at the bottom there is a correction.
+ 13268 [Dave Pragmat] Have you tried any othre applications. There is a known bug with the
  13273 [matju sympat] I don't know if that's what you're talking about, but afaik the period
  + 13275 [Dave Pragmat] Dave
  | 13279 [erne powerna] Well you can blame it on Windows but has anyone tried this on other systems.
  | + 13282 [matz zetabit] Since my timezone does not have DST, I tried on your timezone.
  | | 13348 [skilchen swi] "Yukihiro Matsumoto" <matz@zetabits.com> schrieb im Newsbeitrag
  | | 13445 [matz zetabit] I verified a bug you reported.  It will be fixed very soon.
  | + 13284 [pete vilya.p] + Well you can blame it on Windows but has anyone tried this on other systems.
  |   + 13292 [erne powerna] Thanks for all the feedback.  I'm using Ruby 1.6.2 and I see you are using
  |   + 13296 [cyoungbl leg] systems.
  + 13277 [erne powerna] I think the method used to calculate (local) time is incorrect.  The

^ Tools for building XML documents?
13285 [colin webg2.] What tools are currently available in Ruby-land (either as extensions
+ 13286 [aaron hinnis] I just use a text editor to create them, but if you need to do it
+ 13290 [jimm fnord.i] Shameless plug: take a look at the NQXML::Writer class. It's a rip-off of
  13401 [gst sysfrog.] does it work with tcp sockets too? (when i receive a xml stream and
  13407 [jimm fnord.i] Not now it won't. Right now, NQXML can only read strings or any object that

^ "rublets"
13287 [olgeni uli.i] Once upon a time there was a TCL plugin that allowed to run small Tcl/Tk
13297 [schneik us.i] Still exists, AFAIK.
+ 13320 [decoux moulo] Well, if you want to make reference to Penguin, I think that the author as
+ 13721 [olgeni uli.i] I used to write small "applets" with the TCL plugin, without resorting to

^ ruby slowww socket handling
13294 [joe vpop.net] I've got a simple server that spits back its requests to the client.
+ 13295 [joe vpop.net] socket.puts("abc=def")
| 13298 [rise knavery] It looks like two problems to me: one is that the IO#puts behavior of
| 13299 [hal9000 hype] OK, I'm weak on networking. But could the problem be
+ 13307 [Dave Pragmat] You see the same difference in

^ Ruby does not take space in array reference
13300 [tigger_pooh ] I just started learning Ruby, and noticed an interseting thing in the
13309 [matz zetabit] Yes.  It's intended.  Ruby is very sensitive to existence of space(s).
13362 [tigger_pooh ] I guess my question is:  Does it have to be this way?  Can Ruby be made to
13364 [Dave Pragmat] a [ 1 ]

^ Ruby does not take space in array reference
13301 [tigger_pooh ] I just started learning Ruby, and noticed an interseting thing in the

^ Reloading files
13303 [ntalbott rol] First of all, a confession: Lapidary's GTK::TestRunner had a show stopper
+ 13304 [avi beta4.co] Although I'd love to see these issues solved, in this case might it not be
| 13328 [ntalbott rol] You certainly get the simplicity award! I hadn't even thought of this,
| 13352 [matz zetabit] Since I haven't provide complete re-initialization of interpreter, I
+ 13350 [duff omelia.] it
  13353 [jeff_canna y] Duff....I know your out there....call me at studio

^ mkmf.rb
13310 [lists.ruby-t] It would appear that if you have a "lib" dir within an extension

^ hash values can't change??
13311 [mjbjr beaude] According to the ProgrammingRuby docs, a hash value can't change.
+ 13312 [matz zetabit] You can't modify the key objects.  But you can change the associated
+ 13314 [matju sympat] This is confusing the two meanings of hash. The original meaning is: a

^ A subtle Hash bug
13315 [crippel prim] I recently run into the the following bug
13317 [matz zetabit] Oops, quick hack patch is attached.
13325 [crippel prim] Well,
13330 [pete vilya.p] + my reason for preferring the ladder is that the combination of
13334 [matju sympat] Is there any good reason why Float's "Infinity" value is equal to itself?
13347 [crippel prim] Well,
+ 13349 [crippel prim] Em, try ...
+ 13465 [matju sympat] I'm not proposing that +Infinity should be indistinguishable from
  13469 [crippel prim] Well,

^ hash slice implementaion
13318 [phasis hanan] I'd like to use Perl's hash slice feature in Ruby.
13319 [matz zetabit] It's interesting.  The only reason hash#[] does not accept multiple
+ 13324 [Dave Pragmat] Given that we've got Hash#indices (OK, not the best of names,
| 13326 [schneik us.i] #
| + 13329 [matt sergean] array#slice() and array#slice()=
| | 13332 [schneik us.i] # >
| + 13335 [pete vilya.p] + # Given that we've got Hash#indices (OK, not the best of names,
+ 13327 [dfan harmoni] I made the suggestion recently that Array#[] and Hash#[] exhibit
  13333 [matju sympat] If you accept any Enumerable, you have to make an exception for Range,
  13340 [dfan harmoni] Mm, and I don't think that you want to automatically get this behavior

^ erb and cgi
13321 [david jazzne] I seem to be having a strange problem with the cgi module when combined
13322 [decoux moulo] You have an example in the directory sample to use cgi with erb.

^ [ANN] NQXML v0.5.0
13336 [jimm eris.io] NQXML is a pure Ruby implementation of an XML tokenizer, a SAX-style
+ 13338 [pete vilya.p] + NQXML is a pure Ruby implementation of an XML tokenizer, a SAX-style
| 13342 [jimm eris.io] I'm very sorry. That should read "cd tests", as you have discovered. I will
| 13343 [jimm eris.io] ...um...I meand $LOAD_PATH. I should not post anything on days like this.
| 13344 [jimm eris.io] The original problem has been fixed: running the test script will now work
+ 13339 [pete vilya.p] + NQXML is a pure Ruby implementation of an XML tokenizer, a SAX-style

^ Meet us on Wine Alley
13337 [francois.xav] I found your address on a site about wine and spirits, cigar and good

^ Why is $_ local to the current scope?
13341 [jeremy chaos] def barf() print "Yikes, can't cope with #{$_} at line #{$.}\n" end
13354 [decoux moulo] $_ and $~ make reference to local variables.
13356 [jeremy chaos] Good point.  I can see that avoiding this is a Good Thing (TM).

^ tk/tkencoding clash - Advice?
13351 [rise knavery] The English versions of the Tk demos for Ruby (originally re-Anglicized by

^ [ANN] SOAP4R/1.2.0
13355 [nahi keynaut] I posted SOAP4R/1.2.0 to RAA.  In this version, I checked

^ passing blocks to Proc objects
13357 [bhilton vpop] I am having trouble finding the syntax to pass a block of code to a Proc
13360 [matz zetabit] Sorry, the block passed to the method is packed in the closure (Proc)

^ Prog. Ruby: p156-157
13358 [rashworth ma] The Sample Application from Thomas & Hunts, Programming Ruby,

^ Ruby and Fonts
13359 [rashworth ma] What is the Ruby code to read a text file

^ [ANN] Ruby Cookbook XML-RPC interface
13361 [colin webg2.] Thanks to the work of many fine folks on libraries for Ruby, I'm

^ f.call (x) revisited
13363 [dae_alt3 jun] I decided to try out his example.  I didn't get his results.
13367 [henryso eart] This is all basically due to the scoping in Ruby.  By the time the closure is encountered, the variable a has already been established as having scope outside the block.

^ [ANN] NQXML v0.5.1 fixes v0.5.0 bug
13366 [jimm fnord.i] NQXML v0.5.1 fixes a bug introduced in v0.5.0: the Text.to_s method was

^ [Q] Win32OLE  documentation and tips??
13368 [see_signatur] I tried out a very nice and useful example from the Thomas & Hunt book page 168.
+ 13384 [paa Catalog-] Since you already have things working, I don't think you'll need a lot
+ 13395 [rise knavery] It's a bit old, but Dave Roth's "Win32 Perl Programming: The Standard
+ 13433 [tammo.freese] page 168.

^ Buffered and non-buffered IO
13369 [ljz asfast.c] Could anyone point me to some documentation that describes how I could
+ 13370 [henryso eart] This would be done by calling IO#sync=true (or false, depending on what you
+ 13372 [ljz asfast.c] Well, never mind.  :)

^ Linux RPM's for Ruby
13373 [noname zetab] Can anyone point me to Linux RPM's for Ruby -
13378 [crouton weat] Mixing binary RPMs from different distros together sometimes cause

^ Passing an array to `exec'?
13374 [ljz asfast.c] cmd = [ '/bin/ls', ARGV ]
+ 13375 [dgjs acm.org] Try
| 13376 [dblack candl] -e:1:in `exec': wrong argument type Array (expected String) (TypeError)
+ 13377 [ljz asfast.c] ###   cmd = [ '/bin/ls' ].concat( ARGV )
  + 13379 [Dave Pragmat] exec( "/bin/ls", *ARGV)
  + 13380 [phasis hanan] How about this?
    13385 [ljz asfast.c] Thank you, that works fine!  I never tried it with the `*' before
    + 13386 [henryso eart] This is described in "Programming Ruby" on page 77, under "Parallel
    | 13394 [ljz asfast.c] Aha!  I had forgotten about having read it in that place in the book.
    | 13399 [Dave Pragmat] p70 (under "More About Methods/Expanding Arrays in Method Calls") is
    | 13406 [ljz asfast.c] Yep! ... there it is.  The part about using `*' in method invocations
    + 13387 [green FreeBS] Yep, that's exactly what it means.  Actually, it can happen in any one of
      13393 [ljz asfast.c] Yes, now it's perfectly clear.

^ Is there any way to get the current ruby method within in C?
13381 [matthewdspen] I'm rather new to Ruby (*very* new actually), and I'm playing around
13382 [avi beta4.co] VALUE methodHandler(VALUE self, VALUE arg1) {

^ Object::send with expanded argument list?
13383 [kerstens cs.] while being absolutely new to Ruby, I have worked with Smalltalk before
13390 [kerstens cs.] Nevermind, I just read the solution in another thread. Ruby

^ Using Antlr for Ruby? (was RE:  Re: why won't "( a) = 1" parse?)
13388 [cbroult sapi] This message is in MIME format. Since your mail reader does not understand
13429 [matz zetabit] Somebody suggested, but I couldn't take time to inspect it yet.
13431 [hipster xs4a] tried handling whitespace in both parser and lexer, neither of both
13432 [matz zetabit] Oh, I just remember you ARE the somebody I mentioned above.
13434 [cbroult sapi] This message is in MIME format. Since your mail reader does not understand
+ 13435 [acme astray.] FWIW I spent a couple of days attempting to get Antlr to generate
| 13436 [cbroult sapi] This message is in MIME format. Since your mail reader does not understand
| 13438 [feldt ce.cha] Would be great if someone could briefly summarize the advantages and
| + 13439 [feldt ce.cha] Ok, sounds interesting. If you or someone else goes ahead with ANTLR-type
| + 13441 [hipster xs4a] ANTLR does a linear approximation of LL(k) for k > 1.
|   + 13442 [hipster xs4a] ^-- should be '+', duh
|   + 13443 [feldt ce.cha] Yeah, its great. Do you know if it is general (ie. you can apply operators
|     + 13444 [hipster xs4a] The operators are generic and apply to both terminals, nonterminals
|     + 13628 [ekliao pacbe] Generally speaking, the repetition modifiers ? + * should be able to
|       13632 [feldt ce.cha] 1, lazyness ;-)
+ 13437 [hipster xs4a] Crossed my mind too, but after close examination of the ANTLR

^ Ruby in java?
13389 [philmi plioc] Is anyone working on or interested in an implementation of ruby on the JVM?

^ Flow based programming in Ruby
13391 [spwhite char] A few people, including myself, have asked for shell piping between

^ FCGI-Ruby - What am I missing
13392 [jilanik tin.] #!/usr/local/bin/ruby

^ FCGI-Ruby - What am I missing - Solved.
13396 [jilanik tin.] I have just changed the extension of the scrips ".rb" to ".cgi" and it

^ Multidimensional arrays and hashes?
13397 [ljz asfast.c] Is it possible in ruby to make use of constructs that correspond to
+ 13398 [matju sympat] you can't do that in Ruby because hash access is written like array access
+ 13400 [gnhurst hurs] Since (unlike perl) variables are not typed, ruby has no way to
| 13403 [matju sympat] This is not sufficient for auto-vivification. There is a difference
| 13404 [ben_tilly op] I think that that is the first time I have seen Perl pulled up
+ 13402 [masa stars.g] class ArrayMD < Array
  13408 [ljz asfast.c] Thank you very much.  And in the same spirit of your example, we can
  13411 [crippel prim] why don't you write
  + 13422 [ljz asfast.c] You only type less if you're doing it this way *once*.  If your
  | + 13424 [billk cts.co] I like it.  It seems very straightforward, simple, and clean.  It
  | + 13425 [crippel prim] I guess that's a matter of taste (I was sort of wandering if
  |   13426 [crippel prim] Sorry,
  + 13423 [billk cts.co] True . . . but (IMHO anyway) the significant power of AutoVivification

^ strange behavior under mod_ruby
13405 [colin webg2.] puts "MOD_RUBY<P>" if defined? MOD_RUBY
13412 [decoux moulo] Just add

^ fastcgi vs. mod_ruby (Apache)
13409 [jilanik tin.] for a middle web site with nearly 10.000 hits a day, running many

^ fastcgi troubles
13410 [jilanik tin.] I am using Fast-cgi ruby module and it works fine, but with "cgi"
13428 [matz zetabit] output should be directed to fcgi.out.  I present you the small script

^ Dynamic instantiation of classes
13413 [bryan_zarnet] Morning,
13414 [decoux moulo] When you define a class or a module, ruby define a constant. This mean
threads.html
top