[#217498] IRB Console in RDT/Eclipse — voipfc@...
One way to do it is :
On 10/5/06, Jean Helou <jean.helou@gmail.com> wrote:
[#217504] is a timepoint DSL possible, like: 10:31 instead of "10:29"? — "Dirk Lüsebrink" <ruby-forum@...>
i could not think of any way to include the ':' character in a DSL, so
Dirk L=C3=BCsebrink wrote:
David Vallner wrote:
[#217533] Caveats with #method_missing — "Trans" <transfire@...>
Even after the public/private send issue is resolved with #funcall,
[#217536] Can PHP be used in Ruby? — terrywu1526@...
Can I run some PHP code in Ruby, and access the variables?
terrywu1526@gmail.com wrote:
[#217549] dynamic include — Florian A熏ann <florian.assmann@...>
Hello,
Florian A=DFmann wrote:
-----BEGIN PGP SIGNED MESSAGE-----
[#217587] FXRuby Install — Mark Chandler <mark@...>
I am running Ubuntu Dapper Drake.
[#217594] parseexcel and email fields — Jason Fox <jfoxny@...>
[#217603] Why can't I get on Top? — "Trans" <transfire@...>
More Toplevel blow:
Trans wrote:
The base level in Ruby runs in the context of an instance of Object.
[#217620] open-uri and HTTPS, or net/https with a redirect — "jotto" <jonathan.otto@...>
Is there anything wrong with using this patch?
On 10/1/06, jotto <jonathan.otto@gmail.com> wrote:
i am trying to connect to https://login.yahoo.com which redirects to
[#217634] Creating modules — benjohn@...
benjohn@fysh.org wrote:
I wrote before about the modules I'm trying to build on the fly. I'm
You may create singleton methods like so:
On 10/2/06, Luke Stark <Luke.Stark@mathworks.com> wrote:
On 10/2/06, Jan Svitok <jan.svitok@gmail.com> wrote:
However this will define the given method for all new instances of
[#217641] Embed Images in eruby — Horacio Sanson <horacio.sanson@...>
[#217653] what's wrong in my loop ? — Josselin <josselin@...>
I wrote the following loop some records ,
[#217670] webrick/httpsutils missing? — "mxbrunet" <maxime.brunet@...>
I'm trying to run the 'mechanize' gem from ubuntu and I get the
[#217672] Newbie - Source Code Study, Projects — "woodyee" <wood_yee12@...>
Hi! I'm a newbie to Ruby and programming. Can anyone recommend any
[#217673] Hpricot - Trying to do a few things...are they possible? — HH <appleman@...>
I've been messing with Hpricot and I'm trying to do a few things that
[#217681] Ruby for Sysadmin — "Ron Mr." <rawn027@...>
I need to write a script that pulls usernames our of a file that is
[#217700] Special variable within iterators to hold results? — Wes Gamble <weyus@...>
I have this:
On 10/2/06, Wes Gamble <weyus@att.net> wrote:
[#217716] redefining splat? — "Adam Shelly" <adam.shelly@...>
Can you redefine the * prefix operator?
On 10/2/06, Adam Shelly <adam.shelly@gmail.com> wrote:
[#217731] Speeding up ri — "Gavin Kistner" <gavin.kistner@...>
On my machine (3GHz P4, 1GB RAM, Windows and other apps running) I just
[#217744] libxml 0.3.8 - How to validate document with schema ? — "Peter Fitzgibbons" <peter.fitzgibbons@...>
Hello all (Ross),
[#217749] File Access Issues with File creation — "Michael Bright" <michael.bright@...>
Ok, for all you Certificate Gurus, here is a bizarre one for you!
[#217757] regular expressions — Tom Allison <tallison@...>
I'm sorry if this has been done before, but I can't seem to find any good examples:
[#217768] Re: Private visibility should be removed from Ruby 2 [was: Caveats with #method_missing] — Yukihiro Matsumoto <matz@...>
Hello,
[#217778] shell, ruby and regexp — pere.noel@... (Une b騅ue)
over Mac OS X the latest and ruby 1.8.4 i've found strange interferences
[#217783] JRuby scripting for Mozilla? — Kenneth McDonald <kenneth.m.mcdonald@...>
Given that JRuby runs on Java, and Java can, I believe be used to script
Kenneth McDonald wrote:
[#217812] dynamically changing superclass/mixins — Michael Keller <ask@...>
I have strong interest in highly dynamic languages, particularly
On Tue, Oct 03, 2006 at 07:10:10PM +0900, Michael Keller wrote:
On Thu, 5 Oct 2006, Jeremy Tregunna wrote:
[#217823] Newbie: Question => How to do this with Classes ? — Eye Matz <matz@...>
class Important
Eye Matz wrote:
[#217837] sparse multi-dimensional arrays — Bill Birkett <wbirkett@...>
I did like to convert some programs I wrote in Perl to Ruby. I'm
[#217839] How to Call a static method? — =?ISO-8859-15?Q?Daniel_V=F6lkerts?= <daniel@...>
Hi there, after I searched the ruby-doc.org site I couldn't find a hint
On 10/3/06, Daniel Vkerts <daniel@voelkerts.de> wrote:
[#217856] Finding the file version of a win32 dll in Ruby — "Phil Wilson" <canuckdba@...>
Is there a way to determine the file version attribute in win32 using Ruby?
[#217870] Using Each to Iterate — "ixnay" <no@...>
Greetings all.
[#217903] NET::HTTP behind a firewall? — Joe Regular <kristapestry@...>
I recently deployed an app to my production server that accesses other
On 10/3/06, Joe Regular <kristapestry@yahoo.com> wrote:
Jeremy Tregunna wrote:
Joe Regular wrote:
On 10/3/06, Joe Regular <kristapestry@yahoo.com> wrote:
Yes, eth1 is the public nic. I can not ping anything with the firewall
and here is the output of iptables -L...
On 10/3/06, Joe Regular <kristapestry@yahoo.com> wrote:
Not sure what is going on with this thread but hopefully this post makes
On 10/4/06, Joe Regular <kristapestry@yahoo.com> wrote:
Hi Francis,
On 10/4/06, Joe Regular <kristapestry@yahoo.com> wrote:
[#217914] cannot connect to mongrel running typo — "bradphelan" <bradphelan@...>
I just installed Typo 4 on my Ubuntu box. I run
On 10/4/06, bradphelan <bradphelan@gmail.com> wrote:
[#217931] Ruby/Opengl and RUDL — Kyle Pinkman <pinkmanonfire@...>
I am using RUDL, to create a 2D engine in Opengl... I cant find anything
[#217937] Help with MS ActiveDirectory access — "CParticle" <cparticle@...>
Hey All,
OK After much pain and heartache I managed to finally get an account
[#217939] Using a Regexp to find a Hash Key? — Ken Collins <ken@...>
[#217945] rb_funcall() Ruby code callback invoked from within a native thread? — "Serge Kruppa" <serge.kruppa@...>
Dear All,
On 10/4/06, Serge Kruppa <serge.kruppa@simitel.com> wrote:
> If you have the freedom to re-architect your application, look at the
On 10/4/06, Serge Kruppa <serge.kruppa@simitel.com> wrote:
>Without knowing enough about your application, my reaction to your question
On 10/5/06, Serge Kruppa <serge.kruppa@simitel.com> wrote:
[#217964] ruby and variable names — "aidy" <aidy.rutter@...>
Hi,
[#217973] How to DRY this? — Peter Szinek <peter@...>
Hello,
[#217979] Equvialent of Python slices? — Peter Szinek <peter@...>
Hello,
[#217989] Context of an Error — "Trans" <transfire@...>
I feel like I should know how to do this already, but... How do I get
[#217997] Enterprise-Ruby Wish List by Francis Cianfrocca — "zoat" <enogrob@...>
In all the recent talk (some would say hype) about the Ruby programming
zoat wrote:
On 10/4/06, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
On 10/4/06, Jeremy Tregunna <jtregunna@blurgle.ca> wrote:
On Oct 4, 2006, at 10:59 AM, Francis Cianfrocca wrote:
> How about one written in Java which supports Ruby (and C, Python,
I took a brief look at activemessaging. Looks great. Then I take a
On Mon, 9 Oct 2006, Tim Uckun wrote:
I googled RPA and all I got was a wiki filled with spam.
On Thu, 5 Oct 2006, Francis Cianfrocca wrote:
[#217998] Better ruby way for caseing on class? — "ebeard" <ecbearden@...>
I currently do this:
[#218016] druby using just IP addresses — Alex Fenton <alex@...>
Hi
[#218031] What is the reason for this syntax? — Kevin Olemoh <darkintent@...>
Hello I have been using ruby off and on for a few months and I have been
Just to add to a very good response to the original post...
Just Another Victim of the Ambient Morality wrote:
Kevin Olemoh wrote:
David Vallner wrote:
On 10/5/06, Charles Oliver Nutter <Charles.O.Nutter@sun.com> wrote:
On 10/6/06, Louis J Scoras <louis.j.scoras@gmail.com> wrote:
On 10/6/06, Jean Helou <jean.helou@gmail.com> wrote:
People really should be able to write code in the way that they
Kevin Olemoh wrote:
I don't think of the blocks in the same way the real problem is that
On 10/6/06, Kevin Olemoh <darkintent@gmail.com> wrote:
Thats why I keep sayind defacto (by default) in other words this style
> Thats why I keep sayind defacto (by default) in other words this style
On 07/10/06, Kevin Olemoh <darkintent@gmail.com> wrote:
On 10/11/06, Tom Armitage <tom.armitage@gmail.com> wrote:
So I take it you all just assume that people know the same things you
On 10/13/06, Kevin Olemoh <darkintent@gmail.com> wrote:
But isn't almost everybody coming from *somewhere*? This seems to me a
Hi --
Personally I don't think else if needs to be an actual reserved word.
I wanted to add that it may not be so advantageous to have so many
On 10/15/06, Kevin Olemoh <darkintent@gmail.com> wrote:
All I said was that perhps there needs to be a movement to remove some
On 10/15/06, Kevin Olemoh <darkintent@gmail.com> wrote:
On 10/15/06, Austin Ziegler <halostatue@gmail.com> wrote:
Having ten dialects of the same language does not nessecarily improve
Note: this has moved far beyond Ruby. This will, therefore, be my last
Just because creating commonality almost always requires supression
On 16/10/06, Kevin Olemoh <darkintent@gmail.com> wrote:
> My point is: diversity of language leads to diversity of culture and
Who said you had to force anything? Why do you assume that in all
On 10/16/06, Kevin Olemoh <darkintent@gmail.com> wrote:
If you read up a few posts you will see that someone other than myself
<...>I actually responded to this person musing that
Rimantas Liubertas wrote:
[#218035] Error in Ruby quickstart tutorial — "oinkoink" <oinkoink+unet@...>
On the quickstart tutorial on the Ruby homepage,
[#218040] ruby application? — "Rolando Abarca" <funkaster@...>
Hi all,
[#218056] Associating data with a function — "Gavin Kistner" <gavin.kistner@...>
Because I just had to solve this problem in both JavaScript and Lua, and
[#218063] command help — Tom Allison <tallison@...>
Found a buddy who used something like:
[#218080] Cooking conversion table / library? — "routinization@..." <routinization@...>
I'm starting a Rails project with a cooking recipe focus. I was
[#218082] Multilanguage support in select box — Yu Co <djhackebeil@...>
Hi all,
[#218086] Suppress result output in irb? — Tom Pollard <tomp@...>
Hi,
[#218105] WEBrick catching keyboard interrupts — Alex Young <alex@...>
Hi all,
[#218107] Logger rotation problem in multi-process/Rails environment — "Guy Rosen" <guyrosen@...>
Hi,
On Thu, 5 Oct 2006, Guy Rosen wrote:
[#218113] Feeling a little (sc)raped? -- Google CodeSearch — "Trans" <transfire@...>
How do others feel about this Google CodeSearch?
On 05/10/06, Trans <transfire@gmail.com> wrote:
[#218131] K&R for Ruby? — Esmail Bonakdarian <ebonakDUH@...>
Hello,
[#218134] Extending Watir::Checkbox class — Patrick Spence <patrick@...>
I have a script which contains class extensions. The Checkbox.test() is
[#218158] mailing list problems? — ara.t.howard@...
[#218159] Re: traits question — ara.t.howard@...
On Fri, 6 Oct 2006, Trans wrote:
> On Fri, 6 Oct 2006, Trans wrote:
On Fri, 6 Oct 2006, Martin Coxall wrote:
> > That looks like a UUCP bang path. The message appears to have been
[#218209] nil being empty — Ohad Lutzky <lutzky@...>
Show of hands - who thinks this is bad form?
On 10/5/06, Ohad Lutzky <lutzky@gmail.com> wrote:
On Fri, 6 Oct 2006, Ohad Lutzky wrote:
On 10/6/06, dblack@wobblini.net <dblack@wobblini.net> wrote:
Hi --
On Fri, 6 Oct 2006, Trans wrote:
I'd like to use the common Python term, "sequence", and ask if a nil
Matthew Harris wrote:
Responding to empty? implies that a response to full? is valid.
On 10/8/06, Hal Fulton <hal9000@hypermetrics.com> wrote:
On Sun, 8 Oct 2006, Robert Dober wrote:
ara.t.howard@noaa.gov wrote:
[#218222] Ruby Cookbook review — "zoat" <enogrob@...>
Because of the recent and sudden interest in Ruby on Rails, there is
On 10/5/06, zoat <enogrob@hotmail.com> wrote:
quoth the Justin Bailey:
...I think I can answer that myself. Why are you so concerned with
On Fri, 6 Oct 2006 21:25:16 +0900
[#218229] Parsing visual basic — "F. Senault" <fred@...>
Hello.
F. Senault wrote:
[#218230] question mark at end of method name — "py" <codecraig@...>
what does the question mark at the end of a method name represent?
[#218246] 1st program -- how would you improve this? — Esmail Bonakdarian <ebonakDUH@...>
Hi,
I'd probably have used OpenURI and then
[#218248] Setting up simple CGI on Ubuntu — TRANS <transfire@...>
I've done all this numerous times before but, sigh, apparently I'm
[#218252] Compound Parallel Operators — "Gavin Kistner" <gavin.kistner@...>
(I didn't see an RCR for this, and my lazy 60s of searching didn't find
Gavin Kistner wrote:
> Wouldn't it be nice if all compound operators worked with parallel
Martin Coxall wrote:
Martin Coxall wrote:
[#218258] Re: HOST - Assembla Inc. Breakout - Copyright Violation by Mr. Andy Singleton — "Ilias Lazaridis" <ilias@...>
[For some reason, the newsgroup server seems to not have distributed
"Ilias Lazaridis" <ilias@lazaridis.com> wrote in message
[#218280] Some wierd Module#append_features behavior — "Brian Mitchell" <binary42@...>
I couldn't quite figure this out... I am either missing something (I
[#218303] append_features vs include — "Rob Sanheim" <rsanheim@...>
I've read somewhere that Module#append_features is the old name for
[#218310] Stripping unwanted html — Wild Al <bigb123@...>
Hi everyone:
[#218312] RubySpec Wiki in full swing — Charles Oliver Nutter <Charles.O.Nutter@...>
To help us alternative Ruby implementers keep our sanity, I've had a
[#218330] Using configuration files (replacing shellscripts) — Karl Voit <devnull@...>
Hi!
[#218342] RoR : Shortening this code — Zouplaz <user@...>
Hello,
[#218364] Experience Report: Running FIT and Fitnesse with Ruby — "zoat" <enogrob@...>
Ron Jeffries and Chet Hendrickson are widely-recognized contributors to
[#218370] Should a Class return an exception or nil on failure to create? — "_Kevin" <kevin.olbrich@...>
Suppose I've written a class that does something useful.
[#218373] Hpricot and XPaths with indices — Peter Szinek <peter@...>
Hello,
[#218383] getstatusoutput — "OliverMarchand" <oliver.marchand@...>
Dear Ruby fellows,
[#218385] Posix Pangrams (#97) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On Fri, Oct 06, 2006 at 10:19:10PM +0900, Ruby Quiz wrote:
I haven't found a solution with fewer repeated characters, but
[#218394] rubyforge.org — Tom Copeland <tom@...>
Hello all -
[#218404] tabs and parse errors with Ruby 1.8.4 and Windows — Will Rogers <wjrogers@...>
This is a cross-post from the Rails list in hopes of getting some
Will Rogers wrote:
On 10/6/06, Will Rogers <wjrogers@terpalum.umd.edu> wrote:
On 10/7/06, Wilson Bilkovich <wilsonb@gmail.com> wrote:
[#218418] double messages — "David Chelimsky" <dchelimsky@...>
I'm seeing all the messages I send to this list show up twice. Are you
[#218454] active record question — "Dark Ambient" <sambient@...>
Sorry guys, I try and keep these sorts of questions to the Rails list but
[#218494] Rubyists of Second Life Meeting - JRuby by Charles O. Nutter - 18 October 2006 6:00 PM Pacific — "Mark Stout" <rmarkstout@...>
Join us in the virtual world of Second Life and learn about JRuby!
[#218497] Problem with SOAP and Commision Junction web services — Chris Mohr <chris.mohr@...>
I'm new to Ruby and Web Services.
> ignored attr: {}nillable
Thank you for the very detailed reply...it helped a lot.
[#218506] Trouble Filtering the \ character — "Ben V." <comprug@...>
In my application, I cannot allow the user to enter the "\" character in
[#218522] In the year 2525 — "Jim v. Tess" <jimvtess@...>
Is there a reason why Time.local can't handle dates beyond 2038? I know
From: <khaines@enigo.com>
-----BEGIN PGP SIGNED MESSAGE-----
Suraj N. Kurapati wrote:
Jim v. Tess wrote:
[#218539] Sequence 0.1.0 Released — "Caleb Clausen" <vikkous@...>
Sequence version 0.1.0 has been released!
[#218562] Euruko 06, Nov 4 and 5, Please make up your mind till Tuesday evening — m94asr@...
Hi all,
[#218577] Ruby vs. Rails — "Giles Bowkett" <gilesb@...>
OK, this question came up on a local list, and I don't have the answer.
On Sun, 8 Oct 2006 04:10:50 +0900 "Giles Bowkett" <gilesb@gmail.com>
Thomas Adam wrote:
Giles Bowkett wrote:
> I'm not in the general habit of feeding trolls, but in this case I think
Giles Bowkett wrote:
On 10/8/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
Giles Bowkett wrote:
Devin Mullins wrote:
On 10/8/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
Martin DeMello wrote:
M. Edward (Ed) Borasky wrote:
John W. Kennedy wrote:
M. Edward (Ed) Borasky wrote:
At 1:56 PM +0900 10/11/06, Hal Fulton wrote:
[#218600] HTML reporter for Test::Unit — Benjamin Curtis <ruby@...>
Tesly Jr. (http://junior.tesly.com) is a hosted web app that provides
AWESOME!
This is great. Easy to setup with my Rails tests.
[#218663] || explanation in ruby... in pseudolanguage — Tuka Opaleye <tuka@...>
Hi,
Tuka Opaleye wrote:
Thanks for the input guys. This really helps.
Tuka Opaleye wrote:
On 10/10/06, Dave Burt <dave@burt.id.au> wrote:
> Anyway, if it helps, I tend to think of the |var| notation as "with", e.g.
Hi --
Hi,
On Tue, 10 Oct 2006, Yukihiro Matsumoto wrote:
Hi,
On Tue, 10 Oct 2006, Yukihiro Matsumoto wrote:
On 10/10/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
[#218705] Removing Duplicate Objects from Object List — "Jeff Nyman" <jeffnyman_nospam@..._gmail.com>
Greetings all.
"gaspode" <stephendl@gmail.com> wrote in message
[#218708] gsub and slash-ampersand in the substitution string — Jani Patokallio <jpatokal@...>
Greetings,
[#218714] Shortcut for nested modules — "John Ky" <newhoggy@...>
Hello,
[#218724] Instant Rails 1.4 final released (with RadRails support!) — "Curt Hibbs" <ml.chibbs@...>
This is the final release for Instant Rails 1.4. It corrects the two
In this announcement, I forgot to delete the section "Known Problems".
[#218726] How to remove empty space in a string and others — Li Chen <chen_li3@...>
Hi all,
[#218729] Beginning of day given a Time value — "Michael Guterl" <mguterl@...>
Anyone have a nice idiomatic way given an instance of Time, to return the
[#218733] Ruva: Pure-ruby toy (J)VM — Ross Bamford <rossrt@...>
Hi,
On 10/9/06, Ross Bamford <rossrt@roscopeco.co.uk> wrote:
Ross Bamford <rossrt@roscopeco.co.uk> writes:
On 10/9/06, Christian Neukirchen <chneukirchen@gmail.com> wrote:
On 10/9/06, Nick Sieger <nicksieger@gmail.com> wrote:
[#218738] SqlStatement 1.0.0 - hide the syntax of SQL behind familiar ruby syntax — "Ken Bloom" <kbloom@...>
sqlstatement - Generate complex SQL statements programmatically
[#218740] Posting over https — Andrew Stewart <boss@...>
Hello Rubyists,
[#218743] Allow Users — Acoole Cooland <andrewchinna@...>
Ok so im new to ruby,
On 09/10/06, Acoole Cooland <andrewchinna@yahoo.co.uk> wrote:
[#218751] error: private method `gsub' called for :city:Symbol — "Dark Ambient" <sambient@...>
I googled around on this one but found nothing. Anyone know what these
On 10/9/06, Dark Ambient <sambient@gmail.com> wrote:
[#218777] Webpage to RSS — Bart Braem <bart.braem@...>
Does anyone have a ruby based script lying around that would transform
[#218781] Stupid TypeError while checking array values — Rick Armstrong <ryanw@...>
Not sure if I'm even close to the mark on this. Ruby noob here...RACKIN
Ooops: forgot to add ".id" after "allowed_users[user]"
Rick Armstrong wrote:
[#218806] packaging hybrid extension? — "Rick DeNatale" <rick.denatale@...>
I'm writing something which is partially written in ruby, but uses an
[#218821] "def self.method" vs "class << self; def method" — joevandyk@...
What's the difference between
[#218825] ZenTest/autotest - Problem with controller modules? — Joe Ruby MUDCRAP-CE <joeat303@...>
Using rake, my tests all passed. And using autotest they all passed,
[#218855] Does case/when really use ===? — "eden li" <eden.li@...>
Can someone explain why my class's === method is never called in the
[#218868] Newbie question Canvas or frame — Mer Gilmartin <merrua@...>
[#218879] evaluation in boolean context — jens wille <jens.wille@...>
hi there!
[#218881] RubyGem download stats have returned — Tom Copeland <tom@...>
Yay!
[#218903] Net::FTP.new silently failing in block form — "Daniel Berger" <djberg96@...>
Hi all,
[#218906] Stable *source* RPM for Ruby? — "M. Edward (Ed) Borasky" <znmeb@...>
Is there a *source* RPM for the latest stable Ruby somewhere on the
[#218923] (NEWBIE) Reading folders from a directory into an array — "rbr" <ryankbrown@...>
I am a newbie looking to use Ruby to create a maintenance script for my
[#218930] need help with $end vs kEND error — Kd Kushelduv <kushelduv@...>
I have been trying to write a program for my class assignment but
You have mismatched block openings / endings. Check your def / end
[#218935] Ron 0.1.0 Released — "Caleb Clausen" <vikkous@...>
Ron version 0.1.0 has been released!
[#218944] rubyforge.org down — "Tom Copeland" <tom@...>
RubyForge is down... investigating now.
Tom Copeland wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Is it just me or is rubyforge.org dead from yesterday evening (europe
Gaspard Bucher wrote:
> Is it just me or is rubyforge.org dead from yesterday evening (europe
[#218948] Ruby and XML Security — Damjan Rems <d_rems@...>
[#218950] equivalent of unix "file <filename>" in ruby? — Ruby Rails <rajshrimilind@...>
Hi all,
On Wed, 11 Oct 2006, Ruby Rails wrote:
[#218972] Re: rubyforge.org down — "Tom Copeland" <tom@...>
> RubyForge is down... investigating now.
On Oct 10, 2006, at 3:52 PM, Tom Copeland wrote:
> > It's back up now. We may be having hardware issues - the machine
On Oct 10, 2006, at 2:08 PM, Tom Copeland wrote:
On Wed, 2006-10-11 at 06:21 +0900, Tim Bray wrote:
Tom Copeland wrote:
On Wed, 2006-10-11 at 13:41 +0900, Charles Oliver Nutter wrote:
On 10/11/06, Tom Copeland <tom@infoether.com> wrote:
> Why not setup a clustered setup for some redundancy? I mean,
On 12 Oct 2006, at 16:10, Tom Copeland wrote:
[#218973] Text — "Tim Fletcher" <twoggle@...>
Actually released a while ago, but hey.
Tim Fletcher wrote:
Version 1.1.0 now includes the Porter Stemmer. Thanks for the
[#218976] Newbie problem of Class attributes — Dipesh Batheja <dipesh_batheja@...>
I am trying to create a class level attribute which can read and write.
On Oct 10, 2006, at 5:18 PM, Dipesh Batheja wrote:
[#218977] Booksales @Rubyconf? — Tim Bray <tbray@...>
Will someone be setting up a bookstand at Rubyconf? I see this at
pat eyler wrote:
Hal Fulton wrote:
M. Edward (Ed) Borasky wrote:
Hal Fulton wrote:
[#219033] Execution of rubyfile in remote machines — Sampurna Mishra <tanushree.bhoi@...>
Hi All,
Sampurna Mishra wrote:
Hi...
Sampurna Mishra wrote:
Hi,
Can i please get a solution to my problem ?
[#219037] FileUtils.touch not consistent with system('touch') — "Han Holl" <han.holl@...>
Hi,
[#219043] Script to fetch Wikipedia text — Kyrre Nyg蚌d <kyrreny@...>
[#219045] scanning strings, backward? — Bil Kleb <Bil.Kleb@...>
Hi,
[#219047] newgem - Create gems for your libraries and apps — Dr Nic <drnicwilliams@...>
Now you can take any library or Rails plugin or command line
This is great. You're cooking up one sweet Ruby library after another.
[#219050] PHP-like Array/Hash creation in Ruby — "Jan Reitz" <jan@...>
I used PHP for a long time, a little bit C# and recently started to
On Wed, Oct 11, 2006 at 08:40:06PM +0900, Jan Reitz wrote:
[#219096] Silent install of a gem and its dependencies — "Jan Svitok" <jan.svitok@...>
Hi,
[#219119] Compact if statement for Codegolf — Drew Olson <olsonas@...>
I'm working on my codegolfing skills and was wondering, what is the
Hi --
[#219134] xml/libxml thread safety — Mage <mage@...>
Hello,
[#219138] Yet another Hpricot question — "Rick DeNatale" <rick.denatale@...>
I'm trying to scan an html file using Hpricot to produce a table of
On Thu, Oct 12, 2006 at 02:13:07AM +0900, Rick DeNatale wrote:
On Thu, Oct 12, 2006 at 02:28:13AM +0900, Aaron Patterson wrote:
On 10/11/06, Gregory Seidman <gsslist+ruby@anthropohedron.net> wrote:
[#219152] Re: rubyforge.org still down ? — "Tom Copeland" <tom@...>
> Cool, yup, right on. I'm going to take rubyforge down around
On 10/11/06, Tom Copeland <tom@infoether.com> wrote:
> Tom, just a suggestion, what do you think if the community
Hi --
On Thu, 12 Oct 2006 dblack@wobblini.net wrote:
ara.t.howard@noaa.gov wrote:
[#219155] Singleton Class Constants — jdance@...
David Black wrote in Ruby For Rails (page 341):
On Thu, 12 Oct 2006 jdance@gmail.com wrote:
Hi --
[#219177] case ... when and arrays (or what was why_ showing us at railsconf europe) — "J2M" <james2mccarthy@...>
Hi,
J2M wrote:
[#219214] need help on: Linux Gnome2 Glade Cairo callback problem — Mike Durham <mdurham@...>
Hi,
[#219218] Counting Frequency of Values in an Array (And Sorting by Frequency?) — x1 <caldridge@...>
Is there no method for an array that will tell me the # of occurrences
Hi,
Wow Capaldo, that worked! I fear for the next java programmer who has
and.. so you're aware.. my hacky code was something like this:
[#219229] rs 0.1 — Eero Saynatkari <ruby-ml@...>
rs is a project to implement a non-traditional object-oriented shell in Rub=
[#219255] ruby2ruby 1.1.0 Released — Ryan Davis <ryand-ruby@...>
ruby2ruby version 1.1.0 has been released!
[#219276] Debugging in the large, modern practice? — Hugh Sasse <hgs@...>
I think the following may be a badly formed question, but if you'd
[#219285] My .irbrc for console/irb — Dr Nic <drnicwilliams@...>
I recently discovered that I can create a .irbrc file to run setup for
Dr Nic wrote:
[#219314] Introducing SpecUnit — Trotter Cashion <trotter@...>
Hello everyone,
[#219316] communicating with ruby debugger — Shea Martin <shea@...>
For kicks I would like to write a minimalistic GUI interface to the
[#219325] Isolating non-unique items in an array — Jason Burgett <jasbur@...>
I'm basically trying to the opposite of .uniq Let's say I have an array:
[#219330] IO.readint ? — "Rolando Abarca" <funkaster@...>
Hi all,
On 10/12/06, Rolando Abarca <funkaster@gmail.com> wrote:
Thanks a lot, I'll try that!!!
Tim Pease:
[#219370] Multiple values for the same key in a Hash — Dominic Son <dominicson@...>
Hi. There's got to be an easy way to do this.
[#219376] Pre-RubyConf Gathering — "Tim Pease" <tim.pease@...>
A small gathering is being planned for the RubyConf early arrivals. If
[#219382] New to ruby questions — Jeremy Woertink <its_conebred_foo@...>
I am still new to ruby and programming itself. This is my first
[#219389] Mission statement: Ruby application for Windows — "Victor \"Zverok\" Shepelev" <vshepelev@...>
Hi all.
[#219405] Ruby expressions vs. values (like Perl?) — "John Gabriele" <jmg3000@...>
Does Ruby use the same terminology as Perl with regard to expressions
[#219410] New Agile Web Development with Rails beta — Dave Thomas <dave@...>
Folks:
Dave,
Hi,
[#219417] Ruby equivalent of assemble RE? — "John Ky" <newhoggy@...>
Is there a ruby equivalent of this?
[#219418] GeekBeer @ RubyConf — David Pollak <dpp@...>
Howdy,
[#219425] Ruby Regexp vs Perl and C# — Chris Meyers <chrismmeyers@...>
I am having trouble with the Ruby regexp engine and don't know if it is
[#219427] Hash & keys... — "Sébastien Wautelet" <sebwautelet@...>
I'm having some trouble understanding how hashes work in Ruby. Consider
[#219429] Any way to get lists to throw exceptions on incorrect accesses? — Kenneth McDonald <kenneth.m.mcdonald@...>
I'm slowly doing more in Ruby (in addition to what I do in Python), as I
Kenneth McDonald wrote:
Thanks. Too bad I can't use the [] indexing notation, though.
Yep, got that one. Unfortunately, there's no equivalent for lists.
On 2006.10.13 09:11, Kenneth McDonald wrote:
[#219435] attr_reader + attr_writer? — Joe Ruby MUDCRAP-CE <joeat303@...>
Is there a class method that combines attr_reader and attr_writer? I
[#219480] Large File Reading and Writing — "Daniel N" <has.sox@...>
Hi,
[#219487] Trouble delecting UNC file on window 1.8.4 — Carl Graff <cgraff@...>
I have a problem delecting a file that has a UNC path. I am using 1.8.4
[#219502] A* (#98) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
> Step 1:
On 10/13/06, Martin Coxall <pseudo.meta@gmail.com> wrote:
[#219510] Passing the data from a tkEntry widgit to a variable — Mer Gilmartin <merrua@...>
I'm a bit confused about this,
[#219512] YART - Yet Another Ruby Tutorial!!! — Paul Barry <paul.barry@...>
Paul it's a nice tutorial that I have linked up to, for my college students.
Hello.
[#219522] Why does 'chroot' interfere with 'system'? — "Sy Ali" <sy1234@...>
This always fails.
Sy Ali wrote:
> Could this be it? You could check by verifying the return
[#219577] Regex parsing against filenames — Peter Bailey <pbailey@...>
Hi,
[#219613] Newbie - File Rename — Snoopy Dog <snoopy.pa30@...>
I am obviously missing something.
[#219618] File.puts or File.write ? — Joe Ruby MUDCRAP-CE <joeat303@...>
For general purpose file writing, does it matter whether puts or write
[#219620] Sorting through an array of an array — Dominic Son <dominicson@...>
Hello.
On 10/13/06, Dominic Son <dominicson@gmail.com> wrote:
[#219627] unpack block? — Tim Bray <tbray@...>
unpack doesn't seem to take a block. This seems like an obvious
[#219628] Boogaloo Simple Cache Server 0.1 — "Ian Leitch" <port001@...>
Hey all,
On 10/14/06, Ian Leitch <port001@gmail.com> wrote:
Currently they're only cached in memory, I could add pickle the cache to
[#219649] Ruby Tutorial for beginners — "Dibya Prakash" <prakash.dibya@...>
Hi All,
Neat thanks for the heads up.
One quick question in one of his examples he states that using single
On 10/14/06, Kevin Olemoh <darkintent@gmail.com> wrote:
Daniel N wrote:
Devin Mullins wrote:
[#219651] Speaking of COBOL ... — "M. Edward (Ed) Borasky" <znmeb@...>
Interesting article on the future of COBOL ... perhaps a COBOL to Ruby
Andrew Libby wrote:
[#219655] win32-mmap 0.2.0 — "Daniel Berger" <djberg96@...>
Hi all,
[#219669] redirect STDOUT — yong <cyberblue.yong@...>
[#219698] Global lock — "Eustáquio Rangel" <eustaquiorangel@...>
Hi there!
[#219709] Can ruby comment out a block of code??? — Roseanne Zhang <roseanne@...>
It sounds pretty stupid, but I could not find a way to do it in Ruby
[#219714] wxruby2-preview 0.0.36 — Alex Fenton <alex@...>
wxRuby2 preview 0.0.36 has been released!
[#219719] What books to buy? — Kyrre Nyg蚌d <kyrreny@...>
Kyrre Nyg蚌d wrote:
At 23:09 14.10.2006, James Britt wrote:
Kyrre Nyg蚌d wrote:
Hal Fulton wrote:
I'll +1 on the suggestions to go for Ruby for Rails, Agile Web
[#219736] Ruby and Prolog — "_Kevin" <kevin.olbrich@...>
Anyone had any experience interfacing Prolog with Ruby?
_Kevin wrote:
Actually I've been thinking of creating an auto-backtracking engine for ruby
[#219752] Initialize a subclass inside a namespace — "J2M" <james2mccarthy@...>
I have a namespace Foo and a class Bas and a class Bar. I am adding
[#219767] Getting PHP/Smarty template functionality from Ruby or Ruby on Rails — Irving Fried <two_version@...>
I've read about Canny, but it doesn't seem to enjoy a lot of versions or
[#219768] RDoc vs metaprogramming — Pau Garcia i Quiles <pgquiles@...>
Hello,
[#219793] Running Ruby on Windows — "Sir Psycho" <totalharmonicdistortion@...>
Hi,
[#219805] comp.lang.ruby.rails ? — "naPOLeon" <naPOLeon.Polzer@...>
I'm a ruby-only developer (so no Rails) and I wondered why there is no
[#219810] Encrypt large files with ruby openssl or ???? — Damjan Rems <d_rems@...>
[#219821] Connecting to excel via Rubi DBI — "yoramva@..." <yoramva@...>
Hi, is there a possibility to connect to excel file using dbi module?
[#219845] another basic question about sorting w/o the sort method — georgeoliverGO@...
Hi,
georgeoliverGO@gmail.com wrote:
[#219858] Ruby Open GL on OS X? — Talha Syed <talhasy@...>
Hi all.
On 10/15/06, Talha Syed <talhasy@hotmail.com> wrote:
John Gabriele wrote:
[#219861] ParseTree and OS X/other newbie OS X questions — Kenneth McDonald <kenneth.m.mcdonald@...>
Couple of questions from a newbie on OS X (intel PB Pro)...
[#219871] C Extension Cleanup — Justin Bonnar <jbonnar@...>
I'm writting a wrapper for a C library[1] and need to perform some
[#219872] Problem with set up after Windows' build — "Josh Scholar" <cafealpha2@...>
Hello everyone,
On 10/15/06, Josh Scholar <cafealpha2@gmail.com> wrote:
I just tried a few more things that weren't sufficient to get this
On 10/15/06, Josh Scholar <cafealpha2@gmail.com> wrote:
[#219888] Ruby DateTime and MySQL datetime — Josselin <josselin@...>
I am lost....
[#219901] ruby friendly MOM's — snacktime <snacktime@...>
I've spent a good deal of time looking for a ruby/python/perl friendly
snacktime wrote:
[#219915] "Good Ideas, Through the Looking Glass" — Rich Morin <rdm@...>
Some folks here might find this interesting:
FYI, here is a quote which seems relevant to Ruby:
Rich Morin wrote:
[#219924] Unbalanced code snippet include — Peter Lynch <argnosis@...>
Is there a way to insert code which is unbalanced into Ruby source.
[#219928] UDP Server — Mohammad --- <name.goes.here44@...>
Alright I've been trying to set up a UDP server for my "Game", the
[#219933] Re: Lisp dinamism vs ML safety — atbusbook@...
[#219940] RSRuby 0.4 — Alex Gutteridge <alexg@...>
Hi All,
[#219962] eRuby, lack of information — "Vince /." <totalharmonicdistortion@...>
Hi,
[#219971] Edit Distance at Wikipedia — Minkoo <minkoo.seo@...>
Hi list.
[#219976] Test if Directory is Empty — "lroland@..." <lroland@...>
Hi all
lroland@gmail.com wrote:
[#219978] how to replace file's content directly? — "camenix" <vipeak@...>
I have a sql file exported from mysql,and want to chang the charecter
[#219981] bug in rdoc? — Wybo Dekker <wybo@...>
-- The following example, is taken from the rdoc documentation.
[#219984] Non-declared variables — "Avatar" <acampbellb@...>
I would like to hear people's opinions on the ability to use variables
[#220011] Shell commands in irb — Andre Nathan <andre@...>
Hi
[#220027] Re: Non-declared variables — "Gavin Kistner" <gavin.kistner@...>
From: Avatar [mailto:acampbellb@hotmail.com]
[#220038] Re: Non-declared variables — "Gavin Kistner" <gavin.kistner@...>
From: Martin Coxall [mailto:pseudo.meta@gmail.com]
"Gavin Kistner" <gavin.kistner@anark.com> writes:
Its probably best to have a strict option like in perl and VB.net. If
[#220045] Re: using classes problem — "Gavin Kistner" <gavin.kistner@...>
From: Scott D_o
Gavin Kistner wrote:
Ok so here is some code that is having the problem with the require. I
Satish Talim wrote:
On 10/17/06, Scott D_o <s.pullen05@gmail.com> wrote:
[#220063] Rails Mailing List Errors (during subscription) — mazurr@...
Does anyone here have info about the Rails Mailing List, why it errors
[#220076] Re: "Good Ideas, Through the Looking Glass" — "Rick DeNatale" <rick.denatale@...>
On 10/16/06, Rich Morin <rdm@cfcl.com> wrote:
Rick DeNatale wrote:
[#220081] rake broken on windows? — "msoulier" <msoulier@...>
I installed ruby for windows with rubygems support. Rake comes
[#220089] upgrading ruby version - is there a command line/gems upgrade method to do this? — "Greg Hauptmann" <greg.hauptmann.ruby@...>
*Hi,
On 10/16/06, Greg Hauptmann <greg.hauptmann.ruby@gmail.com> wrote:
[#220090] I don't even know what to ask for — dkmd_nielsen@...
I have a command line shell that I plan to run over and over again.
> E:\> ruby TemplateList.rb -v -f TemplateList.txt -m updatevalue.rb
[#220101] stompserver 0.9.0 Released — "Patrick Hurley" <phurley@...>
stompserver version 0.9.0 has been released!
[#220106] A basic chat program — Michael Hall <logarkh@...>
Okay I'm looking to make a basic chat program that I can connect to via
[#220118] Leaving to RubyConf — Yukihiro Matsumoto <matz@...>
Hi folks,
[#220147] dynamically assigning instance variables (redux) — Bil Kleb <Bil.Kleb@...>
I need a modern answer to Daniel Berger's 2002 post,
[#220154] Hoe and rubyforge and all that — Tom Copeland <tom@...>
Hi all -
[#220167] attributes-3.2.0 — ara.t.howard@...
[#220181] ruby-lang.org suggestion. — Minkoo <minkoo.seo@...>
Hi.
[#220188] Array.new question — Peter Szinek <peter@...>
Hello,
Peter Szinek wrote:
> a = (0..3).collect{[]} # => [[], [], [], []]
Peter Szinek wrote:
Alex,
[#220199] metaprogramming surprise? — "Artur Merke" <am@...>
Here comes some simple meta code
On 10/17/06, Artur Merke <am@artbot.de> wrote:
[#220210] Ruby Quiz - Degree of Difficulty — Mark Woodward <markonlinux@...>
Hi all,
>
[#220214] Rails q: Two-Phase Commit/Updatable View/Roles — "Paul" <fake@...>
I'm exploring learning RoR, then using it for a new start project. Been
[#220222] Code behind HTML — "Vince /." <totalharmonicdistortion@...>
Hi,
[#220228] Microformat DSL... would like some feedback. — "J2M" <james2mccarthy@...>
I have been working on a DSL to make it easy to define Microformats and
[#220276] wiki.rubyonrails.org spam — "Andrew Roth" <andrewroth@...>
Hi,
[#220293] RubyConf ticket for sale — James Britt <james.britt@...>
I have a RubyConf ticket, food included, for sale.
James Britt wrote:
Bil Kleb wrote:
James Britt wrote:
[#220304] ruby way to say this? — matt@... (matt neuburg)
In Ruby, zero isn't false and there is no equivalent of the ?: operator
[#220323] Re: Splitting a sentence with delimiter preserved — "Gavin Kistner" <gavin.kistner@...>
From: Ajithkumar Warrier [mailto:a.varier@gmail.com]
[#220336] Getting away from the old php code — Marc Heiler <shevegen@...>
Hello,
On 10/17/06, Marc Heiler <shevegen@linuxmail.org> wrote:
[#220340] RubyGame on windows — Mohammad --- <name.goes.here44@...>
I just installed rubygame for windows but when I require it, the
Mohammad --- wrote:
Justin Collins wrote:
Okay new error:
[#220347] Merb, Mongrel+Erb — Ezra Zygmuntowicz <ezmobius@...>
Hey there folks-
[#220354] Seems so simple, but is this really the only way, or most direct way? — John Pywtorak <jpywtora@...>
9 digits in a string "123456789", convert to individual Fixnums
[#220355] Newbie: Ruby and Writing Variables In Strings — Lovell Mcilwain <lovell.mcilwain@...>
Hello all,
On Oct 17, 2006, at 7:59 PM, Lovell Mcilwain wrote:
On 2006.10.18 10:06, James Edward Gray II wrote:
Hi Lovell,
[#220375] Displaying Hash Problems — "Mark Sargent" <coolboarderguy@...>
Hi All,
[#220384] Cross Compiling Ruby Extension — "Brian Takita" <brian.takita@...>
Hello,
On 10/18/06, Brian Takita <brian.takita@gmail.com> wrote:
[#220385] RSS/Atom feed consuming lib? — "Marcus Bristav" <marcus.bristav@...>
I have a customer (we build their intranet with Rails) that subscribes
Marcus Bristav <marcus.bristav@gmail.com> wrote:
[#220399] Struct (not) accepting attributes — Kero <kero@...>
> Sum = Struct.new(:bla, :"sum(value)")
[#220403] Performance of ruby hashes — "unni.tallman" <unni.tallman@...>
Anyway to enhance the performance of ruby hashes? My program uses
[#220405] Mixin a module method as a class method — "Farrel Lifson" <farrel.lifson@...>
Is it possible to mix in a module method to become a class method? I'd
[#220409] Building Ruby 1.8.5 interpreter for Windows — Yasemin Afacan <yasemine@...>
I am a new commer to this site and I am learning Ruby for my Ph.D.
[#220421] Help: [BUG] Bus Error when 'splitting' a String — "Diego Virasoro" <Diego.Virasoro@...>
Hello,
[#220424] Another topic for RubyConf — "M. Edward (Ed) Borasky" <znmeb@...>
As if the folks at RubyConf don't have enough to talk about already,
Brad Tilley wrote:
[#220435] My first feeling of Ruby — Florent Guiliani <fguiliani@...>
Hi all,
[#220451] test/spec 0.2, a BDD interface for Test::Unit — Christian Neukirchen <chneukirchen@...>
Hello,
[#220470] Re: newbie ftp problem — "Gavin Kistner" <gavin.kistner@...>
From: lsumnler@gmail.com [mailto:lsumnler@gmail.com]
[#220499] Why Class decls and API docs don't Match — gsm.beamon@...
Anybody who's done any Ruby on Rails will have seen, edited, or
[#220503] Re: Why Class decls and API docs don't Match — "Gavin Kistner" <gavin.kistner@...>
From: gsm.beamon@gmail.com [mailto:gsm.beamon@gmail.com]
Gavin Kistner wrote:
gsm.beamon@gmail.com wrote:
> Disagreed. This has nothing to do with Ruby the language! RDoc is a
[#220531] whats this lambda code doing? — hemant <gethemant@...>
I came across following code in typo's application.rb and I can't
Ezra Zygmuntowicz wrote:
On Oct 18, 2006, at 9:12 PM, Ezra Zygmuntowicz wrote:
[#220536] Is anyone using Ruby for 24/7 financial applications? — "John Baylor" <john.baylor@...>
I know a lot of people are using ruby on rails for web apps, usually with
On 10/18/06, John Baylor <john.baylor@gmail.com> wrote:
[#220565] modify instance variable in a method mixed in from external module — hemant <gethemant@...>
I have this gem of a parser that does:
[#220572] downloading web page as HTML accessed through WATIR — "michael" <csamigroup@...>
is there anyway to download the page accessed through WATIR as html
[#220574] RejectConf — Ryan Davis <ryand-ruby@...>
Jacob Harris and I came up with the idea of doing RejectConf. If you
On Oct 18, 2006, at 10:16 PM, Ryan Davis wrote:
Ryan Davis wrote:
Hal Fulton wrote:
[#220575] ActionWebService deprecated? — Christopher Brown <cbrown@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#220602] debugging using tk.rb — Wybo Dekker <wybo@...>
Is it possible to use the debug library while using tk.rb?
From: Wybo Dekker <wybo@servalys.nl>
[#220616] detecting data type — "Parv G." <ghotrapa@...>
hello all,
[#220634] array trouble — Gijs Nijholt <gijs.nijholt@...>
Hi
[#220638] ruby/vim competition — ara.t.howard@...
On Fri, Oct 20, 2006 at 12:08:04AM +0900, ara.t.howard@noaa.gov wrote:
On Fri, 20 Oct 2006, Mauricio Fernandez wrote:
fr ara and mauricio's vim contribs:
On Fri, 20 Oct 2006, [iso-8859-1] Pe, Botp wrote:
[#220651] newbie: Strings and RegExp — "Diego Virasoro" <Diego.Virasoro@...>
Hello,
On 19.10.2006 17:56, Diego Virasoro wrote:
[#220652] Non-directory, non-file "files" — "Gavin Kistner" <gavin.kistner@...>
If they're not directories, and they're not files, then what the heck
[#220667] New To Ruby — "Res Pons" <pons32@...>
Hi Class
[#220672] Sizing Widgets — "WoodHacker" <ramsayw1@...>
I'm new to Ruby/Gtk and find it, so far, exactly what I want for a GUI.
On Fri, 2006-10-20 at 03:35 +0900, WoodHacker wrote:
WoodHacker wrote:
[#220695] Parsing Ruby to get info about method signatures? — "Lyle Johnson" <lyle.johnson@...>
I'm interested in parsing some Ruby code for the purpose of extracting
[#220698] Array#to_s in Ruby 1.9 Head — gwtmp01@...
Mauricio Fernandez writes in http://eigenclass.org/hiki.rb?Changes+in
[#220699] How to the output in 12x8 format — Li Chen <chen_li3@...>
Hi folks,
[#220703] Re: Array#to_s in Ruby 1.9 Head — "Gavin Kistner" <gavin.kistner@...>
From: gwtmp01@mac.com [mailto:gwtmp01@mac.com]
Gavin Kistner wrote:
[#220710] MsSqlClient ActiveRecord Adapter initial gem-release! — "Sam Smoot" <ssmoot@...>
First gem-release of the MsSqlClient. MsSqlClient is an ActiveRecord
[#220713] libiconv: iconv_open is missing? — Matt Wynne <mattwynne@...>
I'm relatively new to unix/osx/ruby so please be as gentle as you
[#220723] Calling a Java Class — "Ike" <rxv@...>
Is there a way to invoke a Java class, from within Ruby, without using, say
[#220750] Having trouble connecting to a site via net/http — jakattack2@...
Hello,
On 10/20/06, jakattack2@gmail.com <jakattack2@gmail.com> wrote:
[#220754] filling an array excepted first and last position... — Josselin <josselin@...>
ldom = 30 # variable (last day of a month...)
On 2006-10-20 10:32:18 +0200, Robert Klemme <shortcutter@googlemail.com> said:
[#220767] Neewby question: how to monitor a variable value — "Luc Juggery" <luc.juggery@...>
Hello All,
[#220769] — "gaurav bagga" <gaurav.v.bagga@...>
Hi All,
Hi,
Chris Carter wrote:
On Mon, Oct 23, 2006 at 07:14:09AM +0900, David Vallner wrote:
On 10/22/06, Thomas Adam <thomas.adam22@gmail.com> wrote:
I was going to say, didn't UML have roots in Smalltalk?
On 10/24/06, Giles Bowkett <gilesb@gmail.com> wrote:
[#220787] break from block — "Farrel Lifson" <farrel.lifson@...>
I've just run into the following problem. Doing this:
On 20.10.2006 15:45, Farrel Lifson wrote:
On 20/10/06, Robert Klemme <shortcutter@googlemail.com> wrote:
On 20.10.2006 16:37, Farrel Lifson wrote:
[#220807] problem with reading file — Li Chen <chen_li3@...>
Hi folks,
[#220812] Problem modifying captured regexp results — Paul van Delst <Paul.vanDelst@...>
Hello,
[#220825] Re: about require — "Gavin Kistner" <gavin.kistner@...>
From: Li Chen
[#220847] Template question (easy) — justingoodman@...
So I originally took up a project of making a simple blog for myself
[#220856] rexml difficulties — cs5b@...
Hello all, just wondering whether someone else has observed this.
[#220862] Ruby and Perl — Li Chen <chen_li3@...>
Hi guys,
[#220866] multi dim array? — Gijs Nijholt <gijs.nijholt@...>
Hi (again),
[#220891] threaded Socket call blocks main thread — joost baaij <joost@...>
Hi all. A blocking IO issue is puzzling me, maybe someone can offer
joost baaij wrote:
[#220894] Writing IMAP->GMail proxy... Where to go for IMAP RFC help? — Jon Fi <exabrial@...>
Hey everyone, this is only a partial ruby question... I discovered a
On 10/20/06, Jon Fi <exabrial@gmail.com> wrote:
Hi
On 10/20/06, Chris Carter <cdcarter@gmail.com> wrote:
[#220916] One more way to parse XML... — pete@...
[#220921] sudo gem install -r webrick FAILED — pere.noel@... (Une B騅ue)
after a :
[#220932] instance_eval && class_eval — "Artur Merke" <am@...>
Hi,
[#220937] Signal handling behaviour change after ruby upgrade — andrew@...
I use an init system written in ruby for my Gnu/linux distro, and it
[#220964] A Comparison Of Dynamic and Static Languiges — atbusbook@...
I'm doing a report on the speed of develipment and executionin varius
atbusbook@aol.com wrote:
[#220971] search file in a directory — Li Chen <chen_li3@...>
Hi folks,
Li Chen wrote:
Li Chen wrote:
[#220982] How to test if a module/gem is installed — snacktime <snacktime@...>
Is there a way to test if a particular module/extension/gem is
[#220988] Turning off WEBRick server logging (XMLRPC) — Adam Block <adam@...>
I've implemented an XMLRPC server using xmlrpc/server.
On Sun, 22 Oct 2006, Adam Block wrote:
Thanks for your response. Yes, I see in the XMLRPC::Server source the
[#220990] What is wrong with my code — Li Chen <chen_li3@...>
Hi folks,
[#220999] DRY fanatics? — "Giles Bowkett" <gilesb@...>
Anybody know a way to make this DRYer?
On 2006.10.22 10:02, Giles Bowkett wrote:
[#221025] downcase part of a string — "ilhamik" <ilhami.kilic@...>
hi,
ilhamik wrote:
Thanks Peter, it works fine.
On Oct 22, 2006, at 7:30 AM, ilhamik wrote:
James Edward Gray II wrote:
Le 23 octobre 2006 03:16, Wilson Bilkovich a 馗rit :
F. Senault wrote:
"no".capitalize, Tim is right, but ruby is a "logical" language for
x1 wrote:
On 10/24/06, Hal Fulton <hal9000@hypermetrics.com> wrote:
Wilson Bilkovich wrote:
On 10/25/06, Bira <u.alberton@gmail.com> wrote:
In France uppercase letters accents are optional, I do not think that the
[#221036] Recommendations for a Ruby Wiki, preferably with bidi support? — "Alder Green" <alder.green@...>
We are going to deploy a Wiki system for a medium load website. Any
Alder Green wrote:
On 10/22/06, James Britt
It doesn't seem to have good spam protection. You can see evidence of
Alder Green wrote:
> http://en.wikipedia.org/wiki/Instiki
Bret Pettichord wrote:
On 10/22/06, Joel VanderWerf <vjoel@path.berkeley.edu> wrote:
Thanks everyone for the information.
On 10/23/06, Alder Green <alder.green@gmail.com> wrote:
[#221051] InlineFortran 1.0.0 Released — Ryan Davis <ryand-ruby@...>
InlineFortran version 1.0.0 has been released!
[#221054] about file format — Li Chen <chen_li3@...>
Hi guys,
Li Chen wrote:
[#221057] hoe 1.1.2 Released — Ryan Davis <ryand-ruby@...>
hoe version 1.1.2 has been released!
[#221072] thread dump? — cs5b@...
Hi there, I have a process that seems to be stuck somewhere. Is there
[#221094] Ruby-ize me (or at least my code) — Seth Eliot <seth_ruby@...>
Hi all,
[#221108] Fast portable storage for queues — snacktime <snacktime@...>
I've tested out a couple of ways of storing a queue structure and
On 10/22/06, snacktime <snacktime@gmail.com> wrote:
On Mon, 23 Oct 2006, Francis Cianfrocca wrote:
On 10/23/06, khaines@enigo.com <khaines@enigo.com> wrote:
On Mon, 23 Oct 2006, hemant wrote:
[#221129] Binary file modification — Rob Lee <robl@...>
Hi
[#221130] Where does everyone BUY/SELL PC's/MAC's online??? — vilebuzz@...
I sell on ebay alot and I'm starting to search online to find other
[#221150] newbie: class attribute accessors? — "Diego Virasoro" <Diego.Virasoro@...>
Hello,
[#221159] Ruby Conf 2006 Denver feedback? — Hiren Bridgmohun <hbridgmohun@...>
Hi
[#221161] Learning ruby - metaprogramming question [from poignant guide] — "Luc Juggery" <luc.juggery@...>
Hello all,
[#221168] Trouble using puts and getc in different threads — Mark <okmooi@...>
Hi,
On 10/23/06, Mark <okmooi@gmail.com> wrote:
On 10/23/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:
[#221192] $stdin.gets, threads, and command-line app. — Xav Xav <xcambar@...>
Hi,
[#221205] OT: Does anyone have an extra shirt from rubyconf? — "Nathan Peel" <nathan.peel@...>
I don't know if there were any extras but if there were I'd gladly pay to
On Tue, 24 Oct 2006, Nathan Peel wrote:
[#221212] How to remove empty element in an array — Li Chen <chen_li3@...>
Hi all,
Hi,
[#221213] How to remove empty element in an array — Li Chen <chen_li3@...>
Hi all,
On 23/10/06, Li Chen <chen_li3@yahoo.com> wrote:
Farrel Lifson wrote:
Joel VanderWerf wrote:
[#221237] File::open and File.open — Brad Tilley <rtilley@...>
What exactly is the difference between these? :: is a class method while
[#221249] What's the difference between send and instance_eval? — "michele" <michelemendel@...>
What's the difference between send and instance_eval (except the
On 10/23/06, michele <michelemendel@gmail.com> wrote:
michele wrote:
This works:
[#221255] How do you save the contents of an object? — Steve Quezadas <steve@...>
Is there an easy way to save the contents of an object in ruby?
[#221266] Override Time#to_s -- how? — Ben Winekur <ben.vinegar@...>
Hey everyone,
[#221287] '**' as hash splat? — "Trans" <transfire@...>
We can:
[#221293] Ruby's garbage collector... — "Just Another Victim of the Ambient Morality" <ihatespam@...>
Is there a name for Ruby's garbage collecting strategy?
[#221310] Great step for Ruby CI. Cerberus 0.3.0 released. — Anatol Pomozov <anatol.pomozov@...>
Hi, ruby lovers.
Hey, that's really cool. Now I have to make tests for my app to make
[#221311] Chunky Bacon — Joe Ruby MUDCRAP-CE <joeat303@...>
WTF, I ask. I know it's in why's Poignant guide, but...WTF?
On Tue, 2006-10-24 at 17:49 +0900, Joe Ruby MUDCRAP-CE wrote:
Joe Ruby MUDCRAP-CE wrote:
David Roberts wrote:
On Oct 24, 2006, at 1:23 PM, M. Edward (Ed) Borasky wrote:
On 10/24/06, David Roberts <smartgpx@gmail.com> wrote:
[#221325] Ruby in a Nutshell .. worth it? — EB <ebonakDUH_@...>
Hi,
* EB (ebonakDUH_@hotmail.com) wrote:
[#221347] Bitwise inversion of Bignum — Ian Roddis <ian.roddis@...>
A bitwise inversion of a Bignum sometimes yields odd results. As tested
[#221369] Audio and/or video of RubyConf talks? — "Lyle Johnson" <lyle.johnson@...>
Does anyone know if audio and/or video of RubyConf is available
[#221371] Re: Chunky Bacon — "Cameron, Gemma (UK)" <Gemma.Cameron@...>
Cameron, Gemma (UK) wrote:
Patrick Spence wrote:
[#221381] How can my boss take rails seriously with bugs like this? — Chris Richards <evilgeenius@...>
On 10/24/06, Chris Richards <evilgeenius@gmail.com> wrote:
Jacob Fugal wrote:
M. Edward (Ed) Borasky wrote:
_Kevin wrote:
[#221384] Re: Chunky Bacon — "Cameron, Gemma (UK)" <Gemma.Cameron@...>
Although back to the initial question wtf (excuse my language) has any
On 10/24/06, Cameron, Gemma (UK) <Gemma.Cameron@baesystems.com> wrote:
Rick DeNatale wrote:
On 10/24/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
[#221404] How do I tell when I'm on Cygwin? — James Edward Gray II <james@...>
HighLine has some code like this:
On Wed, 25 Oct 2006, James Edward Gray II wrote:
On 10/24/06, James Edward Gray II <james@grayproductions.net> wrote:
On 10/24/06, Nick Sieger <nicksieger@gmail.com> wrote:
On Oct 24, 2006, at 1:40 PM, Gregory Brown wrote:
On 10/24/06, James Edward Gray II <james@grayproductions.net> wrote:
Gregory Brown wrote:
On Wed, 25 Oct 2006, M. Edward (Ed) Borasky wrote:
ara.t.howard@noaa.gov wrote:
On 10/24/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
Wilson Bilkovich wrote:
On 10/24/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
On 10/24/06, Robert Oliver <rob@ocstech.com> wrote:
Austin Ziegler wrote:
Hi,
Yukihiro Matsumoto wrote:
M. Edward (Ed) Borasky wrote:
Austin Ziegler wrote:
On 10/26/06, Chris Lowis <chris.lowis@gmail.com> wrote:
On 10/26/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 10/26/06, Robert Oliver <rob@ocstech.com> wrote:
On 10/26/06, Austin Ziegler <halostatue@gmail.com> wrote:
On 10/26/06, Robert Dober <robert.dober@gmail.com> wrote:
M. Edward (Ed) Borasky wrote:
M. Edward (Ed) Borasky wrote:
On Oct 25, 6:15 pm, David Vallner <d...@vallner.net> wrote:
[#221409] Ruby Quiz 2.0 Prototype — James Edward Gray II <james@...>
I announced this at RubyConf, but for those who missed it there, we
On 10/24/06, James Edward Gray II <james@grayproductions.net> wrote:
[#221414] Some help against the raging hordes of 'J' fanatics — Peter Szinek <peter@...>
Hello,
[#221416] Bitstuct and binary files — Rob Lee <robl@...>
Hi,
[#221420] backquote and variables — robertlaferla@...
I am trying to construct a command line to be executed using backquote `` notation. i.e. capturing the output to a string
[#221426] How to maintain App config data? — Nate Wiger <nwiger@...>
I'm writing an app in Rails, but some modules need to work outside of
[#221427] parsing HTML code with regex — Anthony Walsh <akakuda@...>
I'm trying to parse through some html code and count the number of times
[#221428] Ruby Console Library — Minkoo <minkoo.seo@...>
Hi.
[#221461] File#flock as a cross-process mutex — "Francis Cianfrocca" <garbagecat10@...>
Has anyone wrapped up File#flock so it can used as a platform-independent
On Wed, 25 Oct 2006, Francis Cianfrocca wrote:
On 10/24/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
On Wed, 25 Oct 2006, Francis Cianfrocca wrote:
[#221462] Re: How to convert long/milliseconds to DateTime? — "Gavin Kistner" <gavin.kistner@...>
From: Mike Nospam
[#221474] RubyConf2006 Retrospective — Bil Kleb <Bil.Kleb@...>
Hi,
M. Edward (Ed) Borasky wrote:
James Britt wrote:
On 10/24/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
Austin Ziegler wrote:
M. Edward (Ed) Borasky wrote:
Disney World
On 10/25/06, Trans <transfire@gmail.com> wrote:
[#221483] Freeride, FXRuby, FXScintilla, etc. (Includes [Fwd: [fxscintilla-users] ANNOUNCE: FXScintilla 1.71 and stopping]) — "M. Edward (Ed) Borasky" <znmeb@...>
I just received this in my email. As most of you know by now, I run
M. Edward (Ed) Borasky wrote:
David Vallner wrote:
M. Edward (Ed) Borasky wrote:
David Vallner wrote:
[#221499] run test scripts concurrently — "Chris McMahon" <christopher.mcmahon@...>
I've been futzing with this for some time and I am out of ideas.
[#221515] Endianess of the underlying platform — "Tim Pease" <tim.pease@...>
Does ruby provide a global or a method call to determine the endianess
On Oct 24, 2006, at 4:40 PM, Tim Pease wrote:
On 11/15/06, Eric Hodel <drbrain@segment7.net> wrote:
[#221536] zlib.so Problem on MIPS target platform. — craigslist <craigslist@...>
Hi
[#221545] Best way to automate web browser tasks? — Hal Fulton <hal9000@...>
I know there's Watir or something... but I'm not using
On Wed, 25 Oct 2006, Hal Fulton wrote:
[#221577] threads — Brad Tilley <rtilley@...>
I'm rewriting some old Python scripts in Ruby. Just to learn a bit more.
On Wednesday 25 October 2006 11:37, Brad Tilley wrote:
[#221620] Is there really an impending Ruby fracture??? — "M. Edward (Ed) Borasky" <znmeb@...>
Well ... I've been home from RubyConf for a day now. I sort of expected
On 10/25/06, Trans <transfire@gmail.com> wrote:
On Oct 31, 2006, at 12:25 AM, Tim Smith wrote:
[#221635] Documentation formats (RDoc to PDF output?) — Alex Gutteridge <alexg@...>
Hi,
[#221651] Potential Brit ruby meeting formally Chunky Bacon — "Cameron, Gemma (UK)" <Gemma.Cameron@...>
In message <C4E42C77B75F724FAE57FA9A5319563806592F53@glkms0012>,
[#221684] Reopening Classes — "anthony.green@..." <anthony.green@...>
[#221687] Functional Equivalency — "tom.mancino" <tom.mancino@...>
This works for multiple keywords:
Hi --
On 10/25/06, dblack@wobblini.net <dblack@wobblini.net> wrote:
[#221725] x10 and ruby? — Ian Morrison <ian@...>
hi all,
[#221730] ruby mysql errors -where am I going wrong here? — Mer Gilmartin <merrua@...>
Here is my test code. I am wondering where I am going wrong.
From: Mer Gilmartin <merrua@yahoo.co.uk>
Hidetoshi NAGAI wrote:
On Wed, 25 Oct 2006, Mer Gilmartin wrote:
[#221789] debugging memory use and GC — snacktime <snacktime@...>
What is a good way to find out what objects are not being GC'd ? I am
On 10/25/06, snacktime <snacktime@gmail.com> wrote:
On Fri, 27 Oct 2006, Rick DeNatale wrote:
On 10/26/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
[#221796] A Rake executable script, is this the correct approach — John Pywtorak <jpywtora@...>
I humbly come to you, because searching, mostly google, has failed to
[#221803] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack — "Zed A. Shaw" <zedshaw@...>
This is important so please read this message very carefully.
On 10/25/06, Zed A. Shaw <zedshaw@zedshaw.com> wrote:
[#221810] Pass block instead of here document? — Morton Goldberg <m_goldberg@...>
I have a situation where I want to send many messages, one after the
On 10/25/06, Morton Goldberg <m_goldberg@ameritech.net> wrote:
Rick DeNatale wrote:
[#221814] Re: Pass block instead of here document? — "Gavin Kistner" <gavin.kistner@...>
From: Morton Goldberg [mailto:m_goldberg@ameritech.net]
On Oct 25, 2006, at 3:31 PM, Gavin Kistner wrote:
Hi --
On Oct 25, 2006, at 2:54 PM, dblack@wobblini.net wrote:
On Thu, 26 Oct 2006 04:31:31 +0900, Gavin Kistner wrote:
[#221837] Premature Optimization — poopdeville@...
Hi everybody,
[#221866] simple math question — Brad Tilley <rtilley@...>
What's the quickest way to determine if an int is an even number
On 10/25/06, Brad Tilley <rtilley@vt.edu> wrote:
On 10/26/06, Pete Yandell <pete.yandell@gmail.com> wrote:
On 10/26/06, Wilson Bilkovich <wilsonb@gmail.com> wrote:
Brad Tilley wrote:
[#221872] auto_increment model method wont increment but no error ? — "Dan W." <wozniak.dan@...>
Hi, i'm trying to get my ChrissMonster model to pull back the value of
On 10/25/06, Dan W. <wozniak.dan@gmail.com> wrote:
[#221884] Calling functions in a child class — Brian Schlect <brian@...>
I have a class:
[#221918] Popularity Contest: Initializing Class-Level Instance Variables — "Phrogz" <gavin@...>
Subclassing a class that uses class-level instance variables requires
[#221938] Beginner would like help with oo-modelling — Pa Per <xxx@...>
I'm new to ruby and basically oop as well, but based on what I've seen
Benj,
Pa Per wrote:
Ben,
Pa Per wrote:
[#221948] ruby-prof vs. Object#clone — "Victor 'Zverok' Shepelev" <vshepelev@...>
For some reasons I extensively use this technique:
On 10/26/06, Victor 'Zverok' Shepelev <vshepelev@imho.com.ua> wrote:
[#221960] 1.9 Backport? — "Trans" <transfire@...>
Reading:
[#221962] Win32OLE. Opening an existing file. — Peter Bailey <pbailey@...>
Hi,
[#221985] Re: [ANN] Potential Brit ruby meeting formally Chunky Bacon — "Cameron, Gemma (UK)" <Gemma.Cameron@...>
On 26/10/06, Cameron, Gemma (UK) <Gemma.Cameron@baesystems.com> wrote:
On 26 Oct 2006, at 16:49, Tom Armitage wrote:
On 26/10/06, Paul Lynch <paul@plsys.co.uk> wrote:
On 26 Oct 2006, at 17:53, Tom Armitage wrote:
Hi --
On Fri, 27 Oct 2006 21:39:48 +0900
Hi --
On Fri, 27 Oct 2006 22:01:25 +0900
[#221988] UTF-8 problems — "Cameron Adamez" <cameron@...>
Hi,
[#222000] Re: Chunky Bacon — "Cameron, Gemma (UK)" <Gemma.Cameron@...>
[#222020] Re: Chunky Bacon — "Cameron, Gemma (UK)" <Gemma.Cameron@...>
And again, what has any of this got to do with coding!
[#222024] Question about strings — William Carpin <wcarpin@...>
Okay, given the following string:
[#222051] Ruby fs watcher? — Jean-Etienne Durand <etienne.durand@...>
Hi,
[#222053] Ruby Design Principles — Bil Kleb <Bil.Kleb@...>
Matzcast on ITConversations?
[#222054] Watir - determine order of the controls — Patrick Spence <patrick@...>
I've written a ScreenScraper class that "harvests" all the HTML
On 10/26/06, Patrick Spence <patrick@pkspence.com> wrote:
[#222083] modeling a simple cpu — "Ara.T.Howard" <ara.t.howard@...>
[#222084] How can I populate header values in SOAP document? — "Hartin, Brian" <Brian.Hartin@...>
Hi all,
[#222094] Re: modeling a simple cpu — "Gavin Kistner" <gavin.kistner@...>
From: Ara.T.Howard [mailto:ara.t.howard@noaa.gov]
[#222102] Time without Date — "List Recv" <listrecv@...>
Is there any class or lib to deal with Times without Date? (Eg "3:30
List Recv wrote:
[#222110] Test::Unit need help with assert — Shayne Bateman <shayne.bateman@...>
Hi,
[#222136] — "Dirk Meijer" <hawkman.gelooft@...>
unsubscribe
Try ruby-talk-ctl@ruby-lang.org.
-----BEGIN PGP SIGNED MESSAGE-----
[#222158] backtick commands and stderr — "Alexandru Popescu" <the.mindstorm.mailinglist@...>
Hi!
[#222160] Re: backtick commands and stderr — "Gavin Kistner" <gavin.kistner@...>
From: Alexandru Popescu [mailto:the.mindstorm.mailinglist@gmail.com]
[#222186] why is my singleton method called before the class is initialize? — "bachase@..." <bachase@...>
Consider:
Rick DeNatale <rick.denatale@gmail.com> wrote:
[#222193] -bash: rails: command not found — "Matt" <matthewburton@...>
I know lots of people seem to have this problem...I've been through the
[#222209] nil.to_s != "nil" — Eero Saynatkari <ruby-ml@...>
Is it possible to change NilClass#to_s to return "nil"
Eero Saynatkari wrote:
[#222217] Singleton Methods — "bparanj@..." <bparanj@...>
What is the purpose of singleton method? Why is singleton method
[#222225] Getting (var = false) to return true? — Joe Ruby MUDCRAP-CE <joeat303@...>
In Rails (it's more of a Ruby question though ;) ), I have:
On 27/10/06, Joe Ruby MUDCRAP-CE <joeat303@yahoo.com> wrote:
[#222232] Gem error on "require 'rubygems'" — "Luc Juggery" <luc.juggery@...>
Hello RubyComminity !!!!
[#222245] OT: Ruby Quiz in Haskell — Jim Burton <jim@...>
Hello Ruby Talkers, some people are trying out the Ruby Quiz puzzles in
[#222253] Fuzzy Time (#99) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
Thanks for this week's interesting problem. My solution is below and
Ahh, it feels good to do a ruby quiz again :-). I've ignored the other
Hi all,
[#222263] Ruby's book list is out of date... — "Jeremy McAnally" <jeremymcanally@...>
Hello all,
James Britt wrote:
Bil Kleb wrote:
On Oct 28, 2006, at 11:26 AM, James Britt wrote:
> It does seem like a needless duplication of effort. I'l ask the ruby-
[#222270] a regex — "Alexandru Popescu" <the.mindstorm.mailinglist@...>
Hi!
Alexandru Popescu wrote:
On 10/27/06, Chris Gernon <kabigon@gmail.com> wrote:
Alexandru Popescu wrote:
[#222328] classless methods — Dave Rose <bitdoger2@...>
what class does a classless independent method belong too?
[#222343] adding soap element attributes — Andrew Tongen <ajtongen@...>
Hi,
[#222352] unable to send to the mailing list — Paul Brannan <pbrannan@...>
All the messages from pbrannan@atdesk.com to ruby-talk@ruby-lang.org in
[#222360] how to get only the duplicatet items from an array — Nico Landgraf <nico@...>
hi all,
[#222362] can there be a "with" construction? — matt@... (matt neuburg)
Some languages have a "with" construction, where undefined methods are
[#222370] Re: how to get only the duplicatet items from an array — "Gavin Kistner" <gavin.kistner@...>
From: Nico Landgraf [mailto:nico@nico-landgraf.de]
[#222371] Ice for Ruby Preview Release — Marc Laukien <marc@...>
The Internet Communications Engine (Ice) is a modern, object-oriented
[#222404] RubyForge down... — Jean-francois Perusse <jfperusse@...>
Hi,
Jean-francois Perusse wrote:
[#222408] What are closures, continuations? — Joe Ruby MUDCRAP-CE <joeat303@...>
I've seen these mentioned in various places. From what I can tell:
matt neuburg wrote:
[#222432] Another nail in CygWin's coffin (attached) — "M. Edward (Ed) Borasky" <znmeb@...>
Austin is basically right -- *nobody* should use CygWin as a Windows
> Austin is basically right -- *nobody* should use CygWin as a Windows
M. Edward (Ed) Borasky wrote:
[#222442] upgrade on OS X — Tim McIntyre <tmac@...>
Hey all,
[#222453] SouthWest RubyConf? — James Britt <james.britt@...>
Is anyone aware of, or interested in helping prepare, plans for a U.S.
On 10/30/06, Giles Bowkett <gilesb@gmail.com> wrote:
pat eyler wrote:
[#222460] Efficient parsing of large Excel documents in Ruby — Wes Gamble <weyus@...>
All,
I agree with Christian, but with a twist.
I was definitely thinking about using win32ole/Excel to convert this
Wes Gamble wrote:
Charles Oliver Nutter wrote:
[#222467] regexp to match CJK characters — Cafe Babe <0xcafebabe@163.com>
How can I write a regexp to match CJK characters?
Cafe Babe wrote:
Paul Lutus wrote:
David Vallner wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Josef 'Jupp' Schugt wrote:
[#222469] how to import variable from other .rb file? — "camenix" <vipeak@...>
Hello all,
On 10/28/06, camenix <vipeak@gmail.com> wrote:
[#222477] Saving an IRB Session — "Matthew Cox" <Matthew.A.Cox@...>
Hi,
Matthew Cox wrote:
On Oct 28, 2006, at 9:00 AM, Bil Kleb wrote:
On Sun, Oct 29, 2006, James Edward Gray II wrote:
* Ben Bleything (ben@bleything.net) wrote:
[#222492] Problem with Amrita — Miquel Oliete <ktalanet@...>
Hi all
[#222497] Lots of warnings after installing ruby185-21 one-click installer on WinXP — "NuclearFusion" <xapwing@...>
Hi,
[#222521] How to understand why object is not collected? — "Victor \"Zverok\" Shepelev" <vshepelev@...>
Hi all.
Victor "Zverok" Shepelev wrote:
From: Joel VanderWerf [mailto:vjoel@path.berkeley.edu]
[#222535] symetrical encryption algo's ? — dc <lister@...>
Hi list.
dc wrote:
On 10/28/06, dc <lister@pikkle.com> wrote:
[#222569] Define a hash using %q? — Joe Ruby MUDCRAP-CE <joeat303@...>
Is there a way for us lazy typists to define a hash using %q? I tried
Joe Ruby MUDCRAP-CE wrote:
On Sun, Oct 29, 2006 at 02:35:02PM +0900, Joel VanderWerf wrote:
Logan Capaldo wrote:
[#222580] Interesting trival example of why open classes are good? — "Peter Michaux" <petermichaux@...>
Hi,
Peter Michaux wrote:
[#222587] Memory crush somewhere in Socket — "Victor \"Zverok\" Shepelev" <vshepelev@...>
Hi all.
From: Vincent Fourmond [mailto:vincent.fourmond@9online.fr]
[#222619] using ruby with photoshop - p objectroblem using the SaveAs — "Martin Somers" <somers.martin@...>
# help
On 10/29/06, Martin Somers <somers.martin@gmail.com> wrote:
[#222622] How can i do 'foreach (reverse sort { $hasref->{$a} <=> $hasref->{$b} } keys %{$hasref})..' in ruby — Aleksandar Lazic <al-rubylang@...>
Hi,
Aleksandar Lazic <al-rubylang@none.at> wrote:
On Mon 30.10.2006 00:10, Robert Klemme wrote:
[#222628] ruby's build system — cies <cies.breijs@...>
right now autotools, make and shell scripts are used to build ruby.
[#222633] newbie question — Luiz Eduardo Roncato Cordeiro <lercordeiro@...>
Hi,
[#222643] backtick and %x{} not the same? — "Andreas S" <andreas_s@...>
I can't any information about this, so I dare myself to post here. I have
[#222645] !x.include? y — "Giles Bowkett" <gilesb@...>
basically, I need to filter list A to match list B. list A is a list
[#222648] Interesting (and useful) exercise with the Ruby grammar by Nick Sieger — "M. Edward (Ed) Borasky" <znmeb@...>
Nick Sieger just posted (well ... I just found out about it) a graph of
On 10/29/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:
[#222666] PP / PrettyPrint annoyances — "Elliot Winkler" <elliot.winkler@...>
Hello all,
[#222681] ipv6 connection attempted before ipv4 — snacktime <snacktime@...>
I've noticed that when using net/http, and probably with any ip/udp
[#222698] PDF-writer and MS word document — Li Chen <chen_li3@...>
Hi guys,
[#222699] how to reset and how to undefine a class — Adriano Mitre <adriano.mitre@...>
Does any one know how to reset a class in Ruby? Subsequent class
[#222713] DNS library released — alexd@...
Hello -
alexd@nominet.org.uk wrote:
On Oct 30, 2006, at 6:44 AM, Daniel Berger wrote:
On 10/30/06, James Edward Gray II <james@grayproductions.net> wrote:
"Francis Cianfrocca" <garbagecat10@gmail.com> wrote on 30/10/2006
On 10/30/06, alexd@nominet.org.uk <alexd@nominet.org.uk> wrote:
"Francis Cianfrocca" <garbagecat10@gmail.com> wrote on 30/10/2006
[#222720] Drb in depth ? — "Mickael Faivre-Macon" <faivrem@...>
Hi,
[#222727] ruby libcurl maintainer? — Friedrich Dominicus <just-for-news-frido@...>
I tried to contact Mr Hirotaka Matsuyuki,however his email address
[#222737] Alias singleton method from C — Ross Bamford <rossrt@...>
Hi,
[#222765] Ruby performance on Windows XP — "Dark Ambient" <sambient@...>
While I am working in Rails, I'm noticing that Ruby many times completely
On 10/30/06, Dark Ambient <sambient@gmail.com> wrote:
On Tue, 31 Oct 2006 01:45:52 +0900
On 10/30/06, Zed A. Shaw <zedshaw@zedshaw.com> wrote:
[#222793] __FILE__ for requiring file — "Jim Freeze" <jim@...>
Hello
I think this could get there:
[#222794] Picking a GUI toolkit for use with Ruby on windows — "Mischa Kroon" <www@...>
Hi guys,
Mischa Kroon wrote:
[#222804] QtRuby 1.4.7 — "richard.j.dale@..." <richard.j.dale@...>
URIS
richard.j.dale@gmail.com wrote:
[#222907] Concerns about removal of continuations in Ruby 2.0 — "Alder Green" <alder.green@...>
1. Certain control flow structures rely on continuations:
[#222908] Duck typing and the Standard Library — mikeharder@...
I'm new to Ruby, so please excuse any ignorance on my part. I read the
[#222919] Learning Ruby — "Urzahil" <Cristiano.Marchettini@...>
Hi, I come from a little bit of C programming, an I've just started
[#222924] Difference between define_method and def method; end — Rune Hammersland <rune@...>
Hello dear Rubyists.
On Tue, 31 Oct 2006, Rune Hammersland wrote:
On 10/31/06, ara.t.howard@noaa.gov <ara.t.howard@noaa.gov> wrote:
[#222925] Ruby tools for managing static websites? — "Chris Pearl" <chrispearl@...>
Are there Ruby tools to help webmasters manage static websites?
Chris Pearl wrote:
On Tue, 31 Oct 2006, Chris Pearl wrote:
On Wed, 01 Nov 2006 06:08:06 -0000, Chris Pearl <chrispearl@gmail.com>
[#222932] Re: [ANN] bfts 1.0.0 Released — "Jeff Dik" <s450r1@...>
This is excellent news!
On Wed, Nov 01, 2006, Ryan Davis wrote:
On Wed, Nov 01, 2006, Ryan Davis wrote:
[#222936] GEM Problem — "Rafael George" <george.rafael@...>
Hi guys im getting this error using gems on windows im behind a proxy
Hi,
Well im using gem in a Microsoft Windows cmd, i don't know if its have
[#222977] Syntax q on ActiveRecord — "Ike" <rxv@...>
In my model, if I have a field, that contains the id to another table, twice
Ike wrote:
[#222993] Re: [ANN] bfts 1.0.0 Released — "Tim Pease" <tim.pease@...>
On 10/30/06, Ryan Davis <ryand-ruby@zenspider.com> wrote:
[#223011] Puzzling over why ri can open the std ruby/ri .yaml files, but raw yaml can't — "Eric Promislow" <eric.promislow@...>
If I run <<ri Abbrev>>, no problem.
[#223021] regex capture and assign... in one line? — "Nate Murray" <jashmenn@...>
Question, I've been using Ruby for a while now and I have a perlism I
[#223031] Rails install problem??? — Robert Heller <heller@...>
I just installed ruby on my CentOS 4.4 system, using yum:
[#223035] Nonblocking IO read — srobertjames@...
How can I perform a nonblocking IO read? That is, read whatever is
On Wed, 1 Nov 2006 srobertjames@gmail.com wrote:
In the interests of promoting creativity, I'll ask the question without
[ara.t.howard@noaa.gov]
On Wed, 1 Nov 2006, Bjorn Borud wrote:
[#223039] still more relentless non-repetition — "Giles Bowkett" <gilesb@...>
ok, I have this Rails code which I want to make more Rubyish.
I'm too lazy ATM to read the whole thing and make a design
On Wed, 1 Nov 2006, Giles Bowkett wrote:
> model = self.class.const_get t.capitalize
Associating data with a function
Because I just had to solve this problem in both JavaScript and Lua, and
because I love Ruby more than either, I thought I'd ask people here how
they'd solve it in Ruby.
The general question is: how would do you associate a few object
instances with methods on a per-method basis?
The Situation/Requirements
--------------------------
A class has 2 different methods.
Each method needs a couple 'scratch' objects to perform its
calculations.
The methods call each other; they must not use the same scratch objects.
It is expensive to instantiate a scratch object.
It's not expensive to initialize an existing scratch object with data.
We like OOP coding, and want to call these as methods of a receiver.
Wasteful Example:
class Foo
def c1
tmp1 = ExpensiveObject.new
tmp2 = ExpensiveObject.new
# stuff involving tmp1/tmp2
result = tmp1 + tmp2 + c2
end
def c2
tmp1 = ExpensiveObject.new
tmp2 = ExpensiveObject.new
# stuff involving tmp1/tmp2
result = tmp1 + tmp2
end
end
The Solution We'll Ignore
--------------------------
We *could* create a distinct instance variable for each needed variable.
I personally don't like the weird coupling this creates, though. So I'm
ignoring it.
class Foo
def initialize
@tmp1 = ExpensiveObject.new
@tmp2 = ExpensiveObject.new
@tmp3 = ExpensiveObject.new
@tmp4 = ExpensiveObject.new
end
def c1
tmp1, tmp2 = @tmp1, @tmp2
#...
end
def c2
tmp1, tmp2 = @tmp3, @tmp4
#...
end
end
The JavaScript Solution
-----------------------
The solution I used for JavaScript was that functions/methods are
first-class objects that can have arbitrary data assigned, and can get a
reference to themselves during execution. So:
Foo.prototype.c1 = function( ) {
var tmp1 = arguments.callee.eo1;
var tmp2 = arguments.callee.eo2;
//...
}
Foo.prototype.c1.eo1 = new ExpensiveObject;
Foo.prototype.c1.eo2 = new ExpensiveObject;
There were a few potential solutions for Lua. I'll list the two best,
just to help give you ideas:
Lua Solution #1: Closures (would work for JS, too)
--------------------------------------------------
Foo.c1 = ( function( )
local tmp1 = ExpensiveObject:new( )
local tmp2 = ExpensiveObject:new( )
return function( self )
-- stuff using tmp1 and tmp2
end
end)( )
Lua Solution #2: Changing the global environment for a function
---------------------------------------------------------------
function associateFunctionData( inF, inData )
setfenv(inF, setmetatable(inData,{__index=getfenv(inF)}))
end
function Foo:c1( )
-- stuff using tmp1 and tmp2
-- as though they were globals
end
associateFunctionData( Foo.c1, {
tmp1 = ExpensiveObject:new( ),
tmp2 = ExpensiveObject:new( )
} )