[#118527] Nuby Tip for the Day : Memoization — John Carter <john.carter@...>
So you have written your ruby app.
Just a little correction to a worthy post...
[#118535] gem installations getting Killed — ptkwt@... (Phil Tomson)
I just set up my laptop with Debian (via Knoppix - very easy, BTW) and
[#118540] [SOLUTION] Re: Sokoban (#5) — "Dave Burt" <burtdav@...>
Well, that was fun.
[#118541] erb: undefined local variable — Tang Hai Tuan Minh <mhtang@...>
[#118582] fastcgi + eruby — "J. D." <jd@...>
What is the best way to handle .rhtml (eruby) documents using fastcgi?
[#118612] OS X Tiger still including ruby 1.6 — Carl Youngblood <carl.youngblood@...>
I'm not sure who to talk to about this, but in my correspondence with
In article <e5ed7b6904110112267a693474@mail.gmail.com>,
I wonder what we could do to get Apple to throw in some extra bells
On Tue, 2 Nov 2004 07:17:04 +0900, Michael DeHaan
Eivind Eklund wrote:
[#118622] Ruby Planet, anyone? — Esteban Manchado Vel痙quez <zoso@...>
Hello,
Esteban Manchado Vel痙quez wrote:
[#118651] symbol solver.. early experiments — Simon Strandgaard <neoneye@...>
Hi,
> I have been writing some code that can differentiate expressions.
On Monday 01 November 2004 23:36, Brian Mitchell wrote:
Simon Strandgaard wrote:
On Wed, 10 Nov 2004 07:13:13 +0900
On Wed, Nov 10, 2004 at 07:26:44AM +0900, Brian Schrer wrote:
On Wed, 10 Nov 2004 09:14:07 +0900
[#118666] location of core *.rb source files? — Corey <corey_s@...>
[#118675] fastcgi performance problems and ruby — andrew.stuart@...
Hello
> cgi.out{content}
On Tuesday 02 November 2004 06:20 am, Brian Candler wrote:
On Tue, Nov 02, 2004 at 11:29:09PM +0900, trans. (T. Onoma) wrote:
On Tuesday 02 November 2004 09:49 am, Brian Candler wrote:
On Wed, Nov 03, 2004 at 12:08:08AM +0900, trans. (T. Onoma) wrote:
On Tuesday 02 November 2004 11:29 am, Brian Candler wrote:
[#118679] US Presidential Election — "trans. (T. Onoma)" <transami@...>
Election Day is upon us!
trans. (T. Onoma) wrote:
On Monday 01 November 2004 09:06 pm, James Britt wrote:
Corey, I agree with much of what you say in this matter, but I wonder
On Tue, 2 Nov 2004, trans. (T. Onoma) wrote:
Ara.T.Howard@noaa.gov wrote:
Ara.T.Howard@noaa.gov wrote:
Ben Giddings wrote:
Zach Dennis wrote:
On Thu, 4 Nov 2004 01:45:56 +0900, Ben Giddings
In article <200411012300.19852.transami@runbox.com>,
Hi --
I am neither a Kerry or Bush supporter. Idealy I would vote
Has there been a way to capture stdout and stderr (most important) on
Hi Zach,
Shashank Date wrote:
On Tue, Nov 02, 2004 at 01:00:25PM +0900, trans. (T. Onoma) wrote:
trans. (T. Onoma) wrote:
On Tue, Nov 02, 2004 at 01:00:25PM +0900, trans. (T. Onoma) wrote:
* Roeland Moors <roelandmoors@telenet.be> [1120 09:20]:
Bush, with conviction ;-)
On Tue, Nov 02, 2004 at 09:18:12PM +0900, Richard Kilmer wrote:
* Thomas Kirchner <lists@halffull.org> [1143 13:43]:
Dick Davies wrote:
trans. (T. Onoma) wrote:
I agree with the other posters who think this is perhaps an
[#118691] require 'enumerator' — "trans. (T. Onoma)" <transami@...>
Is this right?
[#118831] Why do I want 1.8.2? — Stefan Arentz <stefan.arentz@...>
[#118836] From getoptlong to optparse — Massimiliano Mirra - bard <mmirra@...>
[#118838] fsmgen 0.1 — Mark Probert <probertm@...>
Hi, all.
[#118843] Converting hash keys to symbols — Jamis Buck <jgb3@...>
Golf question...
[#118863] Programmatically and dynamically catching exceptions — Logan Capaldo <logancapaldo@...>
Allright here was my idea which seems to have been shattered by the
"Robert Klemme" <bob.news@gmx.net> writes:
[#118872] FXRuby1.2.1 - need to uninstall — John Doerr <shimmel371@...>
Hello,
[#118920] escaping single quotes in a string with gsub — Paul Rubel <prubel@...>
Hi,
[#118949] Re: installing ruby on MacOS X — "Van Dyk, Joe" <joe.vandyk@...>
[#118953] rdoc task fails on Win2k — James Britt <jamesUNDERBARb@...>
When using rake to create rdoc files on Windows 2000, I get this error
On Wednesday 03 November 2004 06:51 pm, James Britt wrote:
Jim Weirich wrote:
James Britt wrote:
On Wednesday 03 November 2004 08:35 pm, James Britt wrote:
[#118965] Ruby Package for MacOS X — Mark Hubbart <discordantus@...>
Hi all,
On Wed, 3 Nov 2004 17:02:27 -0800, Mark Hubbart <discordantus@gmail.com> wrote:
On Thu, 4 Nov 2004 09:26:39 -0500, Sam Roberts <sroberts@uniserve.com> wrote:
[#118970] Ruby and civil political discussion? (Re: [OT] US Presidential Election) — "Dave Burt" <burtdav@...>
"David Morton" <mortonda@gmail.com> wrote:
"Tim Hunter" <sastph@sas.com>:
Yes, and also don't forget to think about starting a local Ruby group
[#118985] Transaction::Simple 1.2.0 — Austin Ziegler <halostatue@...>
Transaction::Simple for Ruby
On Thu, Nov 04, 2004 at 12:13:20PM +0900, Austin Ziegler wrote:
On Thu, 4 Nov 2004 12:48:14 +0100, Michael Neumann <mneumann@ntecs.de> wrote:
[#118988] rails: gem install rails is bombing — "J. D." <jd@...>
Hi,
> I'm running into a problem installing rails using gem. How do I fix
On Thu, 4 Nov 2004, David Heinemeier Hansson wrote:
Ara.T.Howard@noaa.gov wrote:
On Fri, 5 Nov 2004, Jamis Buck wrote:
Consider me the thrid, gentoo would be the right choice.
On Fri, 5 Nov 2004 02:12:57 +0900, Tobias Luetke
Jason Sweat wrote:
[#118991] using LDAP Controls in ruby-ldap — Jason Wold <jason.wold@...>
This is a bit of a stretch since it is as much about LDAP as it is
On Thu, 4 Nov 2004 14:26:33 +0900, Jason Wold <jason.wold@gmail.com> wrote:
[#118997] Ruby BitTorrent — (Curne) Simon Conrad-Armes <curne@...>
Has anybody started a Ruby BitTorrent transfer library? I wanted to
On Thu, Nov 04, 2004 at 06:13:17PM +0900, Simon Conrad-Armes wrote:
(Curne) Simon Conrad-Armes ha scritto:
[#119006] irb problems on one-click windows installer — Robert Feldt <Robert.Feldt@...>
Hi,
Robert Feldt wrote:
[#119011] Brian Schroeders chat example on windows — Robert Feldt <Robert.Feldt@...>
Hi again,
[#119018] Re: SyncEnumerator — Florian Gross <flgr@...>
Sean Russell wrote:
Hi,
On Fri, 2004-11-05 at 16:27, Mark Hubbart wrote:
On Friday 05 November 2004 16:32, Tom Copeland wrote:
[#119025] Sokoban (#5) — Ruby Quiz <james@...>
Well, how far did you get? I'm stuck on level 28 myself.
[#119038] Needle 1.0.0 — Jamis Buck <jgb3@...>
Needle is a dependency injection (a.k.a. "inversion of control")
Jamis Buck said:
[#119059] Will ActiveRecord support Berkeley DB? — "J. D." <jd@...>
Hi,
J. D. wrote:
Jamis Buck wrote:
J. D. wrote:
[#119063] Any generic object browser — "itsme213" <itsme213@...>
Is there any generic object browser that will let me interactively browse a
[#119098] Re: [OT] US Presidential Election — "Kujawa, Greg" <Greg.Kujawa@...>
This is bitter take. As an American I don't wish for an ineffective 4 years
Kujawa, Greg wrote:
[#119111] FastCGI parameters (get and post) — "J. D." <jd@...>
Hi,
GET parameters you have to parse from ENV['QUERY_STRING'].
Kent Sibilev wrote:
Patrick May wrote:
Quoting MoonWolf <moonwolf@moonwolf.com>:
Patrick May ha scritto:
On Sun, 7 Nov 2004, Patrick May wrote:
On Sun, 7 Nov 2004 02:23:40 +0900, <Ara.T.Howard@noaa.gov> wrote:
On Mon, 8 Nov 2004 18:24:22 +0900, Zev Blut <rubyzbibd@ubit.com> wrote:
On Tue, 9 Nov 2004 04:13:08 +0900, Aredridel <aredridel@gmail.com> wrote:
[#119113] Receiving blocks in Proc? — james.cromwell@... (James)
p = Proc.new { |*args,&block| }
Hi,
On Fri, 5 Nov 2004 06:37:47 +0900, Yukihiro Matsumoto
[#119132] recursive brace matching with Ruby regexp — Jason Sweat <jason.sweat@...>
I wanted to learn Ruby, so I picked a small task of trying to write a
Hi,
On Nov 4, 2004, at 8:04 PM, Mark Hubbart wrote:
Hi,
On Nov 4, 2004, at 9:59 PM, Mark Hubbart wrote:
On Fri, 5 Nov 2004 12:17:01 +0900, James Edward Gray II
On Nov 5, 2004, at 2:19 AM, Eivind Eklund wrote:
[#119141] Re: Cleaner way to do this? — "Harry Ohlsen" <Harry_Ohlsen@...>
> -----Original Message-----
[#119148] Ruby 1.4.6 - trouble with require path — primehalo@... (Ken Innes)
I inherited a project that uses Ruby 1.4.6 on a RedHat Linux 6.1J. I
[#119150] Dr. Dobbs Article — Andy Stone <xsltguru@...>
I just received the latest DDJ which contained an article titled
[#119164] Re: Cleaner way to do this? — "Harry Ohlsen" <Harry_Ohlsen@...>
> From: Zach Dennis [mailto:zdennis@mktec.com]
[#119168] value provided for argument with default value - how to check inside method? — "itsme213" <itsme213@...>
Is there an equivalent of block_given? to check if the caller provided a
[#119179] kdialog-0.2 — Edgardo Hames <ehames@...>
Hello dear Rubyists,
[#119186] FXRuby and the latest snapshot(s) — mkcon@... (Martin Kahlert)
Hi!
[#119223] GEDCOM Parser (#6) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
> <gedcom>
On Nov 5, 2004, at 8:58 AM, Jim Menard wrote:
James Edward Gray II wrote:
Jamis Buck wrote:
1) There are some records near the end of the data like this:
Here's my solution. It builds a tree of the Gedcom nodes.
Here is a very simple solution. It doesn't try to understand much of the
[#119225] setter vs. local variable initialization — "itsme213" <itsme213@...>
Will Ruby 2.0 continue to interpret
Thanks Matz.
[#119247] Mobile Ruby — brian.yamabe@... (Brian Yamabe)
First, I'm not talking about Ruby on mobile devices. I'm talking
[#119277] Building One-Click Installer with latest snapshot source — "J. D." <jd@...>
Hi,
J. D. wrote:
[#119282] Socket problem — Ben Armstrong <ben@...>
Hi,
[#119292] Ruby-GetText-Package-0.8.0 — Masao Mutoh <mutoh@...>
Hi,
[#119341] Succ distance between two strings — "trans. (T. Onoma)" <transami@...>
[#119345] puts nil generates "nil\n" — Brian Candler <B.Candler@...>
$ ruby -v
[#119371] Documenting accessor methods as methods — James Britt <jamesUNDERBARb@...>
I sometimes use the method definition shorthand 'attr_reader',
On Nov 6, 2004, at 4:23 PM, James Britt wrote:
Dave Thomas wrote:
Quoteing dave@pragprog.com, on Mon, Nov 08, 2004 at 02:47:37AM +0900:
Dave Thomas wrote:
Quoteing jamesUNDERBARb@neurogami.com, on Mon, Nov 08, 2004 at 04:26:26AM +0900:
Sam Roberts wrote:
On Monday, November 8, 2004, 12:19:13 PM, Dave wrote:
[#119396] Ruby seems to be cross-compiler incompatible — Asfand Yar Qazi <see@...>
Hi,
[#119412] ri on gentoo — Jamis Buck <jgb3@...>
It works!
On Mon, 2004-11-08 at 02:49 +0900, Dave Thomas wrote:
[#119440] Ruby 1.8.2 Preview 3 is available — James Britt <jamesUNDERBARb@...>
Matz announced on ruby-core that Ruby 1.8.2 preview 3 is now ready.
[#119458] Query string ignored in http.post? — Lloyd Zusman <ljz@...>
I'm using Net::HTTP to do a POST operation, but the query string I send
[#119471] Best RDF Library? — Scott Rubin <slr2777@...>
I googled for ruby RDF libraries and found quite a few, but I'm not sure which
On Mon, 8 Nov 2004 15:38:35 +0900, Scott Rubin <slr2777@cs.rit.edu> wrote:
Edwin Eyan Moragas wrote:
On Mon, 8 Nov 2004 23:24:36 +0900, James Britt
[#119503] REXML error reporting (XHTML validation) — Dmitri Borodaenko <angdraug@...>
I've implemented a simple XHTML validation class based on REXML and
Dmitri Borodaenko wrote:
On Tue, 9 Nov 2004 02:47:11 +0900, James Britt
[#119523] evals confusion — "itsme213" <itsme213@...>
Hi.
[#119535] rdoc and vim folding — "Ara.T.Howard" <Ara.T.Howard@...>
Dave Thomas wrote:
On Mon, 8 Nov 2004, Hans Fugal wrote:
On Tuesday, November 9, 2004, 11:43:33 AM, Ara.T.Howard wrote:
On Tue, Nov 09, 2004 at 09:43:33AM +0900, Ara.T.Howard wrote:
[#119537] Color Parser — Mary Dixon <sw@...>
Okay, people,
[#119541] ENV["PATH"] is being overwritten (in Ruby 1.4.6) — primehalo@... (Ken Innes)
I'm having a weird problem where accessing the PATH environment
[#119568] Error installing rubygems 0.8.1 with ruby 1.8.2 — "Rob ." <rob.02004@...>
I have compiled and installed ruby 1.8.2preview3 on a new laptop.
[#119578] Re: [ANN] Catapult 0.1.0 Released — "Pe, Botp" <botp@...>
James Britt [mailto:jamesUNDERBARb@neurogami.com] wrote:
Pe, Botp wrote:
On Tue, 9 Nov 2004 23:12:58 +0900, James Britt
[#119580] Where did #ruby-lang go? — Matt Mower <matt.mower@...>
Hi folks,
[#119591] Test::Unit speed — Francis Hwang <sera@...>
Okay, this is sort of embarrassing, but for some time now I've been
[#119597] One-Click Installer 1.8.2-14 RC9 with RubyGems built-in — "Curt Hibbs" <curt@...>
This release candidate of the One-Click Installer for
Hello Curt,
Lothar Scholz wrote:
On Wed, 10 Nov 2004 00:14:47 +0900, Curt Hibbs <curt@hibbs.com> wrote:
Austin Ziegler wrote:
On Wed, 10 Nov 2004 02:54:46 +0900, Curt Hibbs <curt@hibbs.com> wrote:
Curt Hibbs wrote:
James Britt wrote:
Hello Curt,
Lothar Scholz wrote:
[#119598] RedCloth 3.0.0 -- Textile and Markdown Elope! — why the lucky stiff <ruby-talk@...>
RedCloth 3 is out. You know? RedCloth? Perhaps you've heard of it.
why the lucky stiff ha scritto:
gabriele renzi wrote:
[#119607] Iterating trough hash — Kevin =?ISO-8859-15?Q?B=F6rgens?= <kevin@...>
Hi!
Hi!
On Tue, 9 Nov 2004, Kevin [ISO-8859-15] B=F6rgens wrote:
On Wed, 10 Nov 2004 02:03:45 +0900, ara.t.howard@noaa.gov
On Wed, 10 Nov 2004, Mark Hubbart wrote:
This is a really long one, so (being new to the language), I'd
[#119638] Re: [ANN] One-Click Installer 1.8.2-14 RC9 with RubyGems built-in — "Bradley, Todd" <todd.bradley@...>
> The reason for including FreeRIDE is because it helps
Bradley, Todd wrote:
On Wed, Nov 10, 2004 at 04:21:22AM +0900, Curt Hibbs wrote:
[#119658] win32ole and ole_methods — djberg96@... (Daniel Berger)
Hi,
[#119665] Ruby and Mozilla? — Hal Fulton <hal9000@...>
Is there any Ruby code out there that can interact with Mozilla
[#119679] Ruby Portal Community Framework? — "Dion Almaer" <dion@...>
[#119682] Rubymine.org — David Ross <dross@...>
Hello fellow Rubyists,
David Ross <dross@code-exec.net> wrote in message news:<4191B4C8.3040301@code-exec.net>...
illocutionist wrote:
On Thu, 11 Nov 2004 00:46:13 +0900, David Ross <dross@code-exec.net> wrote:
Edgardo Hames wrote:
On Thu, 11 Nov 2004 02:17:54 +0900, David Ross <dross@code-exec.net> wrote:
[#119683] Ruby code generation: string vs. AST based (2.0 or beyond) — "itsme213" <itsme213@...>
Code generation in ruby is great.
[#119685] new spam at the wiki — Edwin Eyan Moragas <haaktu@...>
been checking my pages and it looks like we've got a new spammer on board.
On Wednesday 10 November 2004 02:00 am, Edwin Eyan Moragas wrote:
Jim Weirich wrote:
Asfand Yar Qazi wrote:
On Wed, 10 Nov 2004, Charles Comstock wrote:
> how about generating a jpg of a password and requiring the editor to enter it.
Hello all.
Jim Weirich wrote:
Ben Giddings ha scritto:
Jim Weirich wrote:
James Britt wrote:
Quoteing jan@spam.spam, on Fri, Nov 12, 2004 at 09:48:27AM +0900:
[#119702] Finalizers... — Michael Neumann <mneumann@...>
Hi,
[#119711] Hi — Daun Jaun <compsci.isi@...>
Hi
Hi,
What if i want to send cookies;
On Thu, 11 Nov 2004 13:52:51 +0900, Daun Jaun <compsci.isi@gmail.com> wrote:
[#119723] Re: Ruby and Mozilla? — "Bradley, Todd" <todd.bradley@...>
> If you have further thoughts, let me know...
[#119742] automatically call function on attribute set — "Joe Laughlin" <Joseph.V.Laughlin@...>
I have a class that represents an airplane. This class has a bunch of data
[#119750] hook for class creation — "itsme213" <itsme213@...>
Is there a hook method called whenever a new class is created i.e.
[#119755] Graphical Debugger — Brian =?ISO-8859-15?Q?Schr=F6der?= <ruby@...>
Hello Group,
[#119768] Persistence framework — Imobach Gonz疝ez Sosa <imobachgs@...>
Hi all,
[#119799] array.each restart when array is changed — Kevin =?ISO-8859-15?Q?B=F6rgens?= <kevin@...>
Hi!
[Kevin Bgens <kevin@boergens.de>, 2004-11-10 23.48 CET]
How does this work? Does 'retry' recall the method associated with its block?
[#119807] ParseTree 1.0.0 Released — Ryan Davis <ryand-ruby@...>
ParseTree version 1.0.0 has been released!
Hello Ryan,
[#119825] Arachno users? — "itsme213" <itsme213@...>
Any Arachno IDE users out there? Do you mind sharing your opinion of the
I've been programming in Ruby for 3 years, and using ArachnoRuby for
On Fri, 12 Nov 2004 03:14:19 +0900, you wrote:
Hello tony,
Lothar Scholz wrote:
On Sunday 14 November 2004 05:12 pm, Curt Hibbs wrote:
[#119826] ruby idiom for attribute definition? — "Corey" <corey_s@...>
On Thu, 11 Nov 2004 13:27:42 +0900, Corey wrote:
On Wednesday 10 November 2004 10:53 pm, Neil Stevens wrote:
On Nov 11, 2004, at 1:18 PM, Corey wrote:
[#119836] How to POST HEADERS along with COOKIES — Daun Jaun <compsci.isi@...>
Hi
[#119866] Writing a looping, low-configuration script in Ruby — Francis Hwang <sera@...>
So I'm writing a one-file Ruby program that will generate an RSS feed
On 2004-11-11 22:44:51 +0900, Francis Hwang wrote:
[#119872] #scan with or'd (`|`) subexpressions. — "trans. (T. Onoma)" <transami@...>
Does the new Ruby regexp engine do this?
[#119874] [Q} MySQL & Ruby — Nikos Polizotis <npolizotis@...>
Hi,
[#119878] Thinking About Java Interfaces In Ruby — James Edward Gray II <james@...>
I'm currently reading "Holub on Patterns", an excellent volume on
Hello James,
On Fri, 12 Nov 2004 00:19:28 +0900, James Edward Gray II
[#119885] Re: #scan with or'd (`|`) subexpressions. — "Warren Brown" <WBrown@...>
T.,
On Thursday 11 November 2004 10:54 am, Warren Brown wrote:
> I see. Perhaps there is good reason for this. But I just don't see it. IN
[#119901] Needle 1.1.0 — Jamis Buck <jgb3@...>
Needle is a dependency injection container for Ruby, employing many of
[#119931] How to "open" a file in its default application - Windows XP — "itsme213" <itsme213@...>
How do I open a file in its default windows application on XP?
[#119964] advice for a class implementation? ( ugh, long... ) — "Corey" <corey_s@...>
I think the problem is that you want to make the SQL adapter more
[#119974] warning: redefining Object#initialize may cause infinite loop — Stu <ceaser@...>
Unless I'm minsreading what you want to do, wouldn't it be
I think his problem is he's writing things like:
[#120000] RegEx bug in 1.8.2? — Bill Atkins <batkins57@...>
bill@kaitain ruby $ ruby --version
[#120037] Copland to Needle article on RubyGarden — Chad Fowler <chadfowler@...>
For those not subscribed to RubyGarden's rss feed[1], Jamis Buck has
In article <a2347a04041112044531ad44b1@mail.gmail.com>,
On Nov 12, 2004, at 11:53 PM, Phil Tomson wrote:
Chad Fowler wrote:
Joel VanderWerf wrote:
Jamis Buck wrote:
Joel VanderWerf wrote:
Hello,
>
On Mon, 2004-11-15 at 10:55, Henrik Horneber wrote:
On Tue, 16 Nov 2004 00:36:25 +0900
[#120049] Using .NET web service with soap4r — "Roland Schmitt" <Roland.Schmitt@...>
Hello,
[#120056] Countdown (#7) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
> Next, a machine called "Cecil" picks a target number between 100 and 999 at
Hi
Hello Group,
[#120061] why does rss/maker not raise errors? — Sam Roberts <sroberts@...>
There are lots of mandatory attributes (yes, which are mandatory is
> The RSS space is a bloody awful mess. I'll be glad when everybody moves
Well, as far as I know every single version of RSS has at least one
Francis Hwang wrote:
> > > Francis Hwang wrote:
It says it is optional here:
Hi,
RSS standards are an endless debate I don't want to really be a big
[#120071] assert — "itsme213" <itsme213@...>
I could not find a standard "assert" in Ruby. Is there one?
itsme213 wrote:
> There's one in the dev-utils package. It will automatically set a
itsme213 wrote:
On Saturday, November 13, 2004, 7:38:28 PM, Florian wrote:
Gavin Sinclair wrote:
On Sunday, November 14, 2004, 1:18:24 AM, Florian wrote:
Gavin Sinclair wrote:
On Sunday, November 14, 2004, 2:48:24 AM, Florian wrote:
[#120087] #init — "trans. (T. Onoma)" <transami@...>
[#120103] Trivial trick for looking at complex code — Hal Fulton <hal9000@...>
I was looking at some really complex code today (someone else's) and
[#120173] libgmail — Elias Athanasopoulos <elathan@...>
Hello!
[#120174] Getting Module from Symbol — Brian =?ISO-8859-15?Q?Schr=F6der?= <ruby@...>
I want to use methods in different modules depending on commandline switches. So I thought i'd use
>>>>> "B" == Brian =?ISO-8859-15?Q?Schr=F6der?= <Brian> writes:
[#120187] I'm dizzied by the selection... can someone recommend a blog tool? — Sam Roberts <sroberts@...>
There's half-a-million (almost) on the RAA.
[#120207] bug in rubygarden's link spam protection? — Sam Roberts <sroberts@...>
I'm trying to edit
Hi --
[#120230] mathn.rb is unacceptably slow (proposed replacements) — "erlercw@..." <erlercw@...>
In mathn.rb (ruby 1.8.1), Integer#gcd2 and the Prime class are
Hi,
[#120240] TkOptionMenu — "Mark Volkmann" <volkmann2@...>
I'm trying to learn how to use TkOptionButtonmenu and haven't found
----- Original Message -----
[#120247] Proc#arity — Joel VanderWerf <vjoel@...>
On Sun, Nov 14, 2004 at 04:22:24PM +0900, Joel VanderWerf wrote:
[#120248] Dynamic define_method on class creation per module namespace — "trans. (T. Onoma)" <transami@...>
Here's a wee challenge for Rubyists at large. Consider:
Sorry, slight correction. I intended those to be module methods (albeit it
[#120261] Countdown (#7) — Dennis Ranke <dennis.ranke@...>
Hi, here is my second solution for this very interesting quiz.
Here is a small update to my solution. A simple optimization speeds up
[#120271] Ruby in the enterprise... — "Wood, Jeff" <jeffwood@...>
Hello all,=20
[#120273] external links editing problem on ruby garden — Sam Roberts <sroberts@...>
Sam Roberts wrote:
[#120293] I guess "obj.attr = arg" methods don't allow blocks... (maybe rcr?) — Sam Roberts <sroberts@...>
[#120297] MinDI: Minimalist Dependency Injection — Joel VanderWerf <vjoel@...>
[#120299] OpenStruct#update ? — "trans. (T. Onoma)" <transami@...>
How 'bout an OpenStruct#update for adding values after initialization. Or is
Hi --
On Sunday 14 November 2004 03:42 pm, trans. (T. Onoma) wrote:
Hi,
On Sunday 14 November 2004 06:16 pm, Yukihiro Matsumoto wrote:
trans. (T. Onoma) wrote:
Hi --
David A. Black wrote:
Hi --
On Monday 15 November 2004 08:45 am, David A. Black wrote:
Hi,
On Monday 15 November 2004 12:28 pm, Yukihiro Matsumoto wrote:
trans. (T. Onoma) wrote:
On Monday 15 November 2004 01:23 pm, Florian Gross wrote:
trans. (T. Onoma) wrote:
On Monday 15 November 2004 02:33 pm, Florian Gross wrote:
trans. (T. Onoma) wrote:
On Tuesday 16 November 2004 09:18 am, Florian Gross wrote:
On Tuesday, November 16, 2004, 4:54:13 AM, trans. wrote:
Gavin Sinclair wrote:
Yes, no, maybe?
On Wed, Nov 17, 2004 at 08:53:11PM +0900, trans. (T. Onoma) wrote:
On Wednesday 17 November 2004 07:04 am, Mauricio Fern叩ndez wrote:
[#120333] linear contraint solver — wannes <wannes@...>
hello,
[#120342] Why can't I get an array range, like [3, 4], on a Struct? — Sam Roberts <sroberts@...>
I just noticed I can't do:
Hi --
[#120380] Arachno Ruby 0.3 (patch 2) — Lothar Scholz <mailinglists@...>
Hello,
Hi Lothar,
Hello Shashank,
Hello Shashank,
I just downloaded Arachno and tried it out. I really like what I see so
[#120436] Complete set of callbacks — "trans. (T. Onoma)" <transami@...>
Trying to put together a complete list of all potential callbacks:
Thanks Peter and Joel. Here's the rundown thus far.
On Wednesday 17 November 2004 06:45 am, trans. (T. Onoma) wrote:
On Nov 17, 2004, at 5:51 AM, trans. (T. Onoma) wrote:
On Nov 17, 2004, at 11:14 AM, Eric Hodel wrote:
[#120463] FAQ for comp.lang.ruby — hal9000@...
RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2004-10-16)
[#120481] "The Ruby Way" and adding methods to base classes in libraries — Moses Hohman <mmhohman@...>
I have a question about practical experience with adding methods to
[#120485] rpa-base 0.2.3 — Mauricio Fern疣dez <batsman.geo@...>
On Tue, Nov 16, 2004 at 02:08:23PM +0900, Matt Armstrong wrote:
Hi --
On Wed, Nov 17, 2004 at 11:58:35PM +0900, David A. Black wrote:
[#120504] Commiting to Ruby CVS — Michael Neumann <mneumann@...>
Hi,
[#120530] Ruby Weekly News 8th-14th November 2004 — timsuth@... (Tim Sutherland)
http://www.rubygarden.org/ruby?RubyNews/2004-11-8
[#120543] OpenSSL with One-click installer? — Robert Feldt <feldt@...>
Hi,
[#120545] image creation — Martin Pirker <crf@...>
Hi...
[#120557] Talk about mainstream... — Dave Thomas <dave@...>
I'm sitting in a hotel room in England, trying to stay awake, watching
In article <BF5C9D35-37EA-11D9-B0E2-000A95676A62@pragprog.com>,
On Wednesday, November 17, 2004, 8:23:17 AM, Phil wrote:
> University Challenge was broadcast in Australia many years ago (I'm
[#120571] Parsing error in 1.8.2 Dir.glob — "Han Holl" <han.holl@...>
On Tuesday 16 November 2004 21:35, Han Holl wrote:
[#120573] Can't Build Ruby 1.8.1 on HP-UX 11.00 — Kevin Hinners <kevin.hinners@...>
I've downloaded the stable 1.8.1 release of Ruby. When I attempt to run make
Hi,
Top segment of mkmk.log:
Hi,
Hi,
I downloaded the 1.8.2 preview 3 release and tried to install to HP-UX
Hi,
Okay, I did a fresh extract and a fresh ./configure. I verified that lex.c
[#120600] Detecting rubyw — Nathaniel Talbott <nathaniel@...>
Is there any way (on Windows) to detect if a script is running under
[#120602] Ruby 1.8.2-14_rc9 Win32Api Problem — Zach Dennis <zdennis@...>
I'm running the One click installer, Ruby 1.8.2-14_rc9 on my Win2K box,
[#120609] Ruby to C to another language (perhaps Java (I Don't Need JRuby)) — Zach Dennis <zdennis@...>
This posting is more for a learning thing then anything else at this
[#120611] Re: assert — "Wood, Jeff" <jeffwood@...>
[#120616] install problem — Amit Rao <amitraok@...>
I am trying to install ruby on mingw32 (on XP) ...
[#120655] Re: assert — "Wood, Jeff" <jeffwood@...>
It's a semantic thing, but you could also go with an #ensure name
Wood, Jeff wrote:
[#120670] ParseTree: how to write a quick and dirty dependency analyzer — Ryan Davis <ryand-ruby@...>
Original (and prettier) version at:
>>>>> "M" == Mohammad Khan <mkhan@lextranet.com> writes:
On Thu, 2004-11-18 at 10:36, ts wrote:
>>>>> "M" == Mohammad Khan <mkhan@lextranet.com> writes:
On Thu, 2004-11-18 at 10:51, ts wrote:
[#120671] (Yet Another?) RSS::Parser test suite — "Giulio Piancastelli" <giulio.piancastelli@...>
Hi all,
[#120683] Rails 0.8.5: Better fixtures, shared generators, sendmail for AM, lots of fixes! — David Heinemeier Hansson <david@...>
Despite the best intentions with release 0.8.0, I still managed to drag
David Heinemeier Hansson wrote:
[#120684] debugging rails in an IDE? — Pete Johnson <news19@...>
Excuse the naivety of this post
[#120695] Compiling openssl on Windows — Shashank Date <sdate@...>
Hi,
On Thu, 18 Nov 2004 11:18:14 +0900, Shashank Date <sdate@everestkc.net> wrote:
[#120706] The Poetry of Code — "Curt Hibbs" <curt@...>
I loved this blog entry and I just had to share it with you!
Hi --
[#120712] In-memory Relational Data Storage — Curt Sampson <cjs@...>
[#120716] ActiveTcl 8.4.7 or 8.5.0 with One Click Ruby Installer — Hidetoshi NAGAI <nagai@...>
Hi,
Quoting Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp>:
[#120717] Bug in Process.kill on win32? — Laurent Julliard <Laurent.Julliard@...>
I'm having serious troubles with Process.kill on 1.8.2 preview2 or
[#120727] About Regular Expressions — Nikolai Weibull <mailing-lists.ruby-talk@...>
Lately there have been a bunch of posts on this list about regular
On Thursday 18 November 2004 05:34 am, Nikolai Weibull wrote:
* trans. (T. Onoma) <transami@runbox.com> [Nov 18, 2004 14:10]:
On Thursday 18 November 2004 09:26 am, Nikolai Weibull wrote:
On Nov 18, 2004, at 9:44 AM, trans. (T. Onoma) wrote:
[#120754] postgres-pr (pure Ruby PostgreSQL) — Michael Neumann <mneumann@...>
Hi,
Michael Neumann wrote:
David Ross wrote:
Michael Neumann wrote:
David Ross wrote:
David Ross wrote:
On Fri, Nov 19, 2004 at 04:42:36PM +0900, David Garamond wrote:
Mauricio Fern疣dez wrote:
OH NO, you realize you're opening the proverbial can of worms, right? Last
On Fri, 19 Nov 2004 00:12:28 +0900, Michael Neumann
Stu wrote:
Michael;
Abraham Vionas wrote:
[#120799] Ruby in the Rainy City — Pat Eyler <pate@...>
The Seattle.rb would like to invite you to attend the first Pacific
[#120812] Anchored Regexp get stalled or hung — rnicz <rnicz@...>
Dear rubyists!
[#120824] Extracting ints from a unsigned long — "Joe Van Dyk" <joe.vandyk@...>
I have a bunch of binary data consisting of 4 ints stored inside an unsigned
[#120826] Needle-Extras 1.0.0 — Jamis Buck <jgb3@...>
Needle-Extras is a library of add-on services and utilities that can be
[#120834] Thinking About GServer — James Edward Gray II <james@...>
I need to code up a server. It could have as many as fifty
[#120860] Delegating a method, with arguments — djberg96@... (Daniel Berger)
Hi all,
[#120872] mission critical Ruby? — Mark VanOrman <mark@...>
Hi all,
Mark VanOrman wrote:
Curt Hibbs wrote:
Last night we released our preview site, which was built using Ruby on
[#120880] Extending Ruby with C — gabriele renzi <rff_rff@...>
An article from Garrett Rooney just appeared at OnLamp.com
[#120890] Object Browser (#8) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
Well, I was kind of waiting to see what other people came up with, but
On Nov 21, 2004, at 6:48 PM, Jamis Buck wrote:
James Edward Gray II wrote:
Jamis Buck wrote:
I'm new to using gems. Can you tell me the command I need to run to get
R. Mark Volkmann wrote:
Hi,
Hello Masao,
Hello Group,
* Brian Schrer <ruby@brian-schroeder.de> [2004-11-23 09:26:11 +0900]:
So I took some time and refactored my solution. It now has a modular and extendible structure (at least I hope so). It should be possible to easily write non-gtk ui's and extend the reporting capabilities.
On Nov 24, 2004, at 6:28 PM, Brian Schrer wrote:
I'm concerned about the state of GUI toolkits for Ruby when in comes to
Brian Schrer <ruby@brian-schroeder.de> wrote:
> End ambiguity in written sarcasm.
----- Original Message -----
R. Mark Volkmann wrote:[mailto:mark@ociweb.com]
[#120927] several questions on using gems — David Garamond <lists@...6.isreserved.com>
1. If I write a Ruby library (including a gem package) for others, what
On Sat, Nov 20, 2004 at 07:57:37PM +0900, David Garamond wrote:
[#120936] SWIG and Arrays (of ints) — Kurt Dresner <omega697@...>
Hi all,
[#120940] Inner Class Relationship — James Edward Gray II <james@...>
I have an inner class that needs to send it's parent object (outer
Since you haven't said much about how you're using this, maybe my
On Nov 20, 2004, at 5:55 PM, Francis Hwang wrote:
I know this is a retarded problem, but somehow I managed to set things up
Abraham Vionas wrote:
Sure!
Abraham Vionas wrote:
[#120941] Having Ruby 1.8 decide on "File.open" or 'IO.popen'? — "Josef 'Jupp' Schugt" <jupp@...>
Hi!
[#120961] Windows - calling system with multiple parms — colotechpro@... (John Reed)
I'm having a problem getting a system call to Windows XP to work. I
[#120976] gettext and require — Patrick Gundlach <clr3.10.randomuser@...>
Dear Rubyists,
[#120989] Ruby and the XBox — "Phlip" <phlip_cpp@...>
Rubistas:
[#120992] Typical/idiomatic examples of dynamic code generation with Ruby? — Iwan van der Kleyn <none@...>
Hi there,
[#120996] SOT: FreeRIDE — Lyndon Samson <lyndon.samson@...>
Firstly, I'd like to say, a great IDE for a great language!
[#121012] Zlib::GzipReader/Writer and strings — jim@...
Hi
[#121015] Some progress but have hit a new error working through the Todo tutorial... Anyone recognize it? — "Abraham Vionas" <abe_ml@...>
The error is below. Ugh. But at least it works up to this point. I don't
Oh, whups. The state of the todo_controller.rb file that evokes this error
Abraham Vionas wrote:
Thanks for the help Jamis!
[#121026] Instiki problems — Ryco@...
Hi!
Update:
Hi!
> I am a little bit disappointed that I didn't get any answer from DHH
Ryco@gmx.net wrote:
[#121043] Blocks, serailizing, and "configure, don't integrate" — Hugh Sasse Staff Elec Eng <hgs@...>
I seem to have run into a conceptual barrier, and it has caused me
[#121068] fast shutdown of webrick — Simon Strandgaard <neoneye@...>
On my box trap(:INT){ s.shutdown } takes some time to complete.
[#121072] Method Missing — Brian =?ISO-8859-15?Q?Schr=F6der?= <ruby@...>
Just a minor typo in the documentation
Another Thing I noticed. (I checked against the documentation at ruby-doc org. I hope that is the newest version.)
[#121081] Ruby/FastCGI — Sarah Tanembaum <sarahtanembaum@...>
Dear Rubyist, I'm yet still trying to use Ruby for simple Web
* Sarah Tanembaum <sarahtanembaum@yahoo.com> [1103 22:03]:
[#121095] I need an advice on formalizing address — "Sam Sungshik Kong" <ssk@...>
Hello!
On Wed, Nov 24, 2004 at 02:38:02AM +0900, Sam Sungshik Kong scribed:
[#121100] Subtle bug: Telnet / socket / thread? — Mark Probert <probertm@...>
Hi.
[#121103] RPA and iowa — Lloyd Zusman <ljz@...>
This question has to do both with RPA and with iowa.
[#121111] binary reading — ruby talk <rubytalk@...>
a=File.open("c:\\1.txt")
ruby talk wrote:
hmm... i really wanted the binary. is there a to_b?
[#121118] Question about the behavior of reopening a module and including another module. — "Zev Blut" <rubyzbibd@...>
Hello,
[#121120] Ruby+Tk+HTML Example — takaoueda@...
The following is a simple example of how Erb can be used
[#121122] PostgreSQL (Postgres-pr) + Rails = Unexpected EOF error? — "Abraham Vionas" <abe_ml@...>
I'm running XP, Ruby 1.8.2RC3, Rails 0.8.5, PostgreSQL 8BetaRC3, and
[#121126] rails is awesome — Dick Davies <rasputnik@...>
> Couldn't help sending a big 'thank you' to DHH for Rails.
On Tue, 23 Nov 2004 20:11:24 +0900, David Heinemeier Hansson
> I haven't seen this myself, but from something said by others, it
On Wed, 24 Nov 2004 07:01:17 +0900, David Heinemeier Hansson
> Essentially, David, this is a *problem* with ActiveRecord.
On Wednesday, November 24, 2004, 9:23:09 PM, David wrote:
On Wed, 24 Nov 2004 19:48:18 +0900, Gavin Sinclair
> do, maybe it's worth considering that ActiveRecord is not not the only
On Wed, 24 Nov 2004 22:58:09 +0900, George Moschovitis <gm@navel.gr> wrote:
Austin, what DB are you using anyway? Dunno if I caught that in this
On Wed, 24 Nov 2004 23:32:18 +0900, Francis Hwang <sera@fhwang.net> wrote:
* Austin Ziegler <halostatue@gmail.com> [1142 14:42]:
On Thu, 25 Nov 2004 00:01:11 +0900, Dick Davies
Hi,
David Heinemeier Hansson <david@loudthinking.com> wrote:
* Luc Heinrich <lucsky@mac.com> [1123 16:23]:
[#121133] Ruby Weekly News 15th-21st November 2004 — timsuth@... (Tim Sutherland)
http://www.rubygarden.org/ruby?RubyNews/2004-11-15
[#121153] Generalizing and Organizing Code — "trans. (T. Onoma)" <transami@...>
I am finding it difficult to properly generalize and organize my code. Perhaps
[#121167] adding class-methods via modules — John Wilger <johnwilger@...>
Hello,
[#121173] Most popular wiki in Ruby seeks kind maintainer — David Heinemeier Hansson <david@...>
Okay, okay, okay. Instiki does need a new maintainer. At least a
On Wed, 24 Nov 2004 02:35:21 +0900, David Heinemeier Hansson
More generally, let me ask: What formats are people using to persist
Hello Francis,
On Wed, 24 Nov 2004 11:29:51 +0900, Francis Hwang <sera@fhwang.net>
[#121175] Ruby DL::Importable struct issue — "Kevin Howe" <khowe@...>
Hi,
[#121189] Net::SSH 0.5.0 — Jamis Buck <jgb3@...>
Net::SSH is a pure-Ruby implementation of the SSH2 client protocol.
[#121203] Checkpointing Ruby applications (DragonFlyBSD only) — Michael Neumann <mneumann@...>
Hi,
Michael Neumann wrote:
[#121205] How to avoid inheriting Object? — "itsme213" <itsme213@...>
How do I create a class that does not inherit from Object?
On Wed, 24 Nov 2004 10:29:09 +0900, itsme213 <itsme213@hotmail.com> wrote:
On Wed, Nov 24, 2004 at 12:18:24PM +0900, Austin Ziegler wrote:
On Wednesday 24 November 2004 05:37 am, Mauricio Fern叩ndez wrote:
Hi,
On Wednesday 24 November 2004 06:28 pm, Yukihiro Matsumoto wrote:
[#121209] Pimki — "Assaph Mehr" <assaph@...>
** About
[#121227] editors/IDEs — Jamie Orchard-Hays <jamie@...>
I'm curious what people are favoring for editors and IDEs for Ruby.
Hello Jamie,
[#121265] Postgres adapter in RPA — "trans. (T. Onoma)" <transami@...>
No RPA?
[#121283] FreeRide experience? (especially on MacOS X) — Jamie Orchard-Hays <jamie@...>
I'm curious about users' experiences with FreeRide, especially on MacOS
[#121318] Ruby/DL tutorial — bjsp123@... (Benjamin Peterson)
Hi,
[#121356] irb and german keyboard problem — Lothar Scholz <mailinglists@...>
Hello ruby-talk,
[#121381] Re: Ruby GUIs and installation effort — "bin liu" <ruby@3cn.com.cn>
I think one GUI system dos not depends others except ruby will bee more flexible.
> Sure. This type of framework would be more flexible, but what about
[#121390] proc to method — "itsme213" <itsme213@...>
I have some closure context captured in a proc, and want to create a method
[#121394] YAML question (hi _why!) — Hal Fulton <hal9000@...>
_why,
[#121406] prettyprint or pp questions — Hal Fulton <hal9000@...>
There are three things I would like to do but I am not
[#121435] Catching exceptions at top level — Laurent Julliard <Laurent.Julliard@...>
I have sort of a trivial question here that I'm afraid is so simple
[#121455] Using unit-tests as examples for a documentation — benny <listen@...>
dear list,
[#121464] Review of 'Programming Ruby' — "TechBookReport" <tbr@...>
TechBookReport has just published a review of 'Programming Ruby' by Dave
[#121468] oneclick installer, freeride — tony summerfelt <snowzone5@...>
anybody NOT developing the oneclick installer or freeride can skip
If you can wait about a week, we're currently testing FreeRIDE 0.9.0 and
On Fri, 26 Nov 2004 08:43:30 +0900, you wrote:
tony summerfelt wrote:
On Fri, 26 Nov 2004 14:23:42 +0900, you wrote:
tony summerfelt wrote:
On Fri, 26 Nov 2004 14:42:00 +0900, you wrote:
[#121479] test/unit runner with ui? — "itsme213" <itsme213@...>
Context: 1.8.2 on WinXP: I find myself often in a mode of making changes to
[#121492] ActiveRecord (1.1) question — "Raif S. Naffah" <raif@...>
-----BEGIN PGP SIGNED MESSAGE-----
[#121506] Multiplexer - linear non-blocking I/O — Mikael Brockman <mikael@...>
Blocking I/O is really easy to use. But when you use it to write
Hi,
"Robert Klemme" <bob.news@gmx.net> writes:
[#121517] Banned Words (#9) — Ruby Quiz <james@...>
The three rules of Ruby Quiz:
On Sat, 27 Nov 2004 01:11:47 +0900
On Nov 26, 2004, at 2:38 PM, Brian Schrer wrote:
Which filter class is the latest? Or should we use the standard
On Nov 27, 2004, at 9:19 AM, Fredrik Jagenheim wrote:
Below is my solution, formatted to use Jannis' testing classes.
On Nov 28, 2004, at 11:11 AM, Wayne Vucenic wrote:
[#121521] std method to convert string of bytes into Integer? — Sam Roberts <sroberts@...>
I've a string of bytes, represented as a String, most significant byte
[#121580] Is FastCGI/mod_ruby for Ruby mswin32 available? — Sarah Tanembaum <sarahtanembaum@...>
Where can I get mswin32 binaries for Ruby and its extension apps and
[#121588] WEBrick HTTPRequest#to_s should never fail, but does — Simon Strandgaard <neoneye@...>
While experimenting with XmlHttpRequest, I wanted to dump my req
In message <200411271509.58571.neoneye@adslhome.dk>,
On Tue, 30 Nov 2004 03:35:48 +0900, GOTOU Yuuzou <gotoyuzo@notwork.org> wrote:
[#121611] initialize always — "trans. (T. Onoma)" <transami@...>
It is rather a common occurrence that I find myself creating a mixin module
trans. (T. Onoma) wrote:
[#121626] CORBA for Ruby? — RCS <rcs333@...>
Hi,
RCS wrote:
[#121637] How do you compile qtruby-1.0.4 — Nigel Wilkinson <nigel@...>
I'm trying to compile qtruby-1.0.4 but there's no configure, configure.in,
[#121643] Pssst. Ruwiki 0.9.0 is live... — Austin Ziegler <halostatue@...>
Okay, it's too early -- or too late -- to actually release this
[#121647] One-Click Installer 1.8.2-14 RC10 — "Curt Hibbs" <curt@...>
This release is mainly in upgrade the included FreeRIDE
Curt Hibbs wrote:
[#121652] DRb for dummies ! — Svend-Erik Kj誡 Madsen <sv-erik@...>
Hi
Sam Stephenson wrote:
> > require 'drb/acl'
Hello,
Hi --
On 23:06 Wed 09 Mar , David A. Black wrote:
[#121678] Image manipulation. FFT, 2D Folding — Brian =?ISO-8859-15?Q?Schr=F6der?= <ruby@...>
Hello Group,
[#121680] Rublog question — Zach Dennis <zdennis@...>
I have downloaded and am playing w/Rublog. If I wanted more then one
Dave Thomas wrote:
[#121682] howto rewrite url — Simon Strandgaard <neoneye@...>
I have searched on google, but couldn't find any useful info on this.
In message <df1390cc04112810447ed53aa@mail.gmail.com>,
On Tue, 30 Nov 2004 04:07:30 +0900, GOTOU Yuuzou <gotoyuzo@notwork.org> wrote:
On Mon, 29 Nov 2004 20:18:07 +0100, Simon Strandgaard <neoneye@gmail.com> wrote:
[#121694] Rail fails after update of Debian — Iwan van der Kleyn <none@...>
Hi there,
[#121704] Ruby/DL translation — bjsp123@... (Benjamin Peterson)
Hi,
[#121708] private include — "trans. (T. Onoma)" <transami@...>
Is there a simple way to include a module such that all the included methods
[#121714] cros-0.1 prerelease — Simon Strandgaard <neoneye@...>
demo page (not connected to server, so no funcionality)
[#121730] Seeking advice on some method names — Gavin Sinclair <gsinclair@...>
Hi all,
On Mon, 29 Nov 2004 11:31:06 +0900, Gavin Sinclair
Hi --
David A. Black wrote:
On Sunday 28 November 2004 09:31 pm, Gavin Sinclair wrote:
On Tuesday, November 30, 2004, 1:52:49 AM, itsme213 wrote:
Gavin Sinclair wrote:
[#121739] RDT 0.5.0 Released — "Chris Williams" <cwillia1@...>
RDT 0.5.0 has been released and is available for download!
[#121770] ruwiki gem install problems — Henrik Horneber <ryco@...>
Hi!
[#121785] Getting a callback whenever a class method is added to a class or its children? — Francis Hwang <sera@...>
Is there a way to capture whenever a class method is added either to a
[#121794] rdoc: Change in #:nodoc: behaviour? — Austin Ziegler <halostatue@...>
It was recently pointed out to me that documentation for Text::Format
On Tue, 30 Nov 2004 00:24:09 +0900, Dave Thomas <dave@pragprog.com> wrote:
[#121814] Another improved error message request — "DaZoner" <bugmenot@...>
[#121826] How to implement set_trace_func callback in C/C++? — Stephen Kellett <snail@...>
Hello everybody,
[#121847] to_s, inspect, etc. — "itsme213" <itsme213@...>
Where would I find a nice summary of to_s, inspect, p, etc. and the core
Florian Gross wrote:
Hi --
On Nov 30, 2004, at 5:08 AM, David A. Black wrote:
On Tuesday 30 November 2004 12:07 pm, Charles Mills wrote:
On Nov 30, 2004, at 8:15 PM, trans. (T. Onoma) wrote:
[#121854] rdoc comments — Michael Neumann <mneumann@...>
Hi,
[#121864] multiple rb_require()s causing segmentation fault — zarawesome@...
Greetings,
[#121903] PHP vs. Ruby vs. Python (vs. Rails) — "Abraham Vionas" <abe_ml@...>
As I was falling asleep last night I was wondering about the differences in
[#121909] Unpacking an array with the star operator — Brian =?ISO-8859-15?Q?Schr=F6der?= <ruby@...>
Hello Group,
[#121910] Windows SendMessage — Guillaume Marcais <guslist@...>
Has anyone ever tried to send messages between applications using the
[#121916] Python 2.4 released — Zach Dennis <zdennis@...>
A coworker of mine came and hollarred at me because on /. it mentioned
On Wed, 1 Dec 2004 02:35:02 +0900, Zach Dennis <zdennis@mktec.com>
[#121918] 500 internal error on apache — coke <coke2k5@...>
I came across Ruby about 33 hours and decided to take it up.I have
On Wed, 01 Dec 2004 02:53:24 +0900, coke wrote:
I'm very new to cgi and have no background of programming other than a
[#121936] Optional static typing (or, What can Ruby 2.0 borrow from Boo?) — djberg96@... (Daniel Berger)
Hi all,
On Wed, Dec 01, 2004 at 05:57:47AM +0900, Daniel Berger scribed:
Daniel Berger ha scritto:
Hi --
David A. Black ha scritto:
Hello gabriele,
[#121943] profile — "Joe Van Dyk" <joe.vandyk@...>
Hi,
Joe Van Dyk wrote:
Hello Robert,
[#121949] singleton methods : when are they not permitted? — "itsme213" <itsme213@...>
irb(main):025:0> x = :any
itsme213 wrote:
Francis Hwang schrieb:
[ANN] rq-0.1.7
URLS
http://raa.ruby-lang.org/project/rq/
http://www.codeforpeople.com/lib/ruby/rq/
NAME
rq v0.1.7
SYNOPSIS
rq (queue | export RQ_Q=q) mode [mode_args]* [options]*
DESCRIPTION
ruby queue (rq) is a tool used to create instant linux clusters by managing
sqlite databases as nfs mounted priority work queues. multiple instances of
rq running from multiples hosts can work from these queues to
distribute processing load to n nodes - bringing many dozens of otherwise
powerful cpus to their knees with a single blow. clearly this software should
be kept out of the hands of free radicals, seti enthusiasts, and j. safran.
the central concept of rq is that n nodes work in isolation to pull
jobs from an central nfs mounted work priority work queue in a synchronized
fashion. the nodes have absolutely no knowledge of each other and all
communication if done via the queue meaning that, so long as the queue is
available via nfs and a single node is running jobs from it, the system will
continue to process jobs. there is no centralized process whatsoever - all
nodes work to take jobs from the queue and run them as fast as possible. this
creates a system which load balances automatically and is robust in face of
node failures.
the first argument to any rq command is the name of the queue. this
name may be omitted if, and only if, the environment variable RQ_Q has been
set to contain the absolute path of target queue.
rq operates in one of the modes create, submit, list, status,
delete, update, query, execute, configure, snapshot, lock, backup, help, or
feed. depending on the mode of operation and the options used the meaning of
'mode_args' may change.
MODES
the following mode abbreviations exist
c => create
s => submit
l => list
ls => list
t => status
d => delete
rm => delete
u => update
q => query
e => execute
C => configure
S => snapshot
L => lock
b => backup
h => help
f => feed
create, c :
create a queue. the queue must be located on an nfs mounted file system
visible from all nodes intended to run jobs from it.
examples :
0) to create a queue
~ > rq /path/to/nfs/mounted/q create
or simply
~ > rq /path/to/nfs/mounted/q c
submit, s :
submit jobs to a queue to be proccesed by a feeding node. any 'mode_args'
are taken as the command to run. note that 'mode_args' are subject to shell
expansion - if you don't understand what this means do not use this feature
and pass jobs on stdin.
when running in submit mode a file may by specified as a list of commands to
run using the '--infile, -i' option. this file is taken to be a newline
separated list of commands to submit, blank lines and comments (#) are
allowed. if submitting a large number of jobs the input file method is
MUCH, more efficient. if no commands are specified on the command line rq
automatically reads them from STDIN. yaml formatted files are also allowed
as input (http://www.yaml.org/) - note that the output of nearly all rq
commands is valid yaml and may, therefore, be piped as input into the submit
command.
when submitting the '--priority, -p' option can be used here to determine
the priority of jobs. priorities may be any whole number - zero is the
default. note that submission of a high priority job will NOT supplant
currently running low priority jobs, but higher priority jobs WILL always
migrate above lower priority jobs in the queue in order that they be run as
soon as possible. constant submission of high priority jobs may create a
starvation situation whereby low priority jobs are never allowed to run.
avoiding this situation is the responsibility of the user. the only
guaruntee rq makes regarding job execution is that jobs are
executed in an 'oldest highest priority' order and that running jobs are
never supplanted.
examples :
0) submit the job ls to run on some feeding host
~ > rq q s ls
1) submit the job ls to run on some feeding host, at priority 9
~ > rq -p9 q s ls
2) submit 42000 jobs (quietly) from a command file.
~ > wc -l cmdfile
42000
~ > rq q s -q < cmdfile
3) submit 42 priority 9 jobs from a command file.
~ > wc -l cmdfile
42
~ > rq -p9 q s < cmdfile
4) submit 42 priority 9 jobs from a command file, marking them as
'important' using the '--tag, -t' option.
~ > wc -l cmdfile
42
~ > rq -p9 -timportant q s < cmdfile
5) re-submit all the 'important' jobs (see 'query' section below)
~ > rq q query tag=important | rq q s
6) re-submit all jobs which are already finished (see 'list' section
below)
~ > rq q l f | rq q s
list, l, ls :
list mode lists jobs of a certain state or job id. state may be one of
pending, running, finished, dead, or all. any 'mode_args' that are numbers
are taken to be job id's to list.
states may be abbreviated to uniqueness, therefore the following shortcuts
apply :
p => pending
r => running
f => finished
d => dead
a => all
examples :
0) show everything in q
~ > rq q list all
or
~ > rq q l all
or
~ > export RQ_Q=q
~ > rq l
1) show q's pending jobs
~ > rq q list pending
2) show q's running jobs
~ > rq q list running
3) show q's finished jobs
~ > rq q list finshed
4) show job id 42
~ > rq q l 42
status, t :
status mode shows the global state the queue. there are no 'mode_args'.
the meaning of each state is as follows:
pending => no feeder has yet taken this job
running => a feeder has taken this job
finished => a feeder has finished this job
dead => rq died while running a job, has restarted, and moved
this job to the dead state
note that rq cannot move jobs into the dead state unless it has
been restarted. this is because no node has any knowledge of other nodes
and cannot possibly know if a job was started on a node that died, or is
simply taking a very long time. only the node that dies, upon restart, can
determine that is has jobs that 'were started before it started' and move
these jobs into the dead state. normally only a machine crash would cause a
job to be placed into the dead state. dead jobs are never automatically
restarted, this is the responsibility of an operator.
examples :
0) show q's status
~ > rq q t
delete, d :
delete combinations of pending, running, finished, dead, or jobs specified
by jid. the delete mode is capable of parsing the output of list and query
modes, making it possible to create custom filters to delete jobs meeting
very specific conditions.
'mode_args' are the same as for list. note that while it is possible to
delete a running job, but there is no way to actually STOP it mid execution
since the node doing the deleteing has no way to communicate this
information to the (probably) remote execution node. therefore you should
use the 'delete running' feature with care and only for housekeeping
purposes or to prevent future jobs from being scheduled.
examples :
0) delete all pending, running, and finished jobs from a queue
~ > rq q d all
1) delete all pending jobs from a queue
~ > rq q d p
2) delete all finished jobs from a queue
~ > rq q d f
3) delete jobs via hand crafted filter program
~ > rq q list | yaml_filter_prog | rq q d
update, u :
update assumes all leading arguments are jids to update with subsequent
key=value pairs. currently only the 'command', 'priority', and 'tag' fields
of pending jobs can be updated.
examples:
0) update the priority of job 42
~ > rq q update 42 priority=7
1) update the priority of all pending jobs
~ > rq q update pending priority=7
2) query jobs with a command matching 'foobar' and update their command
to be 'barfoo'
~ > rq q q "command like '%foobar%'" |\
rq q u command=barfoo
query, q :
query exposes the database more directly the user, evaluating the where
clause specified on the command line (or from STDIN). this feature can be
used to make a fine grained slection of jobs for reporting or as input into
the delete command. you must have a basic understanding of SQL syntax to
use this feature, but it is fairly intuitive in this limited capacity.
examples:
0) show all jobs submitted within a specific 10 minute range
~ > rq q query "started >= '2004-06-29 22:51:00' and started < '2004-06-29 22:51:10'"
1) shell quoting can be tricky here so input on STDIN is also allowed to
avoid shell expansion
~ > cat constraints.txt
started >= '2004-06-29 22:51:00' and
started < '2004-06-29 22:51:10'
~ > rq q query < contraints.txt
or (same thing)
~ > cat contraints.txt| rq q query
** in general all but numbers will need to be surrounded by single quotes **
2) this query output might then be used to delete those jobs
~ > cat contraints.txt | rq q q | rq q d
3) show all jobs which are either finished or dead
~ > rq q q "state='finished' or state='dead'"
4) show all jobs which have non-zero exit status
~ > rq q query exit_status!=0
5) if you plan to query groups of jobs with some common feature consider
using the '--tag, -t' feature of the submit mode which allows a user to
tag a job with a user defined string which can then be used to easily
query that job group
~ > rq q submit --tag=my_jobs < joblist
~ > rq q query tag=my_jobs
execute, e :
execute mode is to be used by expert users with a knowledge of sql syntax
only. it follows the locking protocol used by rq and then allows
the user to execute arbitrary sql on the queue. unlike query mode a write
lock on the queue is obtained allowing a user to definitively shoot
themselves in the foot. for details on a queue's schema the file
'db.schema' in the queue directory should be examined.
examples :
0) list all jobs
~ > rq q execute 'select * from jobs'
configure, C :
this mode is not supported yet.
snapshot, p :
snapshot provides a means of taking a snapshot of the q. use this feature
when many queries are going to be run; for example when attempting to figure
out a complex pipeline command your test queries will not compete with the
feeders for the queue's lock. you should use this option whenever possible
to avoid lock competition.
examples:
0) take a snapshot using default snapshot naming, which is made via the
basename of the q plus '.snapshot'
~ > rq /path/to/nfs/q snapshot
1) use this snapshot to chceck status
~ > rq ./q.snapshot status
2) use the snapshot to see what's running on which host
~ > rq ./q.snapshot list running | grep `hostname`
note that there is also a snapshot option - this option is not the same as
the snapshot command. the option can be applied to ANY command. if in
effect then that command will be run on a snapshot of the database and the
snapshot then immediately deleted. this is really only useful if one were
to need to run a command against a very heavily loaded queue and did not
wish to wait to obtain the lock. eg.
0) get the status of a heavily loaded queue
~ > rq q t --snapshot
1) same as above
~ > rq q t -s
lock, L :
lock the queue and then execute an arbitrary shell command. lock mode uses
the queue's locking protocol to safely obtain a lock of the specified type
and execute a command on the user's behalf. lock type must be one of
(r)ead | (sh)ared | (w)rite | (ex)clusive
examples :
0) get a read lock on the queue and make a backup
~ > rq q L read -- cp -r q q.bak
(the '--' is needed to tell rq to stop parsing command line
options which allows the '-r' to be passed to the 'cp' command)
backup, b :
backup mode is exactly the same as getting a read lock on the queue and
making a copy of it. this mode is provided as a convenience.
0) make a backup of the queue using default naming ( qname + timestamp + .bak )
~ > rq q b
1) make a backup of the queue as 'q.bak'
~ > rq q b q.bak
help, h :
this message
examples :
0) get this message
~> rq q help
or
~> rq help
feed, f :
take jobs from the queue and run them on behalf of the submitter as quickly
as possible. jobs are taken from the queue in an 'oldest highest priority'
first order.
feeders can be run from any number of nodes allowing you to harness the CPU
power of many nodes simoultaneously in order to more effectively clobber
your network, anoy your sysads, and set output raids on fire.
the most useful method of feeding from a queue is to do so in daemon mode so
that if the process loses it's controling terminal it will not exit when you
exit your terminal session. use the '--daemon, -d' option to accomplish
this. by default only one feeding process per host per queue is allowed to
run at any given moment. because of this it is acceptable to start a feeder
at some regular interval from a cron entry since, if a feeder is alreay
running, the process will simply exit and otherwise a new feeder will be
started. in this way you may keep feeder processing running even acroess
machine reboots without requiring sysad intervention to add an entry to the
machine's startup tasks.
examples :
0) feed from a queue verbosely for debugging purposes, using a minimum and
maximum polling time of 2 and 4 respectively. you would NEVER specify
polling times this brief except for debugging purposes!!!
~ > rq q feed -v4 -m2 -M4
1) same as above, but viewing the executed sql as it is sent to the
database
~ > RQ_SQL_DEBUG=1 rq q f -v4 -m2 -M4
2) feed from a queue in daemon mode - logging to /home/ahoward/rq.log
~ > rq q f -d -l/home/ahoward/rq.log
log rolling in daemon mode is automatic so your logs should never need
to be deleted to prevent disk overflow.
3) use something like this sample crontab entry to keep a feeder running
forever - it attempts to (re)start every fifteen minutes but exits if
another process is already feeding.
#
# your crontab file - sample only
#
*/15 * * * * /full/path/to/bin/rq /full/path/to/nfs/mounted/q f -d -l/home/username/cfq.log -q
the '--quiet, -q' here tells rq to exit quietly (no STDERR)
when another process is found to already be feeding so that no cron
message would be sent under these conditions.
NOTES
- realize that your job is going to be running on a remote host and this has
implications. paths, for example, should be absolute, not relative.
specifically the submitted job script must be visible from all hosts
currently feeding from a queue as must be the input and output
files/directories.
- jobs are currently run under the bash shell using the --login option.
therefore any settings in your .bashrc will apply - specifically your PATH
setting. you should not, however, rely on jobs running with any given
environment.
- you need to consider __CAREFULLY__ what the ramifications of having multiple
instances of your program all potentially running at the same time will be.
for instance, it is beyond the scope of rq to ensure multiple
instances of a given program will not overwrite each others output files.
coordination of programs is left entirely to the user.
- the list of finished jobs will grow without bound unless you sometimes
delete some (all) of them. the reason for this is that rq cannot
know when the user has collected the exit_status of a given job, and so
keeps this information in the queue forever until instructed to delete it.
if you have collected the exit_status of you job(s) it is not an error to
then delete that job from the finished list - the information is kept for
your informational purposes only. in a production system it would be normal
to periodically save, and then delete, all finished jobs.
ENVIRONMENT
RQ_Q: set to the full path of nfs mounted queue
the queue argument to all commands may be omitted if, and only if, the
environment variable 'RQ_Q' contains the full path to the q. eg.
~ > export RQ_Q=/full/path/to/my/q
this feature can save a considerable amount of typing for those weak of
wrist.
DIAGNOSTICS
success : $? == 0
failure : $? != 0
AUTHOR
ara.t.howard@noaa.gov
BUGS
0 < bugno && bugno <= 42
reports to ara.t.howard@noaa.gov
OPTIONS
--priority=priority, -p
modes <submit> : set the job(s) priority - lowest(0) .. highest(n) -
(default 0)
--tag=tag, -t
modes <submit> : set the job(s) user data tag
--infile=infile, -i
modes <submit> : infile
--quiet, -q
modes <submit, feed> : do not echo submitted jobs, fail silently if
another process is already feeding
--daemon, -d
modes <feed> : spawn a daemon
--max_feed=max_feed, -f
modes <feed> : the maximum number of concurrent jobs run
--retries=retries, -r
modes <feed> : specify transaction retries
--min_sleep=min_sleep, -m
modes <feed> : specify min sleep
--max_sleep=max_sleep, -M
modes <feed> : specify max sleep
--snapshot, -s
operate on snapshot of queue
--verbosity=verbostiy, -v
0|fatal < 1|error < 2|warn < 3|info < 4|debug - (default info)
--log=path, -l
set log file - (default stderr)
--log_age=log_age
daily | weekly | monthly - what age will cause log rolling (default
nil)
--log_size=log_size
size in bytes - what size will cause log rolling (default nil)
--help, -h
this message
-a
--
===============================================================================
| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
| PHONE :: 303.497.6469
| When you do something, you should burn yourself completely, like a good
| bonfire, leaving no trace of yourself. --Shunryu Suzuki
===============================================================================