250077-265873 subjects 250487-319991

Witch Oracle library should I use
250267 [funkytwig@gm] Have had a look on rubyforge and done a little looking around but not
+ 250289 [B.Candler@po] ruby-oci8. It's been around for a long time, and it works well. It's the API
| + 250296 [uhellstr@ma ] I'm new on this mailing list. My name is Ulf , lives in Sweden and
| | 250304 [funkytwig@gm] Thanks for this.  Have been trying Ruby/OCI8 and it seems to work.
| | + 250307 [bitdoger2@ya] i did a describe on my table that has a lot of column
| | + 250310 [B.Candler@po] You could steal some code from ActiveRecord's Oracle connection adaptor.
| | + 250366 [uhellstr@ma ] You could always use fetch_hasch method instead of fetch. This will
| |   250753 [funkytwig@gm] Thanks, just the ticket.
| + 250750 [funkytwig@gm] ruby-dbi seems like a good idea but its Beta and there hasn't been a
|   250773 [B.Candler@po] The last release was August 2006, and it has had 11,870 downloads since
|   250809 [funkytwig@gm] Need to have a look at ActiveRecord bit it seems not to be geared
|   250810 [khaines@en g] Don't read too much into that "beta" label nor the last release.  I've
|   250811 [james@gr yp ] I know the DBI has been handed off at least once.  My understanding
|   250813 [donald.ball@] Sequel seems to be more oriented towards ORM, competing with
|   250816 [james@gr yp ] True.  Of course, ActiveRecord can issue low-level queries and return
|   251816 [djberg96@gm ] Last I checked ActiveRecord still did not handle bind parameters, which
+ 250794 [lists@be tr ] I managed to compile Ruby9i 16 months ago. I sucessfully

Subversion Ruby Bindings access to URL
250269 [igotimac@gm ] So I struggled through the installation of swig, subversion and the
250290 [B.Candler@po] I'm sure you can - probably doing something with the auth_baton.
250327 [igotimac@gm ] require 'svn/client'
250462 [kou@co mi ng] require 'svn/client'
276255 [juanseph@gm ] I am trying to authenticate to remote svn using the ruby bindings.
276276 [kou@co mi ng] "Re: Subversion Ruby Bindings access to URL" on Sun, 28 Oct 2007 20:5=
276279 [juanseph@gm ] The code I am using
276281 [kou@co mi ng] "Re: Subversion Ruby Bindings access to URL" on Mon, 29 Oct 2007 00:0=
276284 [juanseph@gm ] Thanks a lot for your answers Kouhei,
276285 [kou@co mi ng] "Re: Subversion Ruby Bindings access to URL" on Mon, 29 Oct 2007 00:5=

Re: pallet 1.2.1
250275 [stephen@to s] Oops. I still have a little work to do to remove some of the company-
+ 250276 [stephen@to s] On May 4, 4:25 am, Tomas Pospisek's Mailing Lists <t...@sourcepole.ch>
+ 250406 [d454d@we .d ] i've using pallet now for 3 or 4 projects here and still like it. :) I
  250617 [stephen@to s] Glad you like it!

Help with bigbnum
250282 [victor.reyes] ...
+ 250283 [jameskilton@] ...
| 250303 [mday@ma .c m] Python 2.5 appears to have handled the expression easily enough (3-4
| 250312 [victor.reyes] ...
| 250322 [toddkennethb] p 2048 ** 31819 - 1024 ** 31819
| 250324 [toddkennethb] Oops.  Ignore this one.  I don't know what I was
| 250344 [victor.reyes] ...
| 250391 [toddkennethb] Don't get too excited.  On my system (2.4GHz Intel),
| 250398 [toddkennethb] # The next 3 lines compute 2**32582656 in less than a
+ 250291 [B.Candler@po] Homework question? Brute force probably isn't the way :-)
  250302 [victor.reyes] ...
  250308 [B.Candler@po] Then that's the number, represented in a compact form.

Is rubyzip directory? broken?
250300 [samuel.murph] In rubyzip-0.9.1 (an earlier version worked) the 'directory?' ( and

[ANN] South East Michigan Ruby Brigade Meeting - Monday
250309 [winstont@um ] if you are not familiar with campus don't be intimidated, ask on the

Problem with memcpy, marshal, zero
250311 [djberg96@gm ] Ruby 1.8.6
250403 [tom.hurst@cl] return rb_str_new2((char *)ret);

Loop through files in a directory
250316 [bjohnson@me ] I know this is a nub question, but the documentation on ruby is
+ 250317 [jan.svitok@g] Have a look at Find.find and Dir.each.
+ 250332 [ara.t.howard] a  b  c
  250337 [mikejaystein] ...

Playing with Webrick
250318 [wmwilson01@g] I know this is all possible with Rails, but I'm thinking about creating
250325 [jan.svitok@g] private
+ 250326 [jan.svitok@g] 5. have a look at rails, how they do it... I don't have them installed
+ 250339 [wmwilson01@g] Yeah, it appears that if I just monkey patch and skip the enclosing

Re: Problems to Compile Ruby19 using MSYS and MinGW on Windows for Ruby19   Snapshots starting 2007
250320 [wonado@do ne] I tried it again today - and it works :-))

Noob Concatenation Q?
250321 [jervis@o2 ie] puts i.to_s +" :: "+arrayoutput[i]
+ 250323 [lopx@ga et .] puts i.to_s(+" :: "+arrayoutput[i])
| 250454 [rick.denatal] Correct and then the + in  +"::"
+ 250328 [w_a_x_man@ya] I know I'm not answering your question, but

Need advice for a script to scrap my Verizon account
250331 [zflyer@gm il] I am new to Ruby.  I would like to write a script that will login to
+ 250333 [jgbailey@gm ] I haven't used it myself, but if you might want to look at
+ 250334 [damnbigman@g] ...
+ 250335 [ruby@ph li .] These will probably help...
+ 250343 [Bil.Kleb@NA ] I just did something similar for our electronic
+ 250359 [swistak@ma l] try http://www.scrubyt.org - great ruby toolkit for webscraping
  250529 [peter@ru yr ] Yeah, scRUBYt! is really great and all, but currently it has one major
  250593 [swistak@ma l] i had problem with site with javascripts and i must say most of it is easly

Unicode string conversion
250341 [airmind@gm i] I'm reading a binary file in my program. It contains strings in the
250352 [dangerwillro] Stripping the BOM? (byte order mark)
250503 [airmind@gm i] There is no BOM. The specifications clearly states it "uses UTF-16,
250839 [nobu@ru y- a] BOM is a "ZERO WIDTH NON-BREAKING SPACE" at the beginning of

Re: Installing ruby-opengl in Windows: ERROR: While executin
250348 [lchau@ha oi ] You have to setup a C development tool on Window, in order to build
250349 [lchau@ha oi ] I am sorry. The paragraph about C compiler above is meant for people who

Why do these two code blocks have different behavior?
250351 [yuricake@gm ] I am not a total newbie in ruby, but I am still hazy on how things
+ 250354 [gwtmp01@ma .] Because the return statement terminates the method q1 and not the
+ 250355 [dangerwillro] ...
+ 250356 [jan.svitok@g] this return will jump out of the method altogether. So the method will
+ 250362 [sylvain.joye] I'll add one thing to the other's explanations: 'next' does what you

Benchmark of marshalling performance
250358 [sylvain.joye] I had problems w.r.t. performance of Marshal.dump in one of my
250367 [robert.dober] Thanks for sharing this, it is also very comforting to know that for
250368 [sylvain.joye] Lol. The only real problem I have with Ruby's performance is its GC ... I

Ruby-based intro programming course?
250365 [thp@or he s.] I'm considering switching from C++ to Ruby in our CS1 course.  Does
+ 250377 [satish.talim] ...
+ 250395 [Bil.Kleb@NA ] Regards,
  250405 [robert.dober] Sorry if this OT but following some of the links given in this thread
  250409 [dangerwillro] It's kind of new and a bit confusing at times due to art.
  250418 [robert.dober] Really, we are just in 0.4, I think it has great value.

RubyCocoa Sheets - help anyone?
250381 [freestyle_ka] Hey Guys
250393 [igotimac@gm ] try NSSelectorFromString
250399 [freestyle_ka] Hey Jacob
+ 250401 [logancapaldo] @selector is a way of reifying a method name. it's a bit like using
| 250404 [freestyle_ka] Ok cool, that makes sense, so I would need to define a sheet method that
| 250419 [logancapaldo] IIRC NSSelectorFromString is a good old fashioned C function, not a
| 250422 [freestyle_ka] So if its a C function, what does that mean for me using RubyCocoa? its
| + 250425 [dangerwillro] That's not necessarily a problem.
| + 250440 [spamtrap@do ] First, it's quite possible that you could pass a plain string, and RubyCocoa
|   250483 [freestyle_ka] So what your saying in effect is that although im writing in Ruby,
|   250489 [spamtrap@do ] Yes, because the code that will be calling your callback is Objective-C.
|   + 250535 [freestyle_ka] Hey Sherm
|   | 250537 [spamtrap@do ] It's a callback - you don't actually connect an event to it, or call it
|   | 250573 [freestyle_ka] I actually meant the code that calls the sheet in the first place? In
|   | + 250578 [freestyle_ka] Does that help at all?
|   | | 250582 [spamtrap@do ] You're the one asking for help - you tell me. :-)
|   | | 250585 [freestyle_ka] LOL!!!!! good point, give me a little bit of time to re-work where im
|   | | 250598 [freestyle_ka] Ok, I am making progress!
|   | | 250607 [spamtrap@do ] That calls for a drink! (Pours a pint of Guinness...)
|   | | 250686 [freestyle_ka] hahaha i know! Beers all around....!!!
|   | | 250708 [spamtrap@do ] Right. You can't instantiate a new controller instance in your Prefs NIB,
|   | | 250759 [freestyle_ka] You make a very good point there sherm that a lot of people including
|   | | 250774 [spamtrap@do ] I would actually do that in the action method. For instance, let's say that
|   | | 250825 [freestyle_ka] For sure, that sounds like a very logical way of doing things.
|   | | + 250831 [spamtrap@do ] You forgot the trailing colon on the selector ---------^
|   | | + 250833 [henryj@pa ad] You're doing things slightly differently to how i usually do this so I may be slightly off base...
|   | |   250838 [spamtrap@do ] Ah, that could be a problem, yes. I've done plenty of Cocoa in Objective-C
|   | |   250889 [freestyle_ka] Ah yes, now that is good! It makes sense to do that and is very
|   | |   250907 [freestyle_ka] Hey Guys
|   | |   250908 [freestyle_ka] oops - I meant to say "its now working!!!"
|   | + 250579 [spamtrap@do ] Yes, exactly. Button clicks and other GUI events can only call methods
|   + 250536 [freestyle_ka] Hey Sherm
+ 250402 [dangerwillro] For Cocoa info you might try the CocoaDev list.

[OT] A question for people with English OS
250394 [list.push@gm] Can you view Japanese documents on the internet with an English OS
+ 250400 [dangerwillro] Generally, these days the answer is yes. All modern OS's that are
| 250460 [list.push@gm] Thanks for the information and the link.
| 250467 [dangerwillro] Sure Harry, no prob.
+ 250590 [hramrach@ce ] It is not thing of the past. You need Japanese fonts. Most OSes or
  250599 [list.push@gm] Thanks for the input.
  250608 [dangerwillro] Japanese. But the page itself is created with bad old HTML with
  250618 [hramrach@ce ] Actually I hate they specified small letters for elements and I do not

Funny doc for setter
250408 [dangerwillro] Is it just me or is this funny?
+ 250437 [robert.dober] I see the same subtle humor here :)
+ 250845 [kbloom@gm il] Yeah, but it doesn't expose anything that didn't already exist in Ruby.
  250963 [rick.denatal] Ahh, but it's a subtle reminder that even if something is possible one

single v multiple inheritance
250411 [aidy.lewis@g] why does ruby use single inheritance and not utilise multiple
250420 [kazaam@ol co] Ruby does support it ;) It just looks a bit different and is called

250414 [gcarcass@gm ] Is there any, SIMPLE software that I can use to build GRAPHIC INTERFACES
+ 250416 [dangerwillro] Try Platypus
+ 250417 [seebs@se bs ] Yes.
| + 250424 [greg.kujawa@] I can understand both sides of this argument. As a person with a
| | 250426 [huw@DE TH SB] Ruby In Steel from SapphireSteel Software. Close though ;-)
| + 250473 [gcarcass@gm ] Yeap, I guess you are right, actualli it is a good advice, I'll try to
+ 250540 [reid.thompso] WideStudio is an open source, Integrated Development Environment for
| 250548 [gcarcass@gm ] Thanks!! It might be just what I was looking for, the only problem is I
+ 250541 [avdi@av i. r] I don't pretend to be a ruby GUI programmer, but I understand that
| 250580 [w.piekutowsk] You are right. For example there is Glade for GTK which allows quite
| 250594 [gcarcass@gm ] Thanks!!
| 250691 [ari@ar br wn] 1) unzip/untar the file
+ 250584 [spamtrap@do ] Stupid question maybe, but why look for something "like" Xcode, when you
| 250622 [gcarcass@gm ] Thanks for your mail, and actually it is not Harsh at all, I think it
| 250664 [spamtrap@do ] Actually, I remember my own "aha!" moment like that very vividly, and it
+ 250692 [john.carter@] If you really care about SIMPLE, EASY, and INTUITIVE.....
| 250695 [dangerwillro] All depends on what you want to do. Command line interfaces do not
| 250797 [greg.kujawa@] On May 7, 7:13 pm, John Joyce <dangerwillrobinsondan...@gmail.com>
+ 250693 [john.carter@] Ah yes.
  250746 [leslieviljoe] ...

Fwd: Please Forward: Ruby Quiz Submission (please update)
250423 [james@gr yp ] ...

250429 [david.alm@go] I'm experimenting with the Gmailer gem.
+ 250430 [chase.southa] ...
| 250432 [chase.southa] ...
+ 250464 [phasis68@ho ] Currently, Gmailer supports "frequently mailed" and "all".

[ANN] Rassmalog 4.1.0
250434 [ snk@gn .o g] Rassmalog is a static blog engine based on RSS 2.0, YAML,

How can I output an object/variable's name?
250439 [dangerwillro] a = 3
+ 250442 [robert.dober] No there is no way to output the name of a variable as a variable is
| 250445 [dangerwillro] Thanks Robert, but...
| 250482 [shortcutter@] No, he is saying that there are classes whose instances have a property
| 250484 [robert.dober] You are right Robert.
| 250491 [dangerwillro] Well, exactly all I want to do is to be able to take a set of
| + 250493 [robert.dober] Maybe there is a slight missunderstanding between local variables and
| + 250494 [seebs@se bs ] I don't think it is, in general.  Not every object has any names at all,
+ 250443 [TimHunter@nc] There's no way to do this in general.
  250447 [dangerwillro] What I'd like to do is similar to the idea of processing files and
  250449 [rick.denatal] John,
  250459 [gwtmp01@ma .] You can't go from an arbitrary object reference to an identifier, but
  + 250461 [gpygood@12 .] class Person
  + 250466 [dangerwillro] Gary I think this does what I'm looking for. It's a little hackish to
    250469 [dangerwillro] In fact, I might alias the eval methods as "evil" until I get a grip

how to make "quit" at the end of "menu"
250451 [gpygood@12 .] menu={
+ 250452 [gpygood@12 .] or,Is there have a hash method like to_map ?
+ 250475 [B.Candler@po] If ordering is important, don't use a hash.

WIN32OLE and Shell.Application problem
250455 [eder.sq@gm i] everything right, but it just does not open the cd-rom, maybe the
250492 [masaki.suket] It is known problem.

[ANN] Radiant CMS 0.6.1 - Stone Cutter (Security Update)
250457 [ng@jo nw on ] This release contains an important security update. Passwords since 0.5

[ANN] ActiveRecord::Extensions 0.6.0 Released
250468 [zach.dennis@] This adds one nice feature, one small feature and one bug fix. If you

SAX2Parser, anyone?
250472 [kristerj@gm ] I'm trying to mine some info from wikipedia's xml dump. The code im
+ 250474 [james.britt@] James Britt
+ 250476 [sylvain.joye] This is a syntax error. You have written
  250479 [kristerj@gm ] oh no. that really was it. (slaps forehead)

how to define a method template
250478 [sxain@ho ma ] Forgive me for the nonstandard words. I will describe my problem in
250485 [shortcutter@] Why not create all the methods on the fly?  Like
+ 250486 [shortcutter@] module.
+ 250488 [robert.dober] Robert I have understood the setup a little bit differently, was it
  250499 [shortcutter@] Maybe.  His statement seems to be a bit contradictory.  First he talks
  + 250515 [robert.dober] Difficult decision LOL
  + 250517 [sxain@ho ma ] Thanks RobertS!
    + 250520 [sxain@ho ma ] I just managed to apply Dober's codes into my app (I just copy the code
    + 250521 [shortcutter@] Actually I do Java for a living - and I don't hate it. :-)
      250528 [sxain@ho ma ] why hate it? while it makes you living and others happy...

must I use Apache locally?
250480 [Geoff Cox <>] I am considering trying out Ruby but have following question.
250481 [ecomba@ma .c] when developing your Rails application you don't need any web server
+ 250532 [cmdjackryan@] Actually, *Ruby* comes with WEBrick.
| 250568 [Geoff Cox <>] Thanks for the info Phillip.
+ 250567 [Geoff Cox <>] Thanks Enrique.
+ 250721 [ruby@mu rm n] To get started, you might want to try an embedded SQLite3 database. No
+ 250726 [khaines@en g] I know it's not standard Rails procedure, but these days when I deploy