[#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:
Re: More samples of rubyfilter code?
Lloyd Zusman <ljz@asfast.com> writes:
> I'm interested in using the rubyfilter module. Although the
> documentation that comes with this module is quite extensive, it
> would be helpful to me to see a few working rubyfilter samples, in
> addition to those that are mentioned in the official docs.
>
> Can anyone point me to some real-world rubyfilter examples?
>
> Thanks in advance.
Hey Lloyd, almost one month later, here is the contents of my
.rdeliver file, used by the example rdeliver script that comes with
rubyfilter. I'll append 'confirm_queue' afterward. All my incoming
mail goes through this filter. Email addresses not in my white list
are likely to get an automatic (and controversial) confirmation
request to cut down on SPAM.
I have been meaning to package this stuff more formally, and clean it
up considerably, but have successfully procrastinated for years. ;-)
As the author of RubyFilter, I imagine this is the most extensive use
of the software. I think RubyMail is a little more popular than
RubyFilter. But somebody has mailed me from one of the country code
TLD registrars saying they use RubyMail+RubyFilter to automatically
process their incoming mail requests. :-)
----------------------------------------------------------------------
require 'rdeliver/confirm_queue'
def h
agent.header
end
def send_to_gmail
require 'net/smtp'
Net::SMTP.start('localhost', 25) do |smtp|
smtp.send_message(agent.message, 'matt+gmailbounces@lickey.com',
'gmatta@gmail.com')
end
agent.log(1, "sent to gmatta@gmail.com")
end
# Returns the line in the table that matches or nil
def check_senders(table)
senders(agent.message.header).each do |address|
if line = hash_match(address, table)
return [line, address]
end
end
return [nil, nil]
end
def senders(header)
get_addresses([ 'From', 'Sender', 'Return-Path' ], header)
end
def hash_match(address, hash)
a = address.address.downcase
if hash.key?(a)
return hash[a]
end
return nil unless address.domain
d = address.domain.downcase
if hash.key?("@#{d}")
return hash["@#{d}"]
end
parts = d.split(/\./)
while not parts.empty?
d = '.' + parts.join('.')
if hash.key?(d)
return hash[d]
end
parts.shift
end
return nil
end
# Returns a hash of every line in a flat text file (downcased)
def table_from_file(filename)
lines = {}
File.open(filename) { |f|
f.each { |line|
case line
when /^\s*\#/
next
when /^\s*$/
next
else
line = line.strip.downcase
lines[line] = line
end
}
}
lines
end
# def corpus_save(kind)
# if x_bogosity = h['x-bogosity']
# h.delete('x-bogosity')
# end
# h.delete('x-corpus')
# type_str = case kind
# when :spam
# "spam"
# when :good
# "good"
# else
# raise ArgumentError, "unknown kind #{kind.inspect}"
# end
# box = RFilter::KeyedMailbox.new(".corpus/#{type_str}")
# agent.log(2, "Action: save to keyed mailbox #{box.path.inspect}")
# key = box.save(agent.message)
# h.delete('x-corpus')
# h['X-Corpus'] = "type=#{type_str}; key=#{key}"
# if x_bogosity
# h['X-Bogosity'] = x_bogosity
# end
# end
def spool_save(folder, continue = false)
folder = ".incoming/spools/%s.spool" % [ folder ]
agent.save(folder, continue)
end
def is_list(list)
name, domain = list.split(/@/).collect { |s| Regexp.quote(s) }
raise ArgumentError if name.nil? || domain.nil?
raise ArgumentError if name.length == 0 || domain.length == 0
h.match?(/^((Resent-)?Sender|Errors-To|X-Loop|(X-)?Mailing-List)$/i, /(owner-)?#{name}(-request|-help|-admin|-bounce|-errors|-owner)?@#{domain}/im) ||
h.match?(/(List-Id|X-Mailing-List)$/i, /<#{name}.#{domain}>/im) ||
h.match?('delivered-to', /mailing list #{name}@#{domain}/im) ||
h.match?("x-ml-name", /^\s*#{name}([^ \t]|$)/im) ||
h.match?(/^(to|cc)$/i, /#{name}@#{domain}/im)
end
def save_if_list(list, folder)
if is_list(list)
spool_save("list.#{folder}")
end
end
LISTS = [
['amrita-users@walrus-ruby.org', 'amrita-users'],
['bitkeeper-users@bitmover.com', 'bitkeeper'],
['spamtools@abuse.net', 'spamtools'],
['mutt-users@mutt.org', 'mutt'],
['debian-ocaml-maint@lists.debian.org', 'ocaml'],
['vim@vim.org', 'vim'],
['dcc@calcite.rhyolite.com', 'dcc'],
['dcc@rhyolite.com', 'dcc'],
['cygwin@cygwin.com', 'cygwin'],
['bbdb-info@lists.sourceforge.net', 'bbdb'],
['ding@gnus.org', 'ding'],
['ding@lists.math.uh.edu', 'ding'],
['ding@hpc.uh.edu', 'ding'],
['secprog@securityfocus.com', 'secprog'],
['list@dsbl.org', 'dsbl'],
['nmh-workers@mhost.com', 'nmh-workers'],
['jamming@perforce.com', 'jamming'],
['bogofilter@aotto.com', 'bogofilter'],
['bogofilter-dev@aotto.com', 'bogofilter-dev'],
['ruby-core@ruby-lang.org', 'ruby-core'],
['ruby-talk@ruby-lang.org', 'ruby-talk'],
['help-cfengine@gnu.org', 'cfengine'],
['email-sig@python.org', 'email-sig'],
['email-sig@python.org', 'email-sig'],
['zsh-users@sunsite.dk', 'zsh'],
['zsh-workers@sunsite.dk', 'zsh']
]
def save_listmail
LISTS.each { |list, folder|
unless folder.nil?
if is_list(list)
spool_save("list.#{folder}")
end
end
}
end
def is_listmail
LISTS.detect { |list, folder|
is_list(list)
}
end
def bogofilter_classify_and_update
command = %w{ /usr/bin/bogofilter -e -p -u }
agent.filter(*command)
end
def bogofilter_reclassify_as_ham
command = %w{ /usr/bin/bogofilter -e -p -Sn }
agent.filter(*command)
end
def bogofilter_reclassify_as_spam
command = %w{ /usr/bin/bogofilter -e -p -Ns }
agent.filter(*command)
end
def dccproc
command = %w{ /home/matt/pkg/bin/dccproc -x 0 -S List-Id -w whiteclnt }
agent.filter(*command)
end
def dccproc_bulk
! agent.header.match(/^x-dcc-.*-metrics$/, /;.*=many/).empty?
end
# def bogofilter
# command = %w{ /usr/local/bin/bogofilter -uep }
# agent.filter(*command)
# end
=begin
if h.match?('x-bogosity', /^Yes, tests=bogofilter/im)
corpus_save(:spam)
spool_save('spam')
else
corpus_save(:good)
end
rescue RFilter::DeliveryAgent::DeliveryCommandFailure => e
agent.log(2, "Bogofilter failure: #{e.message} : #{e.status.inspect}")
agent.save('.incoming/bogofailures', true)
end
=end
def skip_spamcheck
if ((agent.header.match?('to', /postmaster@lickey\.com/im) and
(agent.header.match?('subject', /Postfix Log/im) or
agent.header.match?('subject', /FOUND VIRUS IN MAIL from/m))) or
(agent.header.match?('to', /root@lickey\.com/) and
agent.header.match?('subject', /system check/)))
true
else
false
end
end
# def crm
# agent.pipe("/usr/bin/crm -u /home/matt/crm procmailfilter.crm", true)
# corpus_save(:good)
# rescue RFilter::DeliveryAgent::DeliveryCommandFailure => e
# if e.status.exitstatus == 75
# corpus_save(:spam)
# spool_save('spam')
# end
# end
def destinations
d = h.to
d.concat(h.cc)
d.concat(h.bcc)
end
def return_path(header)
value = header['Return-Path']
RMail::Address.parse(value)[0]
end
def sender(header)
value = nil
[ 'Resent-Sender', 'Resent-From', 'Sender', 'From' ].each { |h|
value ||= header[h]
}
RMail::Address.parse(value)[0]
end
def log_address_header(header, address)
return unless address
agent.log(1, header + ': ' + address.format)
end
def get_addresses(list, header)
addresses = []
list.each { |h|
v = header[h]
addresses.concat(RMail::Address.parse(v)) if v
}
return addresses
end
def get_address(name, header)
get_addresses([name], header)[0]
end
def recipients(header)
addresses = get_addresses([ 'Resent-To', 'Resent-Cc', 'Resent-Bcc' ],
header)
addresses = get_addresses([ 'To', 'Cc', 'Bcc' ], header) if addresses.empty?
addresses
end
def log_abstract
header = agent.header
agent.log(1, "-----------------------------------------------")
return_path = return_path(header)
sender = sender(header)
log_address_header('Return-Path', return_path(header))
if return_path && sender && return_path.address != sender.address
log_address_header('Sender', sender(header))
end
agent.log(1, 'Recipients: ' +
recipients(header).collect {|r| r.format }.join(", "))
agent.log(1, 'Subject: ' + header['Subject'].to_s)
delivered_to = get_address('Delivered-To', header)
if delivered_to &&
delivered_to.address !~ /^matt(\+(bmi|root))?@lickey\.com$/i
agent.log(1, 'Delivered-To: ' + delivered_to.format)
end
end
def check_list(name, file)
table = table_from_file(file)
line, address = check_senders(table)
if line
agent().log(1, "#{name} match on #{address.address} by #{line}")
true
else
false
end
end
def check_whitelist
check_list("whitelist", File::expand_path("~/.whitelist").untaint)
end
def check_bouncelist
check_list("bouncelist", File::expand_path("~/.bouncelist").untaint)
end
BOUNCE_ADDRESS = RMail::Address.new('matt+confirmationbounces@lickey.com')
def confirmation_bounce
bounce_address = recipients(agent.header).detect { |recipient|
recipient == BOUNCE_ADDRESS
}
!bounce_address.nil?
end
def is_local_mail
! agent.header.match?('received', /with.*fetchmail/)
end
def skip_confirm
is_local_mail || check_whitelist || skip_spamcheck || is_listmail
end
def main
#agent.defer('testing stuff')
log_abstract
confirm_reply
if check_bouncelist
agent.reject("Sorry, mail rejected.")
end
if confirmation_bounce
agent.log(1, 'dropping a bounce from a confirmation request')
agent.save(Time.now.strftime("confirmationbounces-%F"))
end
agent.header.delete('x-bogosity')
bogofilter_classify_and_update
unless skip_confirm
dccproc
if dccproc_bulk
agent.log(1, "dccproc found bulk mail")
agent.reject("Rejecting bulk e-mail.")
end
agent.log(1, "doing confirmation thing")
confirm
end
if agent.header.match?('x-bogosity', /^yes,/i)
bogofilter_reclassify_as_ham
end
if agent.header.match?('subject', /to ruby-talk/)
spool_save('list.ruby-talk')
end
agent.save('.incoming/backup-' + Time.now.strftime('%Y-%V'), true)
save_listmail
send_to_gmail
spool_save('inbox')
end
----------------------------------------------------------------------
#!/usr/bin/env ruby
#--
# Copyright (C) 2002, 2003, 2004 Matt Armstrong. All rights reserved.
#
# Permission is granted for use, copying, modification,
# distribution, and distribution of modified versions of this work
# as long as the above copyright notice is included.
require 'util'
require 'rfilter/keyed_mailbox'
class Deliver
include RFilter::Deliver
def confirm
return if @confirmed
require 'net/smtp'
# FIXME: define a 'cannot send confirmation' exception and use
# that here instead of plain raise
# FIXME: need a general "send bounce to this address" routine
return_path = RMail::Address.parse(agent.header['return-path'])[0]
unless return_path.nil?
agent.message.header.delete('X-RFilter-Confirm-Address')
agent.message.header['X-RFilter-Confirm-Address'] = return_path.format
end
bogospam = agent.header.match?('X-Bogosity', /^Yes/)
# I want any mail in the pending queue to be SPAM. If somebody
# confirms their message, then it'll be reclassified as HAM.
unless bogospam
# Steal this function from my .rdeliver file. Ugh.
bogofilter_reclassify_as_spam
end
send_confirmation = !(return_path.nil? ||
agent.header.match?('precedence', /bulk|list/im) ||
agent.header['list-unsubscribe'] ||
agent.header['list-id'] ||
agent.header['list-post'] ||
agent.header['list-help'] ||
agent.header['list-subscribe'] ||
agent.header['list-unsubscribe'] ||
agent.header['mailing-list'] ||
agent.header['x-ml-name'] ||
agent.header['x-ml-info'] ||
# FIXME: this is not appropriate for everyone, but fatcow.com
# adds this if brightmail thinks the thing is SPAM.
agent.header.match?('X-SPAM', /bTrueb/) ||
# FIXME: this is particular to my install -- I run everything
# through bogofilter before we get here
bogospam)
agent.header.set('X-RFilter-Confirm-Sent', send_confirmation ? "Yes" : "No")
pending = RFilter::KeyedMailbox.new(".pending")
key = pending.save(agent.message)
agent.log(1, "pending message is #{key}")
if send_confirmation
m = RMail::Message.new
m.header['To'] = return_path.format
m.header['From'] =
"Matt Armstrong <matt+confirm-#{key.downcase}@lickey.com>"
m.header['Subject'] = "Please confirm your message (#{key.downcase})"
subject = agent.header['Subject']
subject ||= '(none)'
subject = subject.chomp
m.body = Util.confirm_bounce_body({ "return_path" => return_path.format,
"headers" => agent.header.to_s })
# FIXME: this return address is bogus, should be <>
# FIXME: guard against shell metacharacters!
agent.log(1, "return_path.address #{return_path.address.inspect}")
Net::SMTP.start('localhost', 25) do |smtp|
smtp.send_message(m, 'matt+confirmationbounces@lickey.com',
return_path.address.untaint)
end
agent.log(1, "sent confirmation request to #{return_path.format}")
end
# FIXME: need a AGENT.drop method
agent.save('/dev/null')
end
def bogus_confirmation(key)
unless agent.header['subject'] =~ /#{key}/i
agent.log(1, "Subject does not contain confirmation key: #{key}")
return true
end
from = agent.header.from.first
if from and from.address == 'NAVER-MAILER@naver.com'
agent.log(1, "From: NAVER-MAILER, a bogus confirmation mail")
return true
end
if agent.header.content_type == 'multipart/report'
agent.log(1, "a multipart/report -- a bounce, a bogus confirmation mail")
return true
end
return false
end
def confirm_reply
delivered_to = agent.header['delivered-to']
if delivered_to =~ /confirm-(\w+)/im
key = $1.untaint.upcase
if bogus_confirmation(key)
agent.save('bogusconfirmations', true)
agent.reject("invalid confirmation message")
end
pending = RFilter::KeyedMailbox.new(".pending")
name =
begin
pending.retrieve(key)
rescue
# FIXME: RFilter::KeyedMailbox#retrieve should throw a
# specific exception when the key is invalid, and we should
# reject only in that case. We may be rejecting for other
# unforeseen reasons here.
agent.reject("invalid confirmation key")
end
if name
old_msg = File.open(name) do |f|
RMail::Parser.new.parse(f)
end
# Append this dude to the whitelist
h = old_msg.header
confirmed_by = RMail::Address.parse(h['X-RFilter-Confirm-Address'])
if confirmed_by.first
agent.log(1, "appending #{confirmed_by.first.address} to whitelist")
File.open("/home/matt/.whitelist", "a") { |f|
f.puts confirmed_by.first.address
}
end
# FIXME: make this mailbox configurable.
agent.save('confirmations', true)
agent.log(1, "a confirmation -- replacing current message with" +
"original")
# FIXME: this is a serious bug. Why? We should either
# refrain from deleting the pending key until this message has
# been delivered successfully, or we should just re-introduce
# the message into the MTA for re-delivery. The former option
# requires a new mechanism that allows code to run only after
# successful delivery, while the latter is more overhead.
#
# Why is this a problem? If subsequent delivery of this
# released message fails, it is the confirmation that will be
# deferred.
agent.log(1, "FIXME: this is a serious bug!")
confirmaton_msgid = agent.header['message-id']
confirmaton_return_path = agent.header['return-path']
confirmaton_from = agent.header.from.first.format
agent.message = old_msg
agent.header.set('X-RFilter-Confirmed', 'yes',
:msgid => confirmaton_msgid,
:return_path => confirmaton_return_path,
:from => confirmaton_from,
:confirmation_key => key)
pending.delete(key)
@confirmed = true
end
end
end
end
--
matt