37710-39622

37518-38275 subjects 37877-38724

Exception instances...
37710 [sean@ch tt n] Start
+ 37712 [jim@fr ez .o] puts "booga: #{booga}"   ## => add this line
| 37728 [decoux@mo lo] See [ruby-talk:36416]
| 37730 [sean@ch tt n] Hmm... so I looked over the examples and they suggest mixing in
| 37731 [decoux@mo lo] pigeon% cat b.rb
+ 37732 [matz@ru y- a] Because you skipped the "initialize" of Exception.  You have to call
  37733 [sean@ch tt n] Not only will it not give you a warning, but 1.7.2 does the expected
  37735 [matz@ru y- a] 1.7 behavior is done by big modification (so called allocation

Apache & Ruby - for a newbie
37711 [lucid@co ne ] I've seen the recent posts about using Apache with Ruby.  Unfortunately,
+ 37713 [sean@ch tt n] Let's see if we can sort things out then.
+ 37739 [tobiasreif@p] Here's just a little howto about setting up a local development Apache

mod_ruby and eruby Apache error
37725 [mps@di co sy] I just upgraded my Apache server for various reasons and along with it I
37806 [sean@ch tt n] How did you compile mod_ruby?  Your configuration looks correct.  I

Ruby Weekly News
37729 [Dave@Pr gm t] Ruby Weekly News: 04/07/2002

Ruby on IRC (was Re: Socket API)
37740 [ docx@io co ] I may have missed an e-mail or twenty, but where is ruby being discussed on
+ 37741 [stephan.schm] Doesn't help you much, but there is an IRCNet #ruby.de community
| 37743 [cochi@un -p ] And a #ruby on IRCNet for non-german speaking ones. And of course the
+ 37742 [msassak@sp a] irc.openprojects.net #ruby-lang
+ 37744 [gnhurst@hu s] #ruby-lang at irc.openprojects.net

ruby-dev summary 16501-16750
37746 [maki@ru yc l] This is a summary of ruby-dev ML in these days, translated

What's wrong with example/testgtk/dnd.rb?
37748 [selander@pd ] H!
+ 37749 [selander@pd ] *laugh* No wonder it is not working. Ruby is certainly a very capable
+ 39622 [nconway@kl m] If you're using 0.27 of ruby-gtk, that file has been updated and

Re: ruby-dev summary (Shared subpattern)
37751 [michael_s_ca] /(ab*c+d){2}/  ?
37752 [decoux@mo lo] a better example
37755 [michael_s_ca] This looks to me like a simple back-reference, no?
37757 [decoux@mo lo] No,
37761 [michael_s_ca] Of course you're 100% correct; I realize my mis-thinking here now.
37762 [michael_s_ca] I meant "abXa" for that first example, of course.
37823 [harryo@zi .c] I've never heard such an idea before, but it might be worth

Threads
37759 [kgergely@ml ] I've decided to use ruby in my diploma. (have some perl experience...)
37763 [matz@ru y- a] The termination of the main thread interrupts other threads.  So it's
+ 37783 [kgergely@ml ] Well, than is there any (pretty) alternative to wait for all threads?
+ 37785 [ckruse@ww te] Hoi,
  37791 [kgergely@ml ] So what should I do?
  37793 [nat.pryce@b1] Write a synchronisation class that implements your required synchronisation

PocketRuby for HP Jornada 820 (WinCe v 2.11, StrongArm processor)
37766 [do_joly@ya o] I am having trouble getting PocketRuby to work on an
37834 [j1kwok@ya oo] I suggest downoading the free Embedded Visual Tools 3.0 from

Re: [patch] update to (X)Emacs modes
37767 [ville.skytta] the
37773 [nobu.nokada@] I see.
+ 37776 [ville.skytta] A quick "grep -r" in Emacs sources reveals that 'add-to-list' was
| 37779 [nobu.nokada@] Thank you.  I read only NEWS.
+ 37777 [ville.skytta] A quick "grep -r" in Emacs sources reveals that 'add-to-list' was

Weekly RCR Summary
37769 [RubyGarden@t] This is an automatically generated list of Ruby Change Requests.

gnome canvas
37772 [john@jo nk i] Does anyone use gnome canvas from ruby?

.EXE file
37774 [rahmanian60@] Is a way for convert ".rb" file to ".EXE" file?

LIQUID V - IMMEDIATE RESULTS  NO PRESCRIPTION NECESSARY
37775 [liquidv12@li] ...

ruby language capabilities
37778 [sosoruby@em ] i'm new to ruby, so I would like if you could share some information about
+ 37840 [comp.lang.ru] I also do not know that much about the language, I am just in the processing
| 37848 [  pih@oe .d ] I just read this document, and I think time is spent better reading
| 37909 [paul@at es .] What's worse is that the document seeks to discover which is the
| 37931 [  pih@oe .d ] I agree, its a very poorly written comparison.
+ 37872 [msassak@sp a] Soso,

capital method names
37781 [paul@at es .] a = 1
+ 37782 [jason@jv eg ] It certainly flies in the face of the Uniform Access Principle, which Ruby
+ 37784 [matz@ru y- a] It's a little magic sprinkled on Ruby.  You know I hate CamelCase.
| 37786 [paul@at es .] Hmm, I wasn't suggesting CamelCase at all.  There are other types of
+ 37787 [peter@se an ] Sorry but this is not so. Given the following code..
  37789 [paul@at es .] When doing name lookups (and no parens are supplied), Ruby first checks
  37792 [matz@ru y- a] But notice it's done in the compile time.  Local variables are
  37794 [paul@at es .] Good point.
  37886 [pit@ca it in] On 10 Apr 2002, at 4:19, Paul Brannan talked about changing a

Little interface improvement request for embedding Ruby
37788 [cboos@bc -t ] I have a small request to formulate for next versions
37790 [nobu.nokada@] I suppose you can check whether rb_cObject or something is
37904 [cboos@bc -t ] I could if they were initialized to some meaningful value
37905 [nobu.nokada@] Before initialization, rb_cObject is 0.  you can check just
37906 [cboos@bc -t ] Hum... Sorry, I will check that.
37912 [nobu.nokada@] Static and global variables must be filled with 0 unless

ruby + Creating and extending XML documents
37795 [oliver@je ly] I am looking for some advice / opinion.  I am currently developing a website
+ 37796 [tobiasreif@p] you could do something like
| 37871 [oliver@je ly] - Is it not better to USE the class rather than inherit from it?
| 37895 [tobiasreif@p] I don't know. But if there's a document which is in a subcategory of a
+ 37881 [home@cl bs o] I think you've got a good grasp of the benefits of inheritence. You've put
  37914 [oliver@je ly] Thanks very much for you help. Your XmlSerialization module sounds like
  37952 [home@cl bs o] You can easily work this in. The to_xml method returns an XML element

Source code for _The Ruby Way_
37797 [hal9000@hy e] After much delay, I have delivered the
+ 37801 [djkea2@mu ca] Excellent!
+ 37802 [djkea2@mu ca] Excellent!
| + 37803 [pate@ey er a] If you email me the two files, I'll put them up on my website until you
| + 37844 [ruby@fo rt c] I also would like the *.tar.gz file, and thank you.
|   37857 [pate@ey er a] Sorry, you sent it during dinner, so it took a bit longer than normal to
|   37883 [ruby@fo rt c] thanks Hal and Pat; I downloaded from webpage and now have source.
+ 37804 [ian@ca ib n.] Yes, please. My fianc?e bought me a copy of your book for my
| 37807 [botp@de mo t] Yes, pls.
| 37876 [hal9000@hy e] Hmm, I couldn't email you for some reason.
+ 37863 [sweagraff@cf] Yes please.
+ 37874 [curt@hi bs c] Add me to the list!
+ 37878 [brailsmt@ya ] How about for the twelfth person... dang.
+ 37890 [Stephan.Kaem] Gee, I'm kinda late for this, too bad I didn't read the news group last
  37891 [botp@de mo t] you can get it fr pate's page  http://pate.eylerfamily.org/ruby/

Best Ruby for Windows ?
37798 [dennisn@pe n] To replace a difficult-to-maintain portion of a system, I've
37843 [ljohnson2@kn] 1. The Cygwin port of Ruby is not "going away", unless Matz made this

RE: ruby-dev summary 16501-16750 (immutable?)
37805 [chr_news@gm ] May I throw in the fact that Python has a quite different take on this
37865 [matz@ru y- a] I'm totally against Python's in-place (argumented) assignment.  The
+ 37897 [pixel@ma dr ] well, C++ is one language that has consistent behaviour on this, and still
| 38043 [matz@ru y- a] Unless you overload operator +=.
| 38048 [pbrannan@at ] #include <iostream>
| + 38099 [chr_news@gm ] In addition you typically define  Foo's internal ``+'' in terms
| + 38100 [chr_news@gm ] In addition you typically define  Foo's internal ``+'' in terms
+ 38011 [chr_news@gm ] I imagine that seasoned pythoneers are fairly sensitized about
  38035 [matz@ru y- a] Maybe.  But I doubt their decision was right.

C++ extensions, garbage collection, Ruby and SWIG
37811 [ptkwt@sh ll ] I wanted to use SWIG to make a Ruby extension out of an existing C++
+ 37821 [tpeters@un -] then you should seek to understand both memory management implementations
+ 37913 [paul@at es .] I don't know how swig will deal with languages that do not have their
  37928 [lyle@kn lo y] The CVS version of SWIG (which will be released as SWIG 1.3.12) includes a

Observable Array
37812 [swilhelm@th ] solution to be as general as possible, so I came up with the following
37894 [george.marro] The parse error you get on the 'alias :old_<< :<<' and 'alias :old_[]=

ANN: REXML 2.1.0
37813 [ser@ge ma e-] I'd like to apologize to everybody on the list who have been posting

Re: REXML 2.1.0
37817 [sean@ce so t] Thank you for your work on REXML, Sean...it's a very cool XML library.

FXRuby: subwindows
37822 [keendahl@wa ] I'm using Ruby 1.6.6 and FXRuby
37827 [ljohnson2@kn] FXTopWindow

Win32Ole
37824 [dougie@gl ba] Is there someone who could post a 1.7.2 version of win32ole.so for windows.
37858 [rich@in oe h] I will send it to you offline.

Rotate, et al
37830 [jzakiya@ma l] I have a newbie question about rotate operators.
37846 [ned@bi e- om] Because we also want to have object pointers fit into 32 bits. So the low

Ruby as replacement for VB?
37833 [rs@on it te ] Anybody have any suggestions for using Ruby in place of Visual Basic for
+ 37826 [info@mj is d] I do not use Windows very often and don't now anything about VB
+ 37837 [patrick-may@] require 'win32ole'
| 37869 [home@cl bs o] Just to second this, I've been using ADO recently via the win32ole and it's
+ 37866 [james@ru yx ] Out of curiosity, why do you want to do this?  VB is really good for
| + 37896 [teyde@on in ] VB6 is now discontinued, replaced by VB.NET. VB.NET includes the missing OO
| + 38123 [rs@on it te ] That was an interesting idea, about using Ruby to create COM objects.  But
|   38124 [home@cl bs o] Well, then, you should check out .NET :) Not that all your problems are
+ 37923 [mdavis@se ai] My goal for Locana is to create a replacement for Access97.  This could
  39153 [xlucid@us rs] Is FoxWindows one of the future target GUI toolkits for
  + 39160 [cbbrowne@ac ] I'd regard Aruna as "just another soon-to-fail Internet IPO" except
  | + 39240 [tobiasreif@p] the website seems to be
  | | 39242 [cbbrowne@ac ] Ah, no.  The Aruna that I saw was <http://www.arunasoftware.com/>
  | | 39244 [tobiasreif@p] ... so that's where the confusion stems from.
  | + 39273 [mdavis@se ai] Well, Aruna is not an internet IPO and is not soon-to-fail.  Here is a
  |   39276 [cbbrowne@ac ] Aruna Plc Aruna House, 110 St George's Rd, London, SE1 6EU, United
  |   39277 [mdavis@se ai] So, what you're suggesting is that I should change the name of ArunaDB
  |   39279 [cbbrowne@ac ] Aruna may well be someone else's trademark.  THAT is the issue.
  |   39281 [botp@de mo t] aha, If name is the issue here, how about "ArubyDB"?
  + 39168 [timsuth@ih g] I've only seen bits of this thread (I'm on the usenet side), so I don't know
  + 39271 [mdavis@se ai] I have no plans to create a binding for Fox but it can be done.  If

crypting ruby source
37835 [coquelle@en ] Is there anybody aware of a method to crypt the sources of ruby software
+ 37851 [comp.lang.ru] This is a flag that you're doing something really stupid.
+ 37856 [elanthis@aw ] Of all the methods available, your best bet is to A) covert it to C
+ 37875 [dennisn@pe n] I'm not sure of the context you are working in -- for example, how will
| 38743 [philip@dy as] Well, both two scripting engines from microsoft also have an encoded
+ 38280 [web2ed@ya oo] This would be a great addition for Ruby.  Both Oracle and ColdFusion
  + 38296 [michael_s_ca] not trying to sound smartassy here, but the lack of native support for that
  | + 38300 [dblack@ca dl] This subject comes up sometimes on comp.lang.perl.misc (or at least it
  | + 38301 [    s@xs .d ] there is a need to encrypt perl programs?
  | | + 38306 [james@ru yx ] That's too damned funny!
  | | + 38311 [michael_s_ca] *ha*, touche'.  =)
  | + 38312 [tom.hurst@cl] Sort of.  You can compile it into C, make dumps of the bytecode etc.
  + 38318 [cbbrowne@ac ] Lots of people use Perl, and aside from waggish comments about
  | 38322 [james@ru yx ] One possible reason to encrypt the source is to guard against
  | 38346 [mwg@fl ff .i] 'tar', 'md5' and 'diff' should help here.
  + 38354 [probertm@no ] There are other reasons as well.  I want to be able to distribute
    + 38369 [jim@fr ez .o] I think this is a good idea for some situations, especially
    | + 38399 [comp.lang.ru] =- Security through obscurity never works in the long run. If
    | | + 38427 [probertm@no ] There are some unfortunate realities that come with my particular
    | | + 38429 [jim@fr ez .o] Yes, thanks for mentioning that. I'm sure it is public knowledge
    | |   38452 [jean_hugues_] If all you need is making the source code inconvenient to read by  casual
    | + 38437 [ rik@kd .o g] #if Jim Freeze
    |   38440 [jim@fr ez .o] Ok for now, but actual implementation use something
    + 38401 [daniel@ze ed] Why not code the algorithm in C as a Ruby extension? It would fairly quick
    + 38528 [ruby-talk@je] Why don't you coredump it a'la xemacs?
      38541 [jd@bl en gg ] How exactly is this method performed.  I've always wondered this :)

Easy character comparisons
37838 [sean@ce so t] Today I spent a little time debugging something I "didn't expect."  I
+ 37847 [rasschaert@i] i would suggest
+ 37859 [dblack@ca dl] Not shorter, but maybe nicer-looking.
| 37882 [lucid@co ne ] For me (a  relative Nuby) this seems by far the most legible of the
+ 37860 [rich@in oe h] "string".begins_with? "s" => true
| 37892 [tsiivola@ni ] ...
| 37939 [sean@ce so t] Thanks Nick, I like this one the best...very readable and not to far from
| 37992 [tsiivola@ni ] And of course
+ 37862 [ rik@kd .o g] #if Sean O'Dell
+ 37868 [vjoel@PA H. ] "string"[0] == ?s
+ 37893 [matz@ru y- a] string[0] == ?s

mix-in dependancy
37839 [ysantoso@je ] I'm playing around with the idea of attaching modules to some class
+ 37842 [ysantoso@je ] I made a mistake. Should have used methods and instance_methods.
+ 37915 [paul@at es .] I know of no built-in mechanism.  However, RubyTreasures has something
  + 37943 [chr_news@gm ] It might be worth while too check the arity(ies) as well??
  | 37956 [pbrannan@at ] That's a good point.  I will make a note of it for the next release.
  + 37946 [ruby-talk@je] Just curious, where do you guys find useful URLs like above? Thanks

class << self   question
37841 [info@mj is d] class << self
+ 37832 [    s@xs .d ] here self refers to class Vector
+ 37864 [dblack@ca dl] You've added the instance method #func to the singleton class of which

Ruby interpreter error reporting
37845 [sean@ce so t] number++
37901 [tom.hurst@cl] It's an effect of how parsing works, especially how automatically
37902 [nobu.nokada@] The expression is parsed as

ANN: REXML 2.1.2
37849 [ser@ge ma e-] This release is a bug fix release.

cant build eruby
37852 [micah@ob ec ] I've tried to build eruby on both windows 2000 and windows XP

Range.each without iteration
37853 [sean@ce so t] How does one specify a range so that range.each never iterates?  I've tried
37850 [ysantoso@je ] Not "at least once", but exactly once because [0..value] is not a
37836 [sean@ce so t] tried

Questions about Ruby
37854 [ahrlind@ho m] I am currently working on a assignment about Ruby, and I would like to know
+ 37867 [ralph.mason@] Shouldn't you do your own homework?
+ 37879 [ptkwt@sh ll ] Now a question for you:  Who gave you this assignment? (is it a school
+ 37884 [tim@ve et .a] - ~/bin:/opt/bin:/usr/local/bin:/usr/bin:/bin
  + 37910 [vmreyes@us i] How Rude and impolite this Mason can be!
  | + 37911 [mark.firesto] I agree with you.  As far as I am concerned, asking questions on a list like
  | + 37955 [ralph.mason@] No not rude, the comment is 'tongue in cheek'
  + 37927 [lyle@kn lo y] Good grief, guys, back off! He didn't ask anyone to write his research paper
    + 37932 [ruby@fo rt c] I agree, Lyle.
    + 38115 [tim@ve et .a] In my case, the primary offense was the implication that, like
threads.html
top