[#140645] Pimki 1.7 — "Assaph Mehr" <assaph@...>
Hi All,
[#140649] Ruby-GetText-Package-0.9.0 — Masao Mutoh <mutoh@...>
Hi,
[#140653] Newbie Question About files — Jeff Singer <jsinger@...>
I am still fairly new to ruby, and have been working on a fairly small
[#140660] collections with values of fixed classes/lengths — Eric Mahurin <eric_mahurin@...>
Anybody know of any collection (i.e. Array/Hash) classes where
[#140667] Thinking of creating a small mini-language-interpreter using Ruby — Glenn Smith <glenn.ruby@...>
Always something I've wanted to write - an interpreter of my own. Now
On 5/2/05, Robert Klemme <bob.news@gmx.net> wrote:
Sounds like I need to craft a "Richard Stallman" style beard then!!
[#140686] Stats comp.lang.ruby (last 7 days) — Balwinder Singh Dheeman <bsd.SANSPAM@...>
Stats comp.lang.ruby (last 7 days)
On 5/1/05, Balwinder Singh Dheeman <bsd.SANSPAM@cto.homelinux.net> wrote:
[#140697] Re: Inverting a regular expression? — "Harry Ohlsen" <Harry_Ohlsen@...>
> From: Eric Mahurin [mailto:eric_mahurin@yahoo.com]
Well, if you want an academic answer... :)
[#140700] Consequences of not calling ruby_finalize()? — ptkwt@... (Phil Tomson)
Instead of embedding Ruby into a C program with a main() function I want
>>>>> "P" == Phil Tomson <ptkwt@aracnet.com> writes:
On Mon, 2 May 2005, ts wrote:
[#140714] Ruby, Rails and now og — "Andrew Ballantine" <andrew.ballantine@...>
Hi,
Andrew Ballantine wrote:
> What I like about this is I can write and evolve my application
David,
> During the development phase you can alter your
[#140735] Re: collections with values of fixed classes/lengths — Eric Mahurin <eric_mahurin@...>
> > I still think a more general extension would be nice. And
[#140750] enum in ruby ? — Andreas Habel <mail@...>
Hi,
[#140774] MMU-less systems and vfork. — Brian Mitchell <binary42@...>
I have an upcoming project that will be on an MMU-less platform
On 5/3/05, Brian Mitchell <binary42@gmail.com> wrote:
[#140775] "Bounty" approach for small pieces of code? — Hal Fulton <hal9000@...>
I seem to recall there was some discussion here of
[#140808] Re: "Bounty" approach for small pieces of code? — Hal Fulton <hal9000@...>
Molitor, Stephen L wrote:
On 5/2/05, Hal Fulton <hal9000@hypermetrics.com> wrote:
On 5/2/05, Richard Lyman <lymans@gmail.com> wrote:
On 5/2/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
[#140814] KirbyBase 2.2 — Jamey Cribbs <jcribbs@...>
I would like to announce version 2.2 of KirbyBase, a simple, pure-Ruby
* Jamey Cribbs wrote:
[#140824] ruby executable — Derek Haskin <DHaskin@...>
Derek Haskin wrote:
[#140844] Has anyone used Ruby for validated FDA applications? — Simon Crase <simon_crase@...>
I'm considering using Ruby for a project for a medical application; the
[#140856] Bug Tracker — Andy Stone <xsltguru@...>
Hello all,
Andy Stone wrote:
In article <1115131538.406428.180220@g14g2000cwa.googlegroups.com>,
[#140883] [Solution] Barrel of monkeys — Brian Schrer <ruby.brian@...>
Hello Group,
[#140886] Re: FXRuby 1.2.6 using rubygems — Daniel Sperl <redgeREM0VETHIS@...>
Thanks for your quick supply!!!
[#140888] I rock. — Eric Hodel <drbrain@...7.net>
Yup, rb_intern needs to be cached. Yup, the __self thing is wrong (it
In article <dd6604df17395617d9dd5740c057200a@segment7.net>,
On 03 May 2005, at 11:09, Phil Tomson wrote:
On 5/4/05, Eric Hodel <drbrain@segment7.net> wrote:
[#140890] un_metaclass — "Ara.T.Howard" <Ara.T.Howard@...>
On 5/3/05, Ara.T.Howard <Ara.T.Howard@noaa.gov> wrote:
On Wed, 4 May 2005, Mark Hubbart wrote:
[#140910] Typo-checking instead of static typing — Ben Giddings <bg-rubytalk@...>
Once again, static typing reared its head on the mailing list, and once
On 03 May 2005, at 12:27, Ben Giddings wrote:
Ben Giddings wrote:
On 5/4/05, Jon A. Lambert <jlsysinc@alltel.net> wrote:
On Wednesday 04 May 2005 12:21, Joe Van Dyk wrote:
Hi,
On Thu, May 05, 2005 at 03:49:30AM +0900, Ben Giddings wrote:
[#140915] Question about unit tests — "Vincent Foley" <vfoley@...>
Hello all,
[#140926] traits-0.0.0 — "Ara.T.Howard" <Ara.T.Howard@...>
[#140928] Re: [ANN] traits-0.0.0 — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
On Wed, 4 May 2005, Berger, Daniel wrote:
Ara.T.Howard@noaa.gov wrote:
On Wed, 4 May 2005, Joel VanderWerf wrote:
[#140943] mapping an array to a hash? — Nick Woolley <nickwoolley@...>
Hi,
[#140949] Any Rubyists in Oslo? — Chris Pine <glyconis@...>
Hello all,
[#140953] Re: Ruby, Rails and now og — "Molitor, Stephen L" <Stephen.L.Molitor@...>
>> You write a few methods, add a few columns, write some more methods,
[#140979] C Extensions using MingW (invalid address LoadError) — "Kian Wright" <kianw@...>
Hi
[#140987] Debian: coexistence of debs and gems? — Michael Schuerig <michael@...>
[#140997] Re: Inverting a regular expression? — "Harry Ohlsen" <Harry_Ohlsen@...>
> From: Dan Doel [mailto:dolio@case.edu]
[#141010] Ruby Weekly News delayed — timsuth@... (Tim Sutherland)
The Ruby Weekly News for last week has been delayed. (The edition for
[#141015] writing to a file with gsub! — Ralf Mler <r_mueller@...>
Hi,
Ralf Mler wrote:
On Wed, 4 May 2005 22:30:07 +0900
On May 4, 2005, at 8:59 AM, Ralf Mler wrote:
[#141023] Object#inside_metaclass? — "Ara.T.Howard" <Ara.T.Howard@...>
Ara.T.Howard wrote:
On 5/4/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Ara.T.Howard <Ara.T.Howard@noaa.gov> wrote:
On Wed, 4 May 2005, Martin DeMello wrote:
Ara.T.Howard@noaa.gov schrieb:
On Thu, 5 May 2005, Christoph wrote:
[Ara.T.Howard@noaa.gov, 2005-05-04 20.44 CEST]
On Thu, 5 May 2005, Carlos wrote:
On Wed, 4 May 2005, Ara.T.Howard wrote:
David A. Black wrote:
Hi,
Yukihiro Matsumoto wrote:
In message "Re: [RCR] Object#inside_metaclass?"
Yukihiro Matsumoto wrote:
Yukihiro Matsumoto wrote:
Hi --
[#141053] Bug or on purpose? — Joao Pedrosa <joaopedrosa@...>
Hi,
On 5/4/05, Joao Pedrosa <joaopedrosa@gmail.com> wrote:
On 5/4/05, Austin Ziegler <halostatue@gmail.com> wrote:
[#141057] Fixnum's binary representation — camsight@...
Hi, people!
[#141117] traits (the other ones) vs. mixins — "Ara.T.Howard" <Ara.T.Howard@...>
Ara.T.Howard wrote:
[#141125] object reference handle (like perl's reference to scalar) — Eric Mahurin <eric_mahurin@...>
In ruby, is there a way to get a handle of an object reference?
[#141143] Re: object reference handle (like perl's reference to scalar) — Eric Mahurin <eric_mahurin@...>
> > In ruby, is there a way to get a handle of an object
[#141149] rails+ajax slowness in IE — "Sam Williams" <samuel.williams@...>
I'm trying out a very simple bit of Ajax using the Rails helper. While
[#141154] Class#singleton_of — "Ara.T.Howard" <Ara.T.Howard@...>
[#141163] Float to Rational — Luke Galea <lgalea@...>
Hi All,
Luke Galea wrote:
Jannis Harder wrote:
[#141165] Ruby Editor Plugin for jEdit 0.6 - method completion release — "Rob ." <rob.02004@...>
Version 0.6 of jEdit's Ruby Editor Plugin has been released and is
-----BEGIN PGP SIGNED MESSAGE-----
Alexandru Popescu wrote:> Rob . said:> > Version 0.6 of jEdit's Ruby Editor Plugin has been released and is> > available for download!> >> > http://www.jedit.org/ruby/> > Great job Rob!Mulmesc!
On Thu, 2005-05-05 at 18:38 +0900, Rob . wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Alex, I don't get an exception in this case, but I see what you mean.
I am also getting an exception ...
Belorion a 馗rit :
[#141167] How to interface with an API written in C++? — Derek Haskin <DHaskin@...>
Derek Haskin, May 5:
Piers Harding, May 5:
[#141178] Tkmenubar and checkbuttons — Joe Van Dyk <joevandyk@...>
I have this snippet as part of my Tk menu bar spec:
[#141180] Rails developmnet environment on Windows — Igor Anic <ianic@4dva.hr>
Just started my first Rails project.
[#141196] Whats so different about a Hash? — Andrew Walrond <andrew@...>
Consider:
On 05/05/05, Andrew Walrond <andrew@walrond.org> wrote:
Hi Brian,
Andrew Walrond wrote:
On Thursday 05 May 2005 13:54, Florian Growrote:
Andrew Walrond wrote:
On Thursday 05 May 2005 15:41, Florian Growrote:
[#141208] Re: Fwd: Re: Whats so different about a Hash? — Andrew Walrond <andrew@...>
On Thursday 05 May 2005 13:57, ts wrote:
[#141245] ruby/irb within texmacs — Thomas Adam <thomas_adam16@...>
Hello all -
[#141249] Ruby Editor Plugin for jEdit 0.6 installation question — Brian Buckley <briankbuckley@...>
Hi all,
[#141276] Transaction::Simple 1.3.0 — Austin Ziegler <halostatue@...>
I am pleased to announce the release of Transaction::Simple 1.3.0.
[#141284] Re: object reference handle (like perl's reference to scalar) — Eric Mahurin <eric_mahurin@...>
> > The original intent was to have a way to modify these
To me, this looks more Rubyish. Is there some benefit I'm missing in
[#141290] Re: [ANN] Transaction::Simple 1.3.0 — "John Lam" <jlam@...>
Yes - what you're saying does make sense.
[#141299] another Tk question — Joe Van Dyk <joevandyk@...>
In Tk, what's the best way to show a large table of data that gets
From: Joe Van Dyk <joevandyk@gmail.com>
On 5/5/05, Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> wrote:
From: Joe Van Dyk <joevandyk@gmail.com>
On 5/8/05, Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> wrote:
On 5/8/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
On 5/9/05, Joe Van Dyk <joevandyk@gmail.com> wrote:
[#141304] .. and ... aren't operators, maybe they should be? — Logan Capaldo <logancapaldo@...>
I was just wondering if maybe the range construction syntax could be
[#141307] String Manipulation Nuby Question — Chris Roos <chris@...>
I have a Person with title, forename and surname (all of which are
"#{title} #{forename} #{surname}".strip
[#141311] Ruby Editor Plugin for jEdit 0.6.1 - method completion release II — "Rob ." <rob.02004@...>
Version 0.6.1 of jEdit's Ruby Editor Plugin has been released and is
Karl von Laudermann wrote:
[#141321] Ruby-tk question — Joe Van Dyk <joevandyk@...>
What's the easiest way to rotate a Tk Canvas Polygon?
From: Joe Van Dyk <joevandyk@gmail.com>
On 5/5/05, Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> wrote:
From: Joe Van Dyk <joevandyk@gmail.com>
[#141334] RCR 303: nil should accept missing methods and return nil — John Carter <john.carter@...>
A very simple and generic way of improving the reliability of Ruby
On 5/6/05, John Carter <john.carter@tait.co.nz> wrote:
Luke Graham wrote:
On Fri, 6 May 2005, Hal Fulton wrote:
On 5/5/05, John Carter <john.carter@tait.co.nz> wrote:
On Friday 06 May 2005 12:07 am, Austin Ziegler wrote:
On 5/6/05, Jim Weirich <jim@weirichhouse.org> wrote:
Hi,
On Fri, 6 May 2005, Yukihiro Matsumoto wrote:
On Fri, 6 May 2005, Luke Graham wrote:
On Fri, 6 May 2005, Alexey Verkhovsky wrote:
Hi --
On Sat, 07 May 2005 02:28:18 +0900, Austin Ziegler wrote:
On 5/6/05, Cyent <cyent@xtra.co.nz> wrote:
[#141349] What sound does no duck make? — John Carter <john.carter@...>
Imagine a flock of ducks in the sky. Listen.
[#141359] Help with installing gem in my home directory — "Vincent Foley" <vfoley@...>
Hi everyone,
On 5/6/05, Vincent Foley <vfoley@gmail.com> wrote:
[#141365] Array#squeeze — Martin DeMello <martindemello@...>
The recent mention of String#squeeze made me wonder if it would not be a
[#141368] Re: compiler error: argument of type "VALUE *" is incompatible with parameter of type "VALUE" — me2faster@...
On May 5, 2005, at 2:44 PM, me2faster@excite.com wrote:
[#141371] Can't build Ruby 1.8.2 on Sparc Solaris 10 — "Park Heesob" <phasis68@...>
Hi all,
[#141380] WxRuby or FxRuby — Jens Riedel <JensRie@...>
Hello,
[#141393] unit test — Brian Buckley <briankbuckley@...>
Hello all,=20
Brian Buckley wrote:
[#141402] Amazing Mazes (#31) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#141448] [OG] - 0.16.0 with automated table evolution — Ilias Lazaridis <ilias@...>
I've finished a non-intrusive extension to og (addition of one file,
[#141492] new to ruby - please help w/ code structure? — "Corey" <corey_s@...>
[#141529] [NITRO] - Mr. George Moschovitis applies Censorship on Public Project Forum — Ilias Lazaridis <ilias@...>
To understand further the _real_ difference between Nitro/Og and
Ilias,
Friday wrote:
Hi!
Josef 'Jupp' SCHUGT wrote:
Ilias Lazaridis, May 9:
[#141530] [NITRO] - Mr. Moschovitis Revolutionary Redefinition of an Open Source Project — Ilias Lazaridis <ilias@...>
George Moschovitis wrote
On 5/7/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Bill Guindon wrote:
On Saturday 07 May 2005 20:34, Ilias Lazaridis wrote:
Is there a way of moderating Mr. Lazardis' comments to the group so that
Shalev NessAiver, May 13:
Nikolai Weibull wrote:
[#141558] FXRuby on OS X Tiger — "Hans Fugal" <fugalh@...>
I'm new to the OS X scene, and while I used Panther for a week or two
[#141576] HighLine 0.4.0 — James Edward Gray II <james@...>
HighLine 0.4.0 Released
Hello James,
On May 7, 2005, at 4:19 PM, Vincent Foley wrote:
Indeed, I read it just after I posted :) Sorry about that. However, I
On May 9, 2005, at 3:09 PM, Vincent Foley wrote:
How did you handle the noecho thing on different platforms? I looked
On May 9, 2005, at 5:24 PM, Vincent Foley wrote:
Vincent Foley wrote:
On May 7, 2005, at 4:48 PM, Ryan Leavengood wrote:
James Edward Gray II wrote:
On May 7, 2005, at 6:49 PM, Ryan Leavengood wrote:
James Edward Gray II wrote:
On May 7, 2005, at 8:10 PM, Ryan Leavengood wrote:
[#141598] Vacation - email me when Ilias is gone or people FINALLY stop responding to him — Ryan Davis <ryand-ruby@...>
The signal:noise ratio on this list is terrible. I'm taking a
Hi,
Depending on what sort of hooks you have for filtering: Emails usually
Francis Hwang, May 8:
[#141615] - Sterile Classes / Sterile Meta Classes — Ilias Lazaridis <ilias@...>
Another suggestion for the "Ruby Singleton Classes" or "Exclusive Classes":
In message "Re: [ETYMOLOGY] - Sterile Classes / Sterile Meta Classes"
Yukihiro Matsumoto wrote:
Hi,
[Yukihiro Matsumoto <matz@ruby-lang.org>, 2005-05-08 17.13 CEST]
Carlos wrote:
Hi,
Hi --
Hi,
Hi,
On May 9, 2005, at 1:36 AM, Yukihiro Matsumoto wrote:
ES <ruby-ml@magical-cat.org> writes:
Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
On 05/08/2005 08:43 PM, Yukihiro Matsumoto wrote:
[#141620] Re: [ETYMOLOGY] - Sterile Classes / Sterile Meta Classes — Thomas Adam <thomas_adam16@...>
[#141652] Problem with Math module in extension. — Ernest Ellingson <erne@...>
I'm trying to do something real simple find the sin of an angle in an
Charles Mills wrote:
[#141655] No Thing Here vs Uninitialized and RCR 303 — Cyent <cyent@...>
I'm observing a general trend in the responses to RCR 303.
Cyent a 馗rit :
This isn't about changing programming habits. Having nil return nil
On Mon, 9 May 2005, Bill Atkins wrote:
Bill Atkins wrote:
James Britt schrieb:
Pit Capitain wrote:
On 05/09/2005 04:21 AM, Bill Atkins wrote:
[#141662] RACC - one click installer/cygwin package — "Jon A. Lambert" <jlsysinc@...>
I have both the one-click installer and also the cygwin package. What
[#141672] Dir.glob and File.fnmatch — Thomas Leitner <thomas_leitner@...>
Hi,
[#141685] Re: [ETYMOLOGY] - Sterile Classes / Sterile Meta Classes — Thomas Adam <thomas_adam16@...>
[#141693] Representing Undirected Edges (advice, please) — Gavin Kistner <gavin@...>
Summary
[#141701] Re: Representing Undirected Edges (advice, please) — Nuralanur@...
Dear Gavin,
[#141707] Singleton class terminology — Hal Fulton <hal9000@...>
Just expressing my opinion here.
[#141718] Query about the top level object — Gavri Fernandez <gavri.fernandez@...>
Hi everyone,
[#141744] Analysis of IORCC Entries? — Ryan Leavengood <mrcode@...>
So, I was been browsing http://iorcc.dyndns.org/ and looking at the 2005
[#141764] OT: Small RCR 303 type Joke... — John Carter <john.carter@...>
I have just realized that I have, in all seriousness and in good faith,
[#141776] Stats comp.lang.ruby (last 7 days) — Balwinder Singh Dheeman <bsd.SANSPAM@...>
Stats comp.lang.ruby (last 7 days)
[#141793] Strange segfault on Linux with test-unit — "Daniel Berger" <djberg96@...>
Hi all,
[#141843] An idiom I like... modifiable defaults — Hal Fulton <hal9000@...>
Just thought I'd share a little concept that I find
Hal Fulton wrote:
[#141869] Re: RCR 304: reference/pointer concept — Eric Mahurin <eric_mahurin@...>
Here are a couple of things this might be useful for (I just
[#141875] How to extract texts from html source? — "Sam Kong" <sam.s.kong@...>
Hi, all!
Sam Kong wrote:
[#141879] Ruby Newbie !!! — "Kanthi Kiran Narisetti" <TechAlerts@...>
Hi ALL,
> http://www.ruby-doc.org/ has quite some pointers to documentation. If you
[#141896] fastcgi + lighttpd ? — oxman <no@...>
Hello,
[#141900] Still umlauts — Bertram Scharpf <lists@...>
Hi,
[#141904] Re: Representing Undirected Edges (advice, please) — Nuralanur@...
Dear Jacob,
[#141921] HighLine 0.5.0 — James Edward Gray II <james@...>
HighLine 0.5.0 Released
[#141954] Testing a user application — "Vincent Foley" <vfoley@...>
Hi everyone,
[#141958] Redesign 2005, Round Two — why the lucky stiff <ruby-talk@...>
I'm happy to say that our little redesign team has come to accord on a
why the lucky stiff ha scritto:
gabriele renzi wrote:
James Britt ha scritto:
why the lucky stiff wrote:
On 5/10/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Mark Hubbart, May 11:
Nikolai Weibull ha scritto:
Hi --
David A. Black wrote:
James Britt wrote:
Hi --
David A. Black wrote:
James Britt wrote:
Which song?
On 5/11/05, John W. Long <ng@johnwlong.com> wrote:
> > Which song?
vruz, May 13:
On Thursday 12 May 2005 19:33, Nikolai Weibull wrote:
On 5/12/05, Ben Giddings <bg-rubytalk@infofiend.com> wrote:
Mark Hubbart wrote:
Joel VanderWerf wrote:
Alan Garrison, May 13:
I like this redesign alot. Very beautiful... like Ruby!
Thanks Jeff, I wholeheartedly agree with your comments. I lot of what I
[#141959] sumbit form in rails — Igor Anic <ianic@4dva.hr>
Is there a way in rails to choose controller action to which form will
[#141967] NegaPosi Compiler — SASADA Koichi <ko1@...>
Hi,
[#141972] help with reading part of textfile into matrix — rgilaard@...
Dear all,
[#141995] Re: Representing Undirected Edges (advice, please) — Nuralanur@...
Dear Jacob,
On 5/10/05, Nuralanur@aol.com <Nuralanur@aol.com> wrote:
On Wed, May 11, 2005 at 02:57:48AM +0900, Jacob Fugal wrote:
[#142000] Fwd: Enumerating only months in a Date range? — John Lam <drjflam@...>
Is there a straight-forward way to list all of the months in a Date
On 5/10/05, John Lam <drjflam@gmail.com> wrote:
Thanks, Mark!
[#142013] Problems with rubytalk.com — Wes Moxam <wildwildwes@...>
I was searching for some ruby info via google, and clicked a link to
[#142018] traits-0.1.0 — "Ara.T.Howard" <Ara.T.Howard@...>
[#142023] http-proxy in Ruby? — Michael Schuerig <michael@...>
[#142039] Problems with Amrita2 and HTTP headers. — Wayne Pierce <shalofin@...>
I'm experimenting with different Ruby-based web development tools, but
[#142040] Does any Ruby parser exist ? — Lothar Scholz <mailinglists@...>
Hello ruby-talk,
[#142045] Instiki/Redcloth Escaping — James Edward Gray II <james@...>
I need to use * in my wiki, set to use Textile. How can I escape it,
[#142054] String Hashing Algorithms — "Phrogz" <gavin@...>
Summary
Phrogz wrote:
Joel VanderWerf wrote:
[#142129] options parsing: required and conflict — Kirill Shutemov <k.shutemov@...>
Can I define options dependencies using OptionParser?
Kirill Shutemov wrote:
Is that true, OptionParse has no support of it?
Kirill Shutemov wrote:
Hi,
> I'd had similar idea in the early days, but abandoned it soon.
On 5/24/05, Eric Hodel <drbrain@segment7.net> wrote:
[#142133] ruby vs. java? — "Franz Hartmann" <porschefranz@...>
Hello all,
Franz Hartmann wrote:
Hello Michael and all of you,
Franz Hartmann wrote:
On 5/11/05, Franz Hartmann <porschefranz@hotmail.com> wrote:
Hello Logan,
Ralf,
> (physician = Arzt, physicist = Physiker) :-)))
let me explain honey :-) :
well now, i have to work my way thru quite a lot of very kind mails...
Franz Hartmann a 馗rit :
Hello Jaypee,
Franz Hartmann a 馗rit :
On Wed, 11 May 2005 17:57:10 +0900
[#142148] Re: ruby vs. java? — Steve Callaway <sjc2000_uk@...>
Franz,
[#142195] RubyForge downtime — Tom Copeland <tom@...>
Hello all -
On Wed, 2005-05-11 at 09:38 -0400, Tom Copeland wrote:
On 12/05/05, Tom Copeland <tom@infoether.com> wrote:
[#142199] Standard Library patches - rational, delegate — "Dave Burt" <dave@...>
Hi,
[#142213] defining a custom to_yaml method to inline hashes — "Ara.T.Howard" <Ara.T.Howard@...>
[#142224] alternatives to ? : contruct — "John-Mason P. Shackelford" <jpshack@...>
As an alternative to:
I don't believe one can use _else_ with an expression modifier. If we
On May 11, 2005, at 2:37 PM, John-Mason P. Shackelford wrote:
On 5/11/05, John-Mason P. Shackelford <jpshack@gmail.com> wrote:
[#142244] How to force a method redefinition ? — dm1 <dmertz@...>
Hello,
[#142258] Ruby Challenge — Pit Capitain <pit@...>
Hi Quizzers,
Ruby can get you through a few pages. But pretty soon you run into a
Indeed, you'll import that. pick hill. ;)
[#142260] Re: object loops and what they return — Eric Mahurin <eric_mahurin@...>
That sure looks ugly. I don't see any advantage of this over:
Eric Mahurin wrote:
Brian Schrer wrote:
On May 12, 2005, at 7:35 AM, Robert Klemme wrote:
* Jim Weirich <jim@weirichhouse.org> [2005-05-12 23:32:52 +0900]:
On Thursday 12 May 2005 10:32, Jim Weirich wrote:
Hi --
On Thursday 12 May 2005 13:38, David A. Black wrote:
Ben Giddings wrote:
[#142268] Request for advice on applying a license — Nikolai Weibull <mailing-lists.ruby-talk@...>
Hi!
On Wednesday 11 May 2005 18:59, Nikolai Weibull wrote:
Ben Giddings <bg-rubytalk@infofiend.com> writes:
On May 12, 2005, at 9:16 AM, Christian Neukirchen wrote:
James Edward Gray II, May 12:
Nikolai Weibull <mailing-lists.ruby-talk@rawuncut.elitemail.org> writes:
Christian Neukirchen, May 13:
Nikolai Weibull <mailing-lists.ruby-talk@rawuncut.elitemail.org> writes:
On Thursday 12 May 2005 10:16, Christian Neukirchen wrote:
[#142287] Ruby: No such file to load -- ubygems (LoadError) — "Brian Takita" <brian.takita@...>
Hello,
Mark, thank you for your response.
I tried performing the command "gem install rubygems"
On 5/12/05, Brian Takita <brian.takita@gmail.com> wrote:
I removed the RUBYOPT, but irb was still able to run.
[#142295] Continued Strings — James Edward Gray II <james@...>
Here's an interesting code fragment from a Ruby Quiz solution this week:
[#142301] Unresolved symbols dlclose, dlopen, dlerror, dlsym — me2faster@...
I'm getting unresolved symbols from the linker related to the dl
[#142342] Go through directories recursively — Jens Riedel <JensRie@...>
Hello,
Jens Riedel wrote:
On Thu, 12 May 2005, Robert Klemme wrote:
[#142378] Amazing Mazes (#31) — Ruby Quiz <james@...>
Wow, these solutions are great fun to play with. I think next week's quiz needs
Ruby Quiz wrote:
Hi Clifford!
Glenn M. Lewis wrote:
Clifford Heath wrote:
[#142388] ruby-dev summary 26090-26127 — Takaaki Tateishi <ttate@...>
Here is a ruby-dev summaries:
[#142399] sqlite-ruby gem not building extension — Jim Freeze <jim@...>
Hi all
On Fri, 13 May 2005, Jim Freeze wrote:
* Ara.T.Howard@noaa.gov <Ara.T.Howard@noaa.gov> [2005-05-13 01:35:28 +0900]:
[#142404] We need a comprehensive test suite — Daniel Berger <djberge@...>
All,
[#142440] More informative return value for Regexp — Logan Capaldo <logancapaldo@...>
Is there a way to get a Regexp to tell you if it didn't match because
[#142462] Get back data from a child (with exec) — Lawrence Oluyede <raims@...>
[#142469] Nuby: 'importing shell script variables' eval/proc/binding — Dany Cayouette <danyc@...>
Greetings,
[#142473] rubycocoa - uninitalized constant NSObject — Kevin Lanik <kevinl@...>
I'm new to ruby and trying to embed it in some objective-c using
[#142493] ruby smtp and gmail — ruby talk <rubytalk@...>
[code]
[#142515] Earn money searching the Web. It really works. — alandavis91310@...
Hey, any of you checked this out? Basically, you register & each time
[#142533] Cows and Bulls (#32) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#142546] strange error from soap server — jm <jeffm@...>
I came across this with a larger program to expose the functionality of
[#142554] Ruby Central, Inc. Donation and Pledge Site (including RubyConf sponsorship) — "David A. Black" <dblack@...>
Dear Rubyists,
Can we have at least partial control over how our donation is spent?
Hi --
David A. Black ha scritto:
[#142593] Customing the Exception class — Daniel Berger <djberge@...>
Hi all,
[#142613] RoR on WinXP/Apache — "gander" <ganderso@...>
I'm trying to get typo up on my local box (WinXP).
[#142620] ruby in WinXP as an automation tool — "kevin.gc@..." <kevin.gc@...>
Can anyone tell me if it can be done?
ruby talk <rubytalk@gmail.com> wrote:
Martin DeMello schrieb:
On 5/17/05, Pit Capitain <pit@capitain.de> wrote:
[#142623] Ruby indenting in jEdit — Jay Levitt <jay+news@...>
For some reason, jEdit 4.3pre2 (JRE5, Windows XP SP2) wants to indent
[#142629] Possible bug in Date/ParseDate — Matthew Keene <dfg778@...>
I have found what appears to be a bug in either the Date or the
[#142650] how to keep hash sort from YAML — dave <dave.m@...>
[#142654] Net::NNTP Client Library 0.0.2 (beta) is released — Dr Balwinder S Dheeman <bsd.SANSPAM@...>
URLS
[#142655] re-opening STDIN after it's been closed? — David Vincelli <micologist@...>
here's a summary of a script I just wrote:
[#142657] RAA down? — "Daniel Berger" <djberg96@...>
Hi all,
[#142668] Rant 0.3.8 — Stefan Lang <langstefan@...>
Rant is a flexible build tool written entirely in Ruby,
Stefan Lang wrote:
[#142671] infinite number of singleton_classes — Lionel Thiry <lthiryidontwantspam@...>
Hello!
On Sun, 15 May 2005, Lionel Thiry wrote:
Ara.T.Howard@noaa.gov a 馗rit :
Lionel Thiry wrote:
Hal Fulton a 馗rit :
On Mon, 16 May 2005, Lionel Thiry wrote:
Ara.T.Howard@noaa.gov schrieb:
On Tue, 17 May 2005, Christoph wrote:
Hi --
David A. Black schrieb:
Hi --
David A. Black schrieb:
Hi --
David A. Black schrieb:
David A. Black a 馗rit :
[#142688] Formatting date without leading zeros — "Tom Reinhart" <alltom@...>
I've tried to do the best research I can into this before posting here,
Tom,
Hi,
Hi --
[#142689] compiling opengl — altern <enrike@...>
hi
[#142697] Strange behaviour of class Fixnum in exponentation —
The german Ruby forum recognized a strange behaviour of the Fixnum class.
[#142704] Why is this DRb code so slow? — Jim Freeze <jim@...>
Ok, I'm stumped. I have a simple drb example, and it is
[#142705] I can't establish network connections with Ruby. — meaneyedcat@...
For some reason, I am unable to establish network connections anymore
[#142735] Precedence 0.6 — Farrel Lifson <farrel.lifson@...>
I've made the initial release of Precedence which is a small API to
[#142737] Ruby/Odeum vs. Lucene Performance — "Zed A. Shaw" <zedshaw@...>
Hi All,
[#142764] Stats comp.lang.ruby (last 7 days) — Balwinder Singh Dheeman <bsd.SANSPAM@...>
Stats comp.lang.ruby (last 7 days)
[#142765] Class.forName ? — baalbek <rcs@...>
In Java there is a construct like this:
[#142794] determining common characters from start of two strings? — "Bill Kelly" <billk@...>
Hi,
[#142806] IRB, Mac OS X, command-line require via "-r" and Bus Errors — "James Adam" <james.adam@...>
Hey All,
James Adam <james.adam@gmail.com> wrote:
[#142808] Ruby Weekly News 2nd - 15th May 2005 — timsuth@... (Tim Sutherland)
http://www.rubyweeklynews.org/20050515.html
I've got some rails code that is failing in a very strange way. It is
Markus,
On May 23, 2005, at 2:30 PM, Markus wrote:
On Mon, 2005-05-23 at 13:46, Jamis Buck wrote:
On May 23, 2005, at 4:24 PM, Markus wrote:
[#142811] Newbie: pinpoint my mistake please.. — "dobest03" <dobest03@...>
Hello.
[#142834] Doubt about GC — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#142850] rb_gc_mark question — "Ara.T.Howard" <Ara.T.Howard@...>
[#142858] Alternatives to Meetup.com? — "James G. Britt " <ruby.talk.list@...>
I've received E-mail from Meetup.com that the Phoenix Ruby Group is
> I've received E-mail from Meetup.com that the Phoenix Ruby Group is
[#142863] Rails on Altix ia64 — "Adam P. Jenkins" <ajenkins@...>
Has anyone successfully run a Rails application on an Altix, or other
In article <SpednduBRbQs3jrfRVn-qA@rcn.net>,
[#142870] Extending an Instance only Once — Gavin Kistner <gavin@...>
I have a method that requires that the arguments passed to it have
> I have a method that requires that the arguments passed to it have been
[#142871] freenode call for coders — Martin DeMello <martindemello@...>
Just passing this along
[#142879] Ruby/TK on Mac OS X Tiger? — "Tom Nakamura" <imifumei@...>
Can anyone do a quick test to see if "require 'tk'" work by default on
Hi,
Mark Hubbart wrote:
Hi --
On 5/18/05, Dave Baldwin <dave.baldwin@3dlabs.com> wrote:
[#142901] Help regarding def wrapper — Nikolai Weibull <mailing-lists.ruby-talk@...>
I窶囘 like to have a def that I can scope in one go, i.e.,
On May 17, 2005, at 7:52 AM, Nikolai Weibull wrote:
Hello Nikolai,
[#142910] ruby postgresql library: time out error — rgilaard@...
Dear all,
[#142932] "Verbose" backtracing — Imobach Gonz疝ez Sosa <imobachgs@...>
Hi all,
[#142971] OSX Mail.app performance — tsuraan <tsuraan@...>
Sorry about the OT, but this is the only high-volume list I'm on that
[#142976] Noobie ... Simple Inheriting from Hash Question .. — "Neville Burnell" <Neville.Burnell@...>
Hi,
[#143002] RMagick on MacOS X (can't read a JPG) — Gavin Kistner <gavin@...>
I am trying to automate a bunch of thumbnail creations, and thought
[#143021] Why's (Poignant) Guide to Ruby, Chapter Six: Downtown — why the lucky stiff <ruby-talk@...>
Ruby-Talk, I have a new hunk of pages for you.
[#143041] Compiling MySQL-Ruby on Tiger — "pat allan" <pat.allan@...>
Hi all
Possibly avoiding the issue, one workaround might be building your own
ToddG wrote:
> ToddG wrote:
Hi Jonathon
[#143062] syntax sugar: treating an object like a method — Eric Mahurin <eric_mahurin@...>
I'm thinking of yet another RCR and would like to see if
On 5/18/05, Eric Mahurin <eric_mahurin@yahoo.com> wrote:
[#143076] Re: howto make something like Errno::##, for my C ext, or do I need to? — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
[#143080] Re: syntax sugar: treating an object like a method — Eric Mahurin <eric_mahurin@...>
--- "David A. Black" <dblack@wobblini.net> wrote:
[#143087] (newbie Q) opposite of inspect for strings — "Basile Starynkevitch [news]" <basile-news@...>
[#143107] Building Ruby in IRIX64 — Joe Van Dyk <joevandyk@...>
Hi,
[#143112] accessing each character of a string — Boris Glawe <boris@...>
Hi,
[#143125] Re: accessing each character of a string — "Pe, Botp" <botp@...>
[#143167] Idiomatic way for collecting elements using REXML? — John Lam <drjflam@...>
I'm writing some REST-ian code to talk to the Amazon Web Services
[#143182] Re: syntax sugar: treating an object like a method — Eric Mahurin <eric_mahurin@...>
--- Christian Neukirchen <chneukirchen@gmail.com> wrote:
[#143193] Win32API question - pathstriptoroot — "Berger, Daniel" <Daniel.Berger@...>
Hi all,
On 5/19/05, Berger, Daniel <Daniel.Berger@qwest.com> wrote:
On 19/05/05, Austin Ziegler <halostatue@gmail.com> wrote:
The api call is just taking the char buffer you're sending it, dropping a null after the path to terminate it just like a normal Windows application would expect. I would have thought that the Win32API module would take care of this sort of thing for you, but that doesn't seem to be the case.
[#143208] Tiling Turmoil (#33) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
[#143209] Re: [QUIZ] Tiling Turmoil (#33) — Jason Bailey <azrael@...>
Is there an assumption that this is a square or can it be a rectangle?
[#143211] Multiple return and parallel assignement — "jean" <g.castaldi@...>
Hi,
[#143225] Re: Multiple return and parallel assignement — Eric Mahurin <eric_mahurin@...>
David A. Black <dblack@wobblini.net> wrote:
Michael Ulm wrote:
[#143229] Web services and Ruby — Luke Kanies <luke@...>
Hi all,
[#143251] Anonymous module undefined method error — "johng" <jgoalby@...>
Hi all
Hi,
[#143252] HighLine 0.6.0 -- Now with menus! — James Edward Gray II <james@...>
HighLine 0.6.0 Released
Wow, I go away for about a week and BAM, all the work's done! I guess
I get an install error on termios. Highline does not install (regardless of
You do not need termios for Windows, so you might try:
On 5/22/05, Greg Brown <greg7224@gmail.com> wrote:
[#143263] Ruby smile — baalbek <rcs@...>
Mostly for the newbies who stumbles into this NG, wondering what Ruby is
[#143297] Determining what file contains a module/class — Nicholas Wieland <nicholas_wieland@...>
Hi *,
[#143302] Ruby and CGI error 500 — "greyfade@..." <greyfade@...>
this is a problem that's been driving me nuts ever since i first tried
[#143305] join not in Enumerable — Logan Capaldo <logancapaldo@...>
Just a few minutes ago I was playing with irb as I am wont to do, and
[#143312] Ruby Debugger. Remove catchpoint? — David Corbin <dcorbin@...>
Is there someway to remove a catchpoint while in the debugger? Better yet, is
[#143325] Ruby/Tk and BWidget — nornagon <nornagon@...>
Hi. I'm scratching my head over how to get BWidget working
[#143328] Vim's Ruby indenting — "Vincent Foley" <vfoley@...>
Hi to all the vim users,
> method(foo,
Yes, I do. And I have this version installed.
Ah no, I did not. Thought I did. I used the new version and it fixed
Vincent Foley wrote:
On 23/05/05, Nikolai Weibull
[#143337] Uniform vector class, inheriting from Array: How to make sure that methods return a Vector and not an Array? — Thomas <sanobast-2005a@...>
Hi folks,
On 22/05/05, Thomas <sanobast-2005a@yahoo.de> wrote:
> I'm quite shure you don't need to do what you are doing, because this
On 5/23/05, Thomas <sanobast-2005a@yahoo.de> wrote:
[#143345] Gem Dependancies — James Edward Gray II <james@...>
With HighLine, we've recently moved over to using termios... on Unix
On Sunday 22 May 2005 01:27 pm, James Edward Gray II wrote:
[#143366] Stats comp.lang.ruby (last 7 days) — Balwinder Singh Dheeman <bsd.SANSPAM@...>
Stats comp.lang.ruby (last 7 days)
On 5/22/05, Balwinder Singh Dheeman <bsd.SANSPAM@cto.homelinux.net> wrote:
Hi --
[#143375] sciTe editor IRB window getting double characters — "soxinbox" <faker@...>
Has any one had a problem with the latest release of Ruby and the included
Here's some solutions for scite configuration mistakes from another list:
David Boyd:
[#143411] HighLine 0.6.1 — James Edward Gray II <james@...>
HighLine 0.6.1 Released
[#143431] Endian packing errors. — Brian Mitchell <binary42@...>
I have a number I must convert to a network long. I have been using
* Brian Mitchell <binary42@gmail.com> [2005-05-24 02:53:52 +0900]:
On 5/23/05, Jim Freeze <jim@freeze.org> wrote:
[#143433] RDoc and SWIG — Gennady Bystritksy <gfb@...>
Hi, rubyists
[#143448] UDP select()/recvfrom() delay under Windows? — David Holroyd <ruby-talk@...>
I have the following snippet of code in a UDP client I'm knocking
David Holroyd <ruby-talk@badgers-in-foil.co.uk> writes:
[#143457] Re: loop over array with indices — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
[#143460] Tk read-only text box — nornagon <nornagon@...>
Another Tk question.
From: nornagon <nornagon@gmail.com>
[#143479] Making a scripting tutorial — "Vincent Foley" <vfoley@...>
Hello everyone,
Vincent Foley wrote:
[#143515] if __FILE_ == $0 executed twice — Han Holl <han.holl@...>
Hello,
On Tue, 24 May 2005, Han Holl wrote:
Hi,
On 5/25/05, nobuyoshi nakada <nobuyoshi.nakada@ge.com> wrote:
[#143519] Tk::BWidget::NoteBook: retrieve current page — nornagon <nornagon@...>
Yet Another Tk Question.
From: nornagon <nornagon@gmail.com>
[#143542] Re: Killing a Process started with Kernel.system — "Berger, Daniel" <Daniel.Berger@...>
[#143550] new article — pat eyler <pat.eyler@...>
Sorry for posting about my own article, but I'm interested in feedback,
On 24/05/05, pat eyler <pat.eyler@gmail.com> wrote:
On 5/24/05, Brian Schrer <ruby.brian@gmail.com> wrote:
Hi,
[#143584] Re: Tk read-only text box — "Pe, Botp" <botp@...>
Hidetoshi NAGAI [mailto:nagai@ai.kyutech.ac.jp] wrote:
From: "Pe, Botp" <botp@delmonte-phil.com>
[#143611] Browsing with Cookies — Jim Van Fleet <jim@...>
I am writing an app that takes in some basic data and then scours some
[#143630] Zerofy — "aartist" <aartist@...>
How I can zerofy the day and month. I like to add 0 in the beginning.
On Wed, 2005-05-25 at 14:25, aartist wrote:
[#143655] A different perspective on Ruby. — ES <ruby-ml@...>
ES wrote:
On 26/05/05, gsinclair@gmail.com <gsinclair@gmail.com> wrote:
Brian Schrer wrote:
On Thursday 26 May 2005 04:11 pm, Glenn Parker wrote:
Joe Van Dyk <joevandyk@gmail.com> writes:
> First, an OT question: Is there a Firefox extension that lets me
[#143688] Tiling Turmoil (#33) — Ruby Quiz <james@...>
The quiz mentioned a mathematical proof (by Solomon Golomb), that could be used
I am a bit late with my solution, but it's my first Ruby Quiz, and my
>1) Style in general. What have I done that is 'unrubyish'? Are there
[#143694] Re: [ANN] cursor-0.6 — Eric Mahurin <eric_mahurin@...>
--- Caleb Clausen <vikkous@gmail.com> wrote:
Eric Mahurin wrote:
--- Caleb Clausen <vikkous@gmail.com> wrote:
On 5/28/05, Eric Mahurin <eric_mahurin@yahoo.com> wrote:
[#143699] Language corrections — Joe Van Dyk <joevandyk@...>
Every so often, I see a post that either starts or ends with
[#143702] metaclass in python, role in perl and AOP in ruby — Lionel Thiry <lthiryidontwantspam@...>
Hello!
Lionel Thiry ha scritto:
[#143705] Intellisense and the psychology of typing — andrew.queisser@...
Yesterday I typed in some C++ code that called a function with two
On Fri, May 27, 2005 at 01:35:19AM +0900, andrew.queisser@hp.com wrote:
Hello Thomas,
Lothar Scholz wrote:
On 5/30/05, Richard Cole <rcole@itee.uq.edu.au> wrote:
Hello Austin,
On 5/31/05, Lothar Scholz <mailinglists@scriptolutions.com> wrote:
Austin Ziegler wrote:
On 5/31/05, Caleb Clausen <vikkous@gmail.com> wrote:
--- Austin Ziegler <halostatue@gmail.com> wrote:
On 5/31/05, Eric Mahurin <eric_mahurin@yahoo.com> wrote:
I have rapidly skimmed over the few responses here. Auto completion is
[#143714] MySQL-Ruby — Marcelo Paniagua <paniagua@...>
Hi there!
[#143735] Broken IRB in Windows? — Robert Mannl <ro@...>
Hello!
[#143737] Licensing Question — Zach Dennis <zdennis@...>
I wrote a suite of tools, webstar-tools,
[#143741] hash of hash and complex data structure — ngoc <ngoc@...>
Hi
[#143755] ADV: Rail Beta Book now available — Dave Thomas <dave@...>
Folks:
On Fri, 27 May 2005, Dave Thomas wrote:
[#143776] Methods with lots of arguments — Dido Sevilla <dido.sevilla@...>
Just went through a bit of refactoring on a bit of Ruby code that I've
[#143778] ruby-termios: Patch to make it work under both 1.8 and 1.9 — Lloyd Zusman <ljz@...>
[#143799] Plz comment — Dr Balwinder S Dheeman <bsd.SANSPAM@...>
Dear Rubiest!
* On May 27 23:45, Dr Balwinder S Dheeman (ruby-talk@ruby-lang.org) wrote:
Dr Balwinder S Dheeman wrote:
[#143804] Difference between 'def self.…' and module_function … — Nikolai Weibull <mailing-lists.ruby-talk@...>
I thought I new the difference between writing
[#143812] Ruby on Rails interest in comp.lang.python — Stephen Kellett <snail@...>
A heads up to the Rails folks.
"Stephen Kellett" <snail@objmedia.demon.co.uk> wrote:
Which makes me think of... is there a ruby equivalent of Twisted ?
[#143820] RI Conceptional Showstopper Bug. — Lothar Scholz <mailinglists@...>
Hello ,
Hello ,
[#143825] How to build an index of phrases in a phrase/sentence? — Dan Fitzpatrick <dan@...>
I am trying to build an indexing structure on some phrases. Most phrases
On May 27, 2005, at 1:39 PM, Dan Fitzpatrick wrote:
[#143842] Coercion and ranges — Philipp Kern <trash@...>
Dear Ruby fellows,
[#143869] Useless hack of the saturday morning — gabriele renzi <surrender_it@...>
Hi gurus and nubys,
gabriele renzi <surrender_it@remove-yahoo.it> writes:
Christian Neukirchen ha scritto:
gabriele renzi <surrender_it@remove-yahoo.it> writes:
what about a more Ruby-like extension:
[#143884] preventing Object#send from dispatching to a global method? — Francis Hwang <sera@...>
Is there a way to prevent Object#send from dispatching to a global
Okay, thanks for the tip, that's definitely giving me some ideas.
On Saturday 28 May 2005 11:05 pm, Francis Hwang wrote:
Francis Hwang wrote:
On May 30, 2005, at 9:02 PM, Glenn Parker wrote:
[#143900] IO with external program — "Danny Beaudoin" <beaudoin_danny@...>
Hi!
[#143962] How to find ruby? — Mark Probert <probertm@...>
[#143975] Ruby-VTK-0.2.0 was released — Seiya Nishizawa <seiya@...>
Hi everyone,
Hi!
On 5/31/05, Josef 'Jupp' SCHUGT <jupp@gmx.de> wrote:
[#143976] Stats comp.lang.ruby (last 7 days) — Balwinder Singh Dheeman <bsd.SANSPAM@...>
Stats comp.lang.ruby (last 7 days)
On Mon, 30 May 2005, Balwinder Singh Dheeman wrote:
On 5/31/05, David A. Black <dblack@wobblini.net> wrote:
pat eyler wrote:
On 05/31/2005 11:44 PM, James Britt wrote:
On May 31, 2005, at 6:15 PM, Dr Balwinder S Dheeman wrote:
On May 31, 2005, at 6:26 PM, James Edward Gray II wrote:
On Wed, 2005-06-01 at 23:31 +0900, James Edward Gray II wrote:
On 6/1/05, Tom Copeland <tom@infoether.com> wrote:
[#143978] RubyGems HackFest Weekend #1 is complete! — Ryan Davis <ryand-ruby@...>
http://blog.zenspider.com/archives/2005/05/rubygems_hackfe.html
Ryan Davis <ryand-ruby@zenspider.com> wrote:
[#143998] WIN32API — Wolfgang <wollez@...>
Hello,
[#144004] creating variable with eval — "Geert Fannes" <Geert.Fannes@...>
Hello, what is the scope of a variable created inside an eval()
Robert Klemme wrote:
[#144042] RubyGems and the FreeBSD ports tree — Jonathan Weiss <jw@...>
Cheers
[#144043] Local variables and functions — Robert Mannl <ro@...>
Hi!
[#144050] rb_f_lambda vs. rb_block_proc : what are the issues? — Jeremy Henty <jeremy@...>
Now that I'm maintaining Ruby/FLTK, I'm seeing lots of "rb_f_lambda()
[#144058] Ruby in C# — "PD" <dragoonEX@...>
Hi.
[#144077] Ruby Weekly News 23rd - 29th May 2005 — timsuth@... (Tim Sutherland)
http://www.rubyweeklynews.org/20050529.html
[#144082] Where to get the RubyGems documentation — Lothar Scholz <mailinglists@...>
Hello ruby-talk,
[#144096] parseargs-0.0.0 — "Ara.T.Howard" <Ara.T.Howard@...>
Ara.T.Howard wrote:
Hal Fulton wrote:
On Wed, 1 Jun 2005, Joel VanderWerf wrote:
Hello,
On Wed, 1 Jun 2005, Zev Blut wrote:
Hello,
Zev Blut wrote:
On Thu, 2 Jun 2005, Zev Blut wrote:
Ara.T.Howard schrieb:
On Fri, 3 Jun 2005, Pit Capitain wrote:
[#144111] Gnome's Guide to WEBrick — James Edward Gray II <james@...>
I can't seem to find Gnome's Guide to WEBrick. I know if moved
[#144123] mswin32-ruby17.dll, which distribution contains it — jcb@...
I just downloaded SOAP4r. I get an error stating that
Ruby Weekly News 24th April - 1st May 2005
http://www.rubyweeklynews.org/20050501.html
Here it is, all the latest news from two weeks ago ...
I will hopefully have the next newsletter in the next few days.
(Which you shouldn't use as an excuse for not reading this one!)
Ruby Weekly News 24th April - 1st May 2005
------------------------------------------
Ruby Weekly News is a summary of the week's activity on the ruby-talk
mailing list / the comp.lang.ruby newsgroup, brought to you by
Tim Sutherland.
Articles and Announcements
--------------------------
* Ishii-san died
daigo announced to RedHanded "Masaru Ishii, a great Japanese Rubyist,
died at the rail disaster, where 106 people died. He introduced
RubyUnit with the author, Suketa-san. It was the predecessor of the
current Test::Unit in Ruby 1.8."
"I love unit testing. I pay his last respects."
Ruby User Groups
----------------
* Omaha, NE Ruby User's Group First Meeting
Blaine Buxton announced a new user group - for Omaha, Nebraska, U.S.
The first meeting was on the second of May 2005.
* Seattle.rb Meeting Tonight
Ryan Davis announced the April 28th 2005 meeting of the Seattle.rb
user group.
The plan was for Ryan to talk about profilers, then demonstrate some
"very very cool stuff". "Eric will also be demonstrating his code
metric analyzer for SVN."
* tulsa.rb
Tim Morgan and others were looking for other Rubyists in Tulsa,
Oklahoma in the U.S., to "create a Tulsa Ruby Brigade."
(Interestingly, they were using 43Things.com to co-ordinate.)
Quote of the Week
-----------------
Curt Hibbs announced that Ruby is the "Most Loved" programming language:
"Ruby is loved 3 times more than Python
and a whopping 50 times more than Java!"
Is anyone surprised? ;-)
Threads
-------
Interesting threads this week included:
Cloning into an object
----------------------
Eric Mahurin asked how he could copy one object into another
(shallow copy). "It would be nice to handle the case where the objects
have a different class, but I would at least like to know how to do it
when the classes are the same."
As an example, he wanted to be able to write
dest = Object.new # or String.new if necessary
source = "hello world"
destid = dest.id
source.clone_into(dest)
dest -> "hello world"
dest.id==destid -> true
dest.class -> String
George Ogata said that the evil.rb project defines an Object#become
method, which does what is desired. It is modelled after the Smalltalk
method of the same name.
Robert Klemme suggested simply copying the instance variables from the
source object into the destination. He noted however that this wouldn't
work well for objects defined in C, such as String and Array, because
these have state which is only visible from the C level.
Eric tried out Object#become, and found it did what he wanted.
"It looks like it might be made standard in ruby at some point."
"Anybody know when/if become will be made standard?"
nobu replied,
"When: time_t wrap arounds (where sizeof(time_t) == 8), perhaps.
If: Matz.become(Evil) executed successfully."
Per-project RubyGem stats
-------------------------
Tom Copeland: "One nice thing about RubyForge is that you can see how many
times your project has been downloaded. But downloads via RubyGems don't
get put in the RubyForge database, so they don't show up in the charts.
This is sad."
He then gave a link that provides download stats for the top 500 RubyGems
in the current month.
Lyle Johnson "Huh. What are these "Rake" and "Rails" gems that are getting
so many downloads?" ("P.S. That was a joke, people.")
determining when inside `class << self'
---------------------------------------
Ara.T.Howard wondered if it was possible to implement a method
inside_metaclass? so that
class << foo
p inside_metaclass? #=> true
end
p inside_metaclass? #=> false
(Note: There is no consensus that these things should be called
"metaclasses". A variety of names were discussed in a thread covered last
week, "Article: Seeing Metaclasses Clearly".)
Mark Hubbart noticed that "metaclasses have a peculiar inspect value", and
provided an implementation of inside_metaclass? that parses the inspect
output. "This code is breakable, but probably only if you try to".
Carlos came up with
self.is_a?(Class) && !self.ancestors.include?(self)
George Ogata gave a C implementation that used
FL_TEST(self, FL_SINGLETON)
The above is a robust solution, unlike the previous suggestions which can
be broken by someone e.g. changing Class#inspect or Module#ancestors.
Robert Klemme wrote a pure-Ruby implementation that attempts to call
self.allocate, and if it fails, checks the exception message to see if it
is "can't create instance of virtual class".
Along the way, Mark Hubbart had discovered that if you dup a metaclass,
you gain the ability to instantiate it.
Mark found this surprising, and George Ogata explained that "duping a
metaclass doesn't really return a metaclass. That is, it is no longer a
thing tied to one object; it's just a free-roaming class like any other."
"What you may have noticed is that #dup-ing a class doesn't copy it's
singleton-class-ness, but #clone-ing does. Replace your `dup' with
`clone', and you'll get an error, since you can't instantiate the clone".
There was further discussion of this behaviour.
BLOG: zenprofile (& berkeley) & zenoptimize
-------------------------------------------
Ryan Davis blogged about a couple of tools he was developing.
The first was zenprofile, a new profiler which "tries to strike a balance
between code readability and speed".
The profiler bundled with Ruby 1.8 (profile.rb) is very slow. On the other
hand, it's implementation is simple - 65 lines of pure Ruby code. (It uses
set_trace_func to wrap all method calls.)
Shugo Maeda's ruby-prof is a newer library that is much faster - thirty
times faster in some cases. It is also more complex - 701 lines of code
which is a mixture of C and Ruby.
Ryan attempted to rewrite ruby-prof to be pure Ruby code, but found that
it was using too many Ruby internals for this to be easy. Instead, he
ported the 65-line profile.rb to C. (Using RubyInline.) The result was 182
lines of C code that was almost as fast as Shugo's (perhaps two times
slower).
The second tool was zenoptimizer. It uses ruby2c, RubyInline and "a
lightweight version of zenprofile" to create a library that will
automatically optimise performance critical sections of code in your
program when you use ruby -rzenoptimizer your_prog.rb.
Building Ruby extensions on OS X Tiger
--------------------------------------
Richard Kilmer forwarded a message from Tony Arnold explaining how to
build native extensions for the Ruby shipped with Mac OS X Tiger. (It
involved editing rbconfig.rb.) Chad Fowler gave the following alternative
solution:
sudo gem install fixrbconfig
sudo fixrbconfig
There were some comments as to what the exact values of various flags like
LIBRUBY_LDSHARED should be.
Chad indicated he may release another version of his "fixer upper gem" to
improve on these.
ActiveRecord auto populated columns
-----------------------------------
Brandon Campbell knew of some fields that would be added automatically by
ActiveRecord (which is used by Rails) - created_on and updated_by.
Where could he find the full list of fields that are added?
Chris McGrath pointed out the MagicFieldNames page on the Rails wiki.
Performance of SyncEnumerator
-----------------------------
Matt Mower profiled some of his code, and found that the following code
was taking up a lot of time (particularly in calls to Kernel.callcc).
# Re-formatted from Matt's original code
def euclidean_distance(vector)
Math.sqrt(
SyncEnumerator.new(self, vector).collect { |i, j|
(i-j) ** 2
}.inject(0) { |s, v| s + v }
)
end
"However I'm now wondering if the magic which makes SyncEnumerator work is
of the expensive kind (I'm assuming this is where all the Kernel#cc calls
are coming from as well)."
SyncEnumerator is used to take two (or more) "internal iterators"
(iterators that use yield, for example Array#each) and iterate over both
of them at the same time.
Ken Kunz gave a link to a RedHanded post Enumerate Side-by-side with
SyncEnumerator. The comments replying to the post suggest the use of
Enumerable#zip, which does a similar thing to SyncEnumerator but performs
much better.
Matt's code converted to use zip might look like
def euclidean_distance(vector)
sum = self.zip(vector) { |i, j|
(i-j) ** 2
}.inject(0) { |s, v| s + v }
Math.sqrt(sum)
end
The reason for the big difference is that SyncEnumerator uses
continuations (which are implemented inefficiently in the current Ruby
interpreter), while Enumerable#zip converts its arguments into Arrays.
(Which is a problem when the argument is an infinite or large sequence.)
Matt himself re-implemented his method in a similar way to:
def euclidean_distance2(vector)
sum = 0
each_with_index { |x, i|
y = vector[i]
sum += (x-y) ** 2
}
Math.sqrt(sum)
end
He concluded with "It's a pity about the slowness of continuations since
we agree that SyncEnumerator provides a very neat solution. As you
observed maybe Rite/YARV will improve the situation. We can but hope!"
Ruby and IDE
------------
A thread discussing Ruby IDEs popped up again.
Much of it compared graphical IDEs like Eclipse with Emacs and vi(m).
Austin Ziegler had some interesting comments; "Type-based code completion
is the very thing that will NOT work in Ruby. It *can't*. The best you can
get is a "statistically likely" code completion that may break under a lot
of circumstances."
"IMO, a good Ruby IDE will support debugging; have ri and rdoc information
easily and quickly available, and that's about it."
Days in month
-------------
Dan Fitzpatrick wanted to know whether there is a method in Date or Time
to tell you what the last day of the month is.
The answer was "no", but Ken Kunz posted
class Date
def days_in_month
Date.civil(year, month, -1).day
end
end
KDE `applets' in Ruby?
----------------------
Phil Tomson recalled an announcement some months ago about writing KDE
applets in Ruby.
It turned out that that wasn't really what he wanted, but Richard Dale
gave a good example for adding an icon to the system tray. He also showed
how to start konsole with a DCOP call - all in Ruby.
The examples used Korundum, the Ruby bindings for the KDE libraries.
ruby and COM
------------
Joel VanderWerf asked
"What's the best way to work with a COM interface from ruby?"
"Is COM functionality built into the win32ole lib that ships with ruby now?"
Adelle Hartley: "Yes."
library for doing html escaping...
----------------------------------
Sean T Allen was searching on RubyForge for a library to escape the HTML
in a String. (e.g. turn "&" to "&".) He couldn't find it, and it was
driving him crazy!
Phlip said that this functionality is included with Ruby - it's in the CGI
library.
require 'cgi'
s = CGI::escapeHTML('foo&bar')
puts(s)
RubyGems and RDoc
-----------------
James Edward Gray II asked if you could "set RDoc options, like main and
title, in a Gem specification?"
Assaph Mehr said that it was indeed possible, via spec.rdoc_options. He
also gave a link to the GemspecReference page from the RubyGems wiki that
explains this.
Hash as Checklist
-----------------
basi had a Hash like:
h = {
"one" => true,
"two" => true,
"three" => true,
"four" => true,
"five" => true
}
"But typing the dummy value "true" is a waste of effort, and there's an
ugliness in there. Is there a better way to design a simple checklist?"
Assaph Mehr gave the answer:
require 'set'
s = Set.new %w{one two three four}
s.member? 'one' # true
s.member? 'seven' # false
Rails + Amrita, Rails + XTemplate?
----------------------------------
Greg McIntyre asked "Has anybody thought about putting Amrita/XTemplate
support in Rails?"
Jeff Barczewski said that DHH had added templating support to Rails, based
on work from Jamis Buck. (As far as he could recall.)
This provides hooks for invoking whatever templating engine you wish to
use.
Reporting Ruby Bugs
-------------------
Michael Schonberg wanted to know where he should go to report Ruby bugs.
Tim Hunter said one option was on RubyForge - "In the upper-right corner
of the page, under "Support/Links" is the link "Report a Ruby Bug"".
Rails on JRuby?
---------------
John Wells asked about the possibility of using Rails with JRuby (an
implementation of Ruby in Java).
Thomas E Enebo said that JRuby as yet lacks much socket support, so
wouldn't be able to run Rails as-is. He also thought about the possibility
of changing Rails to run as a Java servlet.
In a different direction, Lyndon Samson used IKVM.NET to turn the JRuby
jar into a .NET CLR executable. He could then run Ruby code under .NET.
(It was like a Ruby interpreter written in .NET.)
Starting and stopping a child process in Windows
------------------------------------------------
In a thread about dealing with processes on Windows, nobu posted some code
which did pid = spawn("cmd.exe").
spawn is a new feature of the Ruby 1.9 development branch. It is a
portable way of launching a program and getting a Process back that you
can control.
New Releases
------------
* RMagick 1.8.0
Tim Hunter released a new version of RMagick, the Ruby bindings for
the ImageMagick and GraphicsMagick image processing libraries.
It now incorporates RVG (Ruby Vector Graphics), which was previously a
separate library. "RVG is a library for drawing 2D graphics with an
API based on the SVG specification."
"RVG would be a good library to use if you're writing an application
that needs to programmatically generate drawings, such as a charting
application, especially if you need to export your drawings in
multiple resolutions (web, print, etc.) and multiple image formats."
* One-Click Ruby Installer 182-15 for Windows
Curt Hibbs released the One-Click Ruby Installer for Windows based on
Ruby 1.8.2 final.
"It mostly upgrades included extensions and applications to their most
recent versions." The fxri program was also added.
"fxri combines a nice interactive search interface to the Ruby
documentation along with an interactive ruby session (irb)-all wrapped
up in a nice GUI shell."
* foxGUIb 0.4
Henon put out a development release of foxGUIb, an interactive builder
for graphical interfaces that use the FOX toolkit. The major change is
that it now works with fox12.
* HighLine 0.2.0
James Edward Gray II released a version of the solution he wrote for
the HighLine Ruby Quiz.
"HighLine was designed to ease the tedious tasks of doing
[line-oriented] console input".
* Kwartz-ruby 2.0.0 released - Ruby on Rails support
kwatch announced Kwartz-ruby 2.0.0, a templating system for multiple
programming languages (Ruby, PHP, Java). It now has Rails support.
* Su Doku 0.0.2 (beta2) in Ruby
Dr Balwinder S Dheeman posted an update to his implementation of the
Su Doku puzzle game, using an ANSI console UI.
* Arachno Ruby IDE 0.5.5 for Linux
Lothar Scholz declared ready the latest Linux version of the Arachno
Ruby IDE.
"You can download a time unlimited trial version".
Daniel Berger asked if there was any chance of a Solaris version
(SPARC), but Lothar said "Sorry, no chance for sparc hardware
support."
* sys-proctable 0.7.0
Daniel Berger, "After many moons", announced sys-proctable 0.7.0, a
Ruby library for getting information on processes.
The Win32 version has been completely revamped. There have also been
changes to the other supported platforms (Linux, Solaris, FreeBSD).
* Classifier 1.2 with Bayesian and NEW LSI classification
Lucas Carlson, with the help of David Fayram, added LSI classification
to his Classifier library.