100058-100586

99879-120905 subjects 100299-101528

^ nasty regexp problem
100058 [sera fhwang.] I discovered a strange bug in Lafcadio which I'm trying to work out,
+ 100062 [assaph avaya] irb(main):018:0> rex2 = /(?!\\)'/
| 100063 [assaph avaya] Should be : rex2 = /(?![^\\])'/
+ 100064 [mike ratdog.] Well you can be crude and say
+ 100078 [neoneye adsl] irb(main):001:0> "''\\\\'z\\'\\z''".gsub(/ ( (?: [^\\] | \\ . )*? ) ' /x, '\1\'\'')
| 100107 [dblack wobbl] The ' before the first z isn't supposed to get doubled though, is it?
| 100185 [neoneye adsl] The behavier is correct.. because its an escaped slash right before it.
+ 100181 [eule space.c] I have nothing to contribute to your problem, except that it looks
+ 100198 [ahoward fatt] ~ > cat a.rb
  100428 [sera fhwang.] Mike's recommendation ended up satisfying all my test cases, so that's

^ Re: Why is Ruby NOT tail recursive?
100068 [john.carter ] It would be a nice to have, but on the other hand, converting a tail
100094 [Stephan.Kaem] That question might be a candidate for the FAQ, wouldn't it?

^ Re: embedding?
100081 [laza mailina] Sure,

^ Re: [ANN] FreeRIDE 0.6.0-1 -- a Windows Update
100082 [laza mailina] I have just downloaded FreeRIDE, and it could not debug. I tried a console
100122 [curt hibbs.c] Can you be more specific about what happens (especially with the simpler

^ Re: Ruby Installer for Windows: use of Win32OLE bug causes crash
100087 [jos catnook.] Good news: I can no longer reproduce this using yesterday's CVS -HEAD. The
100116 [sdate everes] you

^ How to make combinations of an array to produce all possible expressions?
100093 [erik terpnet] I have an array 'conds', which contains some sub-expressions for an
+ 100098 [bob.news gmx] "Erik Terpstra" <erik@terpnet.nl> schrieb im Newsbeitrag
+ 100101 [harryo qiqso] There's no method I know of, but this seems to work (note that I've explicitly avoided generating an empty set, because you didn't have one in your example, but it should probably be included if we wanted to call this method "subsets" as I have) ...
| 100104 [bob.news gmx] "Harry Ohlsen" <harryo@qiqsolutions.com> schrieb im Newsbeitrag
| 100215 [harryo qiqso] Coming from you, that's a much appreciated compliment!
| 100258 [bob.news gmx] "Harry Ohlsen" <harryo@qiqsolutions.com> schrieb im Newsbeitrag
| + 100263 [linse428 stu] irb(main):013:0> def powerset( x )
| + 100485 [harryo qiqso] The first version in your latest e-mail didn't work for me.  It just gave me the complete array every time.
|   100490 [bob.news gmx] "Harry Ohlsen" <harryo@qiqsolutions.com> schrieb im Newsbeitrag
+ 100124 [kristof vlee] I have found at least to ways.
+ 100125 [Ruben.Vandeg] Something i made some weeks ago seems related to this. In my case, i

^ Re: exerb and autoload 'foo'
100097 [nobu.nokada ] Exerb seems not to be supporting autoload yet.

^ Re: any ideas for a shell based on Ruby?
100100 [nobu.nokada ] $ irb -r pathname
100123 [segphault sb] I was thinking about a ruby os shell last night, and wondering if anybody

^ Re: DBI, OCI8 and the 'tables' method
100119 [kubo jiubao.] Sorry too late to reply.
100120 [mneumann nte] Should I do the same in DBD::Oracle (OCI7 module)?
100134 [kubo jiubao.] Yes.

^ C++ namespaces in Ruby
100121 [martinelzen ] Recently someone pointed out that in his opinion there was just one thing
100131 [bob.news gmx] "Martin Elzen" <martinelzen@hotmail.com> schrieb im Newsbeitrag
100154 [martinelzen ] < I beg to differ: first, your statement isn't true (if I understood you

^ Arachno IDE problems on Win98 - Was: are there any ruby IDEs?
100132 [K_Proctor sy] Same situation here. I'm also running Win98SE and receive the same error

^ Ruby's Best -- Please Help
100136 [curt hibbs.c] On the "Why Ruby?" project wiki (http://whyruby.rubyforge.org/), I am trying
100200 [surrender_it] I'm going to bed in two minutes, so I have to beg your pardon for not
100226 [curt hibbs.c] Then, if you don't mind adding them tomorrow, please -- that would be great.

^ First Presentation Posted to Why Ruby!
100137 [curt hibbs.c] Assaph Mehr just posted the first presentation to Why Ruby
+ 100247 [burtdav hotm] Top work, contributers: Why Ruby! and the related more unified front thread
| 100249 [assaph avaya] ehr
+ 100329 [surrender_it] a little thing: could the wiki be switched to a ruby one before it
  100365 [burtdav hotm] And a Ruby web server?
  + 100370 [jamesUNDERBA] Well, that would be nice, but there is something to be said for eating
  + 100381 [surrender_it] well, RAA runs on webrick and works fine :)
    100392 [burtdav hotm] See -- Ruby was even great back at version 1.6.7!

^ [OT] Wedding Bells ... (was RE: REXML bug?)
100139 [Austin.Ziegl] Congratulations, Sean!

^ Re: REXML, pretty print + transitive and CDATA nodes
100146 [ser germane-] I've added this to the bug repository as bug #23

^ Ruby productivity question
100147 [itsme213 hot] After a moderate amount of quite enjoyable time working with Ruby, I find
100150 [dave pragpro] Interesting question, but I think it contains some assumptions that
+ 100160 [itsme213 hot] That's a great experience-based example, from arguably one of the best
| 100161 [dave pragpro] My Java productivity is roughly comparable, in terms on lines of code.
+ 100162 [bob.news gmx] "Dave Thomas" <dave@pragprog.com> schrieb im Newsbeitrag
+ 100476 [nick activeh] What is the general philosophy around logging in ruby? I haven't heard

^ Re: [ANN] Ruby Installer for Windows 1.8.1-13 final
100151 [curt hibbs.c] Sorry for the delay in responding, this got buried in my inbox and I only
+ 100175 [vjoel PATH.B] Sorry, I misunderstood the intent of the windows installer. It's sync-ed
+ 100176 [vjoel PATH.B] Argh, argh, argh. I used single quotes in cmd.exe. I think the > char

^ GUI .. Ruby .. Suggesstion
100155 [mkhan lextra] charset="iso-8859-1"
+ 100157 [cribbsj oakw] FXRuby.   http://www.fxruby.org
+ 100163 [joaopedrosa ] But you may need to build your GUI framework to take
+ 100259 [burtdav hotm] ...
+ 100265 [Richard_Dale] ...

^ Second Presentation Posted to Why Ruby!
100164 [curt hibbs.c] Michael Neumann just posted the second presentation to Why Ruby

^ Open4::popen4
100167 [Ara.T.Howard] blatant rip-off of Open3::popen3 - does anyone think something like this might
100228 [nobu.nokada ] wait(2) can't wait a grand child process.  It doesn't seem so
100238 [ahoward fatt] what i had wanted was

^ Telnet and out-of-band responses
100170 [probertm nor] Has anyone had experience about handling out-of-band responses from within

^ Presenting a more unified front (Ruby webring?)
100172 [ptkwt aracne] Curt,
+ 100178 [ssteiner mac] I _am_ a Ruby newbie and am experiencing some major disorientation not
| 100184 [ahoward fatt] ===============================================================================
| 100202 [ssteiner mac] Yes, raa is OK but the CPAN/cpan program integration with dependency
+ 100183 [curt hibbs.c] I agree with you completely. I have (perhaps unconciously) been trying to
| 100187 [hal9000 hype] at least.
| + 100191 [chadfowler g] I'm not David Black, but I host rubycentral.org on my server... :)
| + 100195 [khaines enig] I've been thinking about starting to put together a page like this recently
| | 100230 [curt hibbs.c] That would be great. We really need a starting point, otherwise we could go
| + 100203 [dblack wobbl] I think the notion of a primary site should be used very sparingly.
+ 100188 [jamesUNDERBA] True, but, then again, it's the Web.
  + 100189 [tom infoethe] +1 on that.  The more the merrier, I say...
  + 100196 [vjoel PATH.B] I don't think it's inherently a problem. One thing that would help is to
  + 100224 [gsinclair so] there
    100231 [curt hibbs.c] This is a very good document for getting people started with Ruby. I would

^ pretty exceptions
100177 [Ara.T.Howard] hopefully i'm not missing anything obvious here, but doesn't i make sense that

^ [ANN] lockfile-0.2.0
100180 [Ara.T.Howard] URLS

^ C++ Exception compatibility idea
100182 [im_not_givin] I have a dream... no, it doesn't involve little black kids and
100186 [hal9000 hype] I think this *might* be accomplished with some kind of add-on wrapper

^ [ANN] mahoro-0.1
100192 [shu rufuran.] Mahoro is a (very) simple and straightforward interface to the libmagic
+ 100342 [shu rufuran.] Lo-lee-ta: the tip of the tongue taking a trip of three
+ 100444 [ian caliban.] Do you know of any significant differences between your library and this
  100448 [shu rufuran.] Oops, I didn't know that existed (I guess I wasn't very thorough in my
  100458 [ian caliban.] Thanks for the information. I was going to write an extension to do this

^ [RCR] subclasses of string as hash keys
100193 [matti_g gmx.] Current behaviour in Ruby is irritating.
+ 100234 [nobu.nokada ] hash[ A.new('x').freeze ] = nil
| + 100253 [matti_g gmx.] Oh yes, didn't know that.
| + 100254 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
|   100256 [matti_g gmx.] If you have some string representing something sepcial, it's more OOP
|   100261 [bob.news gmx] "Matthias Georgi" <matti_g@gmx.de> schrieb im Newsbeitrag
|   100264 [matti_g gmx.] e.g. a class which represents the an object id, the object id have to be
|   100274 [bob.news gmx] "Matthias Georgi" <matti_g@gmx.de> schrieb im Newsbeitrag
|   100276 [matti_g gmx.] I don't think so.
|   + 100280 [bob.news gmx] "Matthias Georgi" <matti_g@gmx.de> schrieb im Newsbeitrag
|   | 100320 [matti_g gmx.] OK, I went wrong. Forget about the literals. That's not solving the
|   + 100330 [surrender_it] remove namespace and name it module.
+ 100290 [matz ruby-la] It's a bug.  It should be A.  Thank you.

^ Re: The quest for opensource database...
100194 [rickc dallas] You might also look at what was the SAP database that MySQL took over

^ Iowa with FCGI, followup
100204 [khaines enig] Hey all, some May snow put me offline for a while yesterday, and so I spent

^ Rite implementation in C++? (Objective C?)
100206 [ptkwt aracne] I've been thinking lately that it might be easier to do a Ruby
+ 100210 [matti_g gmx.] But you have to ship also the Objective-C runtime lib, so you have either
+ 100221 [jim freeze.o] Matz has also said that you shouldn't write an OO language in an OO
| + 100223 [jm transact.] Why not cut out the middle man and write a gcc compiler for ruby? Just
| + 100227 [michael_s_ca] Why not?
|   + 100229 [hal9000 hype] I think it had something to do with the mismatch between the languages.
|   | 100240 [ahoward fatt] 'IANYM'.gsub /.*/, ??
|   | 100241 [ahoward fatt] forgive the self reply - just got it - too funny.
|   | 100244 [hal9000 hype] Heh, I stole it from someone. Forget who. Do a search.
|   + 100334 [ptkwt aracne] Maybe because the differences between the two object systems can get to be
|     100361 [jim freeze.o] Yes
+ 100268 [jfh cise.ufl] I brought this up a long time ago, but I don't know if I brought it up well.
  + 100282 [sroberts cer] Check out Ruby/cocoa, it sounds like what you want.
  + 100313 [aredridel nb] Have you tried RIGS or ruby-cocoa?
    100315 [jfh cise.ufl] No, but those don't affect the way the backend runs, right? I'm thinking
    100317 [aredridel nb] Well, things written in ObjC appear as Ruby classes -- it becomes a

^ [ANN] nfsstore-0.0.0
100211 [Ara.T.Howard] URLS

^ readline woes on OS X
100212 [ssteiner mac] I'm trying to install Ruby's readline module on OS X and am having the
+ 100214 [shu rufuran.] It looks like that it adds CONFIG['libdir'] to -L.
| 100219 [ssteiner mac] Unfortunately, I often need the most recent builds of things and they
+ 100222 [discord mac.] Have you installed a copy of readline on your system? There are two
+ 100475 [nick activeh] I downloaded a precompiled bundle from a web site and dropped it into my
  100499 [ssteiner mac] I didn't try that since the page said it was for OS X 10.2.x and I'm on
  + 100507 [roberto REMO] [courtesy cc of this posting sent to cited author via email]
  + 100586 [nick activeh] I'm on 10.3, but I just went and used it anyhow.  So far so good.

^ Bug in Marshal?
100213 [mhm26 drexel] # Deep copy
+ 100237 [ahoward fatt] i think this actually makes sense if you consider that a Time object is only
+ 100246 [matz ruby-la] Marshal did not preserve gmt information.  They are same time, same
  + 100283 [Austin.Ziegl] Not as bad as all that; I think that it's an artifact of how Time is
  + 100436 [akr m17n.org] I found that this change causes Marshal.load error if GMT time is sent
    100437 [matz ruby-la] 1.8.2 has fix to ignore this bit.

^ Exploratory testing with Ruby
100220 [marick visib] you can use it for exploratory testing of Google's web services
+ 100332 [ptkwt aracne] I just took a quick look and the ideas look very interesting (using irb to
+ 100335 [surrender_it] really interesting, thanks for this.
+ 100347 [flgr ccan.de] That's amazing. Very well looking visuals and the text is very clear and
| 100355 [ptkwt aracne] That would make an interesting article as well.  Write it up.
| 100364 [flgr ccan.de] Heh, thanks. I'll to do that as soon as I've got this in a polished
+ 100356 [ptkwt aracne] One thing you might want to mention...
  100481 [nahi keynaut] Set environment variables like this;
  100483 [ptkwt aracne] That's pretty easy.  Thanks!

^ Another Presentation Posted to Why Ruby!
100232 [curt hibbs.c] Laurent Sansonetti just posted his French language presentation to Why Ruby

^ [OT] .dll / .so (was Re: popen3 on windows)
100233 [dooby d10.ka] Mmm...
100239 [nobu.nokada ] There should be msvcrt-ruby19.dll :-)
100245 [dooby d10.ka] They can use their own version of Ruby.  I find *their* runtime

^ Yet Another Presentation Posted to Why Ruby!
100242 [curt hibbs.c] I just posted Chris Pine's presentation from OSCON in 2003.

^ Anyone have a Ruby presentation to Management?
100243 [curt hibbs.c] I don't want to discourage anyone from posting their presentations to

^ ruby and gnome-canvas
100251 [segphault sb] I have been experimenting with the ruby gnome bindings, and I have found a
+ 100252 [segphault sb] I forgot to mention it in my original message, i've been unable to find
| 100327 [mutoh highwa] AFAIK, there are no bonobo bindings for ruby.
+ 100308 [mneumann nte] I've used it in a little application for a contest. But unluckiliy,
+ 100326 [mutoh highwa] Have you tried Ruby-GNOME2 ?

^ ruby C++ extensions
100255 [quixoticsyco] The recent C++/ruby post has reminded me to say a few words about my
+ 100267 [nobu.nokada ] Indeed.  I'll consider about it.
+ 100535 [pbrannan atd] It's worse than that; if ruby longjmps over the destruction of an

^ Re: 5.000...007.to_s => "5"
100257 [ocean m2.ccs] This thread seems dead though...

^ 13 year old Iraqi girl raped by American Soldiers
100262 [davidp rgv.r] 13 year old Iraqi girl raped by American Soldiers, see attached pictures.

^ range problem
100269 [someone neve] class VU
+ 100271 [dblack wobbl] Should that be > rather than >= ?
+ 100272 [nobu.nokada ] I think it's a bug.

^ Regexp Error?
100273 [bob.news gmx] What's wrong here?
100275 [decoux moulo] * first match : "123-456"
+ 100278 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
| + 100279 [decoux moulo] This is the same explanation. Your regexp means match a string which is at
| | 100292 [burtdav hotm] Perl and Javascript (MSIE) do it too, so I don't propose changing it, but it
| + 100291 [ahoward fatt] ^ and $ are special and they consume no chars and so are not really 'matched'
|   + 100310 [bob.news gmx] "Ara.T.Howard" <ahoward@fattire.ngdc.noaa.gov> schrieb im Newsbeitrag
|   | 100311 [decoux moulo] Well you can have another explanation in 'man 7 regex' (linux) (or another
|   | 100378 [bob.news gmx] "ts" <decoux@moulon.inra.fr> schrieb im Newsbeitrag
|   | 100380 [neoneye adsl] Epsilon transitions is a very interesting feature of regexp.. I like them.
|   + 100366 [burtdav hotm] I would have thought, from that logic, that you could just as well expect an
|     100377 [bob.news gmx] "Dave Burt" <burtdav@hotmail.com> schrieb im Newsbeitrag
+ 100288 [kristof vlee] I would say the empty string is included with "123-456",
  100293 [ahoward fatt] yes but
  + 100294 [kristof vlee] $  echo "123-456" | gawk '{ gsub(/.*/, "X"); print }'
  | 100295 [michael_s_ca] matched
  | 100300 [decoux moulo] My problem is to give language that *don't* have this behaviour :-)
  | 100302 [neoneye adsl] According to the left-most-longest rule.. I would guess the output
  | 100303 [decoux moulo] Then you have make .* match *twice* :-)
  | 100304 [neoneye adsl] I don't understand you here.. (maybe your assumption is wrong) ?
  | + 100305 [neoneye adsl] right-most
  | + 100306 [decoux moulo] svg% ruby -rjj -e '"abc".match(/(.*).*/)'
  | | 100307 [neoneye adsl] I wasn't aware that GNU or Oniguruma represented the empty string as a token, but it
  | + 100309 [ahoward fatt] what guy is saying here is that __unless__ both '(.*)' __and__ '.*' match in
  |   + 100316 [neoneye adsl] What Guy told me makes sense.. your explaination also makes sense. The output 'XX' is
  |   | 100319 [guslist free] Huh? False advertisement?
  |   | 100321 [neoneye adsl] I am sorry about the false statement.. however on Oniguruma (the future) it true
  |   + 100323 [kristof vlee] Agree until here.
  |     100324 [ahoward noaa] but then
  |     100339 [kristof vlee] I would say it does match, because the empty token wouldn't have been
  + 100296 [neoneye adsl] This is a widespread problem with regexp, when dealing with kleene star, its

^ Please revisit  Ruby's Best and vote for additions
100284 [curt hibbs.c] You may want to go back again and look at all of the entries that other
+ 100297 [lyle knology] I just cast my votes. Also, an observation (but not a criticism): It is
| + 100298 [curt hibbs.c] I guess Instiki is the closest thing on the list to an end-user application.
| | + 100322 [tom infoethe] I don't know... does "end user" mean, say, any non-Ruby-programmer -
| | | 100325 [curt hibbs.c] I didn't intend for this to appear to be a popularity contest. I
| | | 100343 [jamesUNDERBA] I don't have any good answer, because the short answer leads to more
| | | 100346 [se hexatex.d] I concur. That is excactly what you would have to do, amongst other
| | | + 100351 [ahoward noaa] amen.
| | | | + 100352 [jim weirichh] Anyone remember Matz's "Be Minor, Be Cool" talk at the 2002 (?) Ruby Conf?
| | | | + 100368 [curt hibbs.c] I understand this sentiment, but I still want to be able to earn a living
| | | + 100362 [segphault sb] Do we really want ruby to be used in mainstream industry development? I,
| | |   + 100363 [jim freeze.o] It depends on how you and businesses look at the situation. In my
| | |   | 100385 [jamesUNDERBA] I believe this is the crux of any Ruby advocacy effort.  I'm not
| | |   | 100388 [jim freeze.o] James, I know you are familar with CTBSW. Write the code. They will
| | |   + 100369 [curt hibbs.c] You can get hired to program in Perl. You can get hired to program in
| | |   + 100383 [surrender_it] well, I believe they do and already did.
| | + 100331 [hal9000 hype] Much too early for that one. The only people I want to see that are ones
| + 100328 [hal9000 hype] I think that's true of our community in general. The Ruby "Application"
| + 100398 [martindemell] I've noticed that about the ruby community in general - there's a lot
|   + 100399 [neoneye adsl] My experience.. It takes forever to make an application, my AEditor
|   + 100403 [gsinclair so] Apps are the things we get done at home or work for productivity or
|   + 100406 [khaines enig] I think part of it might also be that many of us use the language for things
|   + 100407 [surrender_it] I think one of the killer apps is portupgrade/portinstall.
|   + 100423 [jim weirichh] Also as programmers, we tend to build tools.  At work I have Ruby
+ 100318 [jamesUNDERBA] Advocate the use of Ruby for *what*?
  + 100354 [aengstrom gn] Good call. Coming from a J2EE background I'm really fed up with all
  + 100391 [burtdav hotm] I think James is right that a PetStore is going to be one of the most
    100410 [tim bates.id] Yeah, I'm still here, lurking. Haven't had time to do anything serious
    100427 [burtdav hotm] I wouldn't mind having a look, even collaborating with you on making it
    100537 [tom infoethe] Ruby code... collaboration... games... I know just the place!
threads.html
top