74399-75302

74208-74900 subjects 74646-75376

^ Re: [OT] The Free Market
74399 [B.Candler po] If I choose to fly kites at the weekend, I cross-finance that activity from

^ Ruby/Java integration through JNI: working implementation
74413 [batsman.geo ] This is the idea that popped out during the last discussion in Euruko03.
+ 74436 [tran55555 ya] Yet An other JRuby ??  :-)
| + 74438 [J.Hawkeswort] I'm sure you will let the list know when you have something you want to
| + 74439 [a.bokovoy sa] Why do you think so?
| + 74440 [batsman.geo ] This approach is *very* different from JRuby. I am accessing Java
| + 74442 [james_b neur] Not quite, and the JNI route may have an advantage.
| | 74446 [batsman.geo ] You can always use JNI the other way around, to expose for instance
| | + 74450 [rodrigob int] Ok, so in theory we can start developing our GUI applications using the SWT
| | | 74451 [batsman.geo ] Right now I'm linking against Blackdown 1.4.1, but AFAIK JNI is defined
| | | 74452 [rodrigob int] Ok. A thought just occurred me. By using the proxies infrastructure in the
| | | 74455 [batsman.geo ] You mean using java.lang.reflect.Proxy?
| | | 74458 [rodrigob int] Exactly.
| | + 74475 [james_b neur] Given the choice, that would be mine, but I'm thinking of cases where
| + 74445 [tran55555 ya] Ooops (and sorry), thank you guys.
+ 74463 [armin xss.de] You are a star!!!

^ ruby debugger
74453 [cleeker gmx.] This is a rather simple question. I'm writing a program
74467 [matz ruby-la] The debugger itself uses stdin/stdout.  You have to open file

^ API for Ruby/Java integration through JNI (feedback needed!)
74454 [batsman.geo ] OK, I'm going quite fast so I need now to decide how Java classes and
+ 74483 [rich infoeth] First of all, this is a most perfect project.  To be able to "script" a
| 74631 [angus quovad] I second that.
+ 74555 [surrender_it] here we are
  74557 [batsman.geo ] it's just a variable name :) Now, if you don't like Reflect, I can still
  + 74558 [walter mwsew] That is awesome!
  | 74563 [mailinglists] Performance can become very fast completely unuseable. The latest Java
  + 74569 [surrender_it] <snip of cool samples>

^ Inconsistent rand() results with MySQL Ruby (long)
74459 [thealmightyd] Using MySQL Ruby for a website, and trying to use the built-in RAND()
+ 74497 [kh.wild wico] I've tried with dbd and dbi-mysql
+ 74498 [bob.news gmx] "Dave Dembinski" <thealmightydaev@hotmail.com> schrieb im Newsbeitrag
+ 74533 [paul snake.n] [summary: ORDER BY RAND() * 10 doesn't seem very random]
  74572 [thealmightyd] Aha!  I've 3.23.55.  Well, I guess that explains part of the problem.

^ Ruby 1.8.0-preview3 for PLD-nest/pre-AC
74462 [aredridel nb] I've just made packages of Ruby 1.8.0-preview3 for PLD's nest (unstable)

^ DBD for Oracle9i
74465 [list jimcain] the latest features, including collections, object navigation and so on,
+ 74469 [sdate everes] Yes, I am interested ... will it be possible to release in under the same
| 74485 [list jimcain] I will consider using a more open license. However, I believe that it's
| 74489 [sdate everes] Thank you for your consideration.
+ 74482 [djberg96 hot] (Hopefully this isn't a double post - browser problems)
| 74486 [list jimcain] I expect that the basic functionality will be backward-compatible, but
| 74487 [list jimcain] Oops, I forgot to address the other requests. I am planning to make
| 74490 [sdate everes] That will be positively smashing ! Please keep us informed.
+ 74501 [mneumann nte] Why not extend this for 9i functionalities?
  + 74523 [kubo jiubao.] IMHO that OCI8 extention is too complex to add new features.
  | 74547 [list jimcain] Speaking of OCI::Date and OCI::Number, this is similar to what I did
  | 74598 [kubo jiubao.] Last one question about the licence. Will you release your ruby-Oracle
  | 74628 [list jimcain] The LGPL allows linking into a non-free program, and only changes to the
  | + 74629 [djberge qwes] Back to the subject of the driver behavior itself, can you please make
  | + 74666 [kubo jiubao.] I've been sure that. A non-free program which links to the LGPLed
  |   74669 [list jimcain] Such a contradiction means you cannot use both them and the Library
  |   74670 [list jimcain] Oh, I should have added... a copyright-holder using the LGPL, or even
  |   74672 [kubo jiubao.] For an executable, the required form of the "work that uses the
  |   + 74680 [sroberts uni] But if your DBD is used by somebody to build an application for a client,
  |   + 74694 [list jimcain] Such a contradiction means you cannot use both them and the Library
  |     74756 [guslist free] I am not a specialist of law by any mean. But here, just reading the
  |     74782 [list jimcain] In the case of distribution, you have at least three entities that are
  + 74527 [list jimcain] Actually I did read through a lot of that code to figure the Ruby way of
    74565 [stedak chart] We use OTL from http://otl.sourceforge.net/ and find it to be very satisfactory. At the time it was the only decent library we could find. I had been curious
    74567 [list jimcain] I remember reading about this back in 2000 when I started working on my

^ RPM for 1.8.0
74478 [john.carter ] I would like to get / build a Mandrake 9.1 RPM for Ruby-1.8.0 Preview 3
74479 [aredridel nb] Summary(ja):	=A5=AA=A5=D6=A5=B8=A5=A7=A5=AF=A5=C8=BB=D8=B8=FE=B8=C0=B8=ECRu=

^ Re: RPM for 1.8.0 - uninitialized constant CONFIG
74481 [john.carter ] Aredridel's .spec file was a good start. It seems to be a RedHat rather
+ 74484 [ian caliban.] Ian
| 74492 [john.carter ] Unfortunately Mandrake 9.1 seems to have diverged too far from RedHat for
| 74495 [martindemell] How hard would it be to write a ruby program that generated a set of
| 74528 [aredridel nb] That's what the .spec file is -- a set of instructions for packaging a
+ 74488 [nobu.nokada ] What does %configure2_13?  1.8.0 needs autoconf 2.50 or later.
  + 74491 [john.carter ] This message is in MIME format.  The first part should be readable text,
  | 74493 [nobu.nokada ] It's a bug of ruby.  Could you show us the stack trace?
  | 74494 [john.carter ] Sorry, thats all there is. There is no stack trace. Nothing more than that
  | 74496 [nobu.nokada ] Try
  | 74560 [john.carter ] bt
  + 74504 [mike ratdog.] One thing which tripped me up for a while in mandrake was that I needed
  | + 74530 [aredridel nb] PLD takes another stance -- instead of installing both, they patch all
  | + 74561 [john.carter ] rpm -qa | grep autoconf
  + 74529 [aredridel nb] My PLD spec file uses %configure2_13 until I can figure out why the 2.5

^ icfp03
74505 [tpeters uni-] Besides the wiki page, there is also a mailing list by now.

^ String#split(' ') and whitespace (perl user's surprise)
74506 [mike ratdog.] I have to confess that I use a lot of Perl, and some of its idioms are
+ 74511 [michael_s_ca] I'd agree, FWIW.  Ruby even appears internally inconsistent; why does
| 74516 [bob.news gmx] "Michael Campbell" <michael_s_campbell@yahoo.com> schrieb im Newsbeitrag
+ 74512 [wjl icecaver] I don't know if it's intentional or not, but I do see the following at
| 74513 [decoux moulo] Well, to see what it do
| 74515 [michael_s_ca] Does that sound like a bug to you?
| 74548 [nobu.nokada ] Yes, to me.
| 74583 [matz ruby-la] To me, as well.  Commit the fix, please.
+ 74514 [wjl icecaver] '    A     50       3 for 130'.split(' ', 3).map { |x| x.strip }
  74518 [mike ratdog.] Thanks.  A minor nit is that this will destroy trailing spaces on the
  74521 [tran55555 ya] Bug ? May-be / Maybe not ...
  74522 [wjl icecaver] irb(main):002:0> "   I    like   broccolli   ".squeeze
  74524 [tran55555 ya] Well, in this case, squeeze and strip is almost the same,
  74532 [wjl icecaver] I was referring to the [sometimes unintended] effect of squeeze by
  74543 [tran55555 ya] Thanks, learn one more thing.

^ net::imap extension
74509 [spam deck.dk] I recently made a small web-interface to some mail administration, it

^ File upload and mod-ruby
74510 [ gm navel.gr] oops my mistake, thanx!

^ [OT] Re: REXML and double, rather than single quotes
74520 [ser germane-] If I may digress, I'd like to re-make on observation about software

^ [WIN32OLE] Outlook Automation Question
74531 [STUCKNER MUL] This is a multi-part message in MIME format.
74559 [shanko_date ] That is because you are not "saving" the changes ;-)
74564 [STUCKNER MUL] Thanks, that worked great!

^ Re: REXML and Namespaces.
74535 [aredridel nb] May I offer the suggestion of a "context" object that defines /all/ the
74652 [ser germane-] This is an interesting idea.  I was thinking along the same lines, but
74664 [sroberts uni] This seems similar to APIs in XOM, which I've been reading about. Have

^ have_library fails on SunOS 5.8 sun4u ??
74537 [ahoward fsl.] rubyists-
74539 [decoux moulo] The problem is not in have_library
74546 [ahoward fsl.] gcc -o conftest -I/usr/local/lib/ruby/1.6/sparc-solaris2.8 -g -O2

^ Euruko 03: some slides and photos are online.
74553 [armin xss.de] I put the slides and pics I got so far online.
74632 [armin xss.de] linux-enterprise (German linux journal) has published a short summary
74663 [botp delmont] google translates it well...

^ Who's going to OSCON?
74566 [ptkwt shell1] OK, OSCON is coming up in a couple of weeks and I'd like to figure out if
+ 74568 [list jimcain] Mmm, Oregon beer. Greet the Rogue folks if you see any, and drink a
+ 74574 [rich infoeth] i'll be there...
| 74610 [gsinclair so] In Sydney, the two are often indistinguishable.
| 74637 [ptkwt shell1] Actually, they're not distinguishable here in Portland either especially
+ 74638 [dave pragpro] I'm giving a full-day Ruby tutorial on Tuesday, and Thursday has a
| 74874 [ptkwt shell1] Since the Ruby track is on Thursday, What do people think about getting
| 74901 [matz ruby-la] I'll be there.
+ 74875 [dan sidhe.or] FWIW, there's a semi-unofficial OSCON wiki at

^ Using & for arrays of objects
74573 [kpdole ucdav] I'm having trouble using the & (intersection) method on two arrays of
+ 74597 [0bz63fz3m1qt] [snip code]
| 74600 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
| 74603 [0bz63fz3m1qt] I was refering to the code posted in the root of this thread.
| 74612 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
| 74613 [0bz63fz3m1qt] OK.. What I meant with "no intersection method" was: That his class did
| + 74633 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
| | 74636 [0bz63fz3m1qt] OK.. I wasn't aware that Ruby does the job for you (for free) :-)
| + 74648 [hal9000 hype] Apparently the only problem is that you are both
|   + 74650 [0bz63fz3m1qt] True..
|   | 74656 [androflux so] Hey, don't feel bad. I think you did a good job of explaining why you want
|   | + 74657 [batsman.geo ] No silver bullets.
|   | + 74659 [0bz63fz3m1qt] I only feel bad about my english skills. Otherwise I feel good :-)
|   + 74735 [bob.news gmx] "Hal E. Fulton" <hal9000@hypermetrics.com> schrieb im Newsbeitrag
|     + 74738 [denshimeiru-] Not too loud, otherwise Matz might start pretending he isn't good at
|     | 74796 [ jupp gmx.de] Saluton!
|     | 74819 [martindemell] def i_think
|     | 74820 [vjoel PATH.B] def i_think
|     | 74942 [bob.news gmx] "Joel VanderWerf" <vjoel@PATH.Berkeley.EDU> schrieb im Newsbeitrag
|     | 74999 [denshimeiru-] Not really... that's not Ruby.
|     | 75050 [bob.news gmx] "Rudolf Polzer" <denshimeiru-sapmctacher@durchnull.ath.cx> schrieb im
|     | 75099 [denshimeiru-] Beer = Be-er = someone who is ^_^
|     | + 75113 [bob.news gmx] "Rudolf Polzer" <denshimeiru-sapmctacher@durchnull.ath.cx> schrieb im
|     | + 75132 [ jupp gmx.de] Saluton!
|     |   75168 [denshimeiru-] Hm... really?
|     |   75302 [jjenning fas] yes - fashion it from bits so to speak. perhaps perl is more onto things
|     + 74761 [guslist free] #! /usr/local/bin/perl -w
|     | 74809 [ jupp gmx.de] Saluton!
|     | 74870 [damian conwa] It sure is. It's the singular masculine vocative perfect passive participle
|     | + 74880 [hal9000 hype] participle
|     | | 74882 [dan sidhe.or] parallel. (In constant time, of course)
|     | + 75004 [ jupp gmx.de] Saluton!
|     + 74795 [ jupp gmx.de] Saluton!
+ 74614 [nobu.nokada ] Array#& uses Hash internally due to performance, so you need to
| 74618 [guslist free] I barely dare asking this because I know how tedious of a task
+ 74655 [androflux so] & uses hashes under the hood. You need to define #hash and #eql? for your

^ Is there a Unit test tool distributed with 1.6?
74575 [gsemones tre] I know there are several unit test tools (runit, lapidary, etc.) that
+ 74576 [mwilson13 co] ...
| 74624 [gsemones tre] Thanks to everyone for the feedback.  It looks like Test::Unit is
+ 74580 [androflux so] Not to my knowledge.

^ why can't I use $3somevar for global variable in ruby 1.8.0?
74579 [donglai MIT.] preview3.  I noticed that I can no longer define global variables like
74582 [dcarrera mat] Huh?
74584 [eban os.rim.] Your ruby is too old.
74585 [donglai MIT.] There must be a reason why $1ve is disallowed in 1.8.0 but I can't
74586 [eban os.rim.] [ruby-core:00945]
74601 [bob.news gmx] "WATANABE Hirofumi" <eban@os.rim.or.jp> schrieb im Newsbeitrag
+ 74617 [michael_s_ca] I'd agree with this point.
+ 74647 [hal9000 hype] But $3var doesn't start with a 3; it starts with a $.
  74736 [bob.news gmx] "Hal E. Fulton" <hal9000@hypermetrics.com> schrieb im Newsbeitrag
  74740 [B.Candler po] The character definitely _is_ part of the name. For example, try doing

^ method overloading?
74587 [donglai MIT.] Is there a way to implement method overloading in ruby?  Naively I just
+ 74589 [dcarrera mat] def my_method(*args)
| 74590 [donglai MIT.] Yes, this would solve the problem but it's not ideal or elegant, the
| + 74592 [dcarrera mat] Well, I guess that using a case statement would help a little.
| + 74596 [batsman.geo ] Why not
+ 74591 [rpav nwlink.] <shameless plug>
| + 74593 [donglai MIT.] What is RAA?  Is there any documentation for it?  Thanks.
| | 74594 [dcarrera mat] Ruby Application Archive.
| + 74619 [kgergely mla] But this also doesn't allow one to later add a new case...
|   74622 [nobu.nokada ] def foo(arg)
+ 74602 [bob.news gmx] "Donglai Gong" <donglai@MIT.EDU> schrieb im Newsbeitrag
  74626 [john.platte ] John Platte

^ Strange IRB Syntax Error
74599 [bob.news gmx] irb(main):001:0> RUBY_VERSION
74615 [nobu.nokada ] It's too old, and fixed already.
74635 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag

^ Magic at class-definition time
74604 [cjh_nospam m] In an interview on http://www.codegeneration.net/>, Pragmatic Dave
74640 [dave pragpro] def Table.field(type, name, *options)

^ FileUtils - :preserve does not preserve mtime of directories on Windoze
74611 [grzegorz pit] I have been trying to copy whole directory trees while preserving
74616 [nobu.nokada ] It works on NT series.
74729 [grzegorz pit] I have tested it on three different Win2000 boxes. On one it works

^ \s in regex
74620 [internetlett] what I want is to remove beginning and trailing spaces from lines.
+ 74621 [michael_s_ca] Not the answer to your question necessarily, but try String#strip (or its
+ 74623 [0bz63fz3m1qt] How about String#strip!   ?
| 74630 [B.Candler po] irb(main):001:0> "\n".sub(/^\s+/,"")
+ 74625 [mike ratdog.] One approach might be to use String#strip as suggested by another
+ 74634 [ahoward fsl.] /usr/home/howardat/eg/ruby > cat blank.rb
| 74649 [batsman.geo ] batsman@tux-chan:~$ ruby -v
| 74658 [ahoward fsl.] damn!  back to the drawing board...
+ 74639 [wkb airmail.] s,

^ dbi -> sqlrelay -> mssql performance
74627 [raphael.baud] We have to migrate an mssql database to Postgres and plan to do it with the
74849 [    s xss.de] This is *waaaay* too slow.

^ Gtk::Entry::SIGNAL_?????
74641 [rodrigo.berm] I am experimenting with ruby /gtk  and so far it looks so nice & easy
74645 [rodrigo.berm] and the mental power of this list gave me the answer    .....

^ where to put private/raa libraries?
74642 [donglai MIT.] How does ruby looks up a class/module when you use 'require'?  Does it
74644 [rodrigo.berm] Your require path is the current directory, the $RUBYLIB  (on your ENV)

^ Dutch user group updated
74643 [danny laamel] At http://rubygarden.org/ruby?DutchGroup you can see an effort to combine
threads.html
top