79073-82469

78830-82371 subjects 79261-123148

☆スピードキャッシング
79073 [otokuna_cash] ☆お急ぎでしたら☆

lcd
79074 [yaoyao@an oz] This is a multi-part message in MIME format

Gtk2: stange problem with notebook ?
79075 [newsgroup@bo] I have girc.rb and function.rb
79088 [g@in er ec -] ... snip ...
79089 [non@tu au as] thanks a lot !

Does Ruby 1.8.0 improve in file I/O speed and pattern match speed ?
79081 [LeiWENG@mo o] I'm using ruby 1.6.8 (2002-12-24) [i586-mswin32] and find file I/O too slow. Is ruby 1.8.0 faster? Some one in the list said speed is quite dependant on how ruby is compiled. Is that true?
79099 [thomass@de t] For IO ruby 1.8.0 is significantly faster than 1.6.8: My I/O intensive

Zbxm, E-mail 佚 碧? 明 095*7499211yAxBvhIIQ
79092 [chrisjp@ig t] a1RDyOuRz27xOQCgV5P0TTN1t

regexp warning in String.split?
79103 [chrismo@cl b] irb(main):001:0> 'a,b'.split(',')
+ 79104 [B.Candler@po] 'a => b'.split(/ => /)
| 79106 [dblack@su er] It's more that the behavior has changed; actually now it doesn't
+ 79105 [dblack@su er] In older Rubies, I believe that any string longer than one character,

Main page for RDoc
79109 [B.Candler@po] OK, I'm probably being stupid here, but I'd appreciate being put right.
+ 79115 [lyle@us rs s] I think that by default, RDoc only processes the *.rb files it sees. So
+ 82362 [lyle@us rs s] I think that by default, RDoc only processes the *.rb files it sees. So
  79116 [B.Candler@po] Thank you for pointing me in the right direction. That misses EXAMPLE.rb, so
  + 79118 [Dave@Pr gP o] Have a look at web/upload.sh for the command I issue to generate the
  | + 79128 [B.Candler@po] Actually not important to me now, I discovered that my RD-like comments at
  | | 79172 [gsinclair@so] That's usually the case.  If you just so happen to write a program to
  | + 79134 [hgs@dm .a .u] The =begin,  =end can be followed by a string.  What about
  | + 79139 [B.Candler@po] Thanks - found it at
  + 79119 [lyle@us rs s] Don't know, you probably need to ask Dave (Thomas) about that one.
  + 82363 [lyle@us rs s] Don't know, you probably need to ask Dave (Thomas) about that one.
    82469 [Dave@Pr gP o] No, there isn't - at the time, there was a lot of rd documentation out

jed ruby.sl
79110 [kh.wild@wi o] i worked a bit over the ruby.sl

Two different CGI classes in stdlib?
79114 [wew@wi li mw] I'm helping to RDoc stdlib for the ruby-doc project.  I
79130 [matz@ru y- a] cgi-lib is obsoleted.  It should be fade away in the future.

Help with IO Code
79120 [gedb01@ya oo] I'm working through "Programming Ruby - The Pragmatic
+ 79121 [decoux@mo lo] Well, the problem is that Net::HTTP#get has changed between 1.6
+ 79122 [hal9000@hy e] That's an issue with the net/http code changing...
  79126 [gedb01@ya oo] Wow, you guys are fast!
  79129 [hal9000@hy e] That's probably still the best online reference.

AWARD NOTIFICATION
79125 [primitivasll] C/GUZMAN EL BUENO,137

[ANN] The FreeRIDE Project Wiki has moved to RubyForge
79131 [curt@hi bs c] We've Moved!
79180 [mikkelfj-ant] What is the backup strategy on RubyForge?
79183 [tom@in oe he] A very good question.  We do backups via an rsync every six hours with
+ 79184 [tom@in oe he] Actually, I should say, this document is in the support project's Doc
| 79254 [gsinclair@so] Gavin
| 79294 [tom@in oe he] Ah, the meta refresh element... it's a good 'un.
+ 79189 [mikkelfj-ant] This looks nice and affordable - perhaps I should get me such a backup
  79190 [tom@in oe he] Yup, it's pretty nifty - the rsync thing works quite well.

Forcing endianness when packing signed values
79136 [lucsky@ma .c] Greetings,

list of Ruby capable text editors?
79142 [crf@sb x. u-] short question: is there somewhere a comprehensive list of Ruby
+ 79144 [rodrigo.berm] I am still using the old glimmer, I created  my own ruby
+ 79145 [ben@th ng ag] C'mon... try Emacs/XEmacs...  You know you want to...
| + 79177 [B.Candler@po] No, I don't think he wants to... life is too short :-)
| | + 79181 [denshimeiru-] info works even without a browser. Use zless (vi-like keystrokes).
| | | 79194 [B.Candler@po] Sure, it's marked-up text and can be read directly. (You can read manpage
| | | 79237 [martindemell] martin
| | + 79210 [ben@th ng ag] In Emacs
| |   79260 [kero@ch ll .] ^X I
| + 79182 [ jupp@gm .d ] Saluton!
| + 79186 [usenet@an re] I'm using XEmacs for Ruby editing, but it seems that I can't get the
|   + 79187 [denshimeiru-] I'm using elvis and vim.
|   | 79193 [batsman.geo@] [nit-picking]
|   | 79205 [denshimeiru-] Oops... that's what I get for making the "simplest possible example".
|   + 79211 [ben@th ng ag] Hmm, it works for me.  If you can't get it working we can talk offline
|     79232 [usenet@an re] I found the answer in <http://www.ruby-talk.org/blade/40011>. For some
|     79238 [usenet@an re] No, that still didn't work. I found the final solution in
+ 79148 [cyclists@nc ] Kate has very good Ruby syntax highlighting and is a pretty good
| 79149 [dcarrera@ma ] From memmory: Vim, Emacs, Anjuta (www.anjuta.org), and Kate.
| + 79150 [dcarrera@ma ] Daniel Carrera, Math PhD student at UMD.  PGP KeyID: 9AF77A88
| + 79151 [djd15@po cw ] You might look at jEdit as well (www.jedit.org).
+ 79154 [alwagner@tc ] Yes, I noted the text terminal qualification.  But I still like Scite
+ 79162 [maillist@be ] ...
+ 79176 [martindemell] Please add any you find missing.
  79227 [crf@sb x. u-] that's what I was looking for

ASSISTANCE
79146 [bennard.will] Dear

syck compiling error on HPUX - aCC
79158 [rodrigo.berm] I am getting the following error when compiling ruby-1.8
79159 [ruby-talk@wh] On Friday 15 August 2003 05:45 pm, Bermejo, Rodrigo \(GEAE, Foreign National\)
79389 [rodrigo.berm] After syck.h patched

ASSISTANCE
79160 [jjjude_ofoka] 40 WOODALE ST.

ASSISTANCE
79163 [jjjude_ofoka] 40 WOODALE ST.

postgres
79165 [kdresner@cs ] I'm trying to access a PostgreSQL database on my machine, however, I get
79309 [philipp.ott@] Most of the times we are experiencing such problems the following

rescue exception
79166 [xrfang@ho ma] I had a question about exception in ruby.
79173 [austin@ha os] Descendants of StandardError, IIRC.
79174 [xrfang@ho ma] Thank you Austin.

[OT] IRC clients for Mac OS X?
79168 [lyle@kn lo y] Sorry for this off-topic post. Am trying to find a good (free) IRC
+ 79169 [aredridel@nb] X-Chat for Aqua.
| 80355 [tym@NO PA sy] ...
+ 79268 [roberto@RE O] [courtesy cc of this posting sent to cited author via email]
+ 79273 [chris@m- ud ] keywords=irc&os=macosx&button.x=0&button.y=0&order=date

[OT] Re: postgres
79179 [d.borodaenko] Not necessarily. What's in your pg_hba.conf and pg_ident.conf?
79200 [kdresner@cs ] # TYPE  DATABASE    USER        IP-ADDRESS        IP-MASK
79201 [tom@in oe he] Hm.  Does your postgres startup command have a "-i" in it somewhere?
79202 [kdresner@cs ] It doesn't appear to.  ps aux | grep postgresql doesn't show anything
+ 79204 [tom@in oe he] You might try adding a "-i" to the "postmaster start" command.  That'll
+ 79206 [decoux@mo lo] it will depend on your version of PostgreSQL, probably you have 7.3.4 in

FOREIGN PARTNER NEEDED
79185 [ericnkomo@ne] ...

Your Assistance
79188 [jameskabila@] Madrid Spain

Newbie Q: Data encapsulation with Ruby
79192 [mccramer@s. ] as a beginner in C++ I learned that one advantage of OOP over the
+ 79195 [dblack@su er] Welcome to Ruby!
| + 79196 [djd15@po cw ] I'd add that in Java, you "shouldn't" (by OO principles), make your data
| | + 79197 [batsman.geo@] They can also use instance_eval, or add singleton methods to the object.
| | | 79199 [dblack@su er] The one sort of "innocent" area where the Ruby attribute conventions
| | | 79208 [mccramer@s. ] Ooopps.....the newbie's nightmare becomes reality.
| | | 79215 [djd15@po cw ] Well, I think the big reason for the above problem in this case is that
| | | + 79253 [gsinclair@so] Or in Java.  Strings are immutable, but Lists, etc., are not
| | | + 79311 [bjsp123@im p] I agree that you *could* have the same problem in CD++.
| | + 79207 [mccramer@s. ] That is exactly what I thought....
| |   79218 [djd15@po cw ] Okay, I see where the confusion is.
| + 79209 [mccramer@s. ] Yes...
|   + 79212 [dblack@su er] You're not setting it with attr_accessor; you're using attr_accessor
|   + 79213 [hal9000@hy e] I'll make some comments. Maybe we can make things
|   + 79223 [Dave@Pr gP o] Attributes are methods which give you access to instance variables. As
|   | + 79239 [code@jo ch n] Once again, Dave Thomas hits the nail on the head.  The reason attr_reader
|   | | 79248 [dblack@su er] Ruby also has the #private method (referred to wrongly by me, earlier,
|   | + 79249 [dblack@su er] I'm finding this thread interesting enough that I shall risk (a)
|   |   79252 [mgarriss@ea ] I don't think it's 'too mushy.'  One could argue that Ruby's flexibility
|   |   + 79259 [code@jo ch n] Interesting discussion!
|   |   + 79266 [dblack@su er] Just to clarify: I was questioning the mushiness of my description, not
|   + 79230 [mwilson13@co] I think you're raising a question about what OOP really is,
+ 79198 [mikkelfj-ant] well yes - some advanced programmers would claim that encapsulation is

Your Assistance
79203 [jameskabila@] Madrid Spain

spawning a process
79216 [kdresner@cs ] I'm looking through the Ruby documentation and I'm trying to find an
+ 79219 [hal9000@hy e] I suppose that depends in part on what OS you're on
| + 79221 [kdresner@cs ] I'm using Debian GNU/Linux, and I want to use mpg123 and ogg123.
| + 79222 [armin@xs .d ] Alternatively, if stuck on Windows, experiment with non-MS-compiled
+ 79220 [rpav@us rs s] pid = fork {
+ 79224 [B.Candler@po] pid = fork {
| 79225 [B.Candler@po] Oh, beware that the child will share stdin / stdout / stderr with your main
+ 79247 [mwilson13@co] In addition to all of the other responses you've received, Ruby's Shell
+ 79360 [drbrain@se m] It allows you to play/stop, etc mpg123/321, and is pretty easy to follow

opengl: What happened to GetString?
79226 [mail.in.the@] GL.GetString( GL::VERSION)
+ 79231 [mail.in.the@] i always have a feeling that there's nobody programming opengl on this
| 79233 [vjoel@PA H. ] I use opengl a bit (in the context of fxruby), but I have no experience
| + 79313 [hgs@dm .a .u] Going by my searches for opengl examples in ruby on the web: no
| + 79332 [james@la ya ] i'm an OpenGL user, and i've used it fairly extensively with Ruby on
+ 79235 [zzuvz@ao .a ] on a win2k os, ruby version 180-10
| 79267 [mail.in.the@] maybe my OpenGL version is broken...
+ 79331 [james@la ya ] with Ruby 1.8.0 on MacOS X ruby actually Bus Error-dies with this...
+ 79355 [pbrannan@at ] 3.4 Why does glGetString() always return NULL?

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

[RCR] Dir.recurse
79229 [invalid@in a] I think it'd be useful (and worthwhile) to have a Dir.recurse method.
+ 79274 [volker_grabs] I don't know why, but this way the pattern looks more readable to me :)
+ 79289 [mwilson13@co] You might check out find (in the standard distribution) and find2
| 79401 [invalid@in a] Indeed it does. I wasn't aware of that module, so thanks to you and
+ 79391 [rz@li ux m6 ] Did you see the "find" module? Should be able to do all this
+ 80808 [greg@pu o. j] I totally agree. I've written one and use it in several scripts for

why not pod?
79234 [wybo@se va y] Is there a good reason why ruby has its own format for embedded
+ 79257 [bkhl@el kt u] How about
+ 80011 [austin@ha os] I don't even use =begin/=end, preferring RDoc comments. I've always thought

fork and modifying variables inside the new process
79240 [kdresner@cs ] irb(main):001:0> a = true
79242 [mgarriss@ea ] Fork creates a whole new heavy process.  I think you are looking for
79243 [kdresner@cs ] The problem is that I want to call exec inside the new process, as well
79244 [kdresner@cs ] Actually it turns out I don't need that, I'm ok.

What happened to keyword arguments for 1.8?
79246 [david@lo dt ] "Some languages feature ``keyword arguments''---that is, instead of
+ 79285 [ruby-talk@wh] * named arguments like foo(nation:="german") or foo(nation: "german").
+ 79291 [gsinclair@so] If you're writing some code that would benefit from keyword arguments,
+ 79301 [matz@ru y- a] Not in 1.8.  There are more issues to consider.  The experiment will

Rite/Ruby2.0 & Ruby vs OCaml
79250 [prosys@ch rt] I'm new here, and I hope I don't offend anyone by mentioning a
+ 79251 [james_b@ne r] Not at all. We (some of us, at least) encourage it.
+ 79255 [rich@li hi o] I have no formal programming background - so my experience won't be the case
| + 79258 [mgarriss@ea ] I love Ruby, but in defence of C++ I have to say the there is nothing
| | + 79307 [erik@te pn t] Is there an OCaml O'Reilly book? I can not find it. Can you provide a link?
| | | 79338 [flori@ni e. ] The book has only been published in French so far, the title is
| | | 79341 [erik@te pn t] Thanks!
| | + 79356 [pbrannan@at ] The OP never mentioned C++.  I'm unclear as to why you feel C++ needs to
| | | 79359 [curt@hi bs c] In C++ I once tried to extend the STL string template for a very specific,
| | + 79951 [hanzspam@ya ] But metaprogramming in C++ is a side-effect of the template
| |   80116 [jason_watkin] OCaml is a fine language, but it certainly is not as fun as ruby... unless
| |   + 80142 [B.Candler@po] I'm not sure that even functional languages geeks would approve of OCaml. I
| |   | + 80148 [msparshatt@y] Unless I'm mistaken n + sum(n-1) isn't a tail call since it has to add n to
| |   | | 80152 [B.Candler@po] Ah, thank you, and sorry for exposing my ignorance!
| |   | | + 80153 [Ephaeton@gm ] a) the ocaml version gives the right answer, too if you
| |   | | | 80155 [Ephaeton@gm ] *sigh* sorry. I've changed that to
| |   | | | 80172 [B.Candler@po] Cheers. And sorry I posted a buggy Ruby version too :-)
| |   | | + 80154 [Ephaeton@gm ] 1+2+3+4 = 10.
| |   | | + 80163 [ben@th ng ag] I know this is only half-serious, but this is a major reason why I think
| |   | | + 80389 [jim@fr ez .o] Hmm, I'm sitting here with a Sun box and a Linux box and
| |   | |   80491 [B.Candler@po] Should the first one read "Linux" not "Ruby" ?
| |   | |   80506 [jim@fr ez .o] Yeah, duh. #sub(/Ruby/,"Linux")
| |   | |   + 80531 [Ephaeton@gm ] I showed even a slower time without any comment about my hardware,
| |   | |   + 80786 [slumos@ya oo] $ time ruby tail   # blind gcc compile
| |   | |     80813 [jim@fr ez .o] What do you mean wrong Sun?
| |   | + 80150 [Ephaeton@gm ] let sum n =
| |   + 80209 [rc@va ca er ] Have you looked at D - http://www.digitalmars.com/d/
| |   + 80262 [hanzspam@ya ] I didn't really mean to say that template metaprogramming is useless.
| + 79306 [finrod_felag] 8-< snip
+ 79256 [chris@m- ud ] Last I checked, the person running that site had left it frozen in
+ 79269 [mikkelfj-ant] Ruby will be faster as it matures, but it will not give you real
| 79747 [nospam4.me@o] Thank you all so much for your informative comments.  I saved a
| + 79753 [batsman.geo@] Rite will have a VM and run bytecode.
| | + 79793 [ben@th ng ag] Hmm, will this affect the startup time?  My understanding is that one of
| | | + 79801 [djd15@po cw ] I think the main reason Java startup is slow is that it has to load
| | | + 79861 [mikkelfj-ant] No bytecode should not slow things down. Ruby har a decent sized runtime
| | |   79866 [achou@te le ] ...
| | + 79800 [kdresner@cs ] I like the interpreter.
| |   + 79830 [surrender_it] think it this way: you code in the usual way, cause your code can be
| |   | 79843 [kdresner@cs ] But I thought that the interpreter was being dumped...
| |   | 79845 [hal9000@hy e] Not sure. I'd like to think bytecode compilation will
| |   | 79851 [batsman.geo@] It wouldn't make sense to keep an AST walker, since that would
| |   | 79857 [kdresner@cs ] Ahh, ok.  I see.  So I can still just put #!/usr/bin/env ruby at the top
| |   + 79854 [lyle@us rs s] Not sure, but I suspect that what batsman meant is that the current
| + 79755 [mikkelfj-ant] thanks
|   79803 [djd15@po cw ] This always confuses me a bit.  Is the reason for needing to use C that
|   79855 [mikkelfj-ant] Not at all. The reason is that any other language (almost) that somehow link
+ 80044 [buggs-ruby@s] FWIW, i tried some of the shoutout benchmarks
  + 80056 [mikkelfj-ant] "Andreas Hauser" <buggs-ruby@splashground.de> skrev i en meddelelse
  + 80057 [mikkelfj-ant] "Andreas Hauser" <buggs-ruby@splashground.de> skrev i en meddelelse
  + 80091 [rz@li ux m6 ] on those systems I tried (x86, m68k) the ocaml version is faster.
    80098 [Ephaeton@gm ] C != gcc.
    + 80101 [joe@vp p. et] This has me thinking... would ruby programs run faster if ruby was
    + 80489 [rz@li ux m6 ] just for the record, the speed diff is due to use of registers for
threads.html
top