93086-94002

92889-93724 subjects 93261-98892

^ boolean to int conversion
93086 [cere u.washi] I'm a bit of a Ruby newbie so be kind pls.
+ 93087 [evan falling] 1)
| + 93088 [assaph avaya] irb(main):004:0> class TrueClass
| + 93097 [bob.news gmx] "Evan Webb" <evan@fallingsnow.net> schrieb im Newsbeitrag
+ 93089 [jgb3 email.b] Besides adding them yourself, I don't think so.  However, you can use
+ 93090 [austin halos] bar = foo ? 1 : 0
+ 93093 [ahoward fatt] [true, false].each |bool| do
  93217 [cere u.washi] Thanks everyone for help on this...

^ "require_next"?
93094 [vjoel PATH.B] Trying to run irb on QNX6, I learned that there is a 48 char limit to
93120 [angus quovad] def require_next the_first
93122 [angus quovad] ^^^^^^^ only "dir" here, no "dirname"

^ Re: slow IO (and new topic: judy arrays)
93095 [dlandrith ma] I had planned on going ahead and simply writing something in C (I've

^ Numerical Ruby (NArray)
93099 [srijit yahoo] I am interested to know how to compile and install Narray for
93112 [sdate everes] See transcript below (assuming that you downloaded from RAA, the file

^ how to raise warning?
93104 [drejewic wsi] How to raise warning?
+ 93105 [bob.news gmx] "Szymon Drejewicz" <drejewic@wsisiz.edu.pl> schrieb im Newsbeitrag
| + 93107 [neoneye adsl] There is also #warn
| + 93119 [drejewic wsi] I need something like 'weak exception' raising. "warn 'message' " works like
|   + 93126 [bob.news gmx] "Szymon Drejewicz" <drejewic@wsisiz.edu.pl> schrieb im Newsbeitrag
|   | + 93183 [ jupp gmx.de] If it is an error it raises an exception. A warning is used when
|   | + 93186 [matz ruby-la] Do you guys expect "warn" to prepend the place information before the
|   |   93187 [gsinclair so] I don't.  A warning is often a user-level piece of information that does
|   |   93188 [hal9000 hype] Mmm. I would expect that just to print 'true' after the warning.
|   |   + 93189 [Gavri_F info] One of the main things I like about Ruby is that the names are so intuitive.
|   |   | + 93191 [discord mac.] I second that. Adding an optional boolean argument to the function to
|   |   | | + 93236 [bob.news gmx] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
|   |   | | + 93288 [hal9000 hype] Agreed. Clear in my mind, but that probably says more about my mind
|   |   | | + 93297 [ajohnson cpa] Range.new(start, end, exclusive=false)
|   |   | |   93308 [cc1 cec.wust] Right but not in things that print strings, the precedent there is not
|   |   | |   93445 [discord mac.] Since there were a few good responses on a Kernel.warn!() method, I
|   |   | + 93235 [dblack wobbl] I would love to see every case of boolean arguments (like
|   |   + 93190 [vjoel PATH.B] If we were talking about exceptions, the distinction between 1 and 2
|   |   + 93233 [bob.news gmx] "Hal Fulton" <hal9000@hypermetrics.com> schrieb im Newsbeitrag
|   |   | 93239 [nobu.nokada ] Doesn't perl use carp or croak for it?
|   |   + 93250 [Tim.Hunter s] My faithful online thesaurus suggests "alert" or "caution" as good,
|   |   + 93268 [jrb3 eidogen] Well, I use 'fyi' for the second (acronym common in the United States
|   |     + 93270 [jrb3 eidogen] Whoops, missing an important part there, sorry ....
|   |     + 93343 [ jupp gmx.de] What the hell means 'fyi' and why is that an Acron...
|   + 93135 [ajohnson cpa] The Kernel#caller method gives you the trace information. So you
|     93205 [drejewic wsi] Yes, this is exactly what I need :-) thank you
+ 93106 [gsinclair so] warn "message"

^ How to use Ruby's zlib?
93108 [MoranCM nava] I would like to add or move a file to a pre-existing gzipped file.  Nobu
93110 [gsinclair so] I'd love to say I knew how, but I don't.  If you take a look at
93115 [MoranCM nava] Thanks, Gavin.  I'm onto something here.  I found rubyzip, which will do
93146 [batsman.geo ] (untested)

^ OT: REXX has been /.'ed
93111 [michael_s_ca] And only one mention of ruby in the ensuing discussion (luckily,

^ [OT] Re: [ANN] Why's (Poignant) Guide to Ruby, Chapters 1 to 3
93114 [gavin refine] Why, if you are set against a scalable design (sometimes users need to

^ Ruby 1.8.1: Unexpected "pack" result
93116 [dmartenson m] I noticed something that does seem correct. In an application I have been
+ 93117 [matz ruby-la] Fixed in the CVS HEAD.
+ 93132 [ahoward fatt] ~ > cat int_max.rb
  93133 [Ara.T.Howard] this version is even more informative...

^ Poignant mailing list (was Re: [ANN] Why's (Poignant) Guide to Ruby, Chapters 1 to 3)
93121 [ruby-talk wh] Good, yeah.  Definitely want the whole thing to be cooperative with

^ Getting back a byte string from BitSet
93124 [lists zara.6] May I suggest perhaps adding a BitSet#to_bytes to get back raw byte

^ Weird GC behaviour or memory leak with NArray::to_na?
93125 [cast_ent yah] I have what appears to be a memory leak in my code, and I'm able to
+ 93163 [masa ir.isas] Hmm...
+ 93240 [cast_ent yah] This problem was due to a memory leak in NArray 0.5.7.   Updating to

^ A Windows Ruby IDE
93130 [frido q-soft] Dear ruby lovers, we (the Q Software Solutions GmbH) have worked on a
93152 [surrender_it] this is nice to hear :)
93192 [surrender_it] prolly because I don't have a ST background :)

^ Ruby bug: (was Re: Builtins RDoc tarball?)
93136 [dave pragpro] I don't know about the rest of your problems, but the above seem to me
+ 93137 [gavin refine] Trying that takes 20 minutes a pop and has failed in the past. I was
+ 93171 [decoux moulo] corrected in CVS

^ Differences between 1.9 and 1.8.2
93139 [cc1 cec.wust] Does anyone know what has been upgraded in 1.9 that isn't going into

^ eval and mod_ruby/eRuby
93140 [gavin refine] <%
93151 [david loudth] You need access to the httpd.conf, so it won't fly on a shared server,
93160 [gavin refine] While I appreciate that this will work, I don't understand why it's

^ html table data extraction...
93143 [rubytuzdayz ] Is there information/ruby-scripts to extract just the data in html table and

^ system variable aliases
93155 [sross connec] I seem to remember seeing that the system variables, like '$!', have
+ 93156 [hal9000 hype] Look for the file English.rb (as I think it's called).
| 93159 [sross connec] Thanks
+ 93158 [cyclists nc.] ...

^ Ruby on Windows Apache Help
93157 [mreed theree] Okay, I know that mod_ruby doesn't exist for Windows, and won't even
+ 93161 [rocioestrada] I suppose it'll build on cygwin, I know it does on mingw so..., besides
| 93164 [mreed theree] eruby scripts don't honor RUBYOPT.  On my Linux box I use mod_ruby's
+ 93176 [chrismo clab] Another big picture alternative is to build your app into a Drb server
  93252 [mreed theree] Well, it's not really a web application, just web pages with some dynamic
  93254 [chrismo clab] Yeup. http://www.rubycentral.com/articles/drb.html

^ speed benchmarks comparing Ruby to Py/Perl/PHP/etc?
93162 [ruby hitmedi] I know Ruby wasn't created to make a fast-running language.
+ 93165 [tyler ml1.ne] From my expirence, Ruby is slower than both Python or PHP.
| 93206 [usenet andre] fastcgi is even better.
+ 93166 [gsinclair so] No.
| 93168 [cc1 cec.wust] If you run a search on google for The Great Programming Language Shootout it
| + 93172 [ruby hitmedi] (though this was 3 years ago)
| | 93173 [ggambill com] Several months ago I attended a Ruby presentation at a local PLUG (Phoenix
| | 93174 [emmanuel.tou] You misunderstood, he probably meant that you can rewrite the
| | 93175 [ggambill com] Rats
| + 93212 [cc1 cec.wust] Your only using ruby 1.7.2, not 1.8.1, any particular reason why?
|   93211 [surrender_it] it's not *me* it's *they*.. but I happen to know the anwser :)
+ 93194 [ahoward fatt] we have done that.  however, we also use fastcgi.  using fastcgi should give
+ 93196 [ahoward fatt] something like this was posted - about a year ago - but i cannot seem to find
+ 93203 [gavin refine] Vaguely related -- could someone confirm that the following suggestions
+ 93304 [ jupp gmx.de] Is a Trabant (built in GDR, maximum speed ~ 107 km/h) faster than a

^ Ri missing some system libraries
93169 [cc1 cec.wust] What exactly should / shouldn't Ri be missing?  I assumed stuff like TCPSocket
93170 [gsinclair so] TCPSocket is not "core API"; it's "standard library".  'ri' attempts to

^ ANN: EZExerb 1.0.0
93178 [rich lithino] Project name: 	ezexerb
93306 [bobx linuxma] Cool I was kind of lamenting the fact that I may have to stick with Perl

^ Ruby to Parrot compiler
93180 [msparshatt y] Is there anyone working on a compiler for compiling Ruby code to work on
+ 93181 [chad chadfow] #
| 93275 [msparshatt y] Thanks for the suggestion. I've downloaded the tarball of the cvs files
+ 93255 [surrender_it] I'd love to see that, but I really don't think I can help ,even if dan
+ 93271 [intc_ctor ya] So they're promising object support at the end of the month?  I've
  + 93276 [msparshatt y] AFAIK, The spec for the object support has been written and Dan has
  | + 93283 [msparshatt y] Does anyone know where I can find Ruth? I've tried looking on Rubyforge
  | | 93316 [discord mac.] It is part of the RubyVM project, on sourceforge.
  | + 93545 [george.marro] One of these projects may be ByteCodeRuby [1]. Feel free to use
  + 93348 [sross connec] This is probably naive, but I was wondering why you couldn't just use Ruby's
    + 93350 [neoneye adsl] Cool.. a ruby2ast converter.
    | 93365 [cc1 cec.wust] I think we definitely need a meta-aware ruby interpreter that you can
    | 93370 [msparshatt y] This sounds like a Ruby version of Perls B::** modules, which I agree
    | 93391 [feldt ce.cha] I'm not 100% up to speed with Perls B::* modules but my vision for Ruth
    + 93376 [surrender_it] I think this is what ruth , bytecoderuby and YAPV do.
      93389 [feldt ce.cha] My view on Ruby parsers below.
      + 93399 [nathaniel ta] ...
      + 93414 [nathaniel ta] One thing about Ripper that I heard at the RubyConf (someone please
        93460 [chad chadfow] #
        93489 [msparshatt y] I'm still undecided about which parser to use for the compiler. If this

^ Writing documents in Ruby (Was: A good way to do a book?)
93182 [ jupp gmx.de] I think it is a good idea to illustrate how Ruby can be used as a
93185 [zdennis mkte] What about those who can't read german? Should we send your site to google
93342 [ jupp gmx.de] a) The example document is part of the message I sent and in English.

^ Programs to Emulate
93184 [new2ruby yah] I'm looking for some well written, small & simple
+ 93237 [neoneye adsl] Sorry, I am a little confused over 'emulate'?
+ 93256 [tom infoethe] Yours,
+ 93259 [ahoward fatt] welcome on board.
  93277 [armadillo so] greetings, i also am new to ruby
  93282 [ahoward fatt] comp.lang.ruby

^ proposal: let kind_of take more arguments
93193 [neoneye adsl] It just hit me.. why not let kind_of? take more arguments?
+ 93195 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| + 93197 [neoneye adsl] Thanks for the warning.  I have actually had a few problems with it
| | 93198 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| | 93200 [neoneye adsl] It isn't clear at first sight when the method bailouts, and if
| | 93208 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| | 93238 [neoneye adsl] Yes, it depends on if its understandable at first sight and isn't
| + 93199 [ahoward fatt] what do you reccomend (when a case won't do) ?
|   + 93202 [neoneye adsl] My brain is terrible at dealing with 'unless'.
|   | 93204 [ahoward fatt] a digital logic book, the simplest, will help.  de morgan's laws..., eg.
|   | 93209 [neoneye adsl] [snip talk about de morgans law]
|   | + 93210 [ahoward fatt] ah.  i got it from a the 'p' language - one of the good things about it IMHO.
|   | + 93231 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
|   + 93207 [bob.news gmx] "Ara.T.Howard" <ahoward@fattire.ngdc.noaa.gov> schrieb im Newsbeitrag
+ 93201 [ahoward fatt] this is a good idea regardless of your exact situation - it reads nicer than a
+ 93234 [nobu.nokada ] unless [Zero, One].any? {|klass| choice.kind_of?(klass)}
| 93244 [gavin refine] unless ([Zero,One] & choice.class.ancestors).length>0
| + 93245 [bob.news gmx] "Gavin Kistner" <gavin@refinery.com> schrieb im Newsbeitrag
| + 93251 [gavin refine] For the curious, here's how the three methods above stack up in terms of
+ 93242 [matz ruby-la] kinf_of? method easily hinders "duck typing", so that I don't feel

^ Can't case on class?
93213 [gavin refine] Class is ValidForm::OptionSet.
93214 [happy user.c] $ ri Module#===
93216 [gavin refine] Bah, I forgot that case used === and not ==. Thanks, Kent.
93218 [gavin refine] Nevermind, I was confusing the appearance of === as a commutative
93225 [bob.news gmx] "Gavin Kistner" <gavin@refinery.com> schrieb im Newsbeitrag

^ Ruby fcgi binaries for mswin32
93215 [usenets_remo] Anyone knows where to get them? thanks.

^ Re: [RCR] kind_of class'es (was: proposal: let kind_of take more arguments)
93219 [neoneye adsl] Ok, glad you like it.  I have submitted an RCR of it,

^ inheriting constants
93220 [Ara.T.Howard] is this an appropriate way to inherit constants?
+ 93230 [bob.news gmx] "Ara.T.Howard" <Ara.T.Howard@noaa.gov> schrieb im Newsbeitrag
+ 93315 [vjoel PATH.B] You are organizing your options as a set, but if you are interested in a

^ another silly cgi question
93221 [cere u.washi] I cannot figure out how to print html content within the same scope as
93227 [emschwar pob] That's your problem.  I'm not sure what 'userinfo' is here, but the
93228 [cere u.washi] Thanks for the critique on my coding style and yes I read the "lack of"

^ [ANN] win32-process 0.1.0 (or, fork for Windows)
93222 [djberg96 hot] I am very pleased to announce the release of win32-process 0.1.0.
93224 [surrender_it] wow, this is cool, thanks :)
93371 [djberg96 hot] It's possible.  You can do this by hand by modifying the extconf.rb

^ How will global perlish variables disappear?
93226 [surrender_it] matz said more than once that the perlish global variables like
93232 [bob.news gmx] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag

^ A way to "require 'warnings'"
93229 [androflux so] It would be nice if there was a "warnings.rb" file in the standard
93318 [vjoel PATH.B] Makes sense. Or it could be 'ant.rb' instead of 'warnings.rb' so that
93421 [androflux so] Oh! Neat idea! We could also have 'ave.rb' as an alias. :-)
93423 [dblack wobbl] And 'emonstrate.rb' :-)
93442 [vjoel PATH.B] eproach.rb, eprimand.rb, ebuke.rb, eprove.rb, eject.rb, idicule.rb,

^ eruby executable
93241 [paul vudmask] Does anyone know anything about eruby as an executable(binary) that runs

^ Instance variable capitalization
93243 [jim freeze.o] I have a question about how ruby-like is it to capitalize
+ 93247 [bob.news gmx] "Jim Freeze" <jim@freeze.org> schrieb im Newsbeitrag
+ 93248 [dblack wobbl] You've questioned its ruby-like-ness (correctly, I think), and
  93253 [jim freeze.o] It just bugs me? :)
  93257 [dblack wobbl] But surely that's a reason *to* avoid it :-)
  93258 [jim freeze.o] For me, but I don't think that will fly for everyone else
  + 93262 [ahoward fatt] class Foo
  + 93279 [Tim.Hunter s] How about because using lowercase for instance variable names is a
  | + 93289 [jim freeze.o] Thanks. I like that.
  | + 93450 [bob.news gmx] "Tim Hunter" <Tim.Hunter@sas.com> schrieb im Newsbeitrag
  + 93284 [dblack wobbl] I'm definitely an advocate of traditional Ruby style, and I like to
    93286 [dblack wobbl] variable and method names, ...

^ Introducing myself and my interest in ruby
93260 [larryj gsu.e] This is just a note introducing myself to the list, and
+ 93263 [ahoward fatt] howdy
| + 93266 [neoneye adsl] Yes, welcome to Ruby.
| + 93291 [hal9000 hype] Ara,
|   93299 [ahoward fatt] ha!  check out the url in my sig for general info...
|   93313 [bobx linuxma] I didn't understand half of it. But that is what makes it way cool! :-)
+ 93264 [lyle users.s] Welcome aboard! Ruby should be more than capable for the kinds of system
+ 93769 [noSpam noSpa] Perl was my favorite language for over a decade, with C and then later C++ being
  + 93775 [ahoward fatt] wow - D looks very cool indeed.  thanks for the pointer.
  + 93812 [discord mac.] Which leads to a question that has been bouncing around in my mind for
    93837 [surrender_it] IIRC lisp has eval() too, and there are plenty of compiler out ther ;)
    93839 [bob.news gmx] "gabriele renzi" <surrender_it@remove.yahoo.it> schrieb im Newsbeitrag
    93842 [discord mac.] I understand that. The attraction would not be that you can just
    + 93845 [jim weirichh] the basic Smalltalk system in a subset of smalltalk that could be easily
    + 93855 [surrender_it] first and last sounds much like pyrex[1].
    | 93857 [discord mac.] Indeed, it does :) I wasn't thinking so much of translation to C, but
    | 93858 [hal9000 hype] Mark,
    + 93891 [spyck lysato] Lisp has always had an eval statement, ever since 1960 when the first
    | 93916 [discord mac.] actually, I was meaning that as a joke. I haven't ever gotten beyond
    | 94002 [bob.news gmx] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
    + 93966 [bob.news gmx] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
      93975 [cc1 cec.wust] Currently it does not ever hit bytecode at all, it just interprets using
threads.html
top