89160-124332 subjects 89530-89995

rexml and external entities
89340 [cjh-nospam@n] The rexml included with 1.8-preview3 doesn't expand external entities.
89401 [ser@ge ma e-] REXML is not a validating parser, and therefore is not required to
89407 [Mark.Volkman] ...
89426 [cjh-nospam@n] Exactly my need. Sean, if I locate the external file, do I need to

89342 [Ara.T.Howard] rtk'rs-
89354 [nagai@ai ky ] If you set @path instance variable, you don't need the access method

ruby-1.8.1/ext/tk/sample/demos-en/ : none works!
89353 [Paul.Sue@te ] [Solaris 8]
+ 89355 [nagai@ai ky ] Most of demos-en samples are started by a launcher script 'widget'.
+ 142638 [fillmeup@we ] ... at least thats what ya consider 4 non-win os, as for win you have to
  142640 [nobu.nokada@] It already has no longer used an external command there.

RDoc & other questions...
89359 [GGarramuno@a] 1) Is there any document describing the syntax and rules that rdoc
89361 [dave@pr gp o] The README that comes with it has a fair amount of information.
+ 89373 [GGarramuno@a] Yes, thanks.  Just got it.  Is it possible the ruby1.8 standard
| 89378 [dave@pr gp o] In the CVS tree, it's at lib/rdoc/README.
+ 89410 [GGarramuno@a] Okay.  Here it goes...
  89411 [dave@pr gp o] If BUGS is the name of a class or module, this happens automatically.

[OT] Fwd: How To Ask Questions The Smart Way
89362 [gfb@to es ft] An interesting piece of reading -- it does not apply to this list most

Database applications and OOness
89367 [tim@ba es id] People,
+ 89368 [bob.news@gm ] "Tim Bates" <tim@bates.id.au> schrieb im Newsbeitrag
+ 89369 [surrender_it] have you ever looked at the Criteria library ?
| 89370 [tim@ba es id] write an OO DBMS interface I'd use it, or at least some of the code and
| + 89382 [hal9000@hy e] Tim,
| | 89384 [khaines@en g] I write a lot of code that provides some sort of web based view or
| | 89390 [walter@mw ew] I have a system that was developed in house.  It is not exactly what
| + 89402 [sera@fh an .] strongly recommend that you consider extending somebody else's work
| | 89414 [tim@ba es id] Absolutely, I wouldn't want to write yet another database interface if I
| | 89445 [sera@fh an .] 1. Regarding subtle differences in query syntax: If I had a
| | + 89450 [James.Weiric] DBI supports this.  Given a database handle db, you can do ...
| | + 89475 [tim@ba es id] Okay. I don't have a comprehensive list, I'd imagine most of them would
| + 89404 [david.naseby] I liek the look of ROE
| | 89429 [tim@ba es id] This article has a point that I've seen before, namely that object
| + 89409 [rpav@me hl .] I just noticed a thread discussing Criteria in passing. ;-)  Looking
| | 89417 [tim@ba es id] Well this doesn't actually work, because the ORDER BY clause references
| | 89424 [rpav@me hl .] Hmm.  I really need to release 1.2.  You can always grab the latest
| + 89423 [mwilson13@co] I would like to see a Ruby library along the lines of Alphora's
+ 89374 [martindemell] What would you like it to return? Should it construct a class on the fly,
| + 89376 [mlipper@US A] If your application can be written in Java, check Hibernate (
| | 89479 [martindemell] I love Hibernate, but I think the hit of switching from ruby to java
| | 89528 [mlipper@US A] Yeah, definitely. Hibernate is probably worth a cursory look at the source
| + 89428 [tim@ba es id] I don't know. Probably an array of arrays or an array of hashes - which,
|   + 89455 [dhtapp@co .n] I've been watching this thread with a great deal of interest.  I'm
|   + 89998 [martin@zs fh] forgive me for jumping in late in this thread...
+ 89408 [surrender_it] on a sidenote: someone agrees with me that we should have a common
| + 89412 [Ara.T.Howard] yaml?
| + 89433 [bob.news@gm ] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
|   89544 [surrender_it] actually, I meant having at least a JDBC like interface, or, what in
|   89547 [James.Weiric] DBI is that common interface (and is modelled on the Perl DBI ... I suspect
|   89551 [surrender_it] right. but every dbms binding has a different basic api. Why this
|   89667 [bob.news@gm ] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
|   89676 [James.Weiric] I'll try to explain some of the rationale behind the DBI implementation.
|   + 89690 [Ara.T.Howard] (to above OP)
|   + 89702 [surrender_it] I actually meant the latter. Not duplicating code is a reason that I
|   + 89767 [martindemell] Thanks, that was an interesting read. Could you (or may I) put it up on
+ 89552 [david@lo dt ] I've build an implementation of Martin Fowler's ActiveRecord pattern
  + 89554 [khaines@en g] Oh, yes, please?  Pretty please?  That looks a LOT like what I was
  + 89563 [surrender_it] the auto_id functionality may be achieved with SERIAL type in standard
  + 89578 [aredridel@nb] Whoa, me too -- I came up with it while coding an MVC-structured web app

TaskMaster (was Re: DRb question)
89386 [p_bossi_AGAI] Btw, do you know that Phil Tomson's TaskMaster
89422 [jos@ca no k.] No, thanks for the pointer! It looks very interesting.

89391 [usenets@ya o] Does anyone ever get Cerise to work with mysql? How? Thanks

ruby firebird
89396 [giuseppe.mas] Mandrake 9.1.
89430 [ ts@ps u. du] conn = InterBase::connect('localhost:/home/joe/test.gdb', 'sysdba','masterkey')
89438 [giuseppe.mas] I have problems with Firebird access from mod-Interbase0.03.

[ann] ROS ruby operatin system, now as vapor ware
89397 [neoneye@ad l] homepage

mysql-ruby for ruby 1.8.1 on windows ...
89400 [usenets@ya o] Does anyone ever compiled them sucessfully? Please post the binary ...
89431 [timsuth@ih g] Yes, I have done compiled this. I'll upload instructions/libs tomorrow in
89495 [timsuth@ih g] I have put instructions at
89499 [timsuth@ih g] Oops, my instructions are completely wrong! Don't use them yet...
89509 [timsuth@ih g] I've "fixed" the instructions, in the sense that they make sense to me,
89525 [timsuth@ih g] messages from the linker when trying to build mysql-ruby (things like
89561 [usenets_remo] First of all, thanks for sharing your experience with the rest of us.
89570 [timsuth@ih g] I'm using msys/mingw. (Which I also used to compile Ruby.) This uses the

ruby 1.8.1 crosscompiling for armv4l (iPAQ)
89418 [kero@ch ll .] Cross Compiled Ruby on i386 with an arm-linux-suite, after I had to add

Squeak Box
89425 [Dan@Sq ea la] Greetings from the Land of Squeak -
89442 [nathaniel@ta] Dan, thanks for the time you put in to this and for letting us in on

Store shell session/cmd.exe session in some object?
89427 [zdennis@mk e] mysession = SystemShell.new		//Would I open a pipe? Would it be a IO.new?
+ 89435 [bob.news@gm ] "Zach Dennis" <zdennis@mktec.com> schrieb im Newsbeitrag
| 90043 [zdennis@mk e] Thank you so much Robert, your code has proven to be invaluable to my
+ 89471 [vjoel@PA H. ] I've never used it, but does shell.rb in the standard lib do what you want?

convert a C/C++ array to a Ruby array
89434 [elathan@ph s] double * foo(void);
89436 [nobu.nokada@] How do you use it in C at all?
89437 [elathan@ph s] double * Foo::Get();
89439 [nobu.nokada@] If you can get the length from Foo, you can use it.
89440 [elathan@ph s] Yes I know. The problem is that I am creating Ruby bindings for a large
89469 [intc_ctor@ya] I'm just curious, why didn't you use SWIG for this?  Sounds sort of
89646 [elathan@ph s] Because SWIG doesn't produce readable by human C++ code. Also, there

How To Get 1 Million Visitors
89443 [ericon@co he] "How To Get 1 Million Visitors On Your Website Without Paying A Dime in advertising "

I don't understand this behavour, is it a bug?
89444 [djomilne@ho ] Please I wonder if any one can give me some advice?
+ 89447 [peter@se an ] In ruby, as opposed to say basic or c, the variables do not hold values but
+ 89448 [markjreed@ma] No, it's not a bug.  In Ruby and most OO languages, variables don't
  89452 [djomilne@ho ] it a

testunit and infinite loop
89446 [Bil.Kleb@NA ] My searching abilities are failing me today...
+ 89449 [nathaniel@ta] Could you just use timeout?
| 89451 [Bil.Kleb@NA ] Perfect.  Thanks.
| 89462 [Stephan.Kaem] Well, I don't think there's a paradox. But I do think the this is a (and
+ 90042 [emschwar@po ] One doesn't.  We've known this since Alan Turing proved it in 1936.

ruby 1.8.1 windows installer
89453 [kgergely@ml ] Shall I expect an msvc ruby installer for ruby 1.8.1?
+ 89454 [andy@pr gm t] Yes, I am planning on getting that out shortly. Our new books were
| + 89459 [vjoel@PA H. ] Apologies if this has been discussed before, but is there a way of
| | 89473 [andy@pr gm t] That *is* my intent, but that also takes time to set up.  I'll try to
| + 89691 [NOSPAMcs96an] Is there any plan to update the pickaxe book in the future?  The 1.6.1
|   89716 [intc_ctor@ya] The computer book industry has had three years of declining revenue now.
|   + 89753 [robertm@sp l] Perhaps a letter writing campaign to Addison-Wesley is in order?
|   + 89860 [NOSPAMcs96an] Maybe if you don't make the new version available online, then more
|     89870 [batsman.geo@] OTOH...
|     + 89887 [ahoward@fa t] ditto.  i bought two copies and gave them away - to spread the word.  both
|     | 89888 [zdennis@mk e] There is a PickAxe book out? I'll buy it =) I love real book reading rather
|     | 89925 [dagbrown@LA ] The other thing is, perhaps the book needs to be more widely publicized.
|     + 89890 [ruby-talk@he] I was just as guilty of using the online ver, but I ran across the
|     | 89891 [dave@pr gp o] Here, here!!  :))
|     | + 89907 [gsinclair@so] I think that's a sensible approach for you.  The 1.6 standard library
|     | + 89920 [dagbrown@LA ] Oh er, well, see...
|     | + 89922 [kapheine@hy ] =20
|     | | 90041 [timsuth@ih g] You may already know this, but ri was created by Dave using Pickaxe.
|     | | 90104 [kapheine@hy ] Yeah, but with 1.8.1 ri data is generated from the ruby source code. I
|     | + 89978 [bobx@li ux a] It would be nice if it were only printed (nothing fancy) with most of
|     | + 89979 [bobx@li ux a] It would be nice if it were only printed (nothing fancy) with most of
|     + 89905 [gsinclair@so] On the economic question, I'd say it can be argued pretty well either
+ 90860 [NOSPAMcs96an] Any news on when this will be out?
  90865 [emmanuel.tou] it's not an installer, but it's ruby 1.8.1-mswin32
  90866 [emmanuel.tou] (and thank you VERY MUCH to the author if he's reading this)

block delimiting
89456 [pmy@vi gi ia] I'm a Perl -> Python -> Ruby convert and new to this mailing list.
+ 89457 [fxn@ha hr f.] and collapse their lines in Emacs. Useful for reading but not for
| 89460 [wmwilson01@h] $ cat test.rb
| + 89461 [pmy@vi gi ia] Better, but no cigar I'm afraid. One of the things that makes Python so
| | 89472 [kent@ze os h] Then stick with Python.
| | 89474 [hal9000@hy e] Or do what I do: Use Ruby in spite of whatever minor flaws you might
| | + 89476 [tim@ba es id] Except for newlines, which have been significant from the beginning
| | | + 89491 [jim@fr ez .o] Can you provide an example, I'm not sure what you mean.
| | | | + 89492 [david.naseby] ruby 1.8.0 (2003-08-04) [i386-mswin32]
| | | | + 89501 [djd15@po cw ] foo(bar) # valid
| | | + 89497 [austin@ha os] Well, newlines in a line/expression-oriented language aren't a big deal. I
| | + 89480 [pmy@vi gi ia] That's what I'm doing now. In fact, that's what I've done with every language
| | + 89514 [matz@ru y- a] Or do what I did: Design new language without flaws from your point of
| + 89481 [joe@no ch rl] Oh, god, that's hard to follow!
| | + 89486 [fxn@ha hr f.] Just out of curiosity, is it possible to write source filters in Ruby?
| | | 89488 [ralph.mason@] I am sure you could do something like
| | | 89490 [cyclists@nc ] Back in 1985 the company I work for decided to rewrite its entire PL/I
| | | 89493 [ralph.mason@] I wish the reverse about Ruby, if I could change one thing it would be
| | | + 89496 [wmwilson01@h] While I agree that it's just plain ugly, and I would never actualy argue
| | | + 89521 [jfh@ci e. fl] I'll pipe up and say 'me too' , though it's certainly not a deal breaker.
| | + 89498 [austin@ha os] I don't disagree, but that's precisely why I personally don't care for
| |   89500 [pmy@vi gi ia] OP?
| |   + 89511 [austin@ha os] Original Poster. That would be you. :)
| |   + 89529 [markjreed@ma] Original Poster.
| + 89482 [rodrigo.berm] print "A simple Copy/Paste can screw up your code"
+ 89465 [austin@ha os] I chose not to learn Python because of the crap called syntactically
| + 89467 [pmy@vi gi ia] I avoided Python also, for the same reason. Then one day I decided to dive in
| | + 89468 [gfb@to es ft] It looks like an invitation to a flame war. If you are so sensitive to
| | + 89478 [martindemell] Take a look at Haskell sometime.
| | | 89489 [jeremy@ch os] My impression was that Haskell and Python treated this issue in
| | | 89505 [djd15@po cw ] Haskell doesn't require you use significant whitespace. You can write
| | | 89518 [joe@no ch rl] This doesn't fix the big problem with meaningful indentation, which is
| | | + 89532 [tibbetts@ac ] Precisely. This happens more often than any of us would like to admit. ;^)
| | | | 89535 [jgb3@em il b] Well, a plug here for vim: it's got a script/plugin you can get that
| | | | + 89536 [tibbetts@ac ] Jamis,
| | | | + 89538 [markjreed@ma] Cool!
| | | |   89539 [markjreed@ma] I overlooked a few minor keywords . . . like "class" and "def".  You know,
| | | + 89543 [djd15@po cw ] let {
| | |   89568 [martindemell] Yes, that and, as importantly, it lets you mix and match the two, so you
| | + 89503 [austin@ha os] Note that there are other reasons that I will not touch Python unless paid a
| |   89504 [pmy@vi gi ia] The Ruby interpreter does tell you what your style should be. It forces you to
| |   89510 [austin@ha os] That's not style. That's syntax. What you're saying is little different than
| + 89477 [ralph.mason@] Stuart Feldman - author of make on syntactically significant whitespace.
+ 89466 [dtillman@ox ] Myself also.
+ 89487 [unet@re x. o] I also followed the Perl -> Python -> Ruby route, and
+ 89524 [louis@DE ET ] Python's syntactically significant white space is a bore, I don't mind
+ 89541 [GGarramuno@a] Noooooo!  If you really believe that's a language feature, you really
| 89558 [austin@ha os] FWIW, vim has wonderful Ruby support, and there's macros that Do The Right
+ 89604 [ian@ca ib n.] They are not superfluous. You need a tangible block delimiter in order

[Semi-OT] http connecting to netflix
89458 [wmwilson01@h] I was poking around, thinking about creating something to manipulate my
89463 [beast@sy te ] 302 is 'temporarily moved', you're getting redirected. The Location
89464 [Peter.Booth@] Best tip is to use muffin (a java http proxy) to log the traffic between
89483 [chrismo@cl b] If you're on Windows, you can use Ruby to drive IE via its COM

tcltk_stubs init error (was problems compiling ruby 1.8.1 on AIX 4.3.3 AND 5.1)
89470 [Paul.Sue@te ] OK, I finally got it to compile .. had to undef some stuff.
89485 [nobu.nokada@] How did you change?

[SEMI-OT] On The (Non) Value of Programming Language Research
89484 [jbritt@ru y-] There have been periodic requests for a formal specification of the Ruby
89502 [elbows@sp mc] When people asked for a spec of Ruby, I always thought they meant

ANN:  First release of Perl's Getopt::Declare for ruby
89494 [GGarramuno@a] Okay, as a way of returning the favor for all my recent silly
89506 [vjoel@PA H. ] Darn, just when I've gotten in the habit of using optparse everywhere,
89515 [ggarramuno@a] Yes, it's possible, but you have to convert it to a space separated String
89556 [nobu.nokada@] What about strings contain spaces?
+ 89567 [GGarramuno@a] I'd say pass them in quotes and then remove the quotes, but I know
| 89653 [pit@ca it in] ARGV.clear
+ 89585 [ggarramuno@a] [ '-ARGV', array ]

Query syntax in O-R mapping (was: Database applications and OOness)
89507 [sera@fh an .] < much Lafcadio-specific discussion snipped >
89517 [rpav@me hl .] <snip bits about Criteria hackage ;-)>
89527 [STUCKNER@MU ] A bit of background before I respond to the question of using Critera for
89639 [sera@fh an .] That's interesting. I didn't realize that Criteria was meant for data
89683 [nathaniel@ta] This is the #1 reason I'm using Criteria in my app: I get completely

online literatures
89508 [rleeabc@ab n] I have compiled a list of online literatures, mostly related to
+ 89512 [harryo@qi so] Wow! What a great list.
| 89513 [maillist@be ] Thanks mate!
+ 89616 [martindemell] Very nice! You need a key for the [C] and [M] annotations.

RubyTk variable problem
89516 [sem@od n. yn] I have loaded  some fonts into $list, and put it

Call method from a TK object
89519 [louis@DE ET ] Please can someone tell my why the code that follows works when the
89520 [decoux@mo lo] $start
89522 [louis@DE ET ] Nope, calling StopWatch.tick or StopWatch.zero doesnt work, "no such
89523 [decoux@mo lo] You make the confusion between StopWatch::tich (class method) and
89526 [louis@DE ET ] Thx for the help. Appreciated.