[#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] dirwatch-0.0.6
URLS
http://raa.ruby-lang.org/project/dirwatch/
http://www.codeforpeople.com/lib/ruby/dirwatch/
NAME
dirwatch v0.0.6
SYNOPSIS
dirwatch [options]+ [directory = ./] [mode = watch] [dbdir = 0]
DESCRIPTTION
dirwatch is a tool used to design file system based event driven systems.
dirwatch manages an sqlite database that mirrors the state of a directory
and then triggers user definable event handlers for certain filesystem
activities such file creation, modification, deletion, etc. dirwatch
normally runs as a daemon process sychronizing the database inventory with
that of the directory and then fires appropriate triggers. dirwatch is
designed such that more than one 'watch' may be placed on a given directory
and it is nfs clean.
-----------------------------------------------------------------------------
the following actions may have triggers configured for them
-----------------------------------------------------------------------------
created -> a file was detected that was not already in the database
modified -> a file in the database was detected as being modified
updated -> a file was created or modified (union of these actions)
deleted -> a file in the database is no longer in the directory
existing -> a file in the database still exists in the directory and has not
been modified
-----------------------------------------------------------------------------
the command line 'mode' must be one of the following
-----------------------------------------------------------------------------
create (c) -> initialize the database and supporting files
watch (w) -> maintain database inventory and trigger actions
list (l) -> dump database to stdout in silky smooth yaml format
template (t) -> generate a template config file
for all modes except 'template' the command line argument must be the name of
the directory to apply the operation
-----------------------------------------------------------------------------
mode: create (c)
-----------------------------------------------------------------------------
initializes a storage directory, known from here on as 'dbdir', with all
required database files, logs, command directories, sample configuration,
sample programs, etc.
by default the dbdir will be stored in a numbered subdirectory such as
directory/.dirwatch/n
where 'directory' is the directory named on the command line and 'n' is the
watch number.
multiple dirwatches may be placed upon a directory - these 'watches' will be
automagically numbered starting from 0 as they are created. for instance
the command
dirwatch ./ create
followed by another
dirwatch ./ create
would initialize both the dbdirs './.dirwatch/0' AND '././dirwatch/1' to
allow two 'watches' (0 and 1) to later be placed upon the directory. see
watch section below.
dbdir may be specified at creation (or watch) time as either the last
command line argument, or by using the '--dbdir' option, as the full path to
the storage directory. as a special case dbdir may be specified as a number
only (matching /[0-9]+) in which case the dbdir is assumed to be a numbered
subdirectory of directory/.dirwatch/.
for example
dirwatch ./ create 42
or
dirwatch --dbdir=42 ./ create
would use the directory ./.dirwatch/42/ as dbdir, and
dirwatch ./ create /full/path/to/dbdir
would use /full/path/to/dbdir as a dbdir
when a dirwatch directory is created a hierarchy is created for storing
commands (programs) to be triggered for the various actions. the hierachy
is :
dbdir/
commands/
created/
updated/
modified/
deleted/
existing/
the idea being that that actual trigger commands (programs) will be stored
in either the commands/ subdirectory or in an action specific subdirectory
(commands/created/, commands/deleted/, etc.). it is not required to store
programs here, but these locations are automatically checked based on
trigger type.
a default config file will be auto-generated and placed in the 'dbdir' with
the name 'dirwatch.conf'. this config will automatically be used, iff
found, when watching. use the '--config' option to override this.
-----------------------------------------------------------------------------
mode: watch (w)
-----------------------------------------------------------------------------
dirwatch is designed to run as a daemon, updating the database inventory
at the interval specified by the '--interval' option (5 minutes by default)
and firing appropriate trigger commands. two watchers may not watch the
same dbdir simoultaneously and attempting the start a second watcher will
fail when the second watcher is unable to obtain the pid lockfile. it is a
non-fatal error to attempt to start another watcher when one is running and
this failure can be made silent by using the '--quiet' option. the reason
for this is to allow a crontab entry to be used to make the daemon
'immortal'. for example, the following crontab entry
*/15 * * * * dirwatch directory --daemon --dbdir=0 \
--files_only --flat \
--interval=10minutes --quiet
or (same but shorter)
*/15 * * * * dirwatch directory -D -d0 -f -F -i10m -q
will __attempt__ to start a daemon watching 'directory' every fifteen
minutes. if the daemon is not already running one will started, otherwise
dirwatch will simply fail silently (no cron email sent due to stderr).
this feature allows a normal user to setup daemon processes that not only
will run after machine reboot, but which will continue to run after other
terminal program behaviour.
the meaning of the options in the above crontab entry are as follows
--daemon -> become a child of init and run forever
--dbdir -> the storage directory, here the default is specified
--files_only -> inventory files only (default is files and directories)
--flat -> do not recurse into subdirectories (default recurses)
--interval -> generate inventory, at mininum, every 10 minutes
--quiet -> be quiet when failing due to another daemon already watching
as the watcher runs and maintains the inventory it is noted when
files/directories (entries) have been created, modified, updated, deleted,
or are existing. these entries are then handled by user definable triggers
as specified in the config file. the config file is of the format
...
actions :
created :
commands :
...
updated :
commands :
...
...
...
where the commands to be run for each trigger type are enumerated. each
command entry is of the following format:
...
-
command : command to run
type : calling convention
pattern : filter files further by this pattern
timing : synchronous or asynchronous execution
...
the meaning of each field is as follows :
command: this is the program to run. the search path for the program is
determined dynamically by the action run. for instance, when a
file is discovered to be 'modified' the search path for the
command will be
dbdir/commands/modified/ + dbdir/commands/ + $PATH
this dynamic path setting simply allows for short pathnames if
commands are stored in the dbdir/commands/* subdirectories.
type: there are four types of commands. the type merely indicates the
calling convention of the program. when commands are run there
are two peices of information which must be passed to the
program, the file in question and the mtime of that file. the
mtime is less important but programs may use it to know if the file
has been changed since they were spawned. mtime will probably be
ignored for most commands. the four types of commands fall into
two catagories: those commands called once for each file and those
types of commands called once with __all__ files
each file:
simple: the command will be called with three arguments: the file
in question, the mtime date, and the mtime time. eg:
command foobar.txt 2002-11-04 01:01:01.1234
expaned: the command will be have the strings '@file' and
'@mtime' replaced with appropriate values. eg:
command '@file' '@mtime'
expands to (and is called as)
command 'foobar.txt' '2002-11-04 01:01:01.1234'
all at once:
filter: the stdin of the program will be given a list where each
line contains three items, the file, the mtime data, and
the mtime time.
yaml: the stdin of the program will be given a list where each
entry contains two items, the file and the mtime. the
format of the list is valid yaml and the schema is an
array of hashes with the keys 'path' and 'mtime'.
pattern: all the files for a given action are filtered by this pattern,
and only those files matching pattern will have triggers fired.
timing: if timing is asynchronous the command will be run and not waited
for before starting the next command. asynchronous commands may
yield better performance but may also result in many commands
being run at once. asyncronous commands should not load the
system heavily unless one is looking to freeze a machine.
synchronous commands are spawned and waited for before the next
command is started. a side effect of synchronous commands is
that the time spent waiting may sum to an ammount of time greater
than the interval ('--interval' option) specified - if the amount
of time running commands exceeds the interval the next inventory
simply begins immeadiately with no pause. because of this one
should think of the interval used as a minimum bound only,
especially when synchronous commands are used.
note that sample commands of each type are auto-generated in the
dbdir/commands directory. reading these should answer any questions regarding
the calling conventions of any of the four types. for other questions regard
the sample config, which is also auto-generated.
-----------------------------------------------------------------------------
mode: list (l)
-----------------------------------------------------------------------------
dump the contents of the database in yaml format for easy viewing/parsing
-----------------------------------------------------------------------------
mode: template (t)
-----------------------------------------------------------------------------
generate a template config. the first directory argument is ignored so one
may type
dirwatch directory template [template file]
or
dirwatch template [template file]
ENVIRONMENT
for dirwatch:
export SQLDEBUG=1 -> cause sql debugging info to be logged
export LOCKFILE_DEBUG=1 -> cause lockfile debugging info to be logged
for triggers run under dirwatch:
DIRWATCH_DIR -> directory being watched
DIRWATCH_ACTION -> trigger type
DIRWATCH_TYPE -> command type
DIRWATCH_N_PATHS -> total number of paths for this trigger
DIRWATCH_PATH_IDX -> for simple|expanded path number
for filter|yaml set to DIRWATCH_N_PATHS
DIRWATCH_PATH -> for simple|expanded path
for filter|yaml nil
DIRWATCH_MTIME -> for simple|expanded mtime of path
for filter|yaml nil
DIRWATCH_PID -> pid of dirwatch watcher
DIRWATCH_ID -> trigger unique identifier
PATH -> .dirwatch/(0...n)/commands/action + ENV['PATH']
FILES
directory/.dirwatch/n/ -> dirwatch data files
directory/.dirwatch/n/dirwatch.conf -> default configuration file
directory/.dirwatch/n/commands/* -> default location for triggers
directory/.dirwatch/n/db -> sqlite database file
directory/.dirwatch/n/db.schema -> sqlite database schema
directory/.dirwatch/n/lock -> sentinal lock file used for nfs safe access
directory/.dirwatch/n/dirwatch.pid -> default pidfile
directory/.dirwatch/n/dirwatch.log -> default log file
directory/.dirwatch/n/* -> misc files used by locking subsystem
DIAGNOSTICS
success -> $? == 0
failure -> $? != 0
AUTHOR
ara.t.howard@noaa.gov
BUGS
1 < bugno && bugno < 42
OPTIONS
--lockfile=[lockfile], -L
coordinate inventory on lockfile - (default directory/.lock)
--dbdir=dbdir, -d
specify dbdir used - (default directory/.dirwatch/0)
--interval=interval, -i
specify polling interval - (default 5 minutes)
--nloops=nloops, -N
specify the number of watch loops - (default infinite)
--daemon, -D
run as a daemon
--quiet, -q
fail quietly if pidfile cannot be generated
--pattern=pattern, -p
watch only files matching pattern (__not__ shell glob)
--files_only, -f
ignore everything but files - (default directories and files)
--flat, -F
do not recurse into subdirectories - (default recurse)
--pidfile=pidfile, -P
specifiy pidfile used - (default @dbdir/dirwatch.pid)
--verbosity=verbostiy, -v
0|fatal < 1|error < 2|warn < 3|info < 4|debug - (default info)
--log=path, -l
set log file - (default stderr or, iff existing, @dbdir/dirwatch.log)
--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 1mb)
--config=path, -c
valid path - specify config file (default @dbdir/dirwatch.conf)
--template=[path]
valid path - generate a template config file in path (default stdout)
--help, -h
this message
EXAMPLES
0) initialize a directory for watching (dbdir = directory/.dirwatch/0/)
~ > dirwatch dir create
1) initialize another watch (the '1' is optional)
~ > dirwatch dir create 1
2) create a config (to edit afterwards)
~ > dirwatch template config
~ > vi config
3) watch a directory using all defaults, logging to stderr
~ > dirwatch dir watch
4) start daemon to watch a directory using all defaults, daemons log to
dbdir/dirwatch.log by default
~ > dirwatch dir watch -D
5) same as above but use dbdir .dirwatch/2/
~ > dirwatch dir watch 2 -D
6) dump contents of database (dbdir = .dirwatch/0/) in yaml format
~ > dirwatch dir list
7) same as above but use dbdir .dirwatch/2/
~ > dirwatch dir list 2
8) crontab entry to keep alive a watcher for a directory using default dbdir,
watching files only and not recursing into subdirectories
*/15 * * * * /full/path/to/dirwatch /full/path/to/directory w -D -f -F -q
9) another watch on that same directory using different dbdir (7). this one
watches all entries and recurses into subdirectories
*/15 * * * * /full/path/to/dirwatch /full/path/to/directory w 7 -D -q
enjoy.
-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
===============================================================================