8778-9307 subjects 9249-9907

^ Re: Ruby AOP (was Re: Modules and mixins)
9023 [avi beta4.co] Dave - do you have an implementation in mind for this?  I've toyed with
9026 [Dave Pragmat] In my quick hack that's exactly what I did (as well as wrapping any

^ Any way to delete object obviously?
9025 [is.r com.is-] I want to delete object obviously like in Python

^ Regexp for matching Ruby reg exps?
9031 [feldt ce.cha] Anyone got a Ruby regexp matching valid Ruby regexps?
9035 [ben_tilly ho] Unless Ruby's Regexp engine has some extensions I have
+ 9036 [feldt ce.cha] I had some doubts in the back of my mind but ruby-talk
| 9038 [dblack candl] Well... let's not give up yet :-)
+ 9073 [gotoken math] # Note: this message isn't practical but may be a pazzle :-)
  9078 [ben_tilly ho] Not so.
  + 9082 [ben_tilly ho] Forgot to make a comment about one point.
  + 9083 [Dave Pragmat] Not with one, perhaps, but it can with two, or three if you allow
  + 9084 [gotoken math] Oh, I misread the book :-<
    9085 [duncan nycap] Which means that if you build a parser to handle nesting of parens up
    9086 [schneik us.i] # Ruby's regexp is extended rather than the theoretical one.  So, this
    9093 [ben_tilly ho] If you are willing to use basic parsing techniques rather
    9097 [ben_tilly ho] Perl's documentation would fill enormous volumes.  Literally.
    9098 [ben_tilly ho] Depends on what you mean with 2.
    9100 [Dave Pragmat] Latex2html does it by expanding nested braces, starting with the
    9102 [ben_tilly ho] Performance may be fine for your application, but that is
    9104 [Dave Pragmat] I'd be interested in a practical example where the nesting depth is
    9117 [schneik us.i] # >
    9128 [ben_tilly ho] For the pre-built Perl solutions look at the suggestions
    9130 [ben_tilly ho] (Reads more carefully.)

^ Mailing list
9048 [mitch venux.] Ok, I'm going to go ahead and ask on-list... Does the ruby-talk-ctl@
9054 [matz zetabit] I don't know what was your problem.  Perhaps, you were using wrong

^ pid of executed program
9057 [ljlane debia] How can I get the PID of a program run in a ruby script. I've
+ 9063 [decoux moulo] ...
| 9076 [ptkwt user2.] ...
| 9080 [gotoken math] See [ruby-talk:8631], i.e.,
| + 9088 [ptkwt user2.] ...
| | 9094 [duncan nycap] Actually, see
| + 9125 [decoux moulo] ...
|   9127 [hgs dmu.ac.u] Is another way to do this to use setpgrp to set the process group
|   9139 [decoux moulo] ...
+ 9071 [matz zetabit] IO#pid for open, popen.  No way provided for system and `` (yet).
  9105 [ljlane debia] Thanks, matz and all. That works lovely.

^ Problems with HTTP.open, TCPServer.open, etc.
9081 [lite_cheng m] ...
9140 [lite_cheng m] ...
9149 [cpine firaxi] Did you compile in VC++ (using a .dsp), or were you following the
+ 9150 [erne powerna] You're probably running into problems because your ENV variable for
+ 9157 [lite_cheng m] ...
  9161 [cpine firaxi] Already had it.

^ Embedded Ruby in VC++ 6.0 on Windows 2000
9087 [cpine firaxi] ...
9099 [andy toolshe] ...
9138 [cpine firaxi] I compiled with 'ruby\win32\mswin32-ruby16.lib', and it compiled
9266 [jbuffing my-] ...

^ @_ in Perl / ? in Ruby
9091 [jens irs-net] In Perl there is the @_ array that contains all the
9096 [c.hintze gmx] Normally there is no such thing in Ruby, AFAIK. You get all parameters

^ Grabbing a char from the keyboard...
9106 [hal9000 hype] How does one accept a character from the keyboard
+ 9108 [gotoken math] stty_save = `stty -g`.chomp
+ 9109 [matz zetabit] I often uses stty trick.
  9113 [hideto-i rr.] system("stty -raw echo")
  9171 [hal9000 hype] Thank you, Goto, Matz, and Hideto...
  9174 [phasis hanan] ...
  9177 [hal9000 hype] Thanks, Hee-Sob... that is very interesting. I will give it

^ Break IO.select ?
9107 [is.r com.is-] One thread blocked by io.select(),
9136 [Dave Pragmat] class WakeUp < RuntimeError; end

^ Licensing issues
9114 [feldt ce.cha] I'm about to release some new stuff to RAA and started thinking about
9129 [ben_tilly ho] IANAL but I have a couple friends who are.
9187 [sent quality] ...
+ 9189 [feldt ce.cha] I'll look into it but haven't found anything like it yet...
| + 9191 [feldt ce.cha] I generally don't reply to my own mails but I forgot one thing... ;-(
| | 9233 [elderburn mi] Actually, the reason might be that companies are generally not run by
| | 9235 [ben_tilly ho] This is true.  But it severely limits the practical business
| | 9254 [sent quality] ...
| + 9193 [hgs dmu.ac.u] There exist "International money orders" for sending money abroad. The USA
| | 9194 [ben_tilly ho] If you say that GPL applies in *ANY* situation then anyone
| | 9219 [tuinstra cla] QT, the library underlying KDE, is available under a number of
| | 9222 [ben_tilly ho] Important point.
| | 9232 [elderburn mi] Clarification. GPL does not prohibit the sale of software developed with
| + 9196 [Dave Pragmat] OK, you've shamed me out of hiding.
|   9202 [feldt ce.cha] This bothers me. Sincerly. I've realized that this is my "crash
|   9203 [ben_tilly ho] I didn't suggest it.  And attempts to do similar things in
|   + 9205 [ben_tilly ho] One point that is missing.  What is an is not accomplishable
|   + 9297 [matju cam.or] HA HA HA!
|     9316 [ben_tilly ho] I think you have confused me with some straw man.
|     + 9327 [elderburn mi] Making it a perfect "glue". There is a lot of good previously existing code out
|     + 9570 [matju cam.or] Ok, I now can see that you understand.
+ 9190 [steve deaf.o] The following may be of interest. I was interested in a license that

^ desperately need help with cgi.rb
9118 [aseltine roo] I really need help with cgi.rb. I have a long long html form that I

^ ruby 1.6.2 and Debian 2.2
9120 [Bostjan.Jerk] ...
9121 [bombadil wan] What about building packages from woody sources?. Version of ruby in woody
+ 9122 [dsafari para] Use apt-get install ruby
+ 9123 [dsafari para] Ahhh - that would explain why I have it no problems. Some time ago I did a
+ 9403 [jeremy cowga] ...

^ thanks (was: Ruby and OO programming)
9124 [kristoff.bon] ...

^ Identifying hidden form fields using CGI
9131 [barry_shultz] I have looked in Blade and other places but could not find the answer to
+ 9164 [gnhurst hurs] I looked into this one, and it seems like you won't be able to determine
| 9166 [Dave Pragmat] down the bottom there's code that generates methods for each of the
+ 9230 [harryo zipwo] ...

^ Need help with win32ole control of ms dom
9133 [ChrisM SNELL] I'm trying to script a simple wrapper of the MS DOM for xslt processing.
9134 [ChrisM SNELL] Oh yeah -- I'm using 1.6.2

^ Request for a Ruby / DB2 Binding
9144 [RichardASchu] Are there other Ruby users besides myself who would like to

^ how to replace `end' with `endif' etc. ?
9146 [kopfermann t] As a new user of ruby which is really wonderful i still find these
+ 9162 [julian.romer] you can use the emacs module (under emacs, of course) that incorporate
| 9209 [kopfermann t] ah, good to know.
+ 9218 [behrends cse] ...
+ 9231 [harryo zipwo] ...

^ Problem compiling Ruby extens=?us-ascii?B?afNu?=
9148 [bombadil wan] I have a extrange problem compiling python/ruby extension. The question is

^ Re: Problems with HTTP.open,  TCPServer.open, etc. (now compiling on Windows 2000)
9151 [cpine firaxi] Well, I tried that and nothing changed.  Still have 18 unresolved externals.

^ Does Eruby Work on Windows NT?
9152 [RichardASchu] I'm running ruby 1.6.2 (2000-12-18) [i386-cygwin] on Windows

^ what about this begin?
9153 [ase cs.auc.d] you sometimes need the begin and other times not. Check the following
+ 9154 [avi beta4.co] 'begin' is not needed with 'do', 'while', 'if', etc.  It is only used when
| + 9156 [dblack candl] begin
| + 9201 [fgeiger date] ...
|   9215 [gotoken math] Maybe `try' sounds challenging.  In usual case, an exception is just
|   9223 [behrends cse] ...
+ 9155 [Dave Pragmat] 1. Statements that contain multiple statements within them. These are

^ Redefining singleton methods
9158 [duchene main] while looking for a technique for redefining the singleton function
+ 9195 [decoux moulo] ...
+ 9217 [behrends cse] ...
  9229 [crippel prim] ...

^ truncation of error strings
9163 [raja cs.indi] ...
+ 9168 [yashi yashi.] begin
| 9169 [dblack candl] I think the truncation behavior may be a question of Ruby version.
+ 9170 [matz zetabit] How about upgrading to 1.6.2, which does not truncate.
  9206 [raja cs.indi] ...

^ How to make after cvs update
9172 [jim freeze.o] I just followed the instructions on how to get the latest ruby src via
+ 9173 [Dave Pragmat] You can get autoconf from any GNU mirror. At prep.ai.mit.edu, its at
+ 9176 [news strombe] Here is what I do to prep my FreeBSD machines for compiling other peoples
  9306 [knu iDaemons] Well, you don't necessarily need automake and gmake to build ruby, but

^ RDBC? (was: Request for a Ruby / DB2 Binding)
9175 [news strombe] I would myself.. no use at the moment, but I can see it's inevitable usage
9225 [schneik us.i] #

^ binmode?
9178 [hal9000 hype] What is IO#binmode for exactly? (Yes, I know it puts a
+ 9188 [matz zetabit] IO#binmode put IO in binary mode only if there's such thing on the
| 9236 [hal9000 hype] OK... I guess I expected an embedded ^Z to mean end-of-file.
| 9252 [sent quality] ...
+ 9197 [erne powerna] Some web servers IIS in particular when running in windows give a character

^ "|" on front of aPortName
9179 [hal9000 hype] The Discovery Channel has Shark Week, and
9182 [matju cam.or] The "|-" is mostly like popen(). One reason to use it is to be able to use
9237 [hal9000 hype] Hmm... I thought it could only be used for reading??? I don't see
9296 [matju cam.or] Please ignore my garbage. Whatever is left of the Perl open() notation,

^ Re: found the bug in cgi.rb
9180 [aseltine sur] Actually, making the change to EOL only helps when I run the script from
9198 [erne powerna] Looks like you're running into the problem that requires IO#binmode.  Try

^ a fix for cgi.rb, sort of...
9181 [aseltine sur] I figured that the only difference between offline and online cgi.rb had
9186 [phasis hanan] ...

^ *now* I have found the bug in cgi.rb, really :)
9183 [aseltine sur] It is somewhere in the code that does the "PRETTY" html... turn it off,

^ Re: Any way to delete object obviously?
9184 [sent quality] ...

^ Re: Simple binary install for Ruby/GTK underMS Windows?
9185 [sent quality] ...

^ Class from name of class
9199 [jimm eris.io] ...
+ 9200 [erne powerna] You could try using Ruby's case method i.e
+ 9204 [Dave Pragmat] I have to say that this concept strikes me as being really very
| + 9207 [decoux moulo] ...
| + 9208 [jimm eris.io] ...
| | 9210 [Dave Pragmat] If you're checking that the class that's resolved from the string is a
| + 9295 [matju cam.or] The following looks for a full pathname from the Object class. It is when
| + 9480 [tonys mysple] ...
+ 9211 [kom mail1.ac] If you already know what class you may instantiate, you can use
  9221 [jimm fnord.i] ...

^ redirecting stdout  --- dup2
9212 [raja cs.indi] ...
+ 9213 [decoux moulo] ...
+ 9214 [behrends cse] ...
+ 9340 [raja cs.indi] ...

^ Array#===
9220 [gotoken math] Thank you for kind explanation, Ben.
9234 [kjana os.xax] ...
9301 [matju cam.or] keep [0] === [0] true. Array#=== could stand for inclusion. By inclusion I

^ Re: Redefining singleton methods & C - function pointers
9226 [crippel prim] On a  related note. How would you change the behavior
9248 [Dave Pragmat] That would make object instantiation somewhat difficult....
+ 9250 [decoux moulo] ...
| + 9346 [crippel prim] ...
| + 9363 [decoux moulo] ...
+ 9310 [crippel prim] ...
  9312 [Dave Pragmat] Simply that to be consistent, .new is a singleton method, so the
  9347 [crippel prim] ...
  9349 [Dave Pragmat] module Example
  + 9350 [crippel prim] ...
  + 9351 [gotoken math] Really?
    9353 [Dave Pragmat] Doh! - sorry

^ install of mysql-ruby-2.3.1 on mandrake 7.2
9228 [daniel.nicau] Sorry for my bad english :(
9275 [decoux moulo] ...
9277 [davidfung99 ] I had the same problem as Daniel (except that i am using Mandrake 7.1) and
9282 [daniel.nicau] It's all good now! What you do on Mandrake 7.1 works fine too on Mandrake

^ Dir.pwd on Win
9238 [hal9000 hype] I'm interested in what people think of this behavior...
+ 9240 [crippel prim] The DLL governs this behavior - if don't want to
+ 9305 [joey joeygib] ...
  9311 [crippel prim] ...

^ Ruby as an extension language for ksh93
9241 [schneiker ju] ...
+ 9247 [yashi yashi.] ah, then the famous favored-ksh-instead-of-ruby project can implicitly
+ 9364 [ranx2 yahoo.] ...

^ polymorphism
9242 [maurice euro] are there plans to include into ruby method selection
9244 [matz zetabit] Not really.
+ 9245 [ben_tilly ho] Don't do it and tell people it is very easy to write
+ 9251 [mak imakhno.] ...
| 9253 [crouton weat] AFIK, polymorphism means that when a method is sent to various kind of
| + 9255 [maurice euro] you read in my mind
| + 9274 [mak imakhno.] ...
+ 9257 [jstern fosha] ...
  + 9258 [chadfowler y] But, Josh, there isn't much "type" to overload based
  | + 9259 [jstern fosha] ...
  | + 9286 [matz zetabit] Dylan?
  + 9261 [patrickdloga] ...
  | 9265 [jstern fosha] ...
  | 9267 [chadfowler y] That's why I said there wasn't "much" type.  Variables
  | 9268 [jstern fosha] ...
  + 9273 [matju cam.or] But it is. Polymorphism is about dispatching (dynamically or statically).
  | 9288 [matz zetabit] In general, yes.  But for several reasons, I give it narrower term
  + 9283 [matz zetabit] "overloading based on the number of arguments".
    9321 [c.hintze gmx] IMHO, yes! I never had any problems with operator/function overloading

^ Need info on mod_ruby and eruby
9243 [jim freeze.o] When I read that ruby could be used to replace PHP I got really

^ Problems with obj.detect{} running in irb
9246 [jweirich one] Consider the following file "tree.rb" ...
9284 [matz zetabit] I officially call it a bug.  I found where it sits.  The problem is,
9760 [matz zetabit] I think I could fix it.  Try the latest HEAD CVS if you're interested.