150611-152510 subjects 151107-156207

^ a restricted send (was: Re: ruby-dev summary 26468-26661)
150712 [martinelzen ] Please, no!  A lot of those alternatives are just synonyms for 'send', IMO,
150713 [dblack wobbl] Another possibility would be perhaps a "secret" (or something) level
150737 [chneukirchen] It's likely you forget a method then, though.

^ Possible bug, or just confusing documentation of class Icon in the Ruby standard library.
150731 [tirkal gmail] docs lead one to believe that Iconv.conv is equivalent. As I'm going
150733 [tirkal gmail] docs lead one to believe that Iconv.conv is equivalent *to Iconv.iconv and=

^ question about symbol naming convention
150743 [erazor mitoc] I'm glad to get so well founded help here, so here's another beginner
150744 [mrcode netro] irb(main):001:0> class MyClass
150748 [erazor mitoc] It's hard to understand, why i can't access the private singleton from
150763 [halostatue g] They're not at all related. They look like they might be, but
150783 [acharlieblue] 1. The method #testing is an instance method. You can't call class
150965 [daniel brock] No, it's "cannot be called with an explicit receiver unless

^ FOSCON Photos
150758 [ptkwt aracne] Last night in Portland we had a very good turnout for FOSCON (the Free
+ 150778 [jimfreeze gm] Please describe more about this drb/irb.
| 150788 [ptkwt aracne] He had people fire up irb and then displayed some code they would need to
| + 150792 [jimfreeze gm] Cool.
| + 150795 [fxn hashref.] Cool! That's really cool.
+ 150835 [ezra yakima-] Yes _why's presentation was _very_ original :-) I loved it!   Modulaise!

^ Fwd: [Rails] Fwd: RMagick problem
150769 [joevandyk gm] If you look again, you'll notice I have two resize methods.  One

^ [OT] Rails Wiki Spam
150770 [markus reali] I know this is a little off-topic, but the Rails Wiki

^ Ruby on CodeZoo
150771 [ptkwt aracne] Haven't seen this mentioned here, but O'Reilly's CodeZoo has added a Ruby
150839 [curt hibbs.c] It appears that they are spidering sites like RubyForge for info about
+ 150886 [tom infoethe] Yeah, I guess so... maybe they're using the RSS feeds, not sure.
+ 150911 [curt hibbs.c] I'm forwarding this on behalf of Marc Hedlund from O'Reilly who was

^ Database choices?
150773 [probertm acm] Part of the project I am embarking upon will require an SQL database.
+ 150864 [kennethkunz ] Mark,
| 150867 [kennethkunz ] Mark,
+ 150873 [lyndon.samso] Postges is great ( Stored Procs in Python/Ruby/Perl/Java? ), but for your=
+ 150885 [tom infoethe] I've been using PostgreSQL 8.0, with the postgres-pr pure ruby driver,

^ Resizing bitmaps
150784 [eustaquioran] What is an easy way to resize, for example, a JPEG image using Ruby?
150790 [halostatue g] ImageMagick/RMagick. You're not going to really get it any other way.

^ [ANN] Toronto Ruby User Group meeting 7 Aug 2005
150809 [mike stok.co] TRUG are meeting at the Linux Caffe in Toronto at 1pm on Sunday 7th August

^ Need help with with Binding.of_caller
150811 [se digitale-] (hoping that Florian is reading)
150837 [florgro gmai] If in doubt CC, but I try to keep up with ruby-talk. (Not true for the
150851 [se digitale-] Thanks for the fast response Florian.

^ Question about WIN32OLE_EVENT.
150845 [mkelly eleve] charset="us-ascii"
+ 150849 [dave burt.id] browserEvents.on_event {}
| 150878 [mkelly eleve] @documentEventHandlers.each_value { |value| value.on_event( 'onclick'
+ 150983 [masaki.suket] Unfortunately, there is no way to detach from events.

^ Using Rails, Anyway to build ActiveRecord to Point at Hash?
150875 [peter peterk] I would like to build my own "business object" and have Rails point at

^ Please help make CodeZoo truly useful
150881 [curt hibbs.c] I just posted this on my blog (http://blog.curthibbs.us/), but I thought
+ 150890 [tom infoethe] Yup, maybe RubyForge could start exporting that DOAP format that they
+ 150918 [james_b neur] Please excuse me if I am being denser than usual; I've got server issues
  + 150919 [alang cronos] While I basically agree with this, I think overall the fact that Ruby
  | 150920 [james_b neur] I also just now read Curt's forwarding of the explanation of CodeZoo
  | 150924 [curt hibbs.c] In fact, there isn't anyway to contribute something directly to CodeZoo.
  | 150938 [james_b neur] Which greatly simplifies things.
  + 150922 [threeve.org ] I sort of feel the same way.  I'm still relatively new to Ruby, and it
  | + 150929 [shalev simpl] charset=US-ASCII;
  | | 150934 [tom infoethe] Hm, is that on RubyForge?  If so, you can let me know and I'll delete
  | | 150989 [chneukirchen] Maybe you could make a "Ruby cemetery" where old projects can go to
  | | 151289 [adrianh quie] That would be nice.
  | + 150940 [james_b neur] But it appears that CodeZoo will help sort that out.  For example, if
  |   150968 [botp delmont] #Subject: Please help make CodeZoo truly useful
  |   150970 [curt hibbs.c] O'Reilly and RubyForge are discussing the possibility of setting up
  + 150923 [Ara.T.Howard] i feel your pain.

^ Newbie - Help with using puts to binary file
150900 [NoSpam nospa] I am writing a templating system to replace tags and values in template
150902 [halostatue g] #puts will add an LF if it isn't present at the end of the output.
+ 150903 [halostatue g] By the way, it won't affect Unix or OS X, but please remember to open
+ 150906 [NoSpam nospa] Thanks for your super quick response Austin, I'll give that a try!

^ A useful application of DRb
150909 [khaines enig] Just thought I'd share this useful, simple application of DRb.

^ [QUIZ] Stock Portfolios (#41)
150914 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until
150928 [peter no-non] Regards,

^ YAML serialization of cyclic object classes
150930 [GGarramuno a] I have a program that is trying to use YAML to save out its data,

^ Re: Ruby momentum?
150933 [neutralm gma] I think Ruby on Rails is at the same crossroads that Java was 10 years
150935 [dblack wobbl] Let's give a tiny little nod to Ruby too :-)
150936 [khaines enig] Or a big nod.  I've fed my kids for 3 years with Ruby and website/app work.
150954 [mccarthyjame] Hell I don't care if anyone else uses Ruby, I like using it so much
150961 [curt hibbs.c] Good thing you weren't in school when C++ was the language de jour --
150998 [mccarthyjame] c++, what is this strange thing you speak of?
151009 [sigzero gmai] On 8/6/05 9:32 AM, in article 47f3060e050806063229da48a@mail.gmail.com,
151100 [martindemell] When I was in college, I learnt FORTRAN in CS101 and C (ironically

^ Marshalling objects
150950 [nathan.smith] I'm trying to marshal an object and I get an error "<Classname>
150957 [james graypr] Which particular <Classname> are we talking about here?  Can you show

^ interactively processing a line at a time
150963 [fkchang2000 ] For the following code segement running on win32 ruby (1 click installer)
150967 [Ara.T.Howard] try this - it should/might work on windoze - i assume it inherits open file
+ 152005 [fkchang2000 ] That did the trick.  Thanks.
| 152008 [Ara.T.Howard] great.  i wouldn't launch rockets with it ;-)
+ 152006 [fkchang2000 ] I tried tweaking your code to use IO.win32_popen3 coz I wanted to
  152010 [Ara.T.Howard] require 'tempfile'

^ Ruby On Rails / ID question
150966 [peter peterk] I've got an outer join using postgres and am using the insert and update

^ Webrick newbie question
150969 [shanko_date ] I am playing with Webrick that comes with the latest one-click installer on Windows XP (Home).
151005 [mccarthyjame] Oh god I hate cgi, first make sure the directroy's you mention have

^ Re: using a gem installed package
150971 [dblack wobbl] Hopefully RubyGems will become part of the standard Ruby package at

^ operator overloading (was: new block notation)
150972 [vikkous gmai] On 8/5/05, Nikolai Weibull
+ 150973 [florgro gmai] Which shows an important fact: Pragmatism wins. Same for Ruby allowing
+ 150993 [mailing-list] I've never thought it bad.  Operators are there to be used on whatever

^ Remote require
150974 [james_b neur] Assume there is actual code underneath (probably involving open-uri),
+ 150975 [daniel.amela] I hear ya brotha!
+ 150976 [transfire gm] I believe somthing like that was done years ago, but haven't heard
| 150997 [james_b neur] Thanks!
| 151016 [khaines enig] Caching isn't a hard problem to solve.  I have a Webcache class in my current
+ 150977 [ptkwt aracne] Did something like this long ago in TaskMaster (Warning: I haven't

^ FCGI::Stream rewind
150984 [george.mosch] Is there a way to rewind a fastcgi stream like you can do using normal

^ AllInOneRuby 0.2.6
150986 [pan erikveen] I just released AllInOneRuby 0.2.6.

^ [ANN] RubyScript2Exe 0.4.0
150987 [pan erikveen] I just released RubyScript2Exe 0.4.0.
151036 [vjoel path.b] Erik,

^ [OT] Re: Yet Another useless Ruby 2 Idea
150990 [dooby d10.ka] [Re: tabbing]
+ 150992 [sylvain.joye] And yet another troll on tabs vs. spaces ...
+ 151051 [mailing-list] Huh?  That's weird behavior.  Why not have backspace delete exactly the

^ [ANN] OSCON videos, medias
151017 [ruby-talk wh] My friends, I've got my act together now and a BitTorrent tracker up
+ 151043 [ptkwt aracne] Unfortuneately, while we at FOSCON had great podcasting dreams alas we did
| + 151183 [jim weirichh] Dang!  Me too!  I've been humming that one all week.
| | 151238 [ruby-talk wh] Dedi Hubbard sent me a recording of Wednesday night, which is now up on
| | 151241 [ezra yakima-] Thanks _why-
| | 151271 [jeff.darklig] Is there any copy of these sitting somewhere that doesn't require bit torrent?
| | 151288 [ezra yakima-] I've downloaded the torrents of the MP3 files. I'm uploading them to
| | 151299 [ptkwt aracne] Thanks!
| | 151312 [ezra yakima-] Yeah I know. Thats the way _why put them up in the torrent as well.
| + 151412 [robert.mcgov] Thats a shame, I had hoped that those over here in Europe might get to
+ 151314 [lists source] Awesome...'cept...I can't see it.  I wish you Rubyist MacHeads would
  151333 [ptkwt aracne] Actually, _why initially did them on Linux and (I'm pretty sure) was using
  + 151337 [jordan.elver] For the record, I'm on Linux and originally had problems until I
  | 151349 [dbatml gmx.d] Are you sure that you can play "The Least Surprised - The Red Scared.mov"
  | + 151361 [jordan.elver] I'll double check. I'm not at my Linux box right now.
  | | 151379 [jordan.elver] Sorry, stupidness alert :)
  | + 151401 [ruby-talk wh] An AVI of this cartoon is up now.  This one's the very same that I
  + 151352 [Bil.Kleb nas] I just became a MacHead last week (largely Kilmer's fault), and

^ polymorphism and/or named parameters: the ruby way?
151019 [d454d web.de] i am kind of a newbi, please forgive me if i am asking stale questions.
+ 151020 [james graypr] We can ask for a variable number of arguments, then check for the
| 151028 [d454d web.de] Yes, thanks a lot. Though i think i like the approach using a hash
+ 151022 [eric_mahurin] What you are talking about is really method overloading not
  151029 [d454d web.de] Yes, I agree. :)
  151063 [eric_mahurin] I was thinking something like this (I don't think the above
  + 151064 [reyn.vlietst] Comming from a C++ background I was also facing the same issue with
  + 151082 [d454d web.de] You are right. My code was plain wrong. Without using self.new... the

^ STRING MANIPULATION: Marking syllables
151023 [basi_lio hot] 1. A c(c)v sequence is a syllable if followed by a cv sequence
+ 151039 [halostatue g] There are a couple of syntax (human language syntax) libraries
| + 151046 [w_a_x_man ya] After making the following change
| + 151059 [basi_lio hot] Yes, I did mean to inquire for references to human language parsing
+ 151042 [w_a_x_man ya] CC = {}
  + 151045 [halostatue g] Note that your CC['c'] will catch 0-9 and punctuation as well.
  + 151058 [basi_lio hot] Thank you very much for your help. This is great!

^ REGEXP: Creating character classes
151024 [basi_lio hot] I'm unable to find a way to create character classes. How might one
151040 [halostatue g] See my other post, but you can't create custom character classes in

^ twincities.rb interest?
151025 [airboss node] If you live in or near Minneapolis/St. Paul, MN, USA, and are

^ windows sound
151026 [erne powerna] I'm stuggling a little bit with playing a large .wav file.  It's a
151211 [chris.pine.f] I'm not sure what you're ultimately trying to do, but when I want to

^ Re: Connecting to a non-localhost Mysql with Ruby-DBI
151037 [jesperrr gma] ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock

^ ANN: Ruby support is (finally) in ActiveState Komodo on OS X
151038 [eric.promisl] Last week at OSCON ActiveState announced an alpha for Komodo 3.x, our
151052 [ptkwt aracne] This is good news.  The Ruby community has been speculating about

^ wine and win32ole
151065 [Ara.T.Howard] any one out there thought of using wine to compile win32ole on *nix?  anyone
151244 [daniel.amela] I've never used wine for cross-compilation. I've always been happy
151249 [Ara.T.Howard] correct me if i'm wrong - but isn't this the solution for the opposite problem
151256 [daniel.amela] You said you were interested in 'using wine to compile win32ole on
151261 [Ara.T.Howard] i compiled from the latest wine source - and reason to prefer your appoach?
151290 [daniel.amela] I'm lazy :p
+ 151304 [Ara.T.Howard] amen brother!
+ 151503 [Ara.T.Howard] i ended up going this route for testing.  in installed cxoffice, the ruby one

^ Regexp Help for  \W less [.-_]
151067 [transfire gm] Regexp help. How do I write "all non-alphanumeric characets except .
+ 151068 [dblack wobbl] /[^\w.-]/
| 151074 [transfire gm] Even better.
+ 151070 [Ara.T.Howard] re = %r/[^A-Za-z0-9._-]/
  + 151071 [transfire gm] Thanks Ara. Worked.
  + 151072 [dblack wobbl] You get all that A-Za-z0-9_ stuff for the price of admission with \w

^ Unpack binary files.
151075 [dave.m email] charset="us-ascii"
151076 [dooby d10.ka] tar = "i6\253m\251e"    # in:  binary content
151083 [dave.m email] charset="iso-8859-1"
151090 [dooby d10.ka] No.
+ 151093 [dave.m email] charset="iso-8859-1"
+ 151095 [pan erikveen] I've once written this String#reformat. It might help you. I
  151102 [dave.m email] charset="iso-8859-1"
  151105 [pan erikveen] Use the prefix: paragraphs.join("\n#{prefix}\n")

^ cartesian product
151080 [wkehowski co] How would I create a function that will take list (array) of integers and
+ 151084 [intinig gmai] a = [1, 2, 3]
| 151085 [wkehowski co] Giovanni,
| 151086 [intinig gmai] Remember that in Ruby you seldom have standalone functions. You should
| 151087 [wkehowski co] Remember that in Ruby you seldom have standalone functions. You should
| + 151088 [dooby d10.ka] class Array
| + 151089 [intinig gmai] if you want to create a new method for array just do
| + 151103 [bob.news gmx] def cartprod(a,b)
|   151117 [martindemell] Or even better,
|   + 151121 [rhkramer gma] I'm sure you know what you're talking about, but I wonder how many others
|   | 151122 [hal9000 hype] Haha... if it's this line you have trouble with
|   | 151126 [rhkramer gma] Hal,
|   + 151149 [wkehowski co] Here's what I have so far, combining the previous suggestions of Robert
|   | + 151151 [dave burt.id] class Array
|   | | 151154 [wkehowski co] If one defines
|   | | 151171 [dave burt.id] Walter,
|   | | 151331 [wkehowski co] a=[1,2,3]
|   | | + 151338 [bob.news gmx] You can do it a bit shorter.  Note that you don't need the "a=[]" and the
|   | | | + 151340 [wkehowski co] Thanks. I have made those changes. Here's a version that finally behaves the
|   | | | + 151344 [wkehowski co] class Array
|   | | | + 151383 [wkehowski co] The two versions both work. Which is better?
|   | | + 151490 [snowzone5 ho] this is another one that should go in the 'numerical recipies in ruby'
|   | + 151187 [martindemell] My mistake, sorry. Should be (c ||= []) << [ae, be]
|   + 151150 [wkehowski co] The following is not in the spirit of previous comments
|     151152 [dave burt.id] walter a kehowski...
+ 151330 [lists bertra] As long as you can be sure your arrays have the same length

^ Adding yet another Array.new form
151096 [mailing-list] Array.new{|array| block }
+ 151097 [gavri.fernan] On 8/7/05, Nikolai Weibull
+ 151099 [martindemell] I'd rather add another 'new' wrapper, that calls new, calls initialze,
+ 151110 [bob.news gmx] But *what* are the initializations you cannot do nicely ATM?  Note, that
| 151113 [mailing-list] Huh?  Array#map and Array#inject operate on an array to produce another
| 151195 [bob.news gmx] They are methods in Enumerable.  map returns an array and inject can be
| 151199 [mailing-list] Yes, yes, but as you say, you still need the enumerable collection.
+ 151114 [chneukirchen] I'd rather vote in favor of including #returning to the Ruby core.
  + 151119 [dblack wobbl] It feels a bit side-effect-dependent-ish, as written.  It might be
  | + 151133 [khaines enig] module Kernel
  | | + 151142 [mailing-list] That'd return the last value of the block, not the value passed to
  | | | 151143 [khaines enig] Yeah.  I was typing from memory and I left off that important little last bit.
  | | + 151163 [dblack wobbl] That only works by coincidence: tmp << 3 happens to return tmp :-)  If
  | + 151134 [mailing-list] True.  It's simple enough to write it that way as well.  In fact,
  |   151135 [vjoel path.b] Why call it #returning and limit its usefulness? The method can be used
  |   151166 [dblack wobbl] It's still "returning []" in the sense that it's going to return its
  |   151200 [mailing-list] True.
  |   151223 [Daniel.Berge] Conflicts with the current 4th form, unless you want a "no argument but
  |   151246 [mailing-list] Yes, that was the idea.
  + 151120 [mailing-list] [Array.new(size = nil){ block } suggestion]