60051-63254

59886-66139 subjects 60227-61327

xml processing
60051 [mhuggett@za ] I'm new to programming and I need to process a basic xml file and pull
60063 [sera@fh an .] Matt,

block from string
60052 [AntiATField_] I have a string like
60057 [bob.news@gm ] "Rudolf Polzer" <AntiATField_adsgohere@durchnull.de> schrieb im Newsbeitrag
60058 [AntiATField_] Right, since it isn't useful or possible at all to rename '.' and '..'.
60062 [bob.news@gm ] "Rudolf Polzer" <AntiATField_adsgohere@durchnull.de> schrieb im Newsbeitrag
60064 [AntiATField_] No, in the old version it was less characters to type. Any one-character

[ANN] Ruby-GNOME2-0.2, rbbr-0.2
60056 [mutoh@hi hw ] Ruby-GNOME2-0.2 and rbbr-0.2 is now available. Enjoy!
+ 60140 [mutoh@hi hw ] rbbr-0.2 has a critical bug.
+ 60449 [mutoh@hi hw ] Ruby/GConf had a critical bug.

string.c (str_alloc) ruby 1.8 + ruby-gtk crash
60059 [skywizard@ti] str = ARGV[0] || ""
+ 60076 [waisun.chia@] I ran this through my Linux box without any problems.
| 60083 [skywizard@ti] He he he :)
+ 60079 [nobu.nokada@] Update ruby-gtk.  In 1.8, extension libraries have to consider
  60082 [skywizard@ti] poc.c :-
  + 60085 [skywizard@ti] dummy = StringValuePtr(str) !!!!!!!
  + 60089 [nobu.nokada@] Your example asked me "Where am I".  Didn't you try with the

[TEST] Please ignore
60060 [james@ja es ] Testing server upgrade

[ANN] Radical 0.6
60061 [idan@id ns .] Radical 0.6 was released, including improvments in many fields including
61479 [aurelien.deh] [snip Radical News]
61598 [idan@id ns .] Please explain what do you mean by "persistent handler instance"?
+ 61605 [aurelien.deh] 'Welcome. I think I will have a lot of questions these days :)
| 61632 [idan@id ns .] Well, in this case you might want to code the backend code as a
| 61686 [aurelien.deh] Then I can had a such handler in the "handlers" directory, and feed
| 61806 [idan@id ns .] Well, it can generally be everywhere on the $LOAD_PATH, and specified in
| 61812 [aurelien.deh] Ok, I think I understand. Well, let's try that.
| 61819 [idan@id ns .] You may of course use the examples from Radical 0.5, but they are
| 61829 [aurelien.deh] Ok, it seems I've missed something in the docs :)
+ 61606 [aurelien.deh] I forgot the question: how do I make a handle as a class instance?

compiling ruby, fox, FXRuby on Win98 with mingw/msys
60065 [piombovincen] I wanted to compile ruby, fox and FXRuby on a Win98 machine, using MingW and Msys.

[FYI] RubyCocoa 0.4 - Useful Installer's Options for a Binary Packaging
60067 [hisa@im sy o] For a maintainer of a binary package, there're useful options in

How to specify the period "." character when doing a gsub.
60073 [keuler@po ta] All-
60074 [gsinclair@so] '.' is indeed a wildcard (or a "metacharater").  It matches anything
60077 [bruce@co ed ] Only the newline unless you're in multiline mode (ref: Pickaxe pg 61)

[ANN] Test::Unit 0.1.6
60075 [nathaniel@NO] If you don't know what Test::Unit is, I've included an explanation

Question on saving variables
60081 [googlehhc@ya] I run into the following situation: I have to pre-process some data and
60084 [dcarrera@ma ] Would an array do what you want?

RPM .spec file for DBI
60086 [waisun.chia@] ...

Basic file deleting question...
60087 [keuler@po ta] All-
60090 [drbrain@se m] by on Windows.)
60091 [keuler@po ta] Eric-
60092 [drbrain@se m] Dir.chdir('output')
60093 [keuler@po ta] Works! Thanks!
60095 [keuler@po ta] Eric-

RPM .spec file for eRuby
60088 [waisun.chia@] ...

Hash question
60094 [khindenburg@] Is there a better/easier way to do this?
+ 60096 [waisun.chia@] Does this work?
| 60098 [khindenburg@] Yea, it works...thanks!
+ 60104 [gsinclair@so] value = hash[key] || default
  60105 [gsinclair@so] final = defaults.dup.update(given)

YAML4R empty hash?
60099 [khindenburg@] YAML generates an error if the yaml file contains an hash without a key.  Is
60409 [ruby-talk@wh] From the error, it appears you have a document where the hash has a 'GUI' key,

yield and recursion
60108 [chs@ai bs ar] I was just trying to grasp the concept of iterators, and
+ 60110 [decoux@mo lo] Well, ruby don't propagate automatically the block.
+ 60123 [austin@ha os] class Node
+ 60466 [flifson@cs u] You can find it at

[ANN] Ruby Document Bundle
60114 [gsinclair@so] Just in time to wish you all a happy new year!
+ 60116 [gsinclair@so] I should add that these are 1149K and 934K, respectively.  Just so you
+ 60120 [jbritt@ru y-] I've copied the updated bundles to ruby-doc.org
| 60122 [e.pericoloso] Merci, c'est tout ? fait ce qu'il me fallait.
+ 60127 [dossy@pa op ] What, you mean there's not just a single Ruby script I can download and
| 60131 [jbritt@ru y-] Not yet, at least.   On my backburner is a plan to have a script fetch mirrors of assorted online docs and copy over to
+ 60139 [ruby@jo lh d] Is it allowed to set a link on my site to this downloadlinks ?
  60141 [gsinclair@so] Of course!  Since the bundle is up on www.ruby-doc.org, that would be

can't compile ruby 1.8
60115 [Eugene.Scrip] I'm trying to compile ruby-1.8-current and get error when extensions

FreeRIDE 0.5.0 Debian Packages
60119 [batsman.geo@] Kinda ;)
60121 [batsman.geo@] Should be clear, but just for the record, it's FreeRIDE 0.5.0rc1 on
60126 [curt@hi bs c] Laurent could upload it to our Savannah project site. Would that be
60132 [batsman.geo@] It could, but that way we wouldn't be able to make it apt-able, as a

capturing puts in mod_ruby
60124 [nemo@he lo r] In order to run code samples for the tutorial I am writing, I essentially do
60173 [nemo@he lo r] Well, I figured it out.  Just in case anyone is interested, here is the
60271 [jbritt@ru y-] See http://www.ruby-lang.org/~rubikitch/RDP-en.cgi?cmd=view;name=RDP-list

Gemfinder link?
60125 [armin@xs .d ] Once upon a time there was a class browser called
60529 [jweirich@on ] The download link was OK, however, the homepage was missing.  My ISP

problems installing ossl on XP with MinGW/Cygwin
60129 [Peter.Booth@] I am attempting to install ossl on Windows XP with MinGW/Cygwin
60167 [eban@os ri .] Enven if this function does not exist, it may be not a problem.

[ANN] XTemplate -- XML Template Library
60130 [ttate@kt ja ] I've released XTemplate, which is a small XML template system using xmlscan.

Ruby Weekly News
60143 [Dave@Pr gm t] Ruby Weekly News: 12/30/2002

Ruby Weekly News
60144 [Dave@Pr gm t] Ruby Weekly News: 12/30/2002

FreeRIDE 0.5.0rc1: issues while packaging
60145 [batsman.geo@] I've experienced the following with the Debian packages I just made;
60169 [rich@in oe h] Mauricio,

rbbr 0.2rev1 bombs out!
60146 [waisun.chia@] rbbr is looking for a rbbr/config.rb module which is non-existent..
60147 [mutoh@hi hw ] Did you install rbbr as follows?
60149 [waisun.chia@] Huh?
60150 [mutoh@hi hw ] How did you install ruby-gnome2 ?
60156 [waisun.chia@] ...
60160 [mutoh@hi hw ] Thanks for your reporting.

ruby-dev summary 19151-19226
60148 [aamine@lo er] This is a summary of ruby-dev ML in these days.

Typo causes current CVS tree to bomb out of compile
60151 [waisun.chia@] ext/extmk.rb, line 108
60155 [mutoh@hi hw ] Is this issue for Ruby-GNOME2's CVS tree or Ruby's CVS tree?
60157 [waisun.chia@] Sorry about being unclear.

OT: newsgroup GW
60154 [waisun.chia@] Since the mailing list is auto-gatewayed to c.l.r, all our email
+ 60158 [gsinclair@so] Careful, you didn't create a new thread.
| 60161 [waisun.chia@] Oops. So sorry, I didn't mean to rehash (apparently) an old topic. I
| 60164 [gsinclair@so] Not at all, it deserves rehashing.  Mailing lists are supposed to be
| 60278 [jbritt@ru y-] The other ML issue (perhaps) is that posting is not restricted to subscribers, hence the sporadic spam that turns up.   Much of it
| 60293 [sdate@kc rr ] subscribers,
| 60296 [batsman.geo@] ?!?!?!?!?!!?!!!!! SpamAssassin is censoring Perl? :-P
+ 60163 [simon@si on ] Worse! It's displayed on a web archive! And if people really want to
  + 60165 [gsinclair@so] That's true, but these are not the most efficient avenues for
  | 60303 [simon@si on ] This seemed plausable, but I did a survey of my incoming spam over the
  + 60166 [nedry@ma l. ] It's worth it.  That web archive is the single best source of Ruby

FreeRIDE 0.5.0rc1: patch to allow per-user properties
60159 [batsman.geo@] This is quite a hack, but it is transparent to the system and fixes the
60162 [batsman.geo@] I am an idiot.
60183 [curt@hi bs c] Thanks, but Laurent Julliard already made the real changes to fix this
60192 [batsman.geo@] Much better :) Mine is only a hack to get my packages running.
60214 [rich@in oe h] It *should* be OK, although that is the way RC1 was released...so your
60297 [batsman.geo@] Done it. I've made a new package for this: freeride-cvs. I'm setting up

[ANN] Ruby/Qte 0.3
60170 [cv8t-hdk@as ] Ruby/Qte is Ruby bindings for Qt/Embedded and Qtopia library.
60172 [kero@ch ll .] I want to test this for you, but where can I find Ruby-Qt apps to test

Imaging package?
60171 [adamss@as in] Is there an imaging package for Ruby like there is for Python (PIL)?

problems installing fxscintilla
60175 [lists@de on ] Sorry if this has been posted before.
60176 [lyle@us rs s] It is the OpenGL library. What operating system is this?

[daniel@netwalk.org: Re: problems installing fxscintilla]
60177 [lists@de on ] Your reply email didn't work Lyle.

Debian Packages for FreeRIDE 0.5.0rc1 available:; apt-get install now ;-)
60179 [batsman.geo@] The packages are fully apt-get-able.
+ 60185 [lyle@us rs s] Mauricio,
| 60195 [batsman.geo@] I'm aware of this potencial problem. I believe however that I got both
+ 60186 [curt@hi bs c] Thanks for doing this. Lets use this as a test for the Debian packages. Then
| 60193 [batsman.geo@] Great, this was exactly what I expected :)
+ 60203 [wolpert@co e] Mauricio-
| 60298 [batsman.geo@] Yeah, quite well hidden :) There's no single mention to Ripper
+ 60244 [pascal.gross] I just installed your packages on my Debian Sid. They work just great !

DBI and mod_ruby
60181 [transami@tr ] working on a cgi app and i'm using a module with a module varaible (@@) to
60189 [idan@id ns .] I'm not sure if this is wise.
60295 [transami@tr ] thanks, Idan, for the word of caution, though i gave it a go anyway. was very
60384 [mike@os n. r] Quite interested.  In fact, I'm dealing with a question regarding

Newbie Question - Problems with Ruby on My Mac
60182 [john_carnell] I just bought a Mac Powerbook with OS 10.2 installed.  I installed the
+ 60191 [mwilson13@co] For more than using basic Ruby, I have found the pre-installed Ruby
| 60249 [john_carnell] Thanks for the quick feedback.  I will try your suggestions and go from there. :)
+ 60194 [hisa@im sy o] I don't know what is the ruby developer pack, so I may

Re: problems installing fxscintilla]
60184 [lyle@us rs s] They probably didn't realize that it *was* a dependency since most Linux

Fox, FXRuby, fxscintilla and FreeRide - again
60187 [dcarrera@ma ] I got some rpms from the FreeRide file repository.  There are rpms for
+ 60190 [lyle@us rs s] What steps have you taken to confirm that your FOX, FXRuby and
+ 60196 [batsman.geo@] Now, this might seem crazy, but you might get everything to work by
  60197 [lyle@kn lo y] Sigh.
  60201 [dcarrera@ma ] In years, I've never had this kind of trouble with RPMs.
  60204 [lyle@us rs s] There is no "fox.rb" file since it's a compiled extension module and not
  60211 [lyle@kn lo y] ruby -e "puts $LOAD_PATH"
  60261 [dcarrera@ma ] Thanks Lyle, it works now.
  60263 [lyle@us rs s] A New Year's Eve gift ;)
  63254 [twilight@bl ] sorry for bothering again with this question but the suggestions of

Range#size
60188 [martindemell] I think I missed something - why is Range#size (and all its synonyms)
60210 [matz@ru y- a] Range size is not easily calculatable; imagine when both ends are
+ 60223 [bystr@ma .c ] Does this mean that there's no Range#each in 1.7 either (I am still
| 60225 [gsinclair@so] Range without #each would be a bit odd, I think. #each on a range of
| 60226 [bystr@ma .c ] So why not to have Range#size simply returning a number of iterations
| 60231 [matz@ru y- a] It is removed that Enumerable#size, where enumerables may not be
| 60236 [ruby@jo lh d] is'nt it possible to define it just for integers ?  Then it is nearly downward
| 60238 [matz@ru y- a] Almost everything is possible, but we have define the concrete
| 60239 [ruby@jo lh d] Yes,  was it not  already defined before ? I mean it is right that it makes no
| 60240 [matz@ru y- a] I'm not sure whether previous definition makes sense.
| 60241 [ruby@jo lh d] hmm,
| 60242 [decoux@mo lo] No, for object which respond to #succ
| + 60251 [pbrannan@at ] I don't understand this.  Strings respond to #succ ("A".succ is "B"),
| | 60252 [decoux@mo lo] pigeon% ruby -e '("A".."Z").each  { |x| p x }'
| + 60436 [ruby@jo lh d] Okay, thats okay to because Integer is a Class with #succ
|   60458 [decoux@mo lo] Because #succ can be destructive, a stupid example with 1.6.8
|   60598 [just6979@ya ] #succ _could_ be destructive, but destructive methods should have a !
|   60602 [gsinclair@so] It's not as simple as that.  ! methods are generally to differentiate
+ 60228 [martindemell] Ah, true.

tk
60198 [gtzip@ea th ] ...
60230 [decoux@mo lo] Well, tk.h include some others file like Xlib.h. If these files are

Developing a website
60206 [sdate@kc rr ] I am planning to use Ruby to develop a website which will be hosted on
+ 60207 [jbritt@ru y-] Congratulations!  A number of folks here have built web sites using Ruby.
| 60272 [sdate@kc rr ] No I do not have a choice (for now ...)
| 60285 [mwilson13@co] Happy New Year!
| 60288 [jbritt@ru y-] If possible, database interaction should go through an abstraction layer such that swapping out a particular database doesn't break
+ 60208 [dcarrera@ma ] I have no reason to believe that you need anything special to make your
| + 60229 [martindemell] I've used, and can recommend, Evrsoft's 1stPage. Came in very useful
| | 60276 [sdate@kc rr ] Will check it out ...
| + 60273 [sdate@kc rr ] Well, except that I have to still convince my ISP to support Ruby.
|   60346 [dooby@d1 .k ] HTML-Kit is a full-featured editor and an integrated development
|   + 60354 [sdate@kc rr ] Cool ! Thanks ...
|   + 60381 [jbritt@ru y-] I recall having spyware problems with HTML-kit.  This was about a year or 8 months ago.
|     60455 [dooby@d1 .k ] or 8 months ago.
+ 60213 [phlipcpp@ya ] Toss in a Wiki.
  60275 [sdate@kc rr ] I do not understand why I would need a Wiki.
  60280 [phlipcpp@ya ] Then why do you need a Web site?
  60283 [jbritt@ru y-] That's something of an overly broad generalization; there is much in-between. Wikis are great tools, but not every web site can or

ENV.clear
60217 [zhoujing@co ] I tried
60232 [matz@ru y- a] ENV is an object that provides Hash-like singleton methods to work as
60334 [zhoujing@co ] Thanks, Matz.
+ 60336 [gsinclair@so] h = {}.update(ENV)
| + 60367 [zhoujing@co ] Yes. It is.
| | 60371 [gsinclair@so] 'ri' - the Ruby programmer's friend.  You need it. :)  It's a
| + 60376 [behrends@cs ] There's also ENV.to_hash, which is a bit more direct.
+ 60339 [matz@ru y- a] It depends on what you want to do after copying the content of ENV.
  + 60368 [zhoujing@co ] Right.
  + 60497 [jeremy@ch os] Why?  When writing Perl scripts in a security-conscious way I often
    60515 [jeremy@ch os] Thinking about it further, in this case I really want ENV to respond
    + 60518 [michael_s_ca] *I'm* not. Well, actually I'm not convinced that #clear is
    + 60690 [matz@ru y- a] clear, replace, update, shift, invert
      60732 [jeremy@ch os] Fair enough.
      60734 [matz@ru y- a] Oops, Yes.

continuations and threads
60218 [ptkwt@sh ll ] Are continuations implemented with Ruby Threads or are Ruby Threads
60233 [matz@ru y- a] Continuation is implemented using internal Thread structure.

Anyone in Portland interested in lunch
60219 [dave@pr gp o] I'm going to be in Portland for a symposium on January 14-18, and it

[ANN] win32_popen 0.1
60221 [phasis@ko ne] win32_popen is popen2,popen3,popen4 implementation on Windows adapted from
+ 60222 [phlipcpp@ya ] I prostrate myself in honor of one who has cracked that tough nut.
+ 60237 [lyle@us rs s] Wow, what a great late Christmas present!
+ 60248 [rich@in oe h] Bless you....seriously!
+ 60257 [rich@in oe h] quick question on this library...how would one interrupt a running
+ 60277 [sdate@kc rr ] Park,
+ 60308 [phasis@no nu] I added win32_kill method to kill piped process, because
+ 60310 [martindemell] Wonderful!
+ 60311 [erne@po er a] Thanks so much for developing this.  I can put it to good use right now.
  60319 [sdate@kc rr ] Just curious ... what client side ?
  60325 [erne@po er a] I called the child process the client side (my mistake).  Its the process
threads.html
top