90364-90926

90140-91167 subjects 90574-92940

^ Initial Problem...
90364 [me privacy.n] well, I'm trying to run an example rb-script, but I keep getting

^ gsub oddity?
90375 [ralph.mason ] What am I missing here.  I am trying to replace a single quote with the
90377 [markjreed ma] You're missing an extra level of processing applied to the replacement
90395 [bob.news gmx] "Mark J. Reed" <markjreed@mail.com> schrieb im Newsbeitrag
+ 90404 [mike stok.co] You can make life a little easier by picking a quote other than ' to
| + 90407 [bob.news gmx] "Mike Stok" <mike@stok.co.uk> schrieb im Newsbeitrag
| + 90430 [hal9000 hype] I'm the maintainer of the comp.lang.ruby FAQ, which (mainly) deals with
+ 90418 [markjreed ma] Did you not read the rest of my post, when I pointed that out and
  90468 [bob.news gmx] "Mark J. Reed" <markjreed@mail.com> schrieb im Newsbeitrag

^ Boost Protein Expression by Codon Optimization
90378 [service gens] Dear Colleague,
+ 90396 [joe notcharl] This is the most surprising spam I've ever seen.
| 90419 [jrb3 eidogen] You think you're surprised?  I work for a company whose customers would be
| + 90433 [hal9000 hype] Obviously someone is a fan of genetic programming. :)
| + 90443 [intc_ctor ya] It's quite bizarre, though.  This isn't the sort of business that
+ 90439 [ jupp gmx.de] Smells like spam but it could still be on-topic if they use Ruby :-|

^ Trouble installing eRuby on MacOS X 10.3
90379 [gavin refine] All day I have been trying to get mod_ruby and eRuby installed on MacOS
+ 90380 [gfb tonesoft] 1. Run configure with option "--enable-shared" where appropriate.
| 90384 [gavin refine] Thanks muchly!
+ 90383 [kevin_mcconn] I had exactly the same problem the other day, and got enough help on
  90385 [gavin refine] Heh, thanks. I seem to have learned about this newsgroup 1 day too late.
  90424 [kevin_mcconn] Um, I'm afraid I don't really know either -- I was just following the

^ How can I report a BigDecimal fix?
90393 [jgoizueta wa] I've detected and fixed a problem with the BigDecimal extensióî in Ruby
+ 90403 [matz ruby-la] i,
+ 90412 [shigeo tinyf] Oops!

^ Dir set different owner ?
90401 [sv-erik remo] <SNIP>

^ DRb error with Ruby 1.8.1
90402 [martin zsdfh] and have experienced no problems.

^ Very basic Ruby docs/books/tutorial?
90405 [feldt ce.cha] I got a question from someone who wants to learn Ruby but are not very
+ 90409 [jim freeze.o] The 21 Days book is very good for beginners.
+ 90410 [erik solidco] Regards,
| + 90413 [tibbetts acm] Erik,
| + 90416 [surrender_it] wow that's cool and I did not know about it. But it seem stopped at
+ 90434 [mikkel-remov] "Robert Feldt" <feldt@ce.chalmers.se> skrev i en meddelelse
+ 90445 [mvondung gmx] Definitely "Teach yourself Ruby in 21 days" by Mark Slagell, Sams
| 90450 [hal9000 hype] I will second that. Mark's book is excellent.
+ 90464 [cpine hellot] It might be too basic, though.  I haven't worked on it since my son was
  + 90469 [careck circl] It is very basic and I like it that way! Very good work! I hope you do
  | 90489 [cpine hellot] Of course it is!  (It's not the most gorgeous code, though.)  Go to the
  + 90490 [tjk annapoli] I looked at your tutorial today.

^ Marshal format filter? 1.6.8 to 1.8.1
90411 [djberge qwes] I'm in a situation where I may want to have a 1.8.1 client communicate
+ 90414 [khaines enig] I'm kind of curious about that, too, as my current Iowa implementation
+ 90415 [matz ruby-la] Marshal.dump(Marshal.load(STDIN), STDOUT)

^ help with Win32API
90417 [lists zara.6] long getrand()
+ 90444 [ggarramuno a] Without checking in detail, it seems you are on the right track.
+ 90523 [sveit earthl] Unfortunately you have two mistakes. The first simple one is that the
  90569 [lists zara.6] Ah, missed another zero there (251658240 = 0xF000000).

^ BibTeX parser
90420 [dcarrera mat] I have a difficult problem and I need some smart people to give me a hand.
90432 [batsman.geo ] Looks like you're doing the parser by hand... wouldn't it be easier
90436 [dcarrera mat] Yes, because I am a parser-newbie and I don't know better.
+ 90471 [ jupp gmx.de] There are a couple of books. A good one in english is
+ 90480 [batsman.geo ] It's a parser generator similar to YACC (kind of de facto standard) for

^ Re: Dir set different owner ? Solved
90421 [sv-erik remo] `/bin/mount -t smbfs -o uid=#{$user},gid=#{$user},username=#{$user},\

^ Parse Date bug?
90422 [guslist free] [gus@comp Ruby]$ ruby -v
90460 [matz ruby-la] ParseDate is easily fooled by incomplete input.
90580 [gavin refine] I think the point is that it's understandable that it may be fooled.
+ 90584 [markjreed ma] I like the fact that Date provides both an interface that
+ 90585 [austin halos] Yuck. IMO, standard date classes should expect valid dates to be passed.
  90637 [aredridel nb] Sounds like a time for

^ REXML and IOSource
90423 [kapheine hyp] [I posted this earlier but it never showed up. If this is a repeat, I apologize.]

^ Scala programming language
90425 [mikkel-remov] I just discovered the Scala programming language.
+ 90426 [gfb tonesoft] Old news ;-) -- see recent thread "Proposal for programming language of
| 90431 [mikkel-remov] "Gennady" <gfb@tonesoft.com> skrev i en meddelelse
+ 90435 [batsman.geo ] heh everybody's talking about Scala nowadays ;-)
  90470 [robertm spel] (hmm good ole babel fish ...)

^ Re: Debunking misconceptions about Ruby
90427 [intc_ctor ya] Cool.  A good example of how just about any new feature that someone

^ Socket.gethosbyname AgrumentError
90428 [dali insula.] I have upgraded and one of my scripts now dies with ArgumentError while
+ 90453 [tjk annapoli] Seems to work on Debian Sarge Linux.
+ 90463 [nspring cs.w] Dalibor,

^ how to broadcast UDP packets
90437 [vjoel PATH.B] I'm trying to use ruby to immitate some C code that broadcasts UDP
+ 90446 [flori ping.d] Try "0.0.0.0" as host in your server.
| + 90448 [hal9000 hype] Florian,
| | 90452 [flori ping.d] Not only your brain! ;)
| | 90454 [markjreed ma] That's usually called the "factorial" function . . .
| + 90449 [vjoel PATH.B] That's it. Thanks a lot, Florian.
+ 90447 [yanfali best] Have you tried binding to the network broadcast address rather than the

^ scriptroute
90440 [vjoel PATH.B] Just came across YARBA (Yet Another Ruby-Based Application), which

^ 1.8.1 build errors on Sun Sparc
90441 [Bil.Kleb NAS] I couldn't find anything at blade...
90590 [Bil.Kleb NAS] FWIW, I just stuck a "#define CONST84" at the top of ext/tcltklib.c and it

^ Questions on Rite and embedding
90442 [jeremy chaos] I read Matz's "How Ruby Sucks"
90451 [mailinglists] I can only wish that Matz take a look at deepth look at TCL before
90466 [jeremy chaos] IIRC Matz is a self-confessed language nut, so I am sure he has

^ Class.new and inspect
90456 [hal9000 hype] hal@alpha ~/projects/peco $ irb
90457 [matz ruby-la] When inspecting unnamed class, Ruby look around the constants for the

^ Smarty template engine for Ruby - anyone interested?
90458 [ruby hitmedi] There are a lot of HTML-templating systems out there.
90478 [ruby hitmedi] It would have to be full-blown Smarty EXCEPT the implementation would

^ ruby-1.8.1 build failed on HP-UX 10
90462 [Bil.Kleb NAS] I found a Japanese note about this in the developer list,
+ 90897 [Bil.Kleb NAS] FWIW, I just took the -ltinfo out of the ext/curses Makefile and went
+ 90926 [nobu.nokada ] Try the patch in [ruby-dev:22420].

^ Y-Combinator (was: how to broadcast UDP packets)
90467 [jweirich one] I was skimming through the threads in the mail list.  Imagine my
+ 90536 [sdate everes] Thank you very much, Jim.
+ 90633 [flori ping.d] Ah, you're using the anonymous inner classes trick. You can even

^ [ANN] Ruby/Extensions v0.3 released
90472 [gsinclair so] A new version of Ruby/Extensions, a suite of useful methods added to
+ 90502 [hal9000 hype] Gavin,
| 90533 [gsinclair so] Such confusion has certainly occurred to me.  The project is
| + 90551 [ahoward fatt] </snip>
| | 90563 [neoneye adsl] boost
| | 90658 [gsinclair so] Yes, nice one.  That doesn't capture the essense of the project,
| + 90568 [surrender_it] woowoo! playing the nbame game again :)
+ 90516 [transami run] first let me say that i think this is a very admirable project. it provides
| 90532 [gsinclair so] Those methods make sense only in very specific cases.  They assume you
| 90537 [transami run] do you think NilClass' to_a and to_i methods should be removed then?
| 90539 [austin halos] I don't think that's what Gavin said at all. I don't particularly consider
| + 90550 [ahoward fatt] i'm with you austin - that way leads to p*** style debugging sessions!
| + 90555 [transami run] how does one define acceptable? is it not enough that suggestions for such
| + 90560 [msparshatt y] Personally I'd prefer to not even have Nilclass#to_s since it converts a
+ 90586 [gavin refine] May I make the suggestion of adding in some convenience methods for the
  + 90587 [gavin refine] OK, so for some reason I totally missed the Date class in the standard
  + 90601 [flgr ccan.de] I think Time#year, #month, #week and #day could be useful. (#hour and

^ [BEGINNER] Usage of 'super'
90473 [michael guts] I have some experience with programming in other languages, but I'm new
+ 90474 [decoux moulo] Just write it like this
| 90476 [michael guts] That doesn't do the trick (btw: super is different from super()?).
| + 90479 [dblack wobbl] super() explicitly says that you want an empty argument list, whereas
| + 90482 [news-1074866] (r1.rb)
+ 90477 [bob.news gmx] "Michael Weller" <michael@gutschi.de> schrieb im Newsbeitrag
  90481 [michael guts] <code>
  + 90483 [decoux moulo] Well, not really :-))
  | 90487 [michael guts] Huh, I must find out more about this language ;-)
  + 90484 [bob.news gmx] "Michael Weller" <michael@gutschi.de> schrieb im Newsbeitrag
    90486 [michael guts] I had some commented lines before that statement.

^ [Ann] Formation of Atlanta Ruby User Group
90475 [joey joeygib] I'm currently forming the Atlanta Ruby User Group (AtlRUG) and I wanted

^ they used to be the only ones.
90485 [drivehushing] The first worth substitute of all existing men`s remedies!

^ Problems with resolv.rb && Queue/Thread
90488 [jfh cise.ufl] Ruby Versions: 	1.8.0/2003-08-04
90496 [bob.news gmx] "James F. Hranicky" <jfh@cise.ufl.edu> schrieb im Newsbeitrag
90498 [jfh cise.ufl] /usr/local/lib/ruby/1.8/resolv.rb:539:in `delete': undefined method `queue' for 6:Fixnum (NoMethodError)

^ FXRuby: adding child widgets after #run has started
90491 [y.leikind sa] Is there a way in Fox to add widgets after the widget hierarchy has been built and
90494 [lyle users.s] If you add widgets after the program's started, you'll need to call
90520 [y.leikind sa] require "fox"
90546 [lyle knology] The problem is that merely adding an FXScrollWindow to the FXGroupBox
90662 [y.leikind sa] Oh yes, it does, thank you again.

^ puts(derived_from_array)
90493 [Ara.T.Howard] rb_io_puts tests for Array types with rb_check_array_type and handles them

^ Regular Expressions
90495 [rove.monteux] Sorry for posting this one on the list. Anyone has any documentation/URL
+ 90497 [bob.news gmx] "Rove Monteux" <rove.monteux@fluid-rock.com> schrieb im Newsbeitrag
+ 90499 [ahoward fatt] get the oreily regex book.  it's one of their best books.
| 90501 [sroberts uni] I heartily second that. Let me rave about the book! :-)
| 90506 [rove.monteux] Yes, I own the Lex & Yacc book from Oreily, fairly good may say so. Will
+ 90545 [gavin refine] Although not specific to the Ruby language, the JS introduction to
  90572 [michael_s_ca] When posting a long url, give http://www.tinyurl.com/ a try.  That URL for example can also be: http://tinyurl.com/yw7xg

^ $stdout vs. $defout what's the difference?
90500 [google johnw] irb(main):001:0> class O; def write; end; end
90660 [matz ruby-la] What version of Ruby are you using?  $defout is obslete since 1.8.
90676 [google johnw] Ruby 1.6.8

^ [OT] Re: Regular Expressions
90503 [ruby-talk pc] I don't want to whine, but you don't think this signature is a bit much?

^ using open3.rb from a thread
90504 [y.leikind sa] I use  open3 library from non-main threads, and I get the following warning
90511 [vjoel PATH.B] I don't know about open3, but if more than one thread is active when you

^ Why is to_a going to be obsolete?
90505 [patrick.benn] I find it immensely useful when dealing with arrays to be able to
90507 [gfb tonesoft] I was also surprised to learn that Object#to_a is going to be obsolete.
+ 90510 [patrick.benn] Hmmm, thanks, but it's a bit 'non-obvious' to casual Ruby programmers
| + 90512 [gfb tonesoft] I would not call "to_a" very obvious, as compared to, say, "to_array"
| | + 90521 [linse428 stu] Compare it with to_i and to_s.
| | | 90522 [patrick.benn] Exactly...
| | + 90524 [transami run] I hadn't heard of this deprecation. Waht is the reasoning? If x.to_a is going
| |   + 90526 [gfb tonesoft] As far as I understand, only the default to_a (Object#to_a) is becoming
| |   | 90528 [transami run] sarcasm? please don't miss understand me. i was actually being quite sincere,
| |   + 90542 [matz ruby-la] Try Array(x).
| |     + 90543 [patrick.benn] Ah, thanks! I see that it returns the object as-is if it's already an
| |     | 90556 [matz ruby-la] I wanted to reserve "to_a" method for Array-like objects, such as
| |     | + 90557 [patrick.benn] Ok, now that I know about Array.new's behavior, it makes a bit more sense now.   Thanks Matz.
| |     | + 90702 [pbrannan atd] I thought that was the purpose of to_ary()?
| |     |   90712 [gsinclair so] #to_x and #to_xyz are meant to have different semantics (explicit and
| |     + 90570 [danj 3skel.c] But should it not be up to 'x' to decide how it should be represented
| |     + 90571 [danj 3skel.c] My apology, I read a few more messages: to_a will still be the
| |       90626 [matz ruby-la] Right, as long as I understand you correctly.
| + 90534 [mvondung gmx] As one of those who use Ruby casually, I wholeheartedly concur. to_s
|   90535 [markjreed ma] No, because to_a will still exist and will still be the way to get
|   90552 [transami run] ah. thank you mark. that makes this whole subject much more comprehensible.
+ 90514 [vjoel PATH.B] Don't get too fond of it ;)
  + 90517 [gfb tonesoft] It shows only that currently '*' for hashes implemented via to_a, no more.
  + 90576 [dooby d10.ka] I don't think the future is so gloomy :)
    90581 [vjoel PATH.B] Quite right. The example shouldn't have been a hash, since Hash#to_a

^ ruby VMs?
90508 [kgergely mla] Is there a central site/URL/anything about ruby VMs? Can I compile ruby
90509 [kgergely mla] Sorry, ignore my previous mail.

^ detecting default parameters
90513 [ian caliban.] Does anyone know of a way to detect whether default parameters are being
+ 90527 [neoneye adsl] Have you considered using 'nil' as default value?
+ 90529 [intc_ctor ya] I doubt there would be any way to actually implement #default? as you show.
| 90530 [daniel.doel ] #!/usr/bin/ruby
| 90531 [gfb tonesoft] require 'delegate'
+ 90548 [nobu.nokada ] def my_method(*args)
  + 90554 [markjreed ma] def my_method(foo = (default_foo = 'foo'), bar = (default_bar = 'bar'))
  + 90564 [ian caliban.] Aha, very clever!

^ turning a hash into an array
90519 [lists zara.6] hash = Hash[*ary]
+ 90553 [ptkwt aracne] Well this is something I didn't know about till I saw Matz mention it in
+ 90664 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag

^ Racc and JRuby
90525 [dcarrera mat] IIRC, JRuby is a Java implementation of Ruby 1.6.  The Racc web page says that
90558 [batsman.geo ] That's because parsers generated with racc require some runtime

^ RubyGems news?
90559 [ptkwt aracne] After RubyConf2002 some people decided that a package
+ 90573 [danj 3skel.c] Not being familiar with either, what was wrong with raainstall that
+ 90579 [sera fhwang.] You can see the RubyGems documentation at
  90594 [chad chadfow] (reply at the bottom)
  90607 [sera fhwang.] Can you talk about the state of both 1) remote installation and 2)
  90636 [sroberts uni] I second this. The developers docs consist of a single example, but no

^ nuby: determine method passed and determine the receiver that rec eived the method
90561 [botp delmont] Forgive me in adv for asking a newbie question.
90562 [djd15 po.cwr] I don't think you can do this.
90565 [botp delmont] Thank you for asking, sir Dan.
+ 90566 [neoneye adsl] I tried to teach programming to my little bother (13 years old). He
+ 90567 [batsman.geo ] You could simulate that with some meta-programming magic involving
  90646 [botp delmont] I've tried this method on my other son and other students of mine, too (I
  + 90655 [botp delmont] Mauricio FernáÏdez alias batsman [mailto:batsman.geo@yahoo.com] brilliantly
  | 90661 [batsman.geo ] batsman@tux-chan:/tmp$ ruby e.rb
  | + 90663 [botp delmont] Mauricio FernáÏdez [mailto:batsman.geo@yahoo.com] aka batsman humbly replied
  | + 90740 [kapheine hyp] Promise us you will never show this code to anyone who is considering
  |   90834 [botp delmont] I thought it was a simple request ( -that an object know what
  |   90851 [djd15 po.cwr] I think the reason it's not around by default is that it wouldn't
  + 90675 [neoneye adsl] Maybe by showing scary examples of what mess procedure-only code can turn
threads.html
top