116880-121116

116616-117229 subjects 117127-119125

^ Berkeley DB + Ruby VS. Ruby + MySQL
116880 [mailinglist_] Outgoing mail is certified Virus Free.
116881 [dross code-e] Where's the message?

^ How to alias new() in the new allocation framework
116882 [djberg96 hot] What is the proper way to alias "new" in a C extension using the new
116885 [matz ruby-la] Use rb_class_new_instance() in object.c.

^ More samples of rubyfilter code?
116887 [ljz asfast.c] I'm interested in using the rubyfilter module.  Although the
119360 [matt lickey.] Hey Lloyd, almost one month later, here is the contents of my
121116 [ljz asfast.c] Thanks for this.  It indeed helped me to get a better handle on how

^ Re-instituting autopost of comp.lang.ruby FAQ
116889 [hal9000 hype] I've been maintaining the comp.lang.ruby FAQ for a while now.

^ FAQ for comp.lang.ruby
116890 [hal9000 hype] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2004-10-16)
+ 116892 [neoneye adsl] isn't the message id's are now 6-digit numbers ?
+ 116893 [jamesUNDERBA] Perhaps the FAQ could mention ruby-doc.org?
+ 117319 [john.carter ] Can I suggest the link..

^ Code for remote E-mail cleaning?
116894 [jamesUNDERBA] I've discovered that, for all its good points, the Mozilla Thunderbird
+ 116899 [ml-ruby thep] I ran in to this same problem with the Mozilla suite on some newsgroups.
| 116903 [jamesUNDERBA] Thanks.  I've seen assorted bug reports for this, but no indication that
+ 116918 [opengeometry] Perhaps you can something useful in

^ [ANN] QtRuby 1.0.4/Korundum 3.3.1
116895 [Richard_Dale] URIS

^ Q: How not to run TestCase
116900 [greentea fa2] class SuperTestCase << Test::Unit::TestCase
116910 [rff_rff remo] well, you could have it in a module and include it via mixin. Another
116911 [jim weirichh] [... example of parent test case elided ...]
117129 [nathaniel ta] That would be my suggestion as well.

^ auto-reload changed dependancies
116901 [kevin writes] Does ruby keep a list of require'd files anywhere?  I'd like to make a
116905 [mneumann nte] I did that (or something very similar) yesterday for my webframework,

^ More better way to split off blank lines
116902 [transami run] In the following code, write_stack is an array composed of special marker

^ SDBM and Windows
116907 [hal9000 hype] I've narrowed down the SDBM behavior a little more.
+ 116908 [billk cts.co] Sorry I can't help, just wanted to add that I tried an
+ 116913 [behrends cse] As it is, SDBM has an inherent limitation in that it cannot store

^ [ANN] GDeskRSS: RSS Feeds from the Google Desktop Searche tool
116912 [jamesUNDERBA] Google has made available an application that runs on a user√‘ PC,
116914 [sera fhwang.] Cool stuff. One possible use: So that people can monitor file changes
116929 [jamesUNDERBA] Privacy is a big issue.  I ran across an article (sorry, lost the link)

^ Proc#dup?
116915 [jgb3 email.b] I noticed, today, that Proc#dup fails ("allocator undefined for Proc"),
117030 [matz ruby-la] No.  Both clone and dup should cause error (there should not be any
117031 [jgb3 email.b] Hmmm. That's not the answer I was hoping for, actually. ;)
117041 [matz ruby-la] Hmm, singletons.  That's good reason to leave clone.  Let me consider.

^ segfault with Ruby 1.9 "nightly"
116920 [joaopedrosa ] dewd@roller:~ $ uname -a
116925 [nobu.nokada ] I couldn't reproduce it with 100,000 iteration.  Can't you show
116926 [joaopedrosa ] Next time I post it altogether, sorry.
116933 [joaopedrosa ] Does it sound weird that it varies with the number of blank lines that
116980 [joaopedrosa ] Upon further investigations, I came up with a patch to arrayfields
116991 [nobu.nokada ] It may be related to a bug on calling SUPER with ARG_EXPAND,

^ DID YOU KNOW? -- break can return a value?
116921 [transami run] An interesting tidbit I pickup today. Did you know that break can return a
116922 [burtdav hotm] What platform gives that counterintuitive result? *grins*
116954 [sean.zuzu gm] by defining the variable "a" with code "loop", it is a Proc object, yes?
116956 [flori nixe.p] Whatever it may be, I am quite sure 1 + 1 is still equal to 2.
116960 [transami run] overlook!
116965 [ummaycoc gma] Well, he was right if we consider the additive group Z / 2 where 0 = 2

^ callcc Semantics
116924 [batkins57 gm] What is the purpose of the block passed to callc?  Is there a reason
+ 116927 [flgr ccan.de] Mostly tradition, I think. Plus without the block and no new arguments
+ 116949 [mikael phubu] The block isn't part of the continuation.  Try writing
+ 117002 [drbrain segm] This has been discussed at least once in the past, see the ruby-talk

^ Merge conflict in 1.8.2 ruby cvs ChangelLog file
116930 [mulperi cc.h] * ext/tk/lib/tk/timer.rb: TkTimer.new(interval, loop){ ... } is
116934 [nagai ai.kyu] Sorry. I've remove it.

^ calling define_finalizer from within C?
116931 [dilinger vox] I've got the following bit of C code;
116943 [nobu.nokada ] Use rb_iterate().
116966 [dilinger vox] class Foo
+ 116970 [decoux moulo] write it like this
+ 116971 [dilinger vox] Nevermind; I just happened upon

^ [ANN] Catapult: WEBrick application for dynamic execution of code via HTTP
116932 [jamesUNDERBA] I wanted a way to easily call code via a URL and get back results over

^ Ruby CVS and byacc error
116938 [joaopedrosa ] When I try to compile Ruby from CVS, I get
116963 [matz ruby-la] CVS HEAD requires bison, sorry.

^ OpenSSL decryption problem
116948 [Roland.Schmi] i have a problem with decryption with the openssl module of ruby.
116973 [jgb3 email.b] Well, first of all: I'm no OpenSSL guru. So if I say anything stupid or
117009 [Roland.Schmi] No, not that simple, really pity...

^ [ANN] Rubyist Magazine vol.2 (in Japanese)
116950 [ko1 atdot.ne] We released Rubyist Magazine vol.2.

^ Odd Error in FileUtils with move and ENOENT
116951 [cc1 cec.wust] Note quite sure what the cause of this is but if I use the File.move

^ Relative #require
116961 [gavin refine] app/run.rb
+ 116964 [transami run] Not sure if this is what you want, but a long time ago someone gave me this.
| + 116981 [charleshixsn] Thanks for the nice snippet.  And I agree that it may well be best to
| + 116999 [gavin refine] Thanks for passing this along, although it doesn't work. caller[0] is
|   + 117028 [gavin refine] The following seems to work for me (on MacOS X), tested in the presence
|   + 117534 [tpeters inva] block. That's what broke it.
|     117756 [gavin refine] I appreciate you pointing out the working code, though for the record,
|     117779 [pbrannan atd] Try it, and you'll see that the problem isn't with File::join but that
+ 116976 [B.Candler po] I sympathise greatly with this problem. Essentially it's that
| 117027 [pbrannan atd] $:.push File.dirname(File.expand_path(__FILE__))
+ 116992 [nobu.nokada ] Not 'code/k1' and so on?
  116995 [gavin refine] Correct. While for some reason it's less important to me to have this,

^ Help with RDoc error
116962 [ gm navel.gr] I am trying to generate RDoc documentation for a little project
116972 [dave pragpro] Could you privately send me the source file that's causing the error?
116974 [ gm navel.gr] This is a big project with many files, I cannot pinpoint the file that
116975 [dave pragpro] Sure

^ Re: [QUIZ][SOLUTION] Regexp.build() (#4)
116967 [WBrown isoft] To me, the real challenge of this quiz was to specify ranges as REs.
116979 [james graypr] This brings up an interesting point.  What is the smallest regex to

^ Another Interesting "Problem" with Win32-EventLog
116969 [joey joeygib] After Daniel patched the Win32-EventLog code to properly handle
+ 116998 [djberg96 hot] After getting home from work today I tried again on my home machine.
| + 117015 [joey joeygib] My Application log (the one that I'm trying to work with) has 2084
| + 117018 [joey joeygib] It was obviously something with one or a few of the messages in the log
|   117019 [jk microgala] Once upon a time there was ...
|   117087 [djberg96 hot] I tested the scenario you mention, but could not duplicate the
+ 117103 [djberg96 hot] Fixed in 0.2.4 (thanks Park!).
  117120 [joey joeygib] Excellent! Thanks for slogging through my log to figure it out. This

^ Anyone one have the 1.8.2 preview1 tarball?
116986 [curt hibbs.c] I'm trying to isolate a strange problem that I'm having with FreeRIDE under
116988 [batsman.geo ] You can probably find that code in the ruby_1_8 branch as of 2004-07-21.
116993 [nobu.nokada ] You can use v1_8_2_preview1 tag.
116994 [curt hibbs.c] Of course... Thanks t5o both of you!

^ Anyone get RDE working on XP
116996 [faker yahoo.] I am trying to get RDE working with windows XP. I have ruby 1.8.2, and rde
117001 [rubytalk gma] Nope, go to tool -> options and set the ruby path. Does ruby normally work?
117005 [wvucenic net] The "no such file to load -- debug2" error can be solved by copying the 3
117074 [faker yahoo.] I did the copy, but it only gets you to the dll problem. I tried free ride,
+ 117086 [rubytalk gma] How did you install ruby? Did you use the all in one exe installer?
| 117089 [fake yahoo.c] I used the all in one installer. ruby works fine, and so does debug.rb. I
+ 117539 [wvucenic net] I'm lucky enough to get paid to write Ruby, so since ArachnoRuby makes me
  117630 [rff_rff remo] IIRC the arachnoruby ide brings a debugger wich is tightly integrated

^ Rails / ndb Object-Relational Mapper
116997 [itsme213 hot] Rails is great, but Active Record puts relational stuff in your face pretty
117008 [ gm navel.gr] FYI we are about to release a Web Application Engine to go along with
117010 [ gm navel.gr] I am also prepared to make any changes needed to better integrate ndb

^ Throw / Catch my heart :-)
117006 [joaopedrosa ] I had never used this combination. Throw and Catch have just come in handy!

^ [PATCH] rpa platform
117007 [nobu.nokada ] I think `platform' would be better to be same as RUBY_PLATFORM.
117237 [batsman.geo ] Thank you. Fortunately nothing was really affected negatively by this,

^ [ANN] ruvi 0.4.12 PRERELEASE [rpa and gem]
117016 [ruby-lists l] here's a gem version :)
117017 [ruby-lists l] argh i *suck*
117096 [botp delmont] Anyone running ruvi on windows? I'm losing hope so I need help =)
117113 [ruby-lists l] works fine with the mswin32 pdcurses package

^ XSLT
117023 [transami run] What's the preferred way to do XSL transformations?
+ 117034 [drewry gmail] On the commandline, you can use xsltproc or xalan. (I'm sure there are
| 117036 [transami run] Nice. Thanks you for such a great reply! Very informative.
| + 117038 [sera fhwang.] If your generation logic is at all sophisticated, XSLT is going to be a
| + 117067 [csshsh struc] you will run into tons of situations where xslt can't do what you
| | 117069 [transami run] That's too bad. So there is no _worthy_ standard declarative XML
| | + 117095 [sera fhwang.] Standards are great for some things, awful for others. Data interchange
| | + 117110 [jamesUNDERBA] I find XSLT quite worthy in its own way.  It is a functional language,
| |   117111 [sera fhwang.] I think of XSLT as another templating language, like Erb or ColdFusion
| |   + 117119 [ryco gmx.net] Don't know really if it is so helpful in this case, but
| |   + 117155 [jamesUNDERBA] Interesting.  I see XSLT as a transformational language, not a
| + 117104 [dido.sevilla] Well, the fact that XSLT is slow is one really annoying thing about
+ 117047 [jamesUNDERBA] The last time I took a serious look at XSLT and Ruby as about a year

^ Printing from a Ruby-GUI program
117032 [Stephan.Kaem] apart from

^ Question about closure
117044 [ssk chol.nos] I am trying to understand what exactly a closure is.
+ 117046 [flgr ccan.de] Moin!
| 117050 [ssk chol.nos] It's unbelievable that you answered my question only in 5 minutes with such
+ 117049 [batkins57 gm] Methods aren't closures in Ruby - only blocks are.  In that example,
| 117053 [ssk chol.nos] You and Mr. Gross helped me understand what a closure is.
| 117065 [flori nixe.p] A closure is a combination of an anonymous function and the
| 117071 [ssk chol.nos] Thank you for the great explanation.
+ 117052 [phlip_cpp ya] X = 42
+ 117055 [ptkwt aracne] In this case makeCounter returns a lambda (an anonymous function, which

^ Regexp equality
117045 [jgb3 email.b] Here's an oddity I recently came across in a unit test. Identical
117051 [matz ruby-la] Regexp#== compares literal appearance of regex, e.g.
117054 [jgb3 email.b] Is there a way to test regexen for equality based on the strings they
117056 [james graypr] Wow.  I bet that's a pretty tall order.  Pulling from the current Ruby
117085 [ljz asfast.c] Not only is it a tall order to determine whether any two regex's will
+ 117152 [jgb3 email.b] I realize that particular question is most likely impossible to answer
| 117234 [ljz asfast.c] OK.  Now I better understand your question.  I agree with you that
+ 117297 [eeklund gmai] As far as I can tell: If you run Antimirov's algorithm for NFA
  117301 [eeklund gmai] I should probably include some suitable references so somebody can run

^ Review of Pickaxe II on Slashdot...
117061 [tom infoethe] ...w00t!
117066 [cmills frees] Nice review James!  Way to make the front page of slashdot!
117068 [james graypr] Thanks guys.  I hope some people find it useful.
117072 [michael.deha] My copy is in the mail.    Totally looking forward to it -- I've been
117077 [todd.bradley] I agree.  That was a good review.  I'm new to Ruby and am learning it by

^ Speed gap between zcat and zlib's GzipReader
117064 [dga lcs.mit.] I'm still in 1.8.1-land, so this may be old news, but
117335 [cjh-nospam n] I had a similar problem which was discussed here at length a year or
117686 [dga lcs.mit.] Ahh, thanks.  So the problem is really in GzipReader's each_line
117701 [dga lcs.mit.] I've attached a patch that reduces some of the overhead
117714 [matz ruby-la] I'm impressed.  I will merge your patch.

^ Ruby/tk and paned widget question
117075 [nigel waspz.] I can create this with
117076 [phlip_cpp ya] can't
117078 [nigel waspz.] OK, here's the panedwindow code
117080 [nagai ai.kyu] Do you really want to set "vertical"?
117082 [nigel waspz.] Thanks for that, it works a treat. Please excuse my elementary ignorance

^ Too many default argument values!
117081 [cyclists nc.] Looking for coding style advice...
+ 117083 [transami run] My word I'm looking at almost the same problem! I wish we had real named
+ 117084 [flgr ccan.de] def rect(x, y, width, height, *more)
+ 117088 [transami run] def self.quick_new(x,y,width,height,styles=nil)
+ 117114 [bob.news gmx] "Tim Hunter" <cyclists@nc.rr.com> schrieb im Newsbeitrag
+ 117115 [bob.news gmx] "Tim Hunter" <cyclists@nc.rr.com> schrieb im Newsbeitrag
| 117126 [ummaycoc gma] Putting everything in a default hash is sort of a bad idea.
| + 117128 [james graypr] DEFAULT_OPTIONS = { ... }
| | + 117131 [bob.news gmx] "James Edward Gray II" <james@grayproductions.net> schrieb im Newsbeitrag
| | + 117132 [bob.news gmx] Sorry for the empty post.
| |   117134 [rdlugosz.104] ... argN, options = { } )
| |   + 117136 [bob.news gmx] <rdlugosz.1044583@bloglines.com> schrieb im Newsbeitrag
| |   + 117164 [eeklund gmai] I tend to like using a set of factory methods.
| |   + 117178 [gsinclair so] The last serious Ruby project I worked on used a similar approach.  It
| |     117402 [GGarramuno a] Gavin's approach is the one I like best.
| |     117417 [cyclists nc.] I actually used a very similar approach in RMagick, where many of the
| |     117438 [transami run] Recall that I was having s similar problem. I took a page out of Rich Kilmer's
| |     117439 [cyclists nc.] Hmmm...I like this. I like this a lot. Easy to read, easy to code.
| + 117130 [bob.news gmx] "Matt Maycock" <ummaycoc@gmail.com> schrieb im Newsbeitrag
+ 117363 [mkhan lextra] I had same issue,

^ Regexp arity revisited
117092 [transami run] Okay, I'm back to needing Regexp arity, and then some --I also need to know if

^ Textile with ERB
117094 [batkins57 gm] I'm trying to use Textile and ERB together for a website I'm
117098 [chadfowler g] method?  There doesn't appear to be an inherent problem with
117099 [batkins57 gm] Gosh.  The problem was indeed in the produce_some_output method.  :) Thanks.
+ 117100 [batkins57 gm] I spoke too soon.  I'm still having the problem.  Even if i replace
+ 117256 [jamesUNDERBA] Oh, not to worry.  I've long ago discovered that the fastest way to find

^ Yaml error running `ri String#unpack`
117097 [fmitchell co] I'm not sure whether this is a YAML bug or a ri bug, so in a USENET

^ [Nuby] Detecting when a class is inherited
117106 [demerzel gma] Is there any way to detect when a class is inherited? I.e, I wanna
117107 [matz ruby-la] class Derived<Base
117109 [demerzel gma] Thanks!

^ trace_func parameters (Re: ruby-dev summary 24298-24353)
117108 [matz ruby-la] or false value if event happened outside of any method

^ nested modules and editor
117112 [lists zara.6] Since I don't like code in nested modules to be indented so deeply, I
+ 117160 [neoneye adsl] I don't use indentation for modules.. instead I use comment on the end's.
| 117249 [lists zara.6] Is this what most people see. But I need to fight emacs' ruby-mode
+ 117172 [mikael phubu] ...
| 117251 [lists zara.6] Fine by me, since I usually use fully qualified name anyway (puts A::FOO).
+ 117252 [dblack wobbl] I just let the editor indent it deeply.  I don't think I've ever gone

^ [BUG] latest ruby 1.8.2 cvs breaks rubygems-0.8.1
117121 [mulperi cc.h] /data/ruby/bin/ruby -v

^ How to export binary string from C to ruby?
117122 [spamblock da] I'd like to write a ruby method in C, which passes an
117124 [Richard_Dale] VALUE rb_str_new _((const char*, long));
threads.html
top