69031-69701 subjects 69446-70011

^ キャッシングキャンペーン
69249 [finnancelike] 特別融資キャンペーン実施中

^ Type, Class, Domain, Ruby, Relational Model [Was: Re: Does dynamic typing make it easier to place an object in a container?]
69263 [mwilson13 co] Just a note on my questions about type (also known as class, in Ruby).
69269 [nemo hellotr] ...type = class...
69281 [mwilson13 co] Yes, of course. I mean that every class is a type, but I am aware that

^ Looking for efficient Ruby C way to append strings
69264 [jim freeze.o] a = "some text\n"
+ 69265 [jim freeze.o] Well, to answer my own question, I found rb_str_cat().
+ 69279 [nobu.nokada ] It will certainly corrupt heap.  You must never do it

^ Purchase, Diet Pills, and other prescriptions with no Prescription Ruby-talk
69266 [nhk6yj2d2 ao] This is a multi-part message in MIME format.

^ What does NSString.to_s do when the string isn't ASCII?
69270 [sroberts uni] A ruby/cocoa question, maybe someone here has an idea?

^ Controlling an interactive program from Ruby
69271 [dcarrera mat] I want to control an interactive program from Ruby, in the Expect style.
+ 69272 [0bz63fz3m1qt] Passwords are unsafe.. take a look at ssh-keys.
| + 69273 [dcarrera mat] I'll take a look at it.
| | 69274 [0bz63fz3m1qt] * network packets can get sniffed by evil people hooked up
| | 69277 [vjoel PATH.B] My understanding was that ssh passwords are not sent in plain text. From
| | 69286 [batsman.geo ] The reasons given before don't hold IMHO, as
| | 69288 [B.Candler po] The passphrase on an ssh key tends to be equally weak (or totally
| | + 69289 [Ruben.Vandeg] Using an ssh-agent, gives you the benefit that you only have to fill in
| | + 69321 [dcarrera mat] Well, I'm not.  I realize how silly that would be.  My passwords are
| |   69341 [B.Candler po] OK - but then you must be supplying the passphrase to ssh somehow (and the
| + 69275 [dcarrera mat] Thanks.  It's working great now.
+ 69276 [0bz63fz3m1qt] source  login@desthost:/destination/.

^ Re: Having trouble getting iconv-0.5 ... on OS X (actually extconf.rb bug)
69278 [sroberts uni] The error turned out to be deceptively simple. extconf.rb fails to find
69284 [nobu.nokada ] Try `ruby extconf.rb --iconv-dir=/usr/local'.
69285 [sroberts uni] Sure, but isn't that what extconf.rb is checking, whether you need
69291 [nobu.nokada ] Yes, on such systems, -liconv isn't needed.
69320 [sroberts uni] I think what is happening is that GNU iconv
69337 [nobu.nokada ] You're right, remove second "iconv" from have_library.  I've
69400 [sroberts uni] Works like a charm, thank you very much.

^ ruby_script()
69280 [0bz63fz3m1qt] I am wondering what exactly ruby_script() is doing ?
69283 [nobu.nokada ] Changing $0 and source file name in stack trace.
69292 [0bz63fz3m1qt] Are you telling me that I should be able to see the
69293 [decoux moulo] pigeon% cat b.rb
69294 [0bz63fz3m1qt] Weird.. I don't see any "embed" in my backtraces?
+ 69295 [decoux moulo] You call -e it display -e
| 69299 [0bz63fz3m1qt] [snip good code example]
+ 69296 [nobu.nokada ] Because the source is given by "-e".
  69297 [0bz63fz3m1qt] OK.. Now I've swapped them. But it makes no difference.
  69298 [decoux moulo] When ruby compile a script (or a string) it store in each node the name of
  69300 [0bz63fz3m1qt] I think I got that.. But what Im not understanding is
  69302 [decoux moulo] The backtrace are outputted for each frame created, when you write
  69305 [0bz63fz3m1qt] I see.. only rb_require(). BTW what is a frame?
  69307 [decoux moulo] I must take care : SpamAssassin think that you are a spammer :-)))
  69312 [0bz63fz3m1qt] Exactly.. I've converted to the dark side and im very dangerous!!

^ using ruby reflection to generate code
69282 [doug beaver.] i'm curious if anyone out there is using ruby reflection to generate
69313 [ptkwt shell1] I'm not currently doing this, but I do kind of want to be able to convert
+ 69328 [emilie3012 n] I'm using Ruby as a scripting tool for an OpenGL app, Would it be
+ 69403 [doug beaver.] here is a first version, i put some comments at the top to discuss its
  + 69407 [ptkwt shell1] Thanks for sharing.
  | 69445 [doug beaver.] i agree that objc requires fewer hints, but there's still some stuff i
  | + 69450 [ptkwt shell1] What do you use for C++ unit testing now?  I remember trying cppunit and
  | + 69482 [austin halos] Have you considered creating an output generator for rdoc?
  + 69410 [B.Candler po] Perhaps you could even treat them as assertions, e.g.

^ problems embedding ruby in win32
69301 [gaffer gaffe] i'm attempting to embed ruby into a win32 application i'm developing,
69303 [decoux moulo] When you compile define "IMPORT" and "NT=1" (something like -DIMPORT and
+ 69306 [0bz63fz3m1qt] Perhaps we should add such compile-issues to
+ 69322 [gaffer gaffe] adding "#define IMPORT" before including ruby fixed it, thankyou

^ Stale sockets under WinXP
69316 [pmak aaanime] I've been experimenting with a Ruby web server called httpd.rb

^ About rtttl player (new on RAA)
69317 [ jupp gmx.de] Saluton!

^ [OT] Re: The hundred year language
69318 [ jupp gmx.de] Saluton!

^ wsdlDriver problem (http://schemas.xmlsoap.org/wsdl related)
69319 [surrender_it] well, I was trying to use wsdlDriver as in the sample from [1]

^ ANN: RFC 2047 decoding library (MIME format for non-ascii in mail headers)
69323 [sroberts uni] There was a few posts about this, so perhaps somebody will find it
69431 [ jupp gmx.de] Saluton!
69486 [sroberts uni] Thanks for the feedback. I'll run your example (thanks) through iconv,
69512 [ jupp gmx.de] Saluton!
69570 [sroberts uni] (Nobu, this question relates to using iconv to convert from iso-2022-jp
69571 [nobu.nokada ] Yes, iso-2022-jp is stateful.  So you have to use Iconv.close
69658 [sroberts uni] The last version of rfc2047.rb had a bug with stateful encodings, here's
69671 [nobu.nokada ] text = Iconv.iconv(target, charset, text).join

^ Local/global variable dilemma
69334 [tim bates.id] module Example
+ 69336 [dblack super] module Example
+ 69343 [B.Candler po] Class variables are only available to a class and its descendants, so you

^ Re: ANN: ri v1.8
69335 [james_b neur] Sorry.  It should be good now.

69338 [james_b neur] Yet another programming language list.
69344 [batsman.geo ] doGoogleSearch('+"<language> programming" -tv')/10000 is used
69347 [Ephaeton gmx] Hey, have a look at the listing. Java is #1. How more fucked
+ 69392 [ jupp gmx.de] Saluton!
| 69394 [Ephaeton gmx] Well, point me to a working portable implementation of the runtime
| + 69396 [Ruben.Vandeg] (1) http://www.go-mono.net
| + 69432 [ jupp gmx.de] Saluton!
| | 69469 [pabs pablotr] [snipped]
| + 69653 [jj5412 earth] Actually, BF isn't like Java at all.
+ 69399 [abuse durchn] #12 bash    "My Script doesn't work on FreeBSD!"         "It's a *bash* script, not a *sh* script!"

^ File::expand_path amok
69339 [skywizard ti] $ pwd
+ 69340 [nobu.nokada ] I couldn't reproduce it on Linux.  Does this gives same result?
+ 69353 [han.holl pri] Strange. This runs fine on my system, both on 1.6.8 and 1.8.0p2.
| + 69354 [decoux moulo] Well I don't know : perhaps because realpath() don't give the same result
| + 69355 [nobu.nokada ] File.expand_path doesn't follow symbolic links, while
|   69388 [han.holl pob] In that case, wouldn't a wrapper around realpath be really
|   69402 [nobu.nokada ] Sorry, but I can't imagine how to preserve symlink names.  And
+ 69356 [nobu.nokada ] I hope this is fixed now.

^ ANN: FreeRIDE 0.5.0 Release Candidate 2
69342 [curt hibbs.c] FreeRIDE 0.5.0 Release Candidate 2 is available for download. Go to
+ 69360 [Stephan.Kaem] That's really good news!
| 69371 [curt hibbs.c] Actually, that's a good question.
+ 69370 [batsman.geo ] If you use Debian, you might want to test my packages.
+ 69440 [batsman.geo ] Would it be possible to create the Debian package repository in
  69448 [curt hibbs.c] Sure. I'll send you a private email with the info you wall need to upload

^ [Q] A class, that knows about it's instances + Sets
69357 [kgergely mla] In my recent project, I need, that a class knows about their instances.
+ 69358 [decoux moulo] Look at ObjectSpace::each_object
+ 69362 [nemo hellotr] I ran into a similar problem using Madeleine.  In Madeleine, you need to
| + 69365 [decoux moulo] extend Module
| + 69367 [B.Candler po] FWIW, I believe the normal way of doing this is simply to make 'new'
| | 69369 [B.Candler po] Oops, spurious line, ignore that one.
| + 69397 [drbrain segm] it
+ 69364 [tpeters inva] module Instance_Iterator

^ Re: [Q] documentation 1.8
69359 [kgergely mla] Thanx for the quick answers!
+ 69361 [decoux moulo] See  http://raa.ruby-lang.org/list.rhtml?name=shim-ruby16_18
+ 69363 [nemo hellotr] Chris

^ How do I call a regex from C?
69366 [jim freeze.o] I need to call a regex from C, but haven't quite figured
69368 [decoux moulo] It really depend what call you want to do.
69374 [jim freeze.o] static VALUE re_equal;
+ 69375 [B.Candler po] The argument to rb_reg_regcomp is a VALUE, not a C null-terminated string.
+ 69376 [decoux moulo] not allowed : you must give only VALUE
  69377 [jim freeze.o] re_equal      = rb_reg_regcomp("\\s*=\\s");
  69378 [decoux moulo] See [ruby-talk:69375], you must give a VALUE (rb_str_new2()), not a string
  69379 [jim freeze.o] Thanks
  69380 [decoux moulo] Something like this
  69381 [jim freeze.o] Cool, how did you know my code without me sending it to you? :)
  69382 [decoux moulo] No, you don't need to protect id's

^ [BUG], ruby 1.6.8 (2002-12-24) [i586-mswin32]
69372 [student_vien] I have an existing DLL which is using the MFC.
69373 [decoux moulo] Be sure to define IMPORT (perhaps with NT=1) when you compile your
69395 [offstuff aon] for c++.
69411 [decoux moulo] Well, I know nothing about windows, perhaps you can see with the author of

^ Parrot object notes posted
69383 [pate eylerfa] In a move that's sure to interest cardinal and parrot enthusiasts, Dan's

^ [Q] Array default values, << and <<=
69385 [kgergely mla] I've found a nice solution to have arrays and hashes a nice default
69386 [B.Candler po] Some care needed there. Every non-existent key of b will return a reference

^ inheirit from a swig-class
69387 [0bz63fz3m1qt] I want to inheirit from a SWIG-class, but I cannot. Why?
69401 [emilie3012 n] I assumed this was prob with tutorial code. Had a look and got same
69404 [0bz63fz3m1qt] This modification makes it work like a dream, thanks :-)
69461 [0bz63fz3m1qt] Simon Strandgaard

^ rubynet-announce Digest, Vol 3, Issue 2
69389 [rubynet-anno] Send rubynet-announce mailing list submissions to

^ Book: Der Pragmatische Programmierer
69393 [ jupp gmx.de] Saluton!

^ Behaviour of  FreeRIDE 0.5.0 RC 2
69398 [Stephan.Kaem] If I create or open a file everything seems fine and clicking the rocket
69406 [curt hibbs.c] Thanks,

^ matching nodes using rexml
69408 [nospam123 an] Question about XPath queries in rexml.
69434 [ser germane-] That's a bug.  I've taken a look at it, and I suspect that what you've
69515 [ser germane-] It turned out the solution wasn't that complex.  I'll be posting
69554 [nospam123 an] Thanks for the feedback and the quick fix.

^ Ruby Weekly News
69409 [Dave Pragmat] Ruby Weekly News: 04/14/2003

^ extensions
69412 [student_vien] sorry for this posting, it should be in another thread but
+ 69414 [0bz63fz3m1qt] If its necessary for you to call "ruby_init", then it sound to me
+ 69453 [offstuff aon] I'v solved the problem...
  69456 [0bz63fz3m1qt] Well.. the world is not perfect :-)

^ rb_class_new_instance behaves strange
69413 [0bz63fz3m1qt] # (a)
69415 [nobu.nokada ] (a) passes the given block but (b) doesn't, in normal case.
69417 [0bz63fz3m1qt] OK. This is what im trying to do.
69418 [0bz63fz3m1qt] BTW this is the SWIG im using :-)
69419 [decoux moulo] Can you give the code generated by SWIG, if it's not too long or send me
69421 [0bz63fz3m1qt] the SWIG generated file is
+ 69422 [decoux moulo] I've not found 1.3.18, at sourceforge there is only .19, .17
| 69423 [0bz63fz3m1qt] I have just installed the newest SWIG version 1.3.19 and generated a new
+ 69425 [nobu.nokada ] SWIG doesn't seem to use rb_define_alloc_func(), so allocator
  69427 [0bz63fz3m1qt] Is this a problem SWIG ?
  + 69429 [nobu.nokada ] SWIG (1.3.19 at least) seems to not support ruby 1.8.
  | 69483 [emilie3012 n] And the practical upshot is?
  + 69433 [lyle users.s] [Nobu said:]
    + 69435 [decoux moulo] Nothing new for this, from bdb
    | 69451 [lyle users.s] Thanks very much, Guy; I've incorporated this into the SWIG CVS and it
    + 69437 [matz ruby-la] I'm confident.  Tell me if you see any problem that I don't know.
    + 69443 [nobu.nokada ] 1.8 defines HAVE_RB_DEFINE_ALLOC_FUNC for that purpose.
      69452 [lyle users.s] <snip patches>
      69464 [nobu.nokada ] Sorry, I missed it.  You can make them abstract by undefining
      69548 [lyle users.s] OK.
      69565 [nobu.nokada ] You're correct of course.  Just my mistake, sorry.
      69657 [0bz63fz3m1qt] Thanks everyone for solving this problem :-)
      69664 [lyle users.s] Don't know, but you don't have to wait. Just follow the instructions at

^ Urgent Assistance
69424 [victorloma n] Dear Sir/Madam,
69428 [dcarrera mat] Could someone point me to an open-source SPAM filter that I can install on
+ 69458 [ jupp gmx.de] Saluton!
+ 69467 [spectra debi] It's a bayesian spam filter. I've already filtered over-60.000 emails with it
  69468 [dcarrera mat] Looks interesting.

^ RFC 2047 と ひらがな、 カタカナ と 常用漢字
69430 [ jupp gmx.de] さようなら

^ [OT] spam filter Was: Re: Urgent Assistance
69436 [brett_willia] www.spamassassin.org
69438 [xrfang hotma] I believe the ruby-talk group is already filtered by SpamAssassin. I would
+ 69449 [wtanksleyjr ] Unlikely, considering all the spams that get through
| 69455 [B.Candler po] No, it certainly is filtered. Look at the headers of the spams which get
| 69457 [dave pragpro] The mail-news gateway is filtered: I run SpamAssassin on messages going
| + 69460 [dcarrera mat] This explains a lot.  I have never seen a mailing list with as much spam
| | 69462 [xrfang hotma] I don't see why we can't use a ruby based filter here for ruby-talk. I have
| | 69466 [dave pragpro] I'll happily use the best tool for the job. Is there a page somewhere
| + 69463 [B.Candler po] I'm surprised that spamassassin found "Dear Somebody" as the only suspicious
| | 69465 [dave pragpro] The gateway uses SA 2.5. I'm not sure who posted a 2.2 header.
| | 69472 [brett_willia] I personally run with 3.5 as the threshold, and have increased the point score
| + 69475 [tim bates.id] I've found the same thing recently; that SpamAssassin's effectiveness has
| + 69491 [roberto REMO] Are you using the Bayesian filter from SA?  Properly trained, a Bayesian
| + 69933 [comp.lang.ru] _ You might want to look at something statistical like
+ 69459 [ jupp gmx.de] Saluton!
  69477 [hal9000 hype] Just to comment on this part... if the

^ ANN: Debian packages of FreeRIDE, FOX, FXRuby, Ripper, FXScintilla, etc
69439 [batsman.geo ] cat >> /etc/apt/sources.list
+ 69493 [cedric.foll ] It doesn't work.
| 69506 [batsman.geo ] What, "apt-get -b source freeride" (1) or the installation of FreeRIDE (2)?
| 69578 [cedric.foll ] Yes i was that.
| 69603 [batsman.geo ] Hehe, it's just a package generated with equivs, it's got no source :-)
| 69610 [cedric.foll ] # apt-get install freeride
| 69613 [batsman.geo ] I meant that I have tested that with the repository I have yet to upload
| 69638 [cedric.foll ] Thanks a lot for your answer.
+ 69874 [drejewic wsi] Thank you Mauricio, I have installed all of those packages. I have Debian

^ case insensitive match with regexp object
69441 [lists debona] irb(main):001:0> a = "test"
+ 69442 [lists debona] Sorry for wasting time, I found it immediatly after even though I had
+ 69444 [nobu.nokada ] reg = /test/i
+ 69504 [gsinclair so] This post (below) made me wonder if you can enforce case-insensitivity
  69508 [wkb airmail.] Gavin,