39584-40176

39410-40060 subjects 39799-40552

REXML and streaming APIs
39584 [ser@ge ma e-] I'd like to solicit comments from the people in this group that use
+ 39593 [james@ru yx ] You don't use a streaming API? Oh, you're missing out on some slick stuff!
+ 39763 [nat.pryce@b1] I'd like to see a "pull" parser, rather than a push parser for a number of
  + 39769 [hutch@re ur ] I agree with you Nat. I expect to make a pull parser I written in (pure)
  + 39773 [tobiasreif@p] template match="p"
  | 39780 [nat.pryce@b1] Can you explain in more detail?  I don't understand your analogy.
  | 39784 [tobiasreif@p] Yes. And that's what's called push in XSLT, where both push and pull are
  | 39790 [nat.pryce@b1] I think we're suffering from terminology clash!  In my experience of XSLT, I
  + 39786 [ser@ge ma e-] Ok.  It is on the TODO list.

Ruby vs. Java vs. Native trivia
39585 [ser@ge ma e-] I'm reposting this, because I don't think it got propegated properly the
+ 39610 [matt@li ke .] This pretty well proves that Ruby does the "scripting language" thing
| 39612 [ser@ge ma e-] What surprised me was that the Ruby script was nearly as fast as the
| 39668 [benoit.cerri] You probably need to try with a bigger app.  I'd guess that the compile to
+ 39630 [kroeger@bi f] I don't know anything about GCJ.
+ 39634 [sma@3p us .d] "Sean Russell" <ser@germane-software.com> schrieb
| + 39641 [ser@ge ma e-] Well, I'm not really trying to run benchmarks here.  As I mentioned in the
| | 39647 [sma@3p us .d] "Sean Russell" <ser@germane-software.com> schrieb
| | 39651 [ser@ge ma e-] Oh, no... I didn't think you were.  I was just trying to be clear that I'm
| | 39827 [sma@3p us .d] "Sean Russell" <ser@germane-software.com> schrieb
| + 39654 [michael_s_ca] Not to pick nits here, and it may be a (spoken) language issue, but the
|   39655 [sma@3p us .d] "Mike Campbell" <michael_s_campbell@yahoo.com> schrieb
+ 39669 [larsch@cs au] For a numerical-intensive program i'm getting QUITE a different result. I
  39672 [chris@da kr ] o dynamic: when the application is loaded into memory there is a delay
  + 39677 [larsch@cs au] This cannot explain it entirely.  On this box, the static version takes
  | 39678 [ekarttun@cs ] The shared library contains position-independent code which is slower
  + 39727 [ser@ge ma e-] I've never understood this.  AmigaOS was heavily dependant on DLLs -- in
    39828 [sma@3p us .d] "Sean Russell" <ser@germane-software.com> schrieb

Taintedness inheritence
39586 [ser@ge ma e-] I posted a message a while back about the tainted? trait of objects in
39597 [matz@ru y- a] I didn't really get what you meant by "taintedness inheritence".
39609 [ser@ge ma e-] Yes.
+ 39624 [kentda@st d.] My understanding is that taintedness is highly connected to the security
| 39680 [chris.morris] One reason Sean has brought this issue up is related to my XmlSerialization
| + 39682 [decoux@mo lo] Well, this problem is well known if you came from a P language.
| + 39730 [ser@ge ma e-] Chris is right.  For the record, "fixing" this in REXML would be really
+ 39691 [matz@ru y- a] I see.  I often call it "taint propagation".
  39732 [ser@ge ma e-] Ok.
  39745 [matz@ru y- a] It seems.  But I'm not sure about the latter half of 2).  The strings

line recall in irb on Linux
39589 [alko@nc rr c] Up arrow recalls the previous line in the bash shell on Linux but in irb up
39599 [matz@ru y- a] It does on my Linux machine.  irb ignores arrow keys when it cannot
+ 39608 [alko@nc rr c] This is on a SuSE 7.2 box and
+ 39614 [alko@nc rr c] 1. readline-devel needed to be installed, from CD3 of the SuSE distribution.

mod_ruby binaries
39601 [rschmidt@xm ] Could someone kindly point me to some mod_ruby binaries for win32 (cygwin or

Object#pred
39606 [gnhurst@hu s] One way to solve this whole issue is to define the set of values
39607 [gnhurst@hu s] Oops, I changed from Integer.pred to Numeric.pred and forgot

Clarification requested on Object->Kernel relationship
39618 [rich@in oe h] "When a class includes a module, that module's instance methods become
39627 [decoux@mo lo] yes,
39643 [rich@in oe h] Object
39673 [decoux@mo lo] It's a class, i.e its class is Class like for a singleton class
39685 [rich@in oe h] Thanks Guy.
+ 39686 [decoux@mo lo] Well, internally ruby has 2 type T_CLASS, T_ICLASS
+ 39688 [Dave@Pr gm t] I'm not sure about the first part: It's internally a T_ICLASS, but
  39689 [decoux@mo lo] Be carefull with this, because ruby lie :-)))
  39692 [Dave@Pr gm t] Ah, interesting. So really Rich's question turns out to be
  39707 [chr_news@gm ] I guess my (pure Ruby) expectation  (assuming Object.superclass != nil)

ANN: RHDL 0.1.0
39623 [ptkwt@sh ll ] What's RHDL? Ruby Hardware Description Language, or maybe more accurately,

[ANN] RAA wrapper client (Alpha-1)
39625 [dsafari@xt a] Just announcing that I have put together a wrapper around the RAA so that a
39632 [matt@li ke .] Just FYI, downloading the SOAP lib and all its dependencies exceeded
+ 39666 [dsafari@xt a] Matt,
+ 39749 [nahi@ke na t] I hope if some raa.succ projects helped you.

We have visited your website www.rubyconf.com
39629 [reply@fu lp ] Dear Sir/Madam,

defunct child process
39631 [dcorbin@im e] I've got ruby application, running on Linux.  It creates a child process
+ 39633 [decoux@mo lo] You must call Process::wait
+ 39635 [neil@qu ll r] I cannot claim this the correct way,
  39636 [neil@qu ll r] Sorry that got mangled,
  39637 [ms@ia ta e. ] Or you might find it sufficient to say
  39645 [neil@qu ll r] True, though without the rescue you can
  39646 [ms@ia ta e. ] Neil, I'm not sure where the array conversion error could come from
  39693 [neil@qu ll r] Mark, its all probably down to my code,

[XML] Database Apache Xindice
39638 [tobiasreif@p] did anyone try the XML Database Apache Xindice
+ 39640 [james@ru yx ] Looks interesting, but the Apache folks should understand that the minute
+ 39642 [lafor@ar ak ] I devoted some hours this week-end to migrate my mp3 collection from

Iterators and index
39648 [dcorbin@im e] Please consider this fragment
+ 39650 [gotoken@no w] There is each_with_index for you.
+ 39652 [mike@st k. o] What about
| 39656 [dcorbin@im e] Thanks.  That's not in the Programming Ruby reference... Where is the
| 39660 [Dave@Pr gm t] How about the Programming Ruby reference :)
| 39671 [dcorbin@im e] You're right of course.  I think I skipped (missed) it because its's not
+ 39653 [chris@cm -e ] list.each_with_index { |x, y| puts "#{y}: #{x}" }

newbie Q: how to strip blank lines from file?
39657 [stewart@NO H] Well, I've spent a few days reading about Ruby, and want to try my first
+ 39659 [dblack@ca dl] fout = File.open("snip.out", "w")
| 39674 [tobiasreif@p] I'm not sure, but shouldn't snip.out get closed?
| 39676 [dblack@ca dl] Yeah, probably.
| 39679 [tobiasreif@p] ... or use
+ 39661 [chris@cm -e ] The reason for your infinite loop is that in your while loop, you never
+ 39662 [Dave@Pr gm t] A simple solution might be something like
| 39663 [dblack@ca dl] I think you'd need a star in there:  /^\s*$/
| 39665 [stewart@NO H] Well, I found a solution to my problem using code examples on-line for "The
+ 39664 [kjana@dm la ] You can skip a blank line to eliminate it from output so....
+ 39675 [tobiasreif@p] check

Ruby Weekly News
39667 [Dave@Pr gm t] Ruby Weekly News: 05/05/2002

getaddrinfo failing under Win32
39670 [mattbee@so p] [originally posted to the comp.os.ms.programmer.win32 newsgroup, but

Fixes for the new step methods in the range.c & numeric.c
39681 [chr_rippel@g] ...
39695 [matz@ru y- a] 以下のようなメールがruby-talkに来たのですが、私にはどこがどう違うのか
39697 [matz@ru y- a] Oops, wrong address.  Sorry.
39731 [chr_news@gm ] I guess the patches need a better explanation.  Here is the rational

colouring the drawingarea in GTK
39684 [thejaswi_p@i] please help me in changing the colors of lines,arc,,rectangles etc in
39733 [christl@re t] I assume you know how to draw stuff at all (ExposeEvent). You need

ruby-dev summary 16991-17000
39687 [ttate@kt ja ] [ruby-dev:16994] Adding once.rb to the standard library

Embedding Ruby in C++
39694 [whizkid@xn t] I'm new to Ruby, and I must say I really like it, quite much that is. I
39696 [jjenning@st ] I advise you to use SWIG. You'll have to check out the CVS version, but
39698 [rick@ri kb a] I believe he wants to go the other way.
39702 [jjenning@st ] this is how i thought of it: you wrap the classes you want to get at in
39703 [roundeye@ro ] I used to do a lot of embedding of Perl into C/C++ and C/C++ into Perl,
+ 39704 [rick@ri kb a] I used to do a lot of embedding of Perl into C/C++ and C/C++ into Perl,
+ 39708 [dossy@pa op ] I'm thinking of embedding Ruby in an application but I have a
| 39709 [elanthis@aw ] Not in the least.
| + 39712 [dossy@pa op ] Ah, damn.
| + 39760 [ rik@kd .o g] #if Sean Middleditch
+ 39711 [jjenning@st ] that was what i was talking about.

Class contants in extensions
39705 [djberge@v5 h] I want to create a module with some constants that can then be accessed as Class
39706 [pbrannan@at ] [ruby-talk:31593]
39710 [djberge@qw s] So, I'll just set up read-only class variables then. :)

fork + socket = hang
39715 [jjenning@st ] i've got a program (interesting, but description lengthy) which accepts

NNTP library for Ruby?
39716 [usano@no pa ] Is it easy to use Ruby to access Usenet?  I don't see much at the Ruby
39746 [nosuzuki@po ] There is one library to access NNTP server on the RAA. Have you tried
39757 [ruby-talk@je] ...

BOFH sample from rubycookbook
39717 [philip@dy as] I was trying the BOFH sample from the ruby cookbook and it's working with

more parrot goodness
39721 [pate@ey er a] Dan Sugalski's asnwers to the slashdot style interview are up at

Re: [Cardinal-dev] more parrot goodness
39722 [dan@si he or] Ah, you beat me to it. :)

WWW.RUBYCONF.ORG
39723 [return@tr ff] This is a multi-part message in MIME format
+ 39724 [Dave@Pr gm t] How did this end up on the ML - are they subscribed?
| + 39725 [rick@ri kb a] The ML isn't blocking non-subscribers from posting.  Not only do the
| | + 39728 [Dave@Pr gm t] Hmm.. that must have changed - I used to have problems posting with
| | | 39744 [matz@ru y- a] I guess I changed when news gateway was setup.  The list server checks
| | + 39845 [in6x059@pu l] Which would be ridiculous because of the news-gateway.
| |   + 39848 [Dave@Pr gm t] Why - the news gateway posts as it's own user (which I believe is
| |   | 39855 [matz@ru y- a] Unfortunately, it uses From: line.  Probably we need to change the list
| |   | 39858 [dossy@pa op ] I was really shocked to hear that the mailing list wasn't implemented
| |   | 39860 [pate@ey er a] For those who care, the Seattle Ruby Brigade has started to work on
| |   | 39863 [dossy@pa op ] It appears you're capturing user stories using the Task Manager.
| |   | 39864 [pate@ey er a] THat and on the wiki ... we actually started on the wiki and when we'd
| |   + 39849 [rick@ri kb a] I use a /large/ number of addresses (inbound and outbound), but I use
| + 39726 [pate@ey er a] I don't know, but they certainly seem to like playing games ...
+ 39729 [philip@dy as] I would like to introduce you to TrafficMagnet.net. We offer a unique

Problem starting FXRub applications
39734 [dmg@tr gs te] Dear friends,
39774 [jlj@cf rc co] Well, since you do in fact have the OpenGL and GLU runtime DLLs installed
39798 [dmg@tr gs te] Definitively you were right, I don't know why but in my system was not

tags for embedded ruby
39738 [bigredlinux@] After reading endless xml books and watching all of these languages
+ 39739 [james@ru yx ] Have you seen ruby-tmpl?  It uses PIs for template instructions.
| 39741 [sean@ch tt n] And is about to get a rewrite into C here in the not too distant
+ 39740 [sean@ch tt n] <personal_opinion mixed_in_sarcasm="yes">
| + 39752 [hal9000@hy e] <bigredlinux@yahoo.com>
| + 39761 [tobiasreif@p] If you go to
+ 39762 [tobiasreif@p] You mean in eruby? Months ago, I mailed em, asking for XHTML, but they

Interest in ruby photo-album indexing and thumbnailing?
39743 [cjh_nospam@m] Having bought a digital camera for Xmas (CP995), I've written some Ruby
+ 39771 [tobiasreif@p] Just yesterday I thought that I could use such a gallery generator in
| 39775 [pierre.baill] for those who might be interested. I'm currently working on an Exif
| 39776 [djberge@qw s] Dunno if this is of interest, but I found "RubyPhoto" out on freshmeat.net.
| 39777 [pierre.baill] rubyphoto is the tool i'm currently using to put my pictures on the web
| 39837 [ture@pl g. e] Sorry about this.  I've been busy with other things and hadn't yet
+ 39818 [cjh_nospam@m] Well, it's certainly not the ultimate in flexibility and not really
  39826 [tobiasreif@p] is there a sample online?
  + 39881 [cjh_nospam@m] Your wish is my command. Take another look at the above page.
  | 39909 [tobiasreif@p] Thanks! Very nice pictures :)
  + 39886 [cjh_nospam@m] Your wish is my command. Take a fresh look at the URL above.

[ANN] SOAP4R/1.4.4
39750 [nahi@ke na t] I posted SOAP4R/1.4.4 at RAA yesterday.

=?gb2312?q?=BF=B4=D7=AF-=B8=FA=D7=AF-=D3=EB=D7=AF=BC=D2=CB=AB=D3=AE=B5=C4=B0=C2=C3=D8=A3=BA=C0=ED=C4=EE=A1=A2=BC=BC=CA=F5=A1=A2=B9=A4=BE=DF=A3=A1?=
39751 [lmdtopeas563] ...

[ANN] SOAP4R/1.4.4.1
39755 [nahi@ke na t] I posted SOAP4R/1.4.4.1 at RAA now.
39819 [nahi@ke na t] 1.4.4.1 still has a bug around REXML handling!  I'm very

(none)
39767 [mpeti_k@ma l] REQUEST FOR URGENT BUSINESS ASSISTANCE

RE:
39768 [mark.firesto] Dear Criminal Pervert,

ruby emacs mode question
39778 [pbrannan@at ] Though I much prefer vim, I am sometimes forced to use emacs when I do
+ 39782 [matz@ru y- a] Currently no.  We need more intelligent emacs lisp developer than me.
+ 39794 [j.travnik@sh] [snip
| 39810 [pbrannan@at ] Yes, that was a typo.  There should have been a backslash at the end of
+ 40061 [jweirich@on ] This has annoyed me too.  So, I've hacked up a version of ruby-mode.el
  40069 [nobu.nokada@] It may be better not to change the default behavior.
  40089 [jweirich@on ] You are correct
  40094 [matz@ru y- a] It will be merged.  Thank you.

RegExp zero-width negative lookahead
39779 [larsch@cs au] I'm puzzled why this doesn't work the way I expect it to.
+ 39783 [rick@ri kb a] All (?!x) says is that the current point is not followed by an 'x'.
+ 39785 [dblack@ca dl] Because the first 'o' (or really the zero-width point just to its
+ 39788 [nobu.nokada@] Already pointed out the reason, however you really want look
  + 39789 [ian@ca ib n.] I'm used to that in Perl, but I've tried this in Ruby before and found
  | 39816 [nobu.nokada@] You need to check out oniguruma from CVS, apply the patch and
  + 39792 [larsch@cs au] Yes, this is was what I am missing.
    + 39795 [rick@ri kb a] If you can get a copy of Jeffrey Friedl's _Mastering_Regular_Expressions_
    + 39797 [ian@ca ib n.] /(?!x).ox+o(?!x)/
      39817 [nobu.nokada@] This doesn't match strings start with /ox+o/ (have no char

REXML progress report
39787 [ser@ge ma e-] This is a status report on REXML, and a rough timeline for the next couple

Result of I need your experience - classification and comparison of languages
39796 [yvan.radenac] This is the results of the questions i asked few months ago as the
+ 39800 [Mark.Volkman] ...
+ 39801 [wjl@ic ca er] Wow, this is a great report! Thanks for letting us see it.
+ 39803 [lucsky@ma .c] - Perl's creator is not Lary Hall but Lary Wall.
| + 39806 [wjl@ic ca er] Heh, I didn't catch that when I read over it, but sure enough... ;)
| + 39814 [dblack@ca dl] s/Lary/Larry/  :-)
|   39831 [yvan.radenac] For the author of Perl, i'm right with you, i have big hands, as you
+ 39804 [fperez528@ya] I'd love to take a look at it, but you need to rebuild that pdf  with
+ 39807 [j.travnik@sh] I have looked at it even not speaking frances.
| 39833 [yvan.radenac] I'm right with you, but as i use a paper on the NET, i respect the copyright,
| 39839 [dblack@ca dl] I'm sorry to put it so strongly, but this is bizarre.  Andy Hunt did
+ 39815 [alwyn@al yn ] Many errors and lacunae in the section 'Historique', I'm afraid. For
| 39835 [yvan.radenac] For the "Historique",
| + 39838 [tobiasreif@p] What's the URL of the resource you're refering to?
| + 39846 [matz@ru y- a] Tell me the URL of the "paper on the NET".  It definitely must be
| | 39972 [yvan.radenac] My english is far from perfect, i probably misunderstand a paper, as i
| + 39861 [alwyn@al yn ] M. Sureau has no entry for Ruby in his 'Histoire'. He has only this to
|   40146 [yvan.radenac] You can find an updated report, with your corrections, at
|   + 40147 [harryo@zi .c] I remember there was talk of an English translation at one stage.  Was one
|   + 40174 [Gabriel.More] I don't understand why Effeil is more safe than Sather because Effeil
|     40176 [aleax@al ax ] Sather is indeed safer, although covariance (admittedly unsafe!) is
+ 39907 [parker@go .c] Radenac <yvan.radenac@equant.com> writes
threads.html
top