28822-30230 subjects 29318-29997

Re: A Ruby programmer walked into a bar and
28986 [paul@at es .] The problem is that this still requires changes to the "ruby guts."

Continuations, Procs, Methods, etc.
29000 [grady@xc .b ] Based on a discussion on another list, I was thinking about
29131 [paul@at es .] def callcc2(obj)

Free web development environment using ruby.
29001 [domingo@da -] I'm working in a web development environment that uses ruby as main

Can't  obtain data from Serial Port.
29007 [vladare@ya o] I try to write the simple program allowing exchanging packages through

MIT Scheme and Dlls
29013 [agafaed@ao .] I'm really new to Scheme (about ten days) and I've downloaded some

But is it Fun?
29014 [edwardhatfie] I've been watching Ruby with great interest over
+ 29020 [bobh@hs da o] Like everything it is subjective. Try and see...
| + 29021 [furufuru@cc ] Correct.  But, I'd like to add that there are lots of people (me
| | 29030 [neumann@s- i] As I am young and not contamined with COBOL, FORTRAN and all the other
| | + 29034 [mchahn@fa el] I can see that you never had to code anything big in assembler.  Speaking as
| | | + 29043 [neumann@s- i] Big is relativ using assembler. It doesn't need long and you have
| | | + 29121 [alwagner@ua ] Probably because you were forced.  Assembler was my first
| | + 29107 [furufuru@cc ] Lucky you!  Until a few years ago I had long had to program in Fortran
| |   29137 [comp.lang.ru] - - I did a lot of my best work in fortran77, even worked on a code
| |   29303 [furufuru@cc ] I perfectly agree to these things you said.  In particular, that
| + 29033 [info@mj is d] this is rigth. everybody has his own preferences and some may like ruby
+ 29026 [feldt@ce ch ] I'm a programming-language-oholic that had gradually lost my enthusiasm in
+ 29031 [Stephan.Kaem] OK...
+ 29060 [michael.cook] ruby -le '$_ = 1; ("1" * $_) !~ /^(11+)\1+$/ && print while $_ += 1'
  29081 [in6x059@pu l] If someone is looking for _that_ kind of fun, you might also take a

Creating a proxy server
29016 [bobh@hs da o] Is it possible to create a proxy server in Ruby? My company is going
29027 [dthompson@ch] Proxy what? HTTP? If so, what will this product do that Squid won't?
+ 29029 [neumann@s- i] Hehe, why spend money when the *best* is freely available?
+ 29045 [bobhicks@ad ] Well it will let me (a newbie) learn something new about Ruby. It will be

Class variable function prototypes in ruby.h?
29017 [lite_cheng@y] While coding a C extension with Ruby 1.6.5 (i586-mswin), I noticed
29049 [nobu.nokada@] 1.7 has them in intern.h.

Incomplete documentation for String#split
29018 [martindemell] Surprisingly enough, this *did* work in Ruby too

CGI problem
29032 [info@mj is d] I have a basic question on the CGI module.
+ 29035 [armin@ap ro ] require "cgi"
+ 29042 [neumann@s- i] simply don't use cgi.out.

Compiling Ruby
29041 [markus.lado@] I've written down some thoughts, on how a Ruby compiler may work.

radical.rb "Address already in use" question
29066 [phlip_cpp@ya] - Buy a clone AMD 533
29070 [behrends@cs ] Under certain circumstances, a socket may remain "allocated" for a while

Ruby programmer population stats?
29077 [harryo@zi wo] Someone just asked me for an estimate of
29082 [dempsejn@ge ] perhaps a running list on the number of downloads of the ruby gzips from

RubyGtk without X ?
29080 [mchahn@fa el] Has anyone used RubyGtk with the GTK+ that calls ms windows gdk instead of

Math with RexExps (was:  Re: But is it Fun?)
29083 [in6x059@pu l] Changing your
29139 [michael.cook] 1. you dropped the \1
29213 [kasal@ma sr ] I guess Michael's explanation doesn't follow the thoughts of Marko.
29316 [in6x059@pu l] That is exactly the point that missed my brain. Theoretically I know

Is "The Ruby Way" shipping yet?
29111 [harryo@zi wo] According to Amazon, TRW was supposed to be published
+ 29119 [hal9000@hy e] TRW was supposed to go out that day... I question whether
| + 29123 [harryo@zi wo] Oh well.  I was interested because Amazon apparently has a policy
| | 29124 [dblack@ca dl] I don't think that's true.  I think you can click something that says
| + 29190 [chadfowler@c] You don't have it yet?  I do. :)  (/me rubs it in)
|   29197 [matz@ru y- a] I don't have my copies of "Ruby in a Nutshell" yet. :-<
+ 29126 [mjais@we .d ] fatbrain.com has "The ruby way" in stock. ships withing 2-3 days.
  29133 [ms@ia ta e. ] Regarding the 'teach yourself' book: the table of contents is not quite
  29165 [ptkwt@sh ll ] Yes, I see Fatbrain has it and says is ships in 2-3 days, Amazon still
  29173 [hal9000@hy e] Thanks for identifying those so readily, Phil...  :)

[ANN] RubyCocoa 0.2.0
29118 [hisa@im sy o] * The role of OSX::OCObject became a stagehand
+ 29145 [lucsky@ma .c] Did I already mention that RubyCocoa kicks some serious butt ?
+ 29147 [gehlker@fa t] This rox, as does RubyAEOSA. Thanks for doing this!

Re: [Announce] Roach - Web Application Fram ework
29125 [aaron.barnet] ...

TYS Ruby and The Ruby Way
29132 [peter@se an ] I have just had a look at the content lists for these two books on
+ 29140 [dblack@ca dl] fatbrain.com has screwed up.  I don't think TRW has "days" at all :-)
+ 29142 [ms@ia ta e. ] Fatbrain is confused. What you have above is the TOC for my book. Hal's
+ 29144 [hal9000@hy e] Thanks for this catch.
  29146 [peter@se an ] Sigh. Well I'll just have to spend my Xmas bonus on both then.

ANN: REXML mailing list
29134 [ser@ge ma e-] I've gotten a few requests for a REXML mailing list, so I've created one.

Why is UnboundMethod a subclass of Method? (was Re: overriding methods: (almost) a replacement for alias_method)
29135 [chr_news@gm ] instance_method is defined in 1.7.2. The return value is an UnboundMethod.
+ 29141 [paul@at es .] Well, a Method is really a BoundMethod, and a BoundMethod is not an
| 29182 [chr_news@gm ] On the other hand to claim that UnboundMethod is a special kind of (bounded)
| 29196 [matz@ru y- a] For your information, it's almost historical reason.  I developed
+ 29143 [decoux@mo lo] moulon% ruby -ve 'p Math.instance_method :log'

subject-line format
29151 [ITrotts@Id l] It would be a big help if the subject lines on these

special case?
29154 [pcs3@nj t. d] irb(main):001:0> class << 1
29172 [hal9000@hy e] It's rather a hole. The current implementation of
+ 29188 [pcs3@nj t. d] If and when this does change, will the behavior of Bignums be changed so
+ 29679 [chr_news@gm ] def nil.yes; end

Programming Ruby
29156 [argaeus@ya o] I would like to know if there's a version of "Programming Ruby" in plain text format.
29158 [Dave@Pr gm t] There's an XML version, which with some effort could be converted to
+ 29162 [huber@al m. ] Is this really true?  Very sad, IMHO.
| 29201 [W.L.Kleb@La ] I've just sprinkled 5 more copies around the center
+ 29177 [curt@hi bs c] I first downloaded your online copy, and them I bought the book about a week
+ 29181 [harryo@zi wo] Sadly, this may be due to the fact that you've been kind
+ 29191 [gehlker@fa t] There's still something nice about dead trees, though.
| 29192 [brian@co ln ] Hey, my copy of the book is almost a year old now.  It's got a speck of dirt
| + 29193 [dblack@ca dl] Dirt -- check.  Coffee stains -- check.  And...  my cat has eaten some
| + 29295 [Le Wang <>] Guys, I think Dave was kidding.
|   + 29298 [brian@co ln ] Yeah, there is that chance.  I was a little sleep-deprived - my brain
|   + 29306 [hal9000@hy e] My guess is, I think he wishes he was kidding
|     29310 [Le Wang <>] It's simple really.  If you put forth a ton of effort and make a
+ 29204 [martin.kahle] I never did anything with xml before; so can you give me a short hint
| + 29223 [Dave@Pr gm t] If you want to convert XML into HTML, your best bet is XSLT. If you
| + 29237 [billk@ct .c ] My copy looks somewhat as though a truck had skidded over it (. . .
| + 30624 [schmitt@sc 1] I disagree. It's only the second best book on programming I ever read.
+ 29216 [bobh@hs da o] Hey the online info was so great I am buying the book!!!

RES:  Re: Programming Ruby
29159 [argaeus@ya o] I'm planning to start a portuguese translation of the book, so a plain text format would fit in vim, just to make the things easier
29200 [W.L.Kleb@La ] Why not use the original (mostly plain text) LaTeX manuscript, then
29210 [argaeus@ya o] RES:  Re: Programming Ruby

[OT] Re: Programming Ruby
29160 [niko.schwarz] dave, the problem is: when someone reads ur book, itll take him 2 days up
29163 [Dave@Pr gm t] But Programming Ruby _is_ a really bad Java book. Does that help?

Production, Significant Uses of Ruby
29164 [mike_thomas@] All,
+ 29167 [Dave@Pr gm t] And document them on http://www.rubygarden.org/ruby?RealWorldRuby
| 29195 [mike_thomas@] Thanks for the URL, Dave -- nice list.  Sorry if I was duplicative in
+ 29185 [james@ru yx ] www.rubyxml.com is powered by Ruby.  The content is kept

List of Tips
29170 [j.travnik@sh] I have came across the List of Tips at
+ 29174 [Dave@Pr gm t] Yeah - I got a laugh out of that too...
+ 29207 [mulperi@ik .] Yep, I know exactly what you mean. Fortunately the ruby internals

Dir and Stat on windows
29171 [STUCKNER@MU ] ...
29183 [harryo@zi wo] This seems like the "right" way to do it, but I'm wondering whether
29186 [harryo@zi wo] whether it actually IS faster than stat-ing 3300 files ...
29189 [harryo@zi wo] Whoops!  I just realised you said "Windows" :-) !!!

cgi.rb multipart question
29175 [bhilton@vp p] I am attempting to use cgi.rb with a multipart form (to handle file

RES: Programming Ruby
29217 [argaeus@ya o] that is great!, I'll try it out.

getting OT stuff (John Roth dolt, etc.) off of ruby-talk/comp.lang.ruby
29219 [dblack@ca dl] Just wondering whether anyone knows a good way to get some of

What is the evidence that it works?
29226 [david.lights] Renamed subject title.

29227 [ jimm@io co ] I'm having a problem with HTTP POST under Ruby 1.6.4 and 1.6.5.
+ 29229 [chadfowler@c] Jim,
| 29245 [ jimm@io co ] I've tried it both ways, with and without the '?', when using post() or
+ 29279 [aamine@mx ed] No. There's something wrong.
  29282 [ jimm@io co ] true
  + 29284 [chadfowler@c] Jim,
  | 29286 [ jimm@io co ] Thank you. When I run it, I clearly see my POST data.
  | 29287 [chadfowler@c] Can you also post the GET request that you send to the server?
  | + 29289 [ jimm@io co ] GET /PingServer/Ping?PingRequestXML=[snipped]&action=[snipped] HTTP/1.1
  | | 29290 [chadfowler@c] It's only a GET if it sends "GET /PingServer....".  Do you have the
  | | 29292 [ jimm@io co ] Hmm...that could be. I will have to ask for the source; someone else
  | + 29291 [ jimm@io co ] When I use
  + 29285 [aamine@mx ed] Hmm. I've heard that Tomcat always requires Content-Type.
    29288 [ jimm@io co ] hash = {'Content-Type' => 'x-www-form-urlencoded'}

Some Questions from a Newbie (no programming experience)
29232 [Tom.Karas@ht] i am willing to learn either a script-language (python, ruby) or a
+ 29234 [info@mj is d] ruby is a quite simple language compared to Perl or C++.
+ 29236 [mike_thomas@] 1. Though Ruby is touted as simple by many, I think it's quite advanced
| 29238 [Dave@Pr gm t] I believe Pete McBreen might be working on something like that.
| 29247 [pete@mc re n] To
+ 29250 [brian@co ln ] These questions end up being all about personal opinion, but I'd like to
+ 29254 [ptkwt@sh ll ] I think Ruby would be an excellent first language to learn.  Easy to
  29260 [jonathan.ent] Are you writing your own course materials or using someone else's?  The
  + 29262 [ptkwt@sh ll ] I'm going to be preparing my own materials mostly.  The class won't be
  + 29263 [pehrens@no p] Milk came out my nose!

Principle of Ethical Software Design (Re: Quantitative Unit-testing?  (Re: John Roth dolt (  Re: A challenge   to   proponents of Unit  Testing. )
29235 [panu@fc .n t] " ...  4.1.2 Is it good to have some semantic information in the argument names, e.g., 'nameString'?
+ 29239 [panu@fc .n t] ...
+ 29242 [panu@fc .n t] Thanks for your patience

Fractal Life Engine v0.4 now supports Open Inventor...
29243 [phlip_cpp@ya] ....for Linux.

New RubyGtk project addition?
29246 [mchahn@fa el] I never got any response to this post (although maybe I should have waited
29302 [mchahn@fa el] I'm a newbie at ruby lib building and need help.
+ 29305 [rokosm@kl ka] void Init_gtk()?
+ 29313 [olczyk@in er] Error Lookup says "Module failed to load."

Persistent connection server?
29253 [list@ch om t] Is there any example of a server written in Ruby that manages
29261 [vruz@ww .d g] The HTTP 1.1 protocol describes how to do that
29275 [anany@ec .v ] You can use the Net::FTP library, and follow the model of that code.

The Information Overload Dept. brings you...
29256 [Dave@Pr gm t] I've tabulated the Ruby user surveys: the results are available on

AdjectiveNoun class names (was: Re:  Re: Why is UnboundMethod a subclass of alias_method)
29258 [dblack@ca dl] Picking up on something from #ruby-lang, which itself grew out of
+ 29307 [henning@ik o] I like your thinking.
+ 29308 [qrczak@kn .o] If I understand this, then in Polish descriptive adjectives are usually

upper case to lower
29265 [baasad@qu li] an new to scripting :)
+ 29266 [joe@vp p. et] dir = "."
| + 29267 [armin@ap ro ] you could also use
| + 29268 [dblack@ca dl] Don't forget String#downcase :-)
| | + 29269 [baasad@qu li] this is so elegant
| | + 29271 [baasad@qu li] okey,
| + 29329 [tom.hurst@cl] File.rename(filename, newname) unless newname =3D=3D filename
+ 29270 [nobu.nokada@] There are some ways.
| 29273 [baasad@qu li] okey I don't understand the "!" part why do u have it
| 29297 [harryo@zi wo] In Ruby, methods that modify an object, as opposed to returning
| 29300 [nobu.nokada@] Thanks to explain.
| 29323 [in6x059@pu l] It is code like that, that is giving Perl a bad reputation. It works,
| + 29342 [nobu.nokada@] I agree.
| + 29405 [matju@sy pa ] for communication to happen, you must be willing to listen.
|   29408 [tom.hurst@cl] Well, there's a difference between a base part of the language syntax
|   29413 [matju@sy pa ] This is a behaviour shared by most bang-methods in Ruby. So it's part of
+ 29274 [josb@cn ds .] #!/usr/bin/env ruby
+ 29299 [qrczak@kn .o] Some scripts have other letters besides A-Z. For example we Poles have

Joint Builder Project (Re: Ruby 'make' replacement (Re: stderrfrom external process?))
29272 [mikkelj-anti] Interesting!
29277 [mikkelj-anti] Before I insult too many people - the above should read "This is not an

Clean 2.0 is out
29276 [mikkelj-anti] There have been some discussion about Clean in this group before, so for
29304 [feldt@ce ch ] Wow, thanks for the pointer. Looks extremely strong.

Instance Subclassing
29280 [ralph.mason@] ...
+ 29281 [dblack@ca dl] w = Win32OLE.new("myserver.myclass")
| 29283 [ralph.mason@] I could do that but I need to be able to do
+ 29293 [matz@ru y- a] Depends on what you want to do.  Subclassing instance seems

XEmacs problems with ruby-mode.el
29296 [Le Wang <>] Anyone know what the story is with the XEmacs and ruby-mode.el?  I
29370 [Le Wang <>] It seems I'm talking to myself here, but I founnd a patch for a
+ 29442 [matz@ru y- a] Will anybody using XEmacs confirms this patch?  I'd like to merge it,
| 29527 [nobu.nokada@] A little patch.
| + 29540 [matz@ru y- a] Thank you.  May I ask you what this means?
| | 29558 [nobu.nokada@] Because `ruby-font-lock-syntactic-keywords' is referred but not
| | + 29608 [Le Wang <lew] (setq major-mode 'ruby-mode)
| | | 29618 [nobu.nokada@] Since the line is in the (defun ruby-mode), major-mode isn't
| | | 29625 [Le Wang <lew] I can't recreate this issue within XEmacs, but you obviously know much
| | | 29628 [nobu.nokada@] Well, since I still use XEmacs 21.2.32, it may be too old...
| | + 29612 [matz@ru y- a] OK. Thank you.  And it seems this patch fixes the original problem.
| |   29624 [nobu.nokada@] Although it's sure for 1.39, both of my patches,
| + 29555 [Le Wang <lew] touch?.
+ 29756 [nobu.nokada@] May I commit this patch with [ruby-talk:29527] and
  + 29779 [matz@ru y- a] Do we really need Le's patch?
  | 29783 [nobu.nokada@] Since [ruby-talk:29527] is addtional to Le's, it cannot be
  + 29828 [Le Wang <lew] sorry about that. You can use lewang@bigfoot.com

[ANN] The FreeRIDE (Ruby IDE) Project has Moved.
29311 [curt@hi bs c] ...
+ 29314 [phlip_cpp@ya] And now my admonition to the FreeRIDE effort...
| + 29319 [curt@hi bs c] Please add these comments to the wiki page.
| | 29349 [phlip_cpp@ya] Of course! Where's my manners??
| | 29350 [curt@hi bs c] Of course proper definition of "sucking" is highly personal and subjective
| + 29355 [neumann@s- i] - please develop it with a toolkit available for UNIX (and Windows)
|   29356 [curt@hi bs c] Absolutely! We want FreeRIDE to be a multi-platform as possible.
+ 29320 [hal9000@hy e] Curt, a subpage I created is gone now.
  29322 [curt@hi bs c] Hal, I just cut & pasted from the stuff into the new site and probably