126880-129037 subjects 127406-128342

[Update] WWW::Mechanize now works with Ruby 1.8.2
127080 [mneumann@nt ] I've included the neccessary files of the net/ directory, so that
127082 [mneumann@nt ] Sorry, that should be: http://www.ntecs.de/viewcvs/viewcvs/WWW/

1.8.2 - conituations memory leak fixed?
127086 [wilkesjoiner] Is this still an issue with the "official" release?
127103 [decoux@mo lo] Nobody has given, yet, the proof that it exist a memory leak with
127138 [james.cromwe] ...
127143 [decoux@mo lo] This is the proof that the GC is conservative, this does not mean that it
127150 [mneumann@nt ] Sure, but the results might be the same ;-)
127194 [drbrain@se m] I don't see a callcc in there anywhere, so
+ 127221 [mneumann@nt ] Right. But it's the place where the callbacks are invoked. And the callback
| 127275 [drbrain@se m] Due to the way Ruby saves the environment, the problem could be on the
+ 127222 [itsme213@ho ] If it is something other than a memory leak, and if it is locatable :-)
  + 127227 [mneumann@nt ] Hm, there's still another issue. You can't marshal continuations in Ruby.
  + 127258 [james.cromwe] * the total number of GC invocation
    127491 [akr@m1 n. rg] It was not for memory leak.  It was intended to investigate a wrongly
    127495 [decoux@mo lo] perhaps not a good idea
    127620 [akr@m1 n. rg] Yes.  Not for everyone.
    127626 [akr@m1 n. rg] Oops. x86_64, not IA64.

Re: [ANN] Rails 0.9.4: Caching, filters, SQLite3กฤ
127087 [bitserf@gm i] def octet_units(fmt='%.2f')

Time.strftime and UTC
127093 [mcl@an so or] mcl@saluki:~$ ruby -v
127281 [matz@ru y- a] Unlike inspect or to_s, strftime honors underlying strftime(3)

[ANN] RedCloth 3.0.1 -- Humane Text for Ruby
127094 [ruby-talk@wh] RedCloth 3 lumbers along.
+ 127095 [ruby-talk@wh] I keep withholding information.  Sorry.
+ 127242 [Bil.Kleb@NA ] Excellent news.  Thank you.
| 127269 [alex@ve k. n] On the other hand, RedCloth 3 fixes a number of interesting rendering
| 127272 [ruby-talk@wh] Believe me when I say that I am just as vested as you are in wanting this.
+ 127432 [Bil.Kleb@NA ] FWIW, I was running with Ruby's -w tonight and came up with

rinda with other protocols
127101 [jeffm@gh st ] Is it possible to get rinda to work (simply) with protocols other drb?
127102 [drbrain@se m] all of 164 lines.
+ 127125 [sroberts@un ] I'm in the process of adding Rendezvous support (pure ruby) to ruby's
| 127153 [kig@mi fi in] You're my hero, three hurrahs for a bright and well distributed Ruby
+ 127254 [jeffm@gh st ] Not a bad idea except that I need to get other stuff done. The
  127259 [sroberts@un ] Lots of zeroconf support for linux, thought it might involve building

Bad interpreter
127105 [jordi@bu st ] Hey folks. I'm pretty puzzled.
127112 [demerzel@gm ] I have the same problem with my ubuntu installation at home, googling
+ 127119 [alex@ve k. n] Yup, that's what it is in case of Instiki 0.9.2. My fault.
+ 127123 [flgr@cc n. e] I think this issue will be fixed in the next Ruby release when you do
| 127276 [benetsc2000@] It's not a Ruby problem at all. It's a kernel problem. The trailing ^M
| 127278 [flgr@cc n. e] I know what's happening. This can be handled by Ruby in most cases. (The
| 127303 [benetsc2000@] That solves the "bad interpreter" problem nicely, but leaves ruby with a
| 127334 [flgr@cc n. e] Nobu has done a patch for exactly that when I requested this on
+ 127380 [jordi@bu st ] Thanks everyone. I had not touched on the problem until right now, thus

[OT] Preventing Comment Spam: Important notice for wiki and blog owners!
127115 [ryand-ruby@z] Let us all adopt this ASAP and shore up this annoying problem. We

Rubygems, native ruby extensions (and their dependencies)
127116 [johan.nilsso] I'm looking into alternatives for installing my ruby extension library
127120 [jim@we ri hh] I released my first binary gem yesterday.  What I did: I compiled the gem
127470 [johan.nilsso] From what? It might be obvious, but please treat me like a total beginner.
127498 [jim@we ri hh] ...

File naming conventions
127117 [johan.nilsso] having grokked Ruby for a while now I wonder whether there are any specific
+ 127130 [ruby@br an s] I like grouping functionality into one file. There is no reason like in java to have only one class per file. And I often create really small classes for simple tasks, so it would be tedious to have that many files.
| 127309 [johan.nilsso] Well, the main reason would be that user's could simple 'require' what they
+ 127178 [bob.news@gm ] "Johan Nilsson" <johan.nilsson@---.esrange.ssc.se> schrieb im Newsbeitrag
  127186 [BArmstrong@d] Thanks so much for pointing that out.  As OpenVMS Ruby users (using the
  127877 [johan.nilsso] [Sorry for not writing this in a direct reponse to Robert, but my news

Writing test cases/suites
127118 [johan.nilsso] I pretty often use small helper classes for my unit tests; call them simple
127126 [nathaniel@ta] class T < Test::Unit::TestCase
127304 [johan.nilsso] Yes, of course, I wasn't even aware that Ruby supported nested classes
127616 [nobu.nokada@] helper = Module.new do

bug -- resolv.rb dies after Resolv::DNS is unsuccessful
127133 [sroberts@un ] resolv.rb:877 does
127483 [akr@m1 n. rg] Thank you for the report.

Object id
127141 [    v@vs .r ] u@l:~> ruby -v
127161 [matz@ru y- a] -605253404 (0xb7d921c8 is an "address" of the object).
127172 [    v@vs .r ] Ok, it's now clear :-)

gsub and \\\\
127189 [billk@ct .c ] I'm probably being dense, but -
+ 127196 [flgr@cc n. e] ..gsub adds its own layer of escaping. \1 refers to the first match, \2
| + 127195 [flgr@cc n. e] Sorry, that should have been "ab\\cd".gsub(/\\/, "\\\\\\\\") of course.
| + 127206 [billk@ct .c ] Argh!  Thanks....!!  I used to know this... :)
| + 127326 [bob.news@gm ] "Florian Gross" <flgr@ccan.de> schrieb im Newsbeitrag
| + 127376 [    v@vs .r ] Could you please give some more details? I still do not understand
+ 127201 [elathan@ph s] elathan@velka:~> ruby -e 'puts "a\\b"'

[ANN] Text::Reform 0.2
127200 [eule@sp ce c] Proud to announce the first release (0.2) of Text::Reform.

RubyGems feature request
127213 [ jimm@io co ] RubyGems is neato. Thanks to the team for such a wonderful Ruby tool.
+ 127224 [jim@we ri hh] Yep, its on our list too!  Thanks for the feedback.
+ 127277 [discordantus] I second that! I really don't need four different versions of

Ruby Calibre Help
127214 [tsawyer@gm i] I put a job posting up at Rubyforge. Looking for someone to help me

Re: rendezvous support
127220 [sroberts@un ] If you asked the folks who put this together, wouldn't they would help
+ 127229 [bg-rubytalk@] Most likely. :)
+ 127233 [petite.abeil] FWIW...
+ 127235 [bitserf@gm i] On Windows they've a Rendezvous package (for end-users), which

Let's go Ape! Monkey typing]
127247 [john.carter@] No, I'm not trying to make a monkey out of you, there really is a
+ 127270 [tsawyer@gm i] Very interesting article thank you!
+ 127290 [docboobenste] The first thing that came to my mind is Self (
  + 127292 [jamesUNDERBA] Is it like ECAMScript?
  | 127293 [jamesUNDERBA] Um, ECMAScript.
  | 127297 [docboobenste] Err, I don't think that there is much relation between ECMAScript and
  | 127305 [rff_rff@re o] well, ECMASCript does resemble Self in being prototype based
  + 127301 [tsawyer@gm i] On the surface Self is very interesting, but like everything that seesm

exerb / native win32 compilers
127252 [jtrunek@ho m] I have been trying to make exerb work.  I downloaded the windows version of
+ 127257 [lymans@gm il] I think it's now mkexr, but read on...
+ 127613 [snowzone5@ho] that's pretty much where i ended up too...

mysql-ruby installation - extconf.rb:33: uninitialized constant CPP (NameError)
127271 [8904invalid@] I am trying to install mysql-ruby-2.4.4 on my Fedora Core 3 with ruby
+ 127274 [joaopedrosa@] There is a known issue with the latest version of MySQL, because they
+ 127349 [8904invalid@] Thanks guys,
  + 127359 [joaopedrosa@] The line number 33 is not the same line in my extconf.rb. I just
  + 127476 [8904invalid@] THANK YOU SO MUCH.
    127489 [joaopedrosa@] mysql-ruby is supposed to be two times faster than ruby-mysql, at

comp.lang.ruby Google Groups
127273 [tsawyer@gm i] Anyone know how to get fixed-font and indent preservation when replying

App Plugins
127286 [rampant@gm i] Does anyone have an example of a Ruby application which can accept
+ 127298 [halostatue@g] tDiary and FreeRide.
+ 127314 [curt@hi bs c] FreeRIDE is 100% plugin based. It has a reusable plugin framework called
+ 127317 [laurent.sans] In Alexandria (http://alexandria.rubyforge.org), providers are kind of

C extensions using Singleton
127300 [brian@po ke ] Another C extension question for the experts: in a C ruby class, I'm
127311 [decoux@mo lo] Add this
127365 [brian@po ke ] So just for clarity's sake:  using rb_include_module skips the
127368 [decoux@mo lo] No, not really
127397 [brian@po ke ] Got it.  Thanks.

Re: [suby-ruby] Your all time desired fundemental Ruby mod
127306 [ryand-ruby@z] I vote against for the same reason as shell PATH values.
127307 [ryand-ruby@z] def self.initialize

Re: Ruby and Databases (was: mysql-ruby installation)
127312 [8904invalid@] Thanks Joao.
+ 127319 [mneumann@nt ] Latest release of my postgres-pr (pure Ruby version) was in 2005. But
+ 127327 [joaopedrosa@] The MySQL change affects many languages and libraries, not only Ruby.
+ 127329 [joaopedrosa@] I almost forgot. Don't worry about the shared hosts, they usually have

[OT] Open Source Licenses against Software Patents
127313 [pit@ca it in] Applying for a new RubyForge project is harder than I thought :-), cause I have
+ 127332 [cyclists@nc ] Nothing exactly like that. Several licenses have patent defense clauses,
+ 127338 [nospam@no pa] Software patents have both positive and negative aspects.  Anyone simply
| + 127341 [nospam@no pa] 3.  help protect small companies and startups from being raped by
| | 127383 [snail@ob me ] <nospam@nospam.nospam.nospam.nospam.org> writes
| | 127388 [bg-rubytalk@] It's not just the lifetime that's the problem, it's the "obviousness" of
| + 127343 [sera@fh an .] He wasn't preaching, he was simply stating a preference as to who else
| + 127391 [glenn.parker] I've personally spent a while thinking about pros and cons, and I left a
| + 127420 [zoso@fo on e] Sorry, simply not true.
|   127474 [nospam@no pa] How do you know it is not true?
|   127607 [billk@ct .c ] Careful; by condemning most of those who disagree with you as
|   127631 [glenn.parker] Indeed, the cost of defending oneself in a patent lawsuit is, on
+ 127344 [sroberts@un ] That might be most of the companies in the world with more than a dozen
+ 127458 [dido.sevilla] This makes any such prospective license discriminatory, and hence not
  127703 [pit@ca it in] Thanks everybody for answering. It was an interesting read. I'll think about

Confused about variable "declarations"
127316 [graham@ro kc] "Note that we didn't have to declare the variable 'result'; it sprang into
+ 127320 [peter@se an ] A variable will 'spring into existence' when you assign to it but not
| 127321 [peter@se an ] typo, should be plain
| 127324 [graham@ro kc] No worries, and thanks, but I think that the problem was that offset is
| 127371 [discordantus] A short explanation: Blocks have a sort of "leaky scope", where
| 127373 [bob.news@gm ] "Mark Hubbart" <discordantus@gmail.com> schrieb im Newsbeitrag
| + 127379 [kig@mi fi in] x = 10
| | 127390 [vanweerd@gm ] I'm quite fond of this behaviour. It works nicely in the "optparse" library.
| | 127393 [kig@mi fi in] My main squabble with that is that there is no explicit assignment
| + 127387 [vanweerd@gm ] I'm was quite fond of "leaky" since I didn't have a good word for it
| + 127392 [craig.m.mora] How about "permeable" blocks?  ;^)
| | 127405 [discordantus] Hey! I like that. It reminds me of highschool biology class, and
| + 127403 [discordantus] It wasn't meant to, though I now see why one might take it that way. I
|   + 127471 [bob.news@gm ] "Mark Hubbart" <discordantus@gmail.com> schrieb im Newsbeitrag
|   | 127575 [discordantus] lol! point conceded :)
|   | 127678 [bob.news@gm ] "Mark Hubbart" <discordantus@gmail.com> schrieb im Newsbeitrag
|   + 127508 [rhkramer@fa ] But a leaky sieve or funnel is also defective--imagine a sieve with some
+ 127322 [jim@we ri hh] You didn't show the complete listing, so I am guessing here.  offset does
+ 127328 [bob.news@gm ] "Graham Nicholls" <graham @rockcons.co.uk> schrieb im Newsbeitrag

Umlauts in source code
127318 [lists@be tr ] on my Debian Linux this problem doesn't appear. Yet, it is
127336 [matz@ru y- a] I think the difference is the default KCODE value in the compile time
127375 [lists@be tr ] Ah, yes! As I noiticed in the meantime, SuSE sets $KCODE by
127693 [lists@be tr ] I would like to propose a solution similar to that in Python
127694 [decoux@mo lo] See [ruby-core:4192]
127707 [lists@be tr ] Ah, thanks!

[SUMMARY] Animal Quiz (#15)
127345 [james@gr yp ] single board Z80 computer using a FORTH-like language to program it.

[ANN] Lafcadio 0.7.0, 0.6.1: Excessively Clever Query Caching
127346 [sera@fh an .] I've just released the newest dev release of Lafcadio, 0.7.0, and the
127347 [shanko_date@] Hey Francis,
127348 [sera@fh an .] Quite. But seeing as I'm pretty unschooled in DB theory in general,
127352 [shanko_date@] Well, of course ! My bad: I am using our internal
127702 [sera@fh an .] Intriguing stuff. Once you've set this up in MS SQL 2k, what
127713 [shanko_date@] Umm .... mantaining the indexes comes to mind. I don't
127851 [sera@fh an .] So are you saying that the data came naturally partitioned, and you

Re: Best ways to accelerate Ruby's popularity [OT]
127350 [bg-rubytalk@] If the messages bombarding my junk-mail-inbox, the ads I see constantly
127384 [snail@ob me ] <bg-rubytalk@infofiend.com> writes
127411 [sastph@sa .c] I've heard of "off-topic" before, but jeez, guys, go take a shower or

Proposed ruby website redesign (link to mockup by Why)
127354 [nospam@no pa] What are the odds of this redesign happening to www.ruby-lang.org?
+ 127356 [braempje@ne ] I read it some hours ago and I'm definitely pro. If practically possible - I
+ 127374 [myfirstname@] It's nice, absolutely! Thumbs up!
+ 127377 [jordi@bu st ] Mockup looks great! As long as it works relatively well[1] on most
+ 127381 [discordantus] Don't know if it's proper for ruby-lang, but it would be great for,

Yet another gsub question.
127355 [matt_smith@b] Greetings All,
+ 127358 [james@gr yp ] \ has special meaning in a regex and thus, needs escaping (just like it
| 127363 [matt_smith@b] # data.gsub!(/\"/,'*')
| 127367 [james@gr yp ] Yes, that was me being sloppy.  I didn't notice your use of p() to
+ 127361 [decoux@mo lo] This is not a problem with #gsub but a problem with #inspect
  127366 [matt_smith@b] p data

server connection
127362 [barry@an le ] I'm trying to learn some basic networking and I've tried to run the
127475 [ruby@br an s] Maybe you are opening up a TCPServer that tries to listen on port 80 or some other port that is already in usage.
127480 [    v@vs .r ] netstat -a
127548 [barry@an le ] Thank you Brian and S&G,
127589 [rasputnik@he] You're trying to *listen* on port 80 here. If something else is already

Microsoft Visual C++ Runtime Library
127372 [feshipley@gm] I am receiving a dialog box with the above title and messages of
127402 [brian@po ke ] First thing I would do is upgrade to ruby 1.8.2.  I'm assuming your

Re: trouble with ruby_options() on win32 and ruby 1.8.2
127378 [eero.saynatk] Hm, strange. I did just quickly read it, maybe it's simply confusingly

[OT]: Re: Google Groups and My New Address
127382 [eero.saynatk] You can't 'set' the whitespace preservation when you're writing the post.

Add comments to static web pages ?
127386 [itsme213@ho ] I have a web of static pages, and would like to allow adding comments at the
+ 127395 [nospam@no pa] How about Instiki?  If it doesn't already, perhaps it can be modified to
+ 127398 [aredridel@gm] Iff the pages are XHTML, it should be really easy to parse them with
| 127401 [rampant@gm i] How do you get Ruby to phrase the file if the URL is
+ 127399 [vanweerd@gm ] Do you want to add anything to the static pages, or do it all
| 127448 [itsme213@ho ] I can add to the static pages, as I generate them statically from Ruby.
+ 127400 [rampant@gm i] I don't know how to do it in Ruby (I'm just just starting) but you can
+ 127413 [eric@af ik u] Seems this would be a good use of an Apache output filter. I don't think

Possible proposal for ruby.org domain
127394 [nospam@no pa] Perhaps we can offer to keep a prominent link on the future www.ruby.org
127408 [bg-rubytalk@] Good idea, we're already discussing the idea in the "Ways to accelerate

Ruby link grammar parses
127396 [docboobenste] Greetings!
+ 127417 [flgr@cc n. e] Moin.
+ 127488 [eule@sp ce c] (In response to news:bb133419050120111494a3780@mail.gmail.com by Claus
  127562 [docboobenste] Thanks Kaspar! Last night I found LinkParser (
  127603 [eule@sp ce c] (In response to news:bb1334190501211020673f4381@mail.gmail.com by Claus
  128771 [eule@sp ce c] After some more hacking, dlding this tgz will give you full access to the
  129158 [docboobenste] Thanks for keeping working on this. Currently my progress with Link
  129239 [eule@sp ce c] (In response to news:bb13341905013110287d1ef43c@mail.gmail.com by Claus
  129252 [docboobenste] Thanks for the offer of help, I'll keep it in mind. I mainly ran into
  129318 [eule@sp ce c] (In response to news:bb1334190502010633d4248fd@mail.gmail.com by Claus