110155-110785

109920-115372 subjects 110377-111897

^ ruby_init causing segfault
110155 [listaccount ] my application loads a plugin, which itself embeds Ruby. Everything is working
110159 [listaccount ] #include <ruby.h>
+ 110160 [listaccount ] Just tested: The same code is working with version 1.6.
+ 110172 [nobu.nokada ] It worked fine.  Could you show the stack trace?
| 110197 [listaccount ] #0  0x40055c35 in rb_source_filename () from /usr/lib/libruby1.8.so.1.8
+ 110210 [decoux moulo] Give your *real* program.
  110212 [listaccount ] The *real* program is VDR (http://www.cadsoft.de/vdr/) and I want to embed ruby
  110215 [decoux moulo] No, sorry to say this but the example that you have given is precisely
  110223 [listaccount ] Mmm... I thought that this is *exactly* what should be done... calling
  110224 [decoux moulo] The call to rb_gc() is not in a protect function.
  110231 [listaccount ] Thanks! I don't exactly understand why, but this works. I now have to

^ Povray binding?
110163 [john.carter ] Is there any povray binding for Ruby in existence yet? Googling and RAA
110178 [haaktu gmail] ey John,
110179 [john.carter ] Is it at least available (under a some open license) to tweak, extended,
+ 110183 [haaktu gmail] no, it's not. i haven't been given permission yet.
+ 110195 [phlip_cpp ya] What would a POVray binding layer do? besides emit POVray source, like Flea
  110203 [haaktu gmail] i'm thinking of actual rendered scenes and not emit the scene source.

^ [ANN] Suby-Ruby Mailing List
110164 [transami run] Suggestions for Ruby

^ Embedded Ruby and stdin
110165 [rcoder gmail] I'm working on a simple wrapper which embeds the Ruby runtime and a
110276 [pan erikveen] Do you know about RubyScript2Exe [1]? There's a (not yet
110279 [rcoder gmail] Erik,

^ [ANN] rpa-base 0.2.1pre1
110166 [batsman.geo ] rpa-base 0.2.1pre1 is now available at http://rpa-base.rubyforge.org .
+ 110171 [jamesUNDERBA] I just tried this on Win2k.  First, as I have no faith in humanity, I
| 110176 [batsman.geo ] Yup, the file conflict detection system should handle it OK.
+ 110174 [drossruby ya] Great work batsman.

^ [ANN] Gnome's Guide to WEBrick
110184 [ysantoso-rub] After labouring over the weekend, I am happy to present the first
+ 110185 [haaktu gmail] Many thanks to you for this. as a follow up,
| 110187 [ysantoso-rub] The first WEBrick-based RESTful server I built (see Author's Note) is
| 110188 [haaktu gmail] should have made that more verbose. pure ruby middleware/web server.
| 110192 [khaines enig] I have not used Iowa + Webrick in production, but I can tell you that in my
| 110200 [haaktu gmail] Kirk, Yohanes,
+ 110186 [flgr ccan.de] Moin!

^ Help with Rake and FileList
110191 [jim freeze.o] % rake -V
110213 [jim weirichh] FileList use a "lazy load" technique where we don't calculate the exact
110229 [jim freeze.o] I think the problem is that it is 'too lazy' on OS X.
110233 [jim weirichh] Or the difference could be 1.8.0 vs 1.8.1.  If the 1.8.0 version of

^ Don't know how to rake Rakefile
110201 [transami run] I can't seem to get rake to generate rdocs (for starters). I'm using version
+ 110207 [batsman.geo ] Try to rename it to Rakefile or run  rake -f rakefile.
| 110218 [jim weirichh] In general, rake doesn't care if the rake file is "Rakefile" or
+ 110217 [jim weirichh] Rake is reporting that a something has a dependency on a file named
  110232 [transami run] Thanks all!  Works!  Well...works better...
  + 110235 [jim weirichh] $ rdoc --help
  | + 110242 [transami run] Oh, I see. Glad I ran across that. That's actually useful for my library!
  | + 110255 [jamesUNDERBA] Interesting.  Is there the inverse? I.e. a way to tell rdoc to document
  + 110246 [gsinclair so] See rdoc --help

^ How to check syntax
110214 [graham rockc] Apologies if its a FAQ, but is there a way I can check my syntax for errors
110220 [usenet andre] This is no syntax error, and it can only be detected at runtime.
110222 [bob.news gmx] "Andreas Schwarz" <usenet@andreas-s.net> schrieb im Newsbeitrag
110225 [graham rockc] OK, so its not a syntax error. Pedants :-) There ought to be a utility to
110226 [usenet andre] This is almost impossible in dynamic languages like ruby. Variables can
+ 110230 [graham rockc] I had a feeling that this was the case.
| 110237 [usenet andre] Your example seems to be very easy to test; feed it a few different
| 110244 [jamesUNDERBA] Bugs may not rear their heads until some notable damage is done in a
+ 110239 [jgb3 email.b] Just what I was going to suggest. I'm (re)writing Copland right now,
  110252 [graham rockc] Where do I start, then (sigh!).  Is this something I need simply to write
  + 110256 [jgb3 email.b] About halfway down the page (under Usage) it starts talking about how to
  | 110330 [rasputnik he] I also bought the 'test driven development' book - it's java centric, but
  + 110258 [jim weirichh] The second volume of the Pragmatic Starter Kit covers unit testing, and it
    110264 [gsinclair so] Sigh... must read...

^ tr octal strings
110228 [graham rockc] Can string.tr (and tr!) use octal values?
110236 [dblack wobbl] Just add a comma :-)
110240 [graham rockc] Doh! I had, but also, of course needed the f*ing quotes!

^ [typo] Re: How to check syntax
110238 [usenet andre] DON'T
110253 [graham rockc] In terms of the programs function, this is of course true, however  I ran it

^ Attr; and Moving Namespaces
110245 [transami run] Okay, just two more questions, I swear.
110260 [gsinclair so] I know of one person who uses it, but his keyboard seems to lack a
110294 [transami run] lol :)
110428 [pit capitain] the Object class you define in module Tes isn't the top-level class Object but
110438 [transami run] Thanks Pit. Just to be clear, I am indeed attempting to accomplish exactly
110465 [pit capitain] Ah I see.

^ Ruby and Eclipse
110248 [flurePASDESP] Is there an Eclipse plugin for Ruby ?
+ 110250 [robertm spel] ...
+ 110251 [sdmitry lrn.] Yep
  110344 [flurePASDESP] Ok I got it, and tried to install it using both ways : unzip the file in
  + 110345 [farrel.lifso] I've got it installed on Eclipse 3.0 (on Windows XP). I used the
  + 110355 [zdennis mkte] It should work. I just did this last night after seeing the post on it.
    110431 [flurePASDESP] I tried both, but none of them worked.

^ [OT] GIS Developer Job - NYC
110254 [Mlipper doit] charset="us-ascii"

^ Stupid C...
110259 [rcoder gmail] So, I'm stuck trying to do something clever in C, which feels kind of
110261 [rcoder gmail] Greg,
110265 [rcoder gmail] Okay, I'll answer my own question, just in case anyone's curious. This
110277 [Ara.T.Howard] flclose (stdin) is defined to only close the FILE *stdin,  it is an
110281 [rcoder gmail] I've got it working now, using the integer file ids (0 for stdin, 1

^ adding to FXRuby classes
110269 [rbsheehan ya] I'm a newcomer to ruby so please bear with me!
110270 [lyle.johnson] As you may have deduced, the FXList class uses the stock version of
110273 [rbsheehan ya] that's pity! At least I know now that it's working as

^ optparse [feature request: subcommand support]
110274 [brett_willia] After 2 1/2 years, it looks as if I'll finally get off of my old CVS
110282 [jim weirichh] RubyGems uses CVS style commands, so it would have been useful there.
+ 110285 [brett_willia] It should be easy to make as a wrapper around OptionParser objects (the
+ 110307 [gsinclair so] Different class, IMO.  I think the RubyGems implementation is quite

^ Circular References: How to prove that they are garbage collected
110283 [discussionru] I'm converting a perl example which deals with the circular data
+ 110284 [vjoel PATH.B] "Only the lonely
| + 110286 [vjoel PATH.B] def main
| + 110288 [discussionru] Thanks, this is doing the trick.
+ 110287 [flgr ccan.de] Moin!

^ Object-Relational Mapping
110290 [spectra debi] I am looking for a good/simple implementation of ORM pattern to use in my
110305 [khaines enig] You're going to have to try a few out and see what you like.  There are a lot

^ [ANN] Tab Completition for Ruby
110291 [spam0504 bss] I hope, that I have not reinvented the wheel once again, but I just found
+ 110295 [sean.zuzu gm] hotness.  i'm especially a fan of
+ 110339 [spam0504 bss] If someone is interested in it, I've made a better regexp for tab

^ OpenStruct respond_to? problem
110292 [jgb3 email.b] I blindly assumed that OpenStruct would handle respond_to? properly, but
110302 [halostatue g] I think that OpenStruct uses #method_missing.
+ 110308 [gsinclair so] Indeed it does.  If respond_to? is to work, you'd need to implement
+ 110309 [jgb3 email.b] I think you're right. However, that doesn't preclude the possibility of

^ *with* block?
110293 [zdennis mkte] my_obj = boxWidget.new
+ 110296 [jgb3 email.b] No such beast "out of the box," but there have been various discussions
| + 110320 [bob.news gmx] "Jamis Buck" <jgb3@email.byu.edu> schrieb im Newsbeitrag
| + 110353 [zdennis mkte] Thanks everyone who replied....I like the instance_eval solution,
|   110356 [zdennis mkte] Also with the with block being how Jamis Buck and David A. Black posted
|   + 110434 [jim weirichh] class Test
|   + 110436 [jim weirichh] class Test
|     + 110500 [zdennis mkte] I see what you mean, I like your solution. It seems quite elegant! What
|     + 110505 [dblack wobbl] def testing_dog
|       110508 [batsman.geo ] It also has the additional benefit of being thread-safe, or more
+ 110297 [transami run] Sure. This has been talked about before. Unfortunately I can't seem to find
| 110298 [daniels pron] If you're just after configuring the instance variables, you might go
| 110300 [dblack wobbl] sub(/fairly/,"extremely") :-) There's absolutely no guarantee of a
| 110325 [batsman.geo ] If the following syntax is acceptable
| + 110326 [transami run] clever
| | + 110328 [batsman.geo ] In Rite,
| | | 110331 [dblack wobbl] (Why doesn't anyone ever tell me? :-)
| | + 110333 [dblack wobbl] There was a recent discussion of this, somewhere in the thread that
| + 110329 [dblack wobbl] If you're trying to fight back against Ruby's need for an explicit
|   110335 [batsman.geo ] For the matter, if you want you can keep
|   + 110337 [dblack wobbl] I would argue also that it's tricky for the trained eye :-)
|   + 110341 [transami run] my_obj.with (
|     110349 [martindemell] This won't work for method calls, though, will it? What would be really
|     110358 [transami run] The #with method would be defined to act just like the earlier given #set_all
|     110435 [jim weirichh] Well, how about ...
|     110439 [batsman.geo ] hehe nice joke
|     110557 [    s xss.de] but still useful, if you're programming with e.g. FXRuby,
|     110585 [vjoel PATH.B] ...unless parent is already in the namespace. (Of course that may change
+ 110299 [dblack wobbl] Every assignment to a bare identifier (x = 0) is parsed as an
  110301 [sean.zuzu gm] my very first thought was of .class_eval, but "obviously"
  110303 [dblack wobbl] There's not really much object modifying here, compared to what you

^ How safe is 'timeout' ?
110306 [billk cts.co] I'm experiencing strange behavior in a Ruby app doing
110316 [vjoel PATH.B] Probably wrong, but... when the timeout happens, a TimeoutError is
110317 [billk cts.co] def timed_wait(timeout_secs)

^ [ANN] PrettyException 0.9.3: Bugfixes
110310 [sdmitry lrn.] This is new release of library which will make debugging of your Ruby web

^ Freeride "Installing" docs don't say how
110311 [mjbjr mjbjr.] nor
110315 [vjoel PATH.B] There's nothing else to install, just run "run.bat", as the docs say
110410 [mjbjr mjbjr.] Yes, I wanted to install it for all users.

^ ri path?
110324 [clr3.10.rand] Dear ruby users,
110347 [dave pragpro] That's a very, very old ri, and one that doesn't work with rdoc (as far
110362 [clr3.10.rand] Dave,
110364 [dave pragpro] The raa entry should be removed (to be homnest, I'd forgotten it was

^ Module Scopes and Names
110332 [spam0504 bss] I think that ruby is a bit too intelligent regarding module names.
+ 110334 [transami run] module B
+ 110357 [bob.news gmx] "Brian Schroeder" <spam0504@bssoftware.de> schrieb im Newsbeitrag
  110361 [spam0504 bss] Thank you all for the replies. This was a very helpful information. I just never

^ AltGr keys and irb
110336 [    s xss.de] I just noticed that I cannot type any AltGr character combinations on a
110338 [ryco gmx.net] Sure, have a look at
110340 [    s xss.de] Thanks, Henrik. That's tremendously helpful.

^ Rake FileList not working?
110342 [transami run] PKG_FILES = FileList[
110343 [jim weirichh] (1) Remove the exclude call. You don't need it.  FileLists are smart
+ 110351 [transami run] No, No, Thank You! :)
| 110433 [jim weirichh] Prerequisites can be added to a task at any time.  Just redeclare the task
+ 110376 [vjoel PATH.B] I'm confused... Isn't FileList#exclude supposed to return an array of
  110437 [jim weirichh] Well, exclude should return a list of strings (actually a list of file

^ RubyConf 2004, update and reminder
110352 [dblack wobbl] where the presentation titles are now clickable.

^ POLS - exception comparisons
110354 [Ara.T.Howard] what is the meaning of this?
+ 110360 [bob.news gmx] "Ara.T.Howard" <Ara.T.Howard@noaa.gov> schrieb im Newsbeitrag
| 110365 [Ara.T.Howard] yes - uniq errors are warned on the way, iff we eventually succeed that's all
| 110370 [bob.news gmx] <Ara.T.Howard@noaa.gov> schrieb im Newsbeitrag
| 110375 [Ara.T.Howard] right you are (and above) - i took your code.
| + 110383 [bob.news gmx] <Ara.T.Howard@noaa.gov> schrieb im Newsbeitrag
| + 110417 [martindemell] When you figure it out, could you post a followup here? Sounds like
+ 110406 [matz ruby-la] Interesting idea.  I will add this to 1.9 and see how it work well.
| 110424 [pit capitain] I can't express exactly why, but to me an exception should (at least logically)
+ 110444 [jgb3 email.b] It depends on what you are asking when you want to know if two
  110512 [matz ruby-la] Indeed.  But you can use "equal?" for the same instant.  The point is
  110514 [Ara.T.Howard] IMHO - this is
  110540 [bob.news gmx] <Ara.T.Howard@noaa.gov> schrieb im Newsbeitrag
  110549 [Ara.T.Howard] interesting - i can see your point.  i wonder what other issues there are...

^ RPA Request
110359 [drossruby ya] Mind packaging Arrow and submitting to the repository?
110394 [horacio.lope] It looks nice, but it spawns a series of other ports as dependencies.
110396 [batsman.geo ] I have packaged the sw. that was requested in

^ Ruby, WebDAV, and Mozilla Sunbird inquiry
110363 [jamesUNDERBA] I recently downloaded Sunbird [0], the calendar application from the
+ 110366 [rcoder gmail] There are actually relatively few open source WebDAV server
| 110368 [khaines enig] WebDAV doesn't look like a particularly difficult protocol to support.  A
| 110391 [bsliger cox.] I'm interested and have some time.  I'm toying with a project that'll
+ 110367 [usenet andre] The user sharing the calendar just needs access to a WebDAV server, he
| 110369 [khaines enig] For a full server implementing the entire protocol, maybe.  However, it
| 110374 [jamesUNDERBA] I've only glanced through the WebDAV spec.  For calendar sharing, it may
+ 110429 [rasputnik he] Surely you just want one webdav server to host the calendar?
  110448 [jamesUNDERBA] Here's a use case: I have three PCs in my house.  I'd like to run
  + 110466 [rcoder gmail] In your "home LAN" example, you really do only need one WebDAV server.
  | + 110468 [discord mac.] Yes, this is a major problem. All the more reason for a WebDAV server
  | | 110768 [aredridel nb] I, too, don't find joy in mod_dav. Its lack of unixy goodness is painful
  | + 110488 [jamesUNDERBA] There's no assurance that any given machine will be running.  I'd prefer
  |   110490 [rcoder gmail] A local "mini-DAV" server for calendaring would be great, especially
  + 110767 [aredridel nb] That part of DAV is called HTTP GET ;-)
    110782 [jamesUNDERBA] Quite true, and what I've seen from Sunbird, all one needs to handle are
    110785 [aredridel nb] That would be challenge style. It will only send it if sent "403

^ [BUG?] timeout{wait}  (was: Re: How safe is 'timeout' ?)
110371 [billk cts.co] I have gotten the code down to a couple hundred lines,
110418 [billk cts.co] I have a bit more info.  The timeout on ConditionVariable#wait
110515 [billk cts.co] For all the avid readers of this thread,  (ha ha... :)

^ IOWA error message
110372 [probertm nos] Kirk,
+ 110373 [probertm nos] Found it.
+ 110381 [khaines enig] See, back in the olden days when I was the only one really using Iowa, those
threads.html
top