78174-82478

78045-82317 subjects 78402-82342

Beijing Chinese Translation
78174 [translation1] ...

Ruby installation problem on UNIX
78175 [ihabmen@no t] I have problem installing Ruby on a UNIX platform. I wonder if anyone can
78180 [brett_willia] You need to use the ANSI flags for cc (-Aa).  Alternatively you could use
78400 [kero@ch ll .] I used cc on HPUX 11 for ruby 1.8.0, which is a bit more compatible: it

CONFIDENTIAL MATTER
78178 [sakotaylor@n] EXTREMELY CONFIDENTIAL.

adding methods to an existing class
78195 [Mark.Volkman] ...
78204 [dblack@su er] def add_test_method(klass)
78219 [Mark.Volkman] ...
78222 [gfb@to es ft] ...

OpenSSL/drb problem
78214 [nathaniel@NO] Well, I have DRb and OpenSSL working together! I'm running in to a bit of
78216 [mgarriss@ea ] I can not help you but I would love to hear more about your experience

FREE - Your PAY-PER-VIEW, MOVIE CHANNELS, Adult Channels, SPORT EVENTS, and more.......... wli
78217 [whjh754ow@ya] ...

Re: jEdit ctags Windows
78221 [chrismo@cl b] Do you use this on Windows? If so, is it hassle to get going? What does
+ 78230 [lyle@kn lo y] I've only used it on Linux, so I can't guess what problems (if any) you
+ 82319 [lyle@kn lo y] I've only used it on Linux, so I can't guess what problems (if any) you
  78262 [gsinclair@so] It is ported, and works fine.

rubynet-announce Digest, Vol 6, Issue 2
78224 [rubynet-anno] Send rubynet-announce mailing list submissions to

rolling your own AOP
78225 [Mark.Volkman] ...

Ruby and  MySQL Database...
78226 [REMOVE_THISu] I was wondering if there are updates for ruby modules for the lastest mysql
78229 [B.Candler@po] Don't know about latest mysql 4.x, does ruby-mysql-2.4.4 not compile with

$: - where does it get its initial values?
78234 [tuanbui@cr y] Howdy,
78243 [B.Candler@po] In ruby.c, look for rb_load_path and calls to ruby_incpush; it is set from a

Re: - where does it get its initial values?
78235 [gfb@to es ft] They are figured out during Ruby build by configure and then hardcoded into
+ 78236 [ben@th ng ag] This may have been the cause of problems I had when using ruby-mysql.  My Ruby
| + 78240 [madsen@sj ve] Couldn't you have solved that by symlinking
| | 78242 [ben@th ng ag] Sure, had I known that mysql-ruby's RPM was going to install into i686-linux
| | 78250 [madsen@sj ve] Ehrm, correct me if I'm wrong, but couldn't you just have moved the content of
| + 78244 [in6x059@pu l] Even though you compile it for i686, the installer should know, that
+ 78237 [in6x059@pu l] How do you know, all strings with /usr/local in the ruby-executable
  78238 [gfb@to es ft] into

[ANN] RubyConf 2003: Call for Presentation Proposals
78241 [dblack@su er] RUBY CONFERENCE 2003: Call for Presentation Proposals

More on DRB & OpenSSL
78251 [nathaniel@NO] OK, I've tracked down my problem with DRb and OpenSSL a bit more; perhaps
+ 78253 [mgarriss@ea ] I've noticed that there is always a strange silence on DRb questions.  I
| + 78256 [aredridel@nb] This is something we should change -- anyone want to work on an
| | + 78260 [nathaniel@NO] I'd suggest starting with RDoc'ing the library. The folks over on the
| | + 78265 [hgs@dm .a .u] but I don't think I got everything right.  Feel free to use this if
| | | 78270 [nathaniel@ta] I know, and I've been referring to it heavily. Thanks!
| | | 78309 [hgs@dm .a .u] Thanks, nice to know it is of some use.
| | | + 78310 [B.Candler@po] I'm not sure why you want a nonce here; just a hash of (message + shared
| | | | 78311 [hgs@dm .a .u] Initial authentication, and the nonce means they can't just forge
| | | | 78333 [B.Candler@po] I think you may have misunderstood the purpose of this class.
| | | | 78348 [hgs@dm .a .u] OK, right, I'm doing much the same, except where the data cannot be
| | | + 78330 [hgs@dm .a .u] new revision: 1.12; previous revision: 1.11
| | | + 78331 [nathaniel@ta] Ah... that isn't enough for me. I want information hiding as well.
| | |   78343 [hgs@dm .a .u] Server generates nonce (as a function of whatever. ($$, time, current
| | |   78354 [B.Candler@po] OK. That lets B authenticate A. The main weakness is that if the nonce and
| | |   78360 [hgs@dm .a .u] (what was effectively a crayon sketch of CRAM MD5, roughly)
| | |   78368 [B.Candler@po] No, that's not it. It's not a weakness of the hash, it's a weakness of your
| | |   78457 [hgs@dm .a .u] Yes, I see what you mean.  Well, it's not my design really, I
| | |   78460 [B.Candler@po] I guess you're right. Bruce Schneier's "Applied Cryptography" is a highly
| | |   78462 [hgs@dm .a .u] That's what it is...
| | + 78315 [xlucid@us rs] I think this'd be a very Good Thing, especially if it the DRB homepage
| + 78259 [nathaniel@NO] You think docs are hard to come by for DRb, wait until you try using
+ 78279 [nahi@ke na t] Reproduced on my cygwin box.
| 78318 [nathaniel@NO] Excellent! It's great to have somebody looking at this.
+ 78295 [ruby-talk@wh] For some reason the IO.select in openssl/buffering.rb is stalling.  It
  78320 [nathaniel@NO] From looking at the code in ossl.c, I thought the problem might be in

$stdout.sync on windows
78258 [my.name.here] any .rbw file that contains the line
+ 78283 [dooby@d1 .k ] Windows & Ruby versions ?
+ 78286 [nobu.nokada@] Perhaps, you would associate .rbw with rubyw.exe.  rubyw.exe is
  78319 [my.name.here] yes that may be the case. it s no problem for me. but it is not a good
  78423 [dooby@d1 .k ] #<SST.RBW>
  78426 [nobu.nokada@] Usa reports it seems to be due to the difference between mswin
  78434 [dooby@d1 .k ] Euuhhh, hadn't noticed that.

Method test::unit::TestSuite#<<(test)
78264 [bob.news@gm ] # Adds the test to the suite.
78267 [nathaniel@NO] An excellent idea. Thanks.

Re: [Devculture] ruby question - try Python also (fwd)
78282 [pate@ey er a] hmmm, this doesn't mesh terribly well with my experience.  Anyone else car
+ 78296 [gsinclair@so] You answered it well.  It doesn't mesh well with your experience.  The
| 78359 [drbrain@se m] Try Webplayer[1] based on Borges[2].  While Borges isn't yet fully, or
+ 78307 [rasputin@id ] <snip - lot of claims that make me wonder how he knows this when....>
  78717 [charleshixsn] Well, I have "some" familiarity with Ruby and Python.  Don't brush off
  + 78729 [mikkelfj-ant] A religous concept, but spaces are IMHO best when source is shared between
  | 78743 [alwagner@tc ] Just curious why you would think that.  A tab can be be equivalent to any number of spaces, per the reader's preference.  Spaces force the reader to accept your idea of proper indentation.
  | + 78747 [emschwar@po ] Because tabs can vary widely, and indenting that looks reasonable on
  | | 78751 [alwagner@tc ] Sorry, I have been installing/swapping mail readers and didn't notice. It should wrap at 72 now.
  | + 78852 [mikkelfj-ant] between
  |   78887 [charleshixsn] For me a three space wide tab makes the indentation v. obvious.  I like
  + 78827 [austin@ha os] Actually, based on the comments by Anil, I would dismiss them almost
    78891 [charleshixsn] It sounds like the problems I had last time (about 8 months ago) may be

Working directory in thread
78284 [xrfang@ho ma] I have a question using Dir.chdir. Is the current working directory for
+ 78287 [hal9000@hy e] An OS issue. The notion of the current directory
+ 78289 [nobu.nokada@] CWD is a process resource.  There is no "thread-safe" way, in

Ruby Query
78292 [srijit@ya oo] Ruby is a nice and expressive language. Now my favourite Ruby site is
78302 [bob.news@gm ] <srijit@yahoo.com> schrieb im Newsbeitrag
+ 78304 [seth@cq .c m] Quite true.  Plus, all the modern compilers for functional languages
+ 78305 [gsinclair@so] I am out of my depth here, but calculating factorial recursively is not
| 78308 [bob.news@gm ] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
+ 78317 [james_b@ne r] <snip/>
  78326 [nobu.nokada@] It's an OS issue.  On Unixes, it's done by ulimit command, but
  78345 [bob.news@gm ] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
  78349 [nobu.nokada@] Yes.  It is by setjmp()/longjmp(), read THREAD_SAVE_CONTEXT()
  78361 [bob.news@gm ] <nobu.nokada@softhome.net> schrieb im Newsbeitrag

Ruby 1.8 download Problem (MS Windows)
78293 [srijit@ya oo] Today I downloaded ftp://ftp.ruby-lang.org/pub/ruby/binaries/mswin32/ruby-1.8.0-i386-mswin32.zip,

Ruby-talk,  - npvYYQNQjRzAXeCqBhqu
78297 [occitan@as r] ...

asking for your co-operation
78298 [attorneyatla] Dear friend,

Ruby web testing framework?
78312 [george.marro] I'm doing some performance testing of our web server software. Is
78313 [rasputin@id ] How about webunit? It's a unit testing framework for websites,

How to provide other content-type than text/html with modruby and eruby?
78314 [erik@te pn t] Is it possible to provide a content-type other than text/html using
+ 78316 [news@st d. t] Does Apache.request#content_type= do what you want?
+ 82324 [news@st d. t] Does Apache.request#content_type= do what you want?
  + 78372 [erik@te pn t] Probably, but how do I use it?
  + 78374 [erik@te pn t] Probably, but how do I use it?
  + 82326 [erik@te pn t] Probably, but how do I use it?
  | + 78376 [news@st d. t] Been a while since I last tried it, but if you are running your scripts
  | + 82328 [news@st d. t] Been a while since I last tried it, but if you are running your scripts
  + 82327 [erik@te pn t] Probably, but how do I use it?

C's static equivalent
78321 [kgergely@ml ] Is there something similar to C's static keyword?
78324 [decoux@mo lo] Use a closure
78325 [kgergely@ml ] Could you be more verbose? Eg. how to print out how many times a
78327 [decoux@mo lo] in ruby, yes. in english, no :-)
+ 78329 [djd15@cw u. ] def make_closure
| 78335 [B.Candler@po] A C 'static' variable is just a global variable with a lexically local
+ 78332 [kgergely@ml ] Woof. Thx. It works, but it's a bit too obscure hacking for a damned
+ 78356 [hal9000@hy e] It would be worthwhile for all of us to
  78391 [ jupp@gm .d ] Saluton!

Elegant solution for a loop-break problem
78328 [kgergely@ml ] I've tried to write a little program, which detect duplicate files.
+ 78334 [decoux@mo lo] You have catch, throw
+ 78337 [my.name.here] raising an Exception is an excellent way of escaping nested loops.
| + 78346 [bob.news@gm ] "meinrad.recheis" <my.name.here@gmx.at> schrieb im Newsbeitrag
| | 78384 [my.name.here] why not? (i dont understand your indignation) because something is intended
| | + 78387 [hal9000@hy e] intended
| | | 78397 [my.name.here] Ok, i see. you could end up rescueing exceptions that should not be cought,
| | + 78392 [djd15@po cw ] void foo()
| | + 78405 [in6x059@pu l] I hope, we never program in java together.
| |   78514 [my.name.here] me too. i hate java.
| |   78532 [in6x059@pu l] Great! Then we won't clash there.
| + 78353 [lone-star@ho] throwing and catching is an excellent way of escaping nested loops,
+ 78339 [B.Candler@po] h[key] = value           # replace it
| 78342 [kgergely@ml ] Oops. Sorry. The question was dumb. I mean: I want to iterate over a
| + 78347 [decoux@mo lo] break with a parameter work only with 1.8 (1.6 give an syntax error)
| + 78357 [B.Candler@po] In Ruby you get the elements, not copies of the elements.
| | 78366 [denshimeiru-] use Data::Dumper;
| | 78378 [B.Candler@po] l = %w{one two three}
| | + 78386 [denshimeiru-] Yes, that is exactly the problem.
| | | 78388 [hal9000@hy e] 'elem'
| | + 78390 [mike@ra do .] That's not "bad magic," it's a feature - see the discussion of foreach
| + 78367 [androflux@so] If I were you, I'd just use the #include? method to see if an array
| + 78829 [austin@ha os] if array.find { |e| e == element }
|   78832 [dblack@su er] puts "#{element}#{" not" unless array.include?(element)} found in array!"
+ 78351 [bob.news@gm ] "KONTRA Gergely" <kgergely@mlabdial.hit.bme.hu> schrieb im Newsbeitrag

ftools move bug on Windows
78341 [chrismo@cl b] ftools.rb

[DRb] Using DRb to implement object database
78352 [STUCKNER@MU ] ...
+ 78364 [hgs@dm .a .u] The short answer is that you might get on better looking at the
+ 78377 [B.Candler@po] I don't know anything about pstore, but I do use DRb a lot, so I might be
| 78389 [STUCKNER@MU ] I had some trouble understanding your solution, so I will attempt to explain
| + 78395 [B.Candler@po] Sorry if I wasn't clear :-)
| | 78403 [STUCKNER@MU ] ...
| + 78398 [drbrain@se m] Try doing something like this: (untested, no warranty :)
+ 78408 [m_seki@mv .b] Do you want it?
  78486 [STUCKNER@MU ] require "drb"

99 days...
78365 [hal9000@hy e] By my crude calculations, it is now 99 days until the
+ 78381 [markjreed@ma] No need to be crude when you have Ruby. :)
+ 82329 [markjreed@ma] No need to be crude when you have Ruby. :)
  78383 [hal9000@hy e] Well, it's the same amount of time regardless of where you

Mail delivery to non-mbox?
78369 [ jupp@gm .d ] Saluton!
+ 78370 [aredridel@nb] I highly reccomend Maildir, though watch out for inode over-usage.
| 78380 [B.Candler@po] Maildir++ works well for me.
| 78415 [jos@ca no k.] Jos Backus                       _/  _/_/_/      Sunnyvale, CA
+ 78490 [comp.lang.ru] - - I'm pretty sure the rmail library can do this. Look in RAA. or
+ 82330 [comp.lang.ru] - - I'm pretty sure the rmail library can do this. Look in RAA. or
  82395 [ jupp@gm .d ] Saluton!
  82464 [comp.lang.ru] - - I sent that reply back in August via the newsgroup
  82478 [ jupp@gm .d ] Saluton!

ruby-dev summary 20941-21133
78382 [maki@ru yc l] This is a summary of ruby-dev ML last week.

rubynet-announce Digest, Vol 6, Issue 3
78385 [rubynet-anno] Send rubynet-announce mailing list submissions to

Apple recognizes Ruby on the Xserve product page
78393 [david@lo dt ] I just spotted these two snippets of Ruby recognition on the Apple
+ 78394 [dave@pr gp o] Shouldn't that be "along the lines of Perl?" Along the veins implies
+ 78396 [dcarrera@ma ] Considering that it's a one-sentence introduction for people who might
+ 78431 [tim@ve et .a] [ snippage ]
  + 78441 [ben@th ng ag] Naah, it's more like how teenagers are so incredibly embarrassed to be
  | + 78464 [dan@ta ta od] That really put a smile on my face - thanks!
  | + 78494 [tim@ve et .a] Ok, yeah, I remember my dad in that get-up.  :)
  + 78459 [jcarbaut@sa ] Well, I'm just a ruby beginner (and perl beginner too), and I know C
    78565 [tim@ve et .a] Sounds like a good tactic to me! :)

Ducktype, right?
78401 [app1tam@up .] I checked out some of the new Ruby features at theluckystiff.net and saw
+ 78404 [martindemell] More elegantly in 1.8
| 78501 [flori@ni e. ] Some time ago I came up with a very similiar idea to check the interface
+ 78406 [dblack@su er] Welcome to Ruby!
  78410 [hal9000@hy e] Thanks for saying this so well, David. I was trying to
  78416 [mike@ra do .] I think he only just pre-dates Plato (427-347 B.C.) as some people put
  78479 [app1tam@up .] From my days as a LISP programmer, we could create objects at will just by
  78484 [dblack@su er] def talk
  + 78487 [app1tam@up .] I guess I'm not sure what duck typing is, then.  My example was assuming I
  | + 78496 [dblack@su er] The wisest answer would probably be: if it walks like duck typing and
  | + 78502 [dave@pr gp o] Duck typing is way of thinking about programming in Ruby.
  |   78505 [ben@th ng ag] The one thing that I think is underemphasized about the duck typing concept is
  |   + 78509 [djd15@cw u. ] Well, you can always check for more than one method
  |   + 78510 [ryan@dl go z] You're correct.  If you need an object to respond to, say, 3 different
  |   + 78511 [chrismo@cl b] I agree with Ryan's reply to you. If I only need the one method on the
  |   | + 78513 [ben@th ng ag] Ouch, this is one of the most difficult-to-understand sentences I've seen in a
  |   | | + 78518 [lyle@us rs s] This is a great summary of the kind of limits I place on relying on duck
  |   | | + 78520 [dblack@su er] No specific thing you or I do in a program is "duck typing".  As Dave
  |   | | | + 78521 [djd15@cw u. ] But if you have a Psychiatrist, why would you pass
  |   | | | | 78523 [djd15@cw u. ] My bad, you can do this with Object.extend (as
  |   | | | + 78567 [B.Candler@po] Just as an aside, it's respond_to? not responds_to?
  |   | | |   78592 [jweirich@on ] I guess that shows how often I use it. :-)
  |   | | |   78605 [hal9000@hy e] Likewise.
  |   | | |   78607 [B.Candler@po] Nice thought, although it still doesn't read very well with "if" or
  |   | | + 78526 [chrismo@cl b] Wow ... you're right. That's ludicrous ... must be Friday :-)
  |   | | + 82332 [lyle@us rs s] This is a great summary of the kind of limits I place on relying on duck
  |   | + 78515 [olivier@ja a] (Hi I'm a new comer, just reading the first
  |   |   78529 [djd15@po cw ] Someone suggested that the discussion of what duck typing is is getting
  |   |   78533 [dave@pr gp o] Great summary!
  |   |   78538 [tim@ba es id] This is something like my approach to Duck Typing. The documentation of
  |   + 78516 [hal9000@hy e] concept is
  + 78519 [mmirra@li er] class Object
threads.html
top