116219-117728 subjects 116616-117229

^ Ruby User Groups (Was Re: Meeting flyer)
116409 [jgb3 email.b] We've got about 6 (give or take) active members, with three more that
+ 116410 [Ara.T.Howard] poison darts and twine.
| 116411 [jgb3 email.b] We'd like the members breathing when they attend the meetings, Ara. ;)
+ 116412 [sera fhwang.] My experience, both with Ruby-NYC and a previous group, is that it's
+ 116414 [gsinclair so] We did well out of immigration last summer.  An Israeli and a German

^ [ANN] win32-sapi 0.1.0
116413 [djberg96 hot] I'm happy to announce the release of win32-sapi 0.1.0.
+ 116418 [botp delmont] I hope win32utils gets rpafied before the year ends.
+ 116449 [joey joeygib] I just downloaded it and followed the instructions in README. Here's
+ 116481 [chadfowler g] Wow, that was fast (I remember you talking about doing this while at RubyConf)!

^ The Challenge of R
116415 [transami run] Here's a coding challenge you.
+ 116429 [rff_rff remo] Interesting to see people playing with array programming in ruby..
| 116467 [transami run] Care to elaborate?
| 116558 [rff_rff remo] maybe on ruby-suby there is space for some debate about it, but notice
| 116572 [transami run] Debate? Don't think so. It's suby-ruby, btw.
+ 116432 [Ara.T.Howard] i did not write it, but narray does all that you want, and more, including
| 116468 [transami run] I did not know NArray worked elementwise. Nice. For numbers at least, that's
| 116500 [Ara.T.Howard] require 'narray'
| 116519 [transami run] Oh, even better. Then what does N stand for? I thought it was Numeric.
+ 116433 [niklas kagi.] Here's my take. I haven't wrapped it up in a nice module, but it solves
  116774 [transami run] Niklas,

^ win32-sapi 0.1.0 correction
116416 [djberg96 hot] SpVoice.new.Speak("Shall we play a game?")

^ "The Ruby Way" are scripts downloadable ?
116421 [yvon.thorava] Hey all !
116423 [hal9000 hype] Laziness is a virtue in computer science...  :)
116431 [yvon.thorava] I do appreciate very much your remark ?;)

^ CVS - "simple" question
116425 [ bchk gmx.de] ...
+ 116426 [joaopedrosa ] May I suggest you download at
| 116427 [ bchk gmx.de] ...
+ 116430 [ml-ruby thep] <https://ccvs.cvshome.org/files/documents/19/231/cvs-1-11-17.zip>
| 116453 [ bchk gmx.de] ...
+ 116752 [tom infoethe] Yours,

^ RUG Residue (Re: Ruby User Groups (Was Re: Meeting flyer))
116435 [jamesUNDERBA] Are there any notes or other tangibles from this discussion?  I'm
116451 [sera fhwang.] Not much, sorry.
116581 [jamesUNDERBA] I would imagine so.  The Phoenix Ruby Users Group has never gained any

^ FOX on MacOS Panther ?
116437 [yvon.thorava] Hey all,
116442 [tamc2 cam.ac] I have been (although I've somehow broken it now).
116445 [yvon.thorava] Wooh ! Thanks a lot, looks great ?;)

^ Alternatives to SWIG ?
116443 [asbjoert ifi] In my master thesis I am working on a Ruby interface to a library (in c++)
116446 [rff_rff remo] sure, it is called NArray.

^ [nuby] it seems that (?!...) doesn't work for me
116454 [lthiry skyne] I'd like to make some kind of substitution like in a shell: "${var}".
+ 116471 [decoux moulo] ...
| 116477 [lthiry skyne] That's right, that's probably what I want... but how do I use oniguruma?
| 116483 [decoux moulo] ...
+ 116541 [fgp phlo.org] puts
  116682 [lthiry skyne] re = /(^|[^\\]|(\\\\)+)\$\{(([^\}\\]|(\\.))*)\}/

^ Oniguruma bugs?
116455 [ bchk gmx.de] ...
116466 [decoux moulo] ...

^ [BUG] FileUtils doesn't copy binary files correctly on win32
116469 [mulperi cc.h] nmake install DESTDIR=c:\ruby
116578 [mulperi cc.h] Binary file copying start working ok, if I revert recent io.c changes i.e.
116580 [eban os.rim.] Thanks. Fixed it.
116582 [mulperi cc.h] Wow, that was fast 8).  Yes the latest cvs has a working install again.

^ Gems Install Problem
116474 [jim freeze.o] I just installed gems and after it 'successfully' installed,
+ 116475 [jim freeze.o] Attempting remote installation of 'rubyonrails'
| + 116480 [jim freeze.o] More problems still... :)
| | 116490 [chadfowler g] Quickly looking at this, it appears that sources-0.0.1.gem is not
| + 116485 [chadfowler g] Jim, you're reporting 3 errors I haven't seen before.  If you haven't
|   116487 [rich infoeth] gem list
|   116491 [jim freeze.o] This is a fresh install mind you (which is questionable since it had
|   116513 [chadfowler g] Yea, it's part of the install.  "sources" is the list of remote
+ 118470 [patrick hexa] I got this problem too.  I think I found the fix.  I dug around in the
  118490 [chadfowler g] Thanks, Patrick!  It's applied.

^ DBI Mysql storing DBI:binary, trouble with character 26
116476 [jhauss gfi.f] ...

^ Sharing variables across methods
116478 [lists zara.6] When writing short scripts (several pages long) I often want to share
+ 116482 [mkhan lextra] How about to keep all your methods in a module or class.
| 116508 [lists zara.6] I should stress that this is for *short* scripts :-) I don't want to
+ 116484 [jgb3 email.b] For really short scripts, I usually pass the "globals" as parameters to
| 116489 [WBrown isoft] David,
| 116509 [lists zara.6] Sigh. Now why didn't I think of that? My mind is so used to thinking
+ 116498 [Ara.T.Howard] what you are saying is that you want something that shares state and methods -
+ 116597 [bob.news gmx] "David Garamond" <lists@zara.6.isreserved.com> schrieb im Newsbeitrag

^ [ FORUM ] Feature requested
116492 [mkhan lextra] Is it possible to unsubscribe from a thread?
116502 [halostatue g] Are you referring to ruby-forum or ruby-talk?
116506 [mkhan lextra] ruby-talk
116520 [halostatue g] Then, no, not really.
116523 [mkhan lextra] But problem is, after 1 or 2 months I might end up with 100+ filters in
+ 116524 [halostatue g] That's the way email works, though :/
+ 116530 [batkins57 gm] So just use the newsgroup interface at groups.google.com.
  116532 [mkhan lextra] How about this?
  116538 [halostatue g] (1) this would massively increase the workload of the mailing list
  116543 [mkhan lextra] I agree with you on both issue you pointed out.
  116618 [jim weirichh] This is a valid concern, for ruby-talk has become a virtual torrent of

^ ruby-mysql issues and persistence
116493 [dilinger vox] I have some code that triggers a race somewhere in mysql.  Basically, what
+ 116551 [fgp phlo.org] I don't think its a good idea to use the same database connection from
| 116557 [dilinger vox] Right; the problem is, how does one handle that, post-fork?  I don't think
+ 117013 [Heikki.Tuuri] ...

^ [nuby] shell-like substitution in a string
116494 [lthiry skyne] env = {
+ 116499 [eeklund gmai] What's the full context of this?
| 116504 [WBrown isoft] Lionel,
| 116683 [lthiry skyne] env = {
+ 116517 [Ara.T.Howard] i don't think you need to worry about that since 'var}weird' is not a valid
| 116684 [lthiry skyne] Pertinent remark, noted.
+ 116598 [eule space.c] ...
  116686 [lthiry skyne] Thanks for the help, but I can already handle the recursive expansion of

^ Re: Gems Install Problemj
116496 [jim freeze.o] /disk2/jfn/usr/local/lib/ruby/gems
116505 [chadfowler g] It's part of the rubygems installer.  So, it should be in the
116511 [jim freeze.o] That was the problem. It was owned by root.
116527 [chadfowler g] At this point, the sources gem was actually _built_ by the installer

^ strange error when running "ruby -version"
116512 [zuk_ini yaho] I used the latest windows installer from
+ 116514 [decoux moulo] ...
+ 116515 [chadfowler g] It should be: ruby -v (not ruby -version).

^ Installation from source (unclear instructions)
116518 [bg-rubytalk ] It's been a long time since I tried to install Ruby from source, but my
116533 [NOSPAM keepy] basil ruby-1.8.2 $ emerge -p ruby
116535 [bg-rubytalk ] root@nightcrawler# qpkg -l ruby |grep '/bin/'
116544 [NOSPAM keepy] ls -ls /usr/bin/ri
116549 [bg-rubytalk ] # ls -l /usr/bin/ri
116556 [NOSPAM keepy] Yep.
116561 [bg-rubytalk ] Ok, the latest (unstable) ruby-config 0.3.1 did it.  Thanks.  I still

^ nuby: advice sought on data-slinging script
116521 [rpardee comc] Hey All,
116564 [robo mars.co] You may like to try the ruby-dbi (http://ruby-dbi.rubyforge.org/) for
116690 [rpardee gmai] Thanks very much!  I'll check ruby-dbi out.

^ Re: [QUIZ][SOLUTION] Geodesic Dome Faces (#3)
116525 [WBrown isoft] Wow,
116590 [dennis.ranke] I did this (see

^ Win32-EventLog problem
116528 [joey joeygib] I installed the latest Win32-EventLog the other day and can query my
116645 [djberg96 hot] This bug has been identified and fixed in CVS.  I'll post a new
116647 [joey joeygib] Excellent! I just pulled the files from CVS, built and tested. I'm

^ coredump when installing rubygems on AIX 5.2
116545 [medalliance ] I'm in the process of getting everything I need for Ruby setup on an
116570 [chadfowler g] I haven't seen this one, but it looks like it dumps core after all of
116716 [medalliance ] Thanks for the heads up Chad.  I'll try to see if I can track something

^ using the RSS standard lib
116546 [sera fhwang.] Is anybody out there using the RSS standard lib that comes with Ruby
+ 116548 [halostatue g] It's worse when you try to read the source, since it's not conformant
+ 116552 [ruby-talk pc] require 'rss/1.0'
| + 116555 [sera fhwang.] I guess I just saw no RDoc over at the Ruby-doc.org standard lib page (
| | + 116560 [ruby-talk pc] Yeah, the documentation of the standard libraries is lacking for many
| | + 116576 [kou cozmixng] In <B66E08DC-1D65-11D9-9029-000A95DBF456@fhwang.net>
| | | 116589 [rff_rff remo] while we're talking about RSS.. it is planed to ever support ATOM or is
| | | 116842 [kou cozmixng] In <fQqbd.40229$H11.1367319@twister1.libero.it>
| | | 116849 [rff_rff remo] well, a friend of mine is the author of atom.NET..
| | + 116586 [jamesUNDERBA] Might it not be better to ensure that such documentation is readily
| + 119999 [sroberts uni] That tutorial doesn't hold for ruby1.8. Ruby1.8 doesn't have
+ 116554 [dave pragpro] I'm using it every day to create RSS feeds from non RSS sources (such
  + 116568 [nathaniel ta] Question for the group, while we're on the topic: I've just started
  | 116577 [kou cozmixng] In <777793C4-1D80-11D9-8143-000A95CD7A8E@talbott.ws>
  | 116729 [nathaniel ta] I'm glad to hear the indentation is changing, but the multiple newlines
  | 116841 [kou cozmixng] In <9C48C25C-1EAE-11D9-8143-000A95CD7A8E@talbott.ws>
  + 116620 [Bill_member ] ...

^ GC and low file performance when large array is allocated
116550 [geert.fannes] I noticed that ruby's disc performance drops drastically when a large
+ 116559 [ksibilev bel] If you run Unix, maybe you should consider using mmap module?
+ 116571 [cmills frees] Here is the Shark (profiler) output for allocateBefore=false, with
+ 116584 [geert.fannes] I played some more with the test program and apparently it has nothing
  116585 [Ruben.Vandeg] My guess is that in the loop 100000.times{|i|t="t"}, the garbage
  116588 [Ruben.Vandeg] Sorry, disregard this. I somehow messed up the timings from some

^ Internationalizing ri (was Re: documentation as source )
116587 [jamesUNDERBA] (Emphasis mine.)
116629 [dave pragpro] No. Those APIs are subject to change. At some point I'm going to add

^ Oniguruma Part 2
116591 [ bchk gmx.de] ...
116592 [decoux moulo] ...
116593 [ bchk gmx.de] ...
+ 116594 [decoux moulo] ...
+ 116639 [markus reali] IIRC, \010 if backspace, not bell.  That would make 'a' (attention?) the
  116698 [ bchk gmx.de] ...
  116737 [markus reali] I know how octal works, thanks.
  116945 [ bchk gmx.de] ...

^ HTML filtering in weblog/BBS software
116602 [alex verk.in] I am writing some sort of BBS in Ruby (on Rails). I downloaded and
+ 116621 [halostatue g] There is some work that I'm doing with Ruwiki that is currently in CVS
+ 116625 [flgr ccan.de] Moin!
  116633 [batsman.geo ] IIRC RDoc doesn't allow raw HTML by design.

^ To all people writing BBS on Rails: let's join forces
116608 [alex verk.in] I've noticed lately that there are at least four different projects
+ 116609 [Mail Jonas-H] i am a ruby novice/noobie,
| 116610 [eule space.c] So much sensibility on one spot, it might just implode and create a kind
| 116611 [Mail Jonas-H] I thought about adding a part about "what is best" - but left it out,
+ 116613 [usenet andre] I'm one of the people who are building a forum with Rails.
| 116614 [rff_rff remo] I agree on avoiding bbcode, user icons and smlies.. but a simple markup
| 116622 [usenet andre] This might be is difficult to combine with usenet style quoting, and I
| + 116624 [curt hibbs.c] You should consider bluecloth, since it is a formatter for standard
| + 116627 [flgr ccan.de] What about using Markdown via BlueCloth? It looks a lot like what is
| + 116640 [rff_rff remo] well, than it sounds very reasonable. I wish  to see the sw asap :)
|   + 116641 [dross code-e] Until rails can work on the system level I can't use or recommend it.
|   | 116642 [dross code-e] You weren't very helpful a month and half ago when I tried asking you where
|   | 116643 [dross code-e] eivind oh eivind, you are making more out of it than it already is. ;)
|   | 116644 [dross code-e] Get off my tail, okiday?
|   + 116646 [the_pinestra] What about Markdown
|     116709 [rff_rff remo] at this point, if the author agrees, I think that it could be better to
|     116714 [usenet andre] This will of course be possible.
+ 116623 [dross code-e] No thanks, I'm writing one in a framework without rails. The main
| + 116626 [david loudth] This is completely false. I've instructed Mauricio on how I've done the
| | + 116635 [eeklund gmai] Please accept my apologies on behalf of the RPA team (which David Ross
| | + 116687 [aredridel gm] It's on our todo lists -- It's just a particularly hard thing to
| |   116692 [dross code-e] My words this morning were short and rash. They were not to be
| + 116634 [bitserf gmai] Everyone chooses what works for them, and, this thread was originally
|   116636 [rasputnik he] Look, guys, David is a troll, ok?
+ 116896 [alex verk.in] As a result of this proclamation, we managed to merge three BBS projects

^ OT: Re: To all people writing BBS on Rails: let's join forces
116612 [eule space.c] I see you have taken me seriously, which is probably more than I

^ Rounding to X digits
116615 [eric bigsky.] This seems like such a basic question yet I can't really find the answer
+ 116617 [james graypr] sprintf "%.2f", 39.456789		# => 39.46
| 116628 [eric bigsky.] *Slaps hand on head*
| 116631 [bob.news gmx] "Eric Anderson" <eric@afaik.us> schrieb im Newsbeitrag
| 116785 [gotoken notw] And there is an algorithmic difference: many implementation of
| + 116813 [markus reali] Both are (IIRC) ISO 31-0 conformant, but one uses ISO 31-0 B.3 rule A
| | + 116828 [transami run] Apparently the idea of even vs. odd rounding was to help prevent "inflational"
| | | 116840 [markus reali] Yes, that's exactly why it's there.  But there are several reasons
| | | 116936 [bob.news gmx] "Markus" <markus@reality.com> schrieb im Newsbeitrag
| | + 116897 [gotoken notw] Thanks Markus.  I had misunderstood long time.
| + 116935 [bob.news gmx] "GOTO Kentaro" <gotoken@notwork.org> schrieb im Newsbeitrag
|   116957 [gavin refine] [Slim:~] gavinkis% ruby -e "p Array.new(10000).collect{
|   116958 [bob.news gmx] "Gavin Kistner" <gavin@refinery.com> schrieb im Newsbeitrag
|   116959 [gavin refine] Obviously! :)
+ 116619 [eric bigsky.] To follow up my own post. If there isn't a function like what I am
+ 116662 [markus reali] class Numeric
  + 116685 [Gavin.Kistne] Because I hate the sprintf solution, I added my own (probably much slower) hand-rolled version. (The algorithm is taken from the ECMAScript specification.)
  + 116739 [transami run] def round_to_nearest( n=0.01 )
    + 116747 [markus reali] Interesting.   I hope to heck you used a script to find that edge
    + 116751 [Ara.T.Howard] ...
    | 116776 [transami run] Sorry, I don't follow. Isn't that answer incorrect? The mid-point should round up, not down. At least, that's what I was taught in school.
    | 116786 [Ara.T.Howard] ...
    | 116793 [transami run] Strange. Hope you can read this!
    + 116762 [markus reali] irb(main):033:0> printf "%20.15f",(134.45 * (1.0/0.1))
      116777 [transami run] That isn't too... er... reassuring.
      + 116781 [markus reali] But this is truncate, not round.
      + 116782 [hal9000 hype] If you can work out how to store an infinite number of bits in a finite