[#205350] New Ruby Culture T-Shirts! — "Matt Todd" <chiology@...>

Ruby culture t-shirts are available for purchase right now!

60 messages 2006/08/01
[#205352] Re: [ANN] New Ruby Culture T-Shirts! — "Ben Atkin" <ben@...> 2006/08/01

My favorite so far is the collect one:

[#205356] Re: [ANN] New Ruby Culture T-Shirts! — "Matt Todd" <chiology@...> 2006/08/01

Fixed the elusive [ issue.

[#205365] Re: [ANN] New Ruby Culture T-Shirts! — "Tom Jordan" <tdjordan@...> 2006/08/01

How about the Japanese Crane?

[#205373] Re: [ANN] New Ruby Culture T-Shirts! — "A. S. Bradbury" <asbradbury@...> 2006/08/01

On Tuesday 01 August 2006 08:44, Tom Jordan wrote:

[#205467] Re: [ANN] New Ruby Culture T-Shirts! — Mauricio Fernandez <mfp@...> 2006/08/01

On Tue, Aug 01, 2006 at 05:30:29PM +0900, A. S. Bradbury wrote:

[#205469] Re: [ANN] New Ruby Culture T-Shirts! — pixelnate <pixelnate@...> 2006/08/01

[#205477] Re: [ANN] New Ruby Culture T-Shirts! — "Matt Todd" <chiology@...> 2006/08/01

Nate, the problem is that Pandas aren't natively found in Japan, and,

[#205480] Re: [ANN] New Ruby Culture T-Shirts! — pixelnate <pixelnate@...> 2006/08/01

Matt Todd wrote:

[#205387] Re: [ANN] New Ruby Culture T-Shirts! — "carlos tirado" <tirado.carlos@...> 2006/08/01

On 7/31/06, Matt Todd <chiology@gmail.com> wrote:

[#205379] For performance, write it in C - Part 3, Source code now available — Peter Hickman <peter@...>

The source code is available from

171 messages 2006/08/01
[#205471] Re: For performance, write it in C - Part 3, Source code now available — "Isaac Gouy" <igouy@...> 2006/08/01

[#205474] Re: For performance, write it in C - Part 3, Source code now available — Peter Hickman <peter@...> 2006/08/01

Isaac Gouy wrote:

[#205478] Re: For performance, write it in C - Part 3, Source code now available — "Charles O Nutter" <headius@...> 2006/08/01

Ok, so there's a bunch of problems with the Java version.

[#205919] Re: For performance, write it in OCaml — Jon Harrop <jon@...> 2006/08/03

M. Edward (Ed) Borasky wrote:

[#206215] Re: For performance, write it in C - Part 3, Source code now available — Peter Hickman <peter@...> 2006/08/04

Time for another update.

[#206425] Re: For performance, write it in C - Part 3, Source code now available — Juho Snellman <jsnell@...> 2006/08/05

<igouy@yahoo.com> wrote:

[#206741] Re: For performance, write it in C - Part 3, Source code now available — Peter Hickman <peter@...> 2006/08/07

Actually this is a miss reading. The whole point of the first post was

[#206840] Re: For performance, write it in C - Part 3, Source code now available — "Isaac Gouy" <igouy@...> 2006/08/07

Peter Hickman wrote:

[#206957] Re: For performance, write it in C - Part 3, Source code now available — Peter Hickman <peter@...> 2006/08/08

Isaac Gouy wrote:

[#207064] Been there, done that - language shootout — "Isaac Gouy" <igouy@...> 2006/08/08

[#207067] Re: Been there, done that - language shootout — "Austin Ziegler" <halostatue@...> 2006/08/08

On 8/8/06, Isaac Gouy <igouy@yahoo.com> wrote:

[#207070] Re: Been there, done that - language shootout — "Isaac Gouy" <igouy@...> 2006/08/08

[#207074] Re: Been there, done that - language shootout — "Austin Ziegler" <halostatue@...> 2006/08/08

On 8/8/06, Isaac Gouy <igouy@yahoo.com> wrote:

[#207433] Re: Been there, done that - language shootout — Eric Hodel <drbrain@...7.net> 2006/08/09

On Aug 8, 2006, at 10:04 AM, Austin Ziegler wrote:

[#207462] Re: Been there, done that - language shootout — "Isaac Gouy" <igouy@...> 2006/08/10

[#207472] Re: Been there, done that - language shootout — "Caleb Clausen" <vikkous@...> 2006/08/10

On 8/9/06, Isaac Gouy <igouy@yahoo.com> wrote:

[#207475] Re: Been there, done that - language shootout — "Isaac Gouy" <igouy@...> 2006/08/10

[#207603] Re: Been there, done that - language shootout — "Caleb Clausen" <vikkous@...> 2006/08/10

On 8/9/06, Isaac Gouy <igouy@yahoo.com> wrote:

[#205652] REXML XPath: bug or misunderstanding? — Eric Armstrong <Eric.Armstrong@...>

This code looks for a table that matches

17 messages 2006/08/02

[#205696] golfing Eratosthenes — "Daniel Baird" <danielbaird@...>

Hi all,

21 messages 2006/08/02

[#205732] Ruby Cookbook — Morton Goldberg <m_goldberg@...>

Anyone care to post their first impressions on Ruby Cookbook? I

54 messages 2006/08/02
[#205760] Re: Ruby Cookbook — James Edward Gray II <james@...> 2006/08/02

On Aug 2, 2006, at 6:08 AM, Morton Goldberg wrote:

[#205762] Re: Ruby Cookbook — "Dark Ambient" <sambient@...> 2006/08/02

I think it would be a nice option if they offered this book as a PDF.

[#205917] Re: Ruby Cookbook — "Mike Douglas" <mike.douglas@...> 2006/08/03

On 8/2/06, Dark Ambient <sambient@gmail.com> wrote:

[#206205] Re: Ruby Cookbook — Jim Morris <ml@...4net.com> 2006/08/04

No its not available anymore as a rough cut, and I agree this book would be much more useful as a

[#206328] Re: Ruby Cookbook — "John Gabriele" <jmg3000@...> 2006/08/04

On 8/4/06, Jim Morris <ml@e4net.com> wrote:

[#206394] Re: Ruby Cookbook — "Paul Battley" <pbattley@...> 2006/08/04

On 04/08/06, John Gabriele <jmg3000@gmail.com> wrote:

[#206399] Re: Ruby Cookbook — "John Gabriele" <jmg3000@...> 2006/08/04

On 8/4/06, Paul Battley <pbattley@gmail.com> wrote:

[#206482] Re: Ruby Cookbook — Dave Thomas <dave@...> 2006/08/05

[#206492] Re: Ruby Cookbook - follow on, book-related question — "Steven R." <steverummel@...> 2006/08/05

Dave Thomas wrote:

[#206534] Re: Ruby Cookbook — "John Gabriele" <jmg3000@...> 2006/08/05

On 8/5/06, Dave Thomas <dave@pragprog.com> wrote:

[#206597] RUBY For The Rest Of Us Conference 2006 ROUC — Gus S Calabrese <gsc@...> 2006/08/06

Much in the tradition of Slamdance connected to the Sundance Film

[#206618] Re: RUBY For The Rest Of Us Conference 2006 ROUC — James Edward Gray II <james@...> 2006/08/06

On Aug 6, 2006, at 7:20 AM, Gus S Calabrese wrote:

[#206650] Re: RUBY For The Rest Of Us Conference 2006 ROUC — Robert Evans <robert.evans@...> 2006/08/06

I think it is great that someone is going to all this effort to

[#205753] Different semantics of Proc and method call -- bug or feature? — Tammo Freese <freese@...>

Hi all,

17 messages 2006/08/02
[#205767] Re: Different semantics of Proc and method call -- bug or feature? — Yukihiro Matsumoto <matz@...> 2006/08/02

Hi,

[#205770] Next Major Version (was Re: Different semantics of Proc and method call -- bug or feature?) — James Edward Gray II <james@...> 2006/08/02

On Aug 2, 2006, at 9:05 AM, Yukihiro Matsumoto wrote:

[#205773] Re: Next Major Version (was Re: Different semantics of Proc and method call -- bug or feature?) — Yukihiro Matsumoto <matz@...> 2006/08/02

Hi,

[#205789] Re: Next Major Version (was Re: Different semantics of Proc and method call -- bug or feature?) — "N Okia" <wrecklass1@...> 2006/08/02

In keeping with your current numbering scheme, does this mean there

[#205904] Re: Next Major Version (was Re: Different semantics of Proc and method call -- bug or feature?) — Yukihiro Matsumoto <matz@...> 2006/08/03

Hi,

[#206022] Re: Next Major Version (was Re: Different semantics of Proc and method call -- bug or feature?) — "Rick DeNatale" <rick.denatale@...> 2006/08/03

On 8/2/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

[#205777] Ruby can't see RMagick installed from gem on FC4 — Lance Squire <lance@...>

I'm planning on using RMagick to do thumbnails for a Rails project.

28 messages 2006/08/02
[#205852] Re: Ruby can't see RMagick installed from gem on FC4 — Anatol Pomozov <anatol.pomozov@...> 2006/08/02

Lance Squire wrote:

[#205857] Re: Ruby can't see RMagick installed from gem on FC4 — Lance Squire <lance@...> 2006/08/02

Anatol Pomozov wrote:

[#205858] Re: Ruby can't see RMagick installed from gem on FC4 — ara.t.howard@... 2006/08/02

On Thu, 3 Aug 2006, Lance Squire wrote:

[#206269] Re: Ruby can't see RMagick installed from gem on FC4 — Lance Squire <lance@...> 2006/08/04

unknown wrote:

[#206278] Re: Ruby can't see RMagick installed from gem on FC4 — ara.t.howard@... 2006/08/04

On Fri, 4 Aug 2006, Lance Squire wrote:

[#206288] Re: Ruby can't see RMagick installed from gem on FC4 — Lance Squire <lance@...> 2006/08/04

unknown wrote:

[#206293] Re: Ruby can't see RMagick installed from gem on FC4 — ara.t.howard@... 2006/08/04

On Fri, 4 Aug 2006, Lance Squire wrote:

[#205780] spread your best code-snippets — "naPOLeon" <naPOLeon.Polzer@...>

I just ran over a nice code-snippet online-database: 'Programming is

20 messages 2006/08/02
[#205844] Re: spread your best code-snippets — Christian Neukirchen <chneukirchen@...> 2006/08/02

"naPOLeon" <naPOLeon.Polzer@gmx.de> writes:

[#205819] For performance, write it in C# — "Justin Bailey" <jgbailey@...>

I can't resist jumping on this one. The attached file requires John Lam's

11 messages 2006/08/02

[#205895] finding the orig file of an alias — pere.noel@... (Une b騅ue)

22 messages 2006/08/03

[#205944] Array#size empties the Array?? — Sven Suska <software617rf@...>

Hello,

19 messages 2006/08/03
[#205945] Re: Array#size empties the Array?? — Sven Suska <software617rf@...> 2006/08/03

Sorry, I had forgotten to give enough information:

[#205960] Refactoring IDE for Ruby ? — "Squeak Smalltalk" <wallenberg@...>

Hi,

15 messages 2006/08/03

[#205993] How to tell when IO::popen is finished? — "Daniel N" <has.sox@...>

Hi,

14 messages 2006/08/03

[#206054] I’m having a hard time learning ruby. — Nate Imaqaguy <breakingsoftware@...>

31 messages 2006/08/03

[#206157] Ruby stable branch is....1.9? — "Daniel Berger" <djberg96@...>

I downloaded what I thought was the 1.8.5 stable branch from

18 messages 2006/08/04
[#206162] Re: Ruby stable branch is....1.9? — "Daniel Berger" <djberg96@...> 2006/08/04

Yukihiro Matsumoto wrote:

[#206243] Proper Case (#89) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

28 messages 2006/08/04
[#206250] Re: [QUIZ] Proper Case (#89) — Mike Harris <GENIE@...> 2006/08/04

Ruby Quiz wrote:

[#206443] the perens in lisp dilects is there for a reson... macros. — atbusbook@...

macros are sort of like c macros but more powerful. they are the

87 messages 2006/08/05
[#206625] Re: the perens in lisp dilects is there for a reson... macros. — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/06

Charles Hoffman wrote:

[#206626] Re: the perens in lisp dilects is there for a reson... macros. — dblack@... 2006/08/06

Hi --

[#206629] Re: the perens in lisp dilects is there for a reson... macros. — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/06

dblack@wobblini.net wrote:

[#206635] Re: the perens in lisp dilects is there for a reson... macros. — dblack@... 2006/08/06

Hi --

[#207017] Re: Language chatter — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/08

Charles Hoffman wrote:

[#207027] Re: Language chatter — "Francis Cianfrocca" <garbagecat10@...> 2006/08/08

On 8/8/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:

[#207081] Re: Language chatter — Steven Lumos <steven@...> 2006/08/08

"Francis Cianfrocca" <garbagecat10@gmail.com> writes:

[#207221] Re: Language chatter — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/09

Steven Lumos wrote:

[#207242] Re: Language chatter — Francis Cianfrocca <garbagecat10@...> 2006/08/09

M. Edward (Ed) Borasky wrote:

[#207259] Re: Language chatter — "Simen Edvardsen" <toalett@...> 2006/08/09

On 8/9/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:

[#207268] Re: Language chatter — "Francis Cianfrocca" <garbagecat10@...> 2006/08/09

On 8/9/06, Simen Edvardsen <toalett@gmail.com> wrote:

[#207283] Re: Language chatter — "Simen Edvardsen" <toalett@...> 2006/08/09

On 8/9/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:

[#206506] Iterating over an array n element at a time — Kim Pedersen <kimersen@...>

Is there an elegant way to iterate over an array n elements at a time?

21 messages 2006/08/05
[#206516] Re: Iterating over an array n element at a time — "Trans" <transfire@...> 2006/08/05

[#206609] How to react on nil or wrong object-type as parameter — Yochen Gutmann <yoche2001@...>

Hi,

30 messages 2006/08/06
[#206613] Re: How to react on nil or wrong object-type as parameter — Daniel Schierbeck <daniel.schierbeck@...> 2006/08/06

Yochen Gutmann wrote:

[#206883] Re: How to react on nil or wrong object-type as parameter — Eric Hodel <drbrain@...7.net> 2006/08/07

On Aug 6, 2006, at 7:55 AM, Daniel Schierbeck wrote:

[#206886] Re: How to react on nil or wrong object-type as parameter — Daniel Schierbeck <daniel.schierbeck@...> 2006/08/07

Eric Hodel wrote:

[#206908] Re: How to react on nil or wrong object-type as parameter — Eric Hodel <drbrain@...7.net> 2006/08/08

On Aug 7, 2006, at 3:30 PM, Daniel Schierbeck wrote:

[#206681] Profiling Ruby Matrix operations — "M. Edward (Ed) Borasky" <znmeb@...>

A while back, I wondered if anyone had ever profiled the Ruby

12 messages 2006/08/06

[#206755] writing native ObjC extension to ruby ?? — Yvon Thoraval <yvonthoraval@...>

i'd like to write a natine objc ext to ruby.

13 messages 2006/08/07

[#206781] nextPowerOf2(n) — Ch Skilbeck <ruby@...>

Hi,

30 messages 2006/08/07

[#206856] Codegolf - Writing a Brainf*ck interpreter — "Frank Spychalski" <rubytalk@...>

Hi,

14 messages 2006/08/07
[#207024] Re: Codegolf - Writing a Brainf*ck interpreter — Michael Ulm <michael.ulm@...> 2006/08/08

Frank Spychalski wrote:

[#207052] Re: Codegolf - Writing a Brainf*ck interpreter — Daniel Martin <martin@...> 2006/08/08

Michael Ulm <michael.ulm@isis-papyrus.com> writes:

[#206862] Dr Nic’s Magic Models — Dr Nic <drnicwilliams@...>

[Cross-posted on Ruby on Rails forum]

19 messages 2006/08/07

[#206878] An integer's life span? — "Sam Kong" <sam.s.kong@...>

Hello!

13 messages 2006/08/07

[#206990] Newbie questions — "manowarrior" <luchezar.petkov@...>

Hello,

15 messages 2006/08/08

[#207069] Init_xxx(with arg ??) in C for ruby ext ??? — pere.noel@... (Une b騅ue)

hey all,

14 messages 2006/08/08

[#207093] solar local time — ara.t.howard@...

14 messages 2006/08/08

[#207096] OS X Leopard shipping with Rails! — Daniel Schierbeck <daniel.schierbeck@...>

Look under "Internet and Web"

11 messages 2006/08/08

[#207195] Ruby Cookbook now in PDF format — "Leonard Richardson" <leonard.richardson@...>

You asked for it, you got it! O'Reilly is now selling the Ruby Cookbook

15 messages 2006/08/09

[#207201] RubyConf in Second Life? — "John Lam" <drjflam@...>

Since RubyConf this year has sold out so rapidly, I was wondering if

29 messages 2006/08/09
[#207220] Re: RubyConf in Second Life? — "Austin Ziegler" <halostatue@...> 2006/08/09

On 8/8/06, John Lam <drjflam@gmail.com> wrote:

[#207271] Looking for a Fast Persistent Store — Bob Hutchison <hutch@...>

Hi,

51 messages 2006/08/09
[#207275] Re: Looking for a Fast Persistent Store — "Harold Hausman" <hhausman@...> 2006/08/09

On 8/9/06, Bob Hutchison <hutch@recursive.ca> wrote:

[#207282] Re: Looking for a Fast Persistent Store — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/09

Harold Hausman wrote:

[#207300] Re: Looking for a Fast Persistent Store — Bob Hutchison <hutch@...> 2006/08/09

[#207470] Re: Looking for a Fast Persistent Store — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/10

Bob Hutchison wrote:

[#207749] Re: Looking for a Fast Persistent Store — Bob Hutchison <hutch@...> 2006/08/11

[#207835] Re: Looking for a Fast Persistent Store — khaines@... 2006/08/11

On Fri, 11 Aug 2006, Bob Hutchison wrote:

[#207869] Re: Looking for a Fast Persistent Store — "Francis Cianfrocca" <garbagecat10@...> 2006/08/11

Kirk, how did you do this? Are you storing immutable objects and

[#207882] Re: Looking for a Fast Persistent Store — khaines@... 2006/08/11

On Sat, 12 Aug 2006, Francis Cianfrocca wrote:

[#207889] Re: Looking for a Fast Persistent Store — "Francis Cianfrocca" <garbagecat10@...> 2006/08/11

On 8/11/06, khaines@enigo.com <khaines@enigo.com> wrote:

[#208094] Re: Looking for a Fast Persistent Store — "Bill Kelly" <billk@...> 2006/08/13

From: "Francis Cianfrocca" <garbagecat10@gmail.com>

[#207322] Einrichtung einer deutschsprachigen Ruby-Newsgroup (bitte lesen!) — Christian Janoff <usenet-aug-2006@...>

Hi!

13 messages 2006/08/09

[#207345] Rails 1.1.5: Mandatory security patch (and other tidbits) — "David Heinemeier Hansson" <david.heinemeier@...>

We're still hard at work on Rails 1.2, which features all the new

37 messages 2006/08/09
[#207365] Re: [ANN] Rails 1.1.5: Mandatory security patch (and other tidbits) — khaines@... 2006/08/09

On Thu, 10 Aug 2006, David Heinemeier Hansson wrote:

[#207369] Re: [ANN] Rails 1.1.5: Mandatory security patch (and other tidbits) — Matthew Smillie <M.B.Smillie@...> 2006/08/09

On Aug 9, 2006, at 19:41, khaines@enigo.com wrote:

[#207389] Re: [ANN] Rails 1.1.5: Mandatory security patch (and other tidbits) — "David Heinemeier Hansson" <david.heinemeier@...> 2006/08/09

> There are competing interests at stake beyond adhering to general

[#207579] Re: [ANN] Rails 1.1.5: Mandatory security patch (and other tidbits) — khaines@... 2006/08/10

On Thu, 10 Aug 2006, David Heinemeier Hansson wrote:

[#207581] Re: [ANN] Rails 1.1.5: Mandatory security patch (and other tidbits) — Christian Neukirchen <chneukirchen@...> 2006/08/10

khaines@enigo.com writes:

[#207347] Modules -> do I have is straight? — Jean Nibee <theopensourceguy@...>

Hi

18 messages 2006/08/09
[#207379] Re: Modules -> do I have is straight? — Justin Collins <collinsj@...> 2006/08/09

Jean Nibee wrote:

[#207398] Re: Modules -> do I have is straight? — "simonh" <simonharrison@...> 2006/08/09

A related question: is this why many libraries nest classes inside a

[#207381] access built-in shell commands like 'history' or 'fc' — "bwv549" <jtprince@...>

How do I access built-in shell commands (like 'history' or 'fc') with a

11 messages 2006/08/09

[#207436] Entering data into Excel, in specific iterated rows/columns — "reed.adam@..." <reed.adam@...>

I have a script that spiders a page looking for elements. In this

10 messages 2006/08/09

[#207446] Convert HEX to RGB — Bruno Malvestuto <bruno@...>

How i can convert hex to rgb?

12 messages 2006/08/10

[#207538] nonce — "Trans" <transfire@...>

W00t! Had to share this discovery:

75 messages 2006/08/10
[#207628] Re: nonce — "Tim Pease" <tim.pease@...> 2006/08/10

On 8/10/06, Trans <transfire@gmail.com> wrote:

[#207674] Re: nonce — dblack@... 2006/08/10

Hi --

[#207677] Re: nonce — "Trans" <transfire@...> 2006/08/10

[#207678] Re: nonce — Hal Fulton <hal9000@...> 2006/08/10

Trans wrote:

[#207695] Re: nonce — "Trans" <transfire@...> 2006/08/11

[#207700] Re: nonce — Hal Fulton <hal9000@...> 2006/08/11

Trans wrote:

[#207709] Re: nonce — "Martin DeMello" <martindemello@...> 2006/08/11

On 8/11/06, Hal Fulton <hal9000@hypermetrics.com> wrote:

[#207755] Re: nonce — dblack@... 2006/08/11

Hi --

[#207595] good writing in Ruby... — Josselin <josselin@...>

I know I can write it the 'ugly common way' (loop)

18 messages 2006/08/10

[#207705] Simple question regarding hashes — x1 <caldridge@...>

Is something like this possible?

16 messages 2006/08/11
[#207725] Re: Simple question regarding hashes — Pe, Botp <botp@...> 2006/08/11

fr x1:

[#207949] Re: Simple question regarding hashes — x1 <caldridge@...> 2006/08/12

Yep.. Thanks alot. This some pretty neat stuff. :-)

[#207962] Re: Simple question regarding hashes — Robert Klemme <shortcutter@...> 2006/08/12

x1 wrote:

[#207711] Defining Eigenclass — "Matt Todd" <chiology@...>

So, what is an eigenclass? I googled it, and couldn't find anything

21 messages 2006/08/11
[#207804] Re: Defining Eigenclass — ts <decoux@...> 2006/08/11

>>>>> "T" == Tom Werner <tom@helmetstohardhats.org> writes:

[#207731] Codegolf - Pascals Triangle — Michael Ulm <michael.ulm@...>

My take on the latest problem from http://www.codegolf.com

14 messages 2006/08/11

[#207753] Cryptographic Signatures: Ruby versus OpenSSL — Andy Stewart <ruth_andy@...>

Hello Everyone,

10 messages 2006/08/11

[#207768] Pen and Paper (#90) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

45 messages 2006/08/11

[#207905] Beginner's question: assigning same value to many variables — Alex Khere <askhere@...>

I'm just starting out in programming, using Ruby to learn.

16 messages 2006/08/11

[#207969] perl tr and ruby String#tr — snacktime <snacktime@...>

This, in perl:

14 messages 2006/08/12
[#207974] Re: perl tr and ruby String#tr — "Robert Klemme" <shortcutter@...> 2006/08/12

snacktime <snacktime@gmail.com> wrote:

[#207990] map or collect with multidimension arrays — "Dark Ambient" <sambient@...>

What would be the proper call to a multi array either collect or map ?

12 messages 2006/08/12

[#208011] PATCH to make internal Hash class retain order... — "Thies C. Arntzen" <thieso@...>

Hi there -

21 messages 2006/08/12
[#208016] Re: PATCH to make internal Hash class retain order... — Brian McCallister <brianm@...> 2006/08/12

[#208054] ruby equiv of perl pos — snacktime <snacktime@...>

Or to be more exact, how would I do the following in ruby?

15 messages 2006/08/12

[#208114] Please help fixing gems on OSX — "andre in LA" <andreinla@...>

Hi, I am new to OSX and am a beginner rails developer.

16 messages 2006/08/13
[#208162] Re: Please help fixing gems on OSX — Chris Gehlker <canyonrat@...> 2006/08/13

[#208131] A use case for an ordered hash — Hal Fulton <hal9000@...>

There have been numerous occasions when I wanted an

97 messages 2006/08/13
[#208136] Re: A use case for an ordered hash — Robert Klemme <shortcutter@...> 2006/08/13

Hal Fulton wrote:

[#208206] Re: A use case for an ordered hash — Hal Fulton <hal9000@...> 2006/08/13

Robert Klemme wrote:

[#208233] Re: A use case for an ordered hash — Robert Klemme <shortcutter@...> 2006/08/13

Hal Fulton wrote:

[#208236] Re: A use case for an ordered hash — Hal Fulton <hal9000@...> 2006/08/13

Robert Klemme wrote:

[#208246] Re: A use case for an ordered hash — "Phillip Hutchings" <sitharus@...> 2006/08/13

On 8/14/06, Hal Fulton <hal9000@hypermetrics.com> wrote:

[#208243] Re: A use case for an ordered hash — John Carter <john.carter@...> 2006/08/13

On Sun, 13 Aug 2006, Hal Fulton wrote:

[#208277] Re: A use case for an ordered hash — "Austin Ziegler" <halostatue@...> 2006/08/14

On 8/13/06, John Carter <john.carter@tait.co.nz> wrote:

[#208293] Re: A use case for an ordered hash — Hal Fulton <hal9000@...> 2006/08/14

Austin Ziegler wrote:

[#208301] Re: A use case for an ordered hash — "Martin DeMello" <martindemello@...> 2006/08/14

On 8/14/06, Hal Fulton <hal9000@hypermetrics.com> wrote:

[#208318] Re: A use case for an ordered hash — "Austin Ziegler" <halostatue@...> 2006/08/14

On 8/14/06, Martin DeMello <martindemello@gmail.com> wrote:

[#208450] Re: A use case for an ordered hash — Hal Fulton <hal9000@...> 2006/08/15

Austin Ziegler wrote:

[#209681] Re: A use case for an ordered hash — "Robert Dober" <robert.dober@...> 2006/08/21

On 8/15/06, Hal Fulton <hal9000@hypermetrics.com> wrote:

[#209700] Re: A use case for an ordered hash — Hal Fulton <hal9000@...> 2006/08/21

Robert Dober wrote:

[#209702] Re: A use case for an ordered hash — "Robert Dober" <robert.dober@...> 2006/08/21

On 8/21/06, Hal Fulton <hal9000@hypermetrics.com> wrote:

[#209741] Re: A use case for an ordered hash — "Just Another Victim of the Ambient Morality" <ihatespam@...> 2006/08/21

[#209759] Re: A use case for an ordered hash — Hal Fulton <hal9000@...> 2006/08/21

Just Another Victim of the Ambient Morality wrote:

[#209765] Re: A use case for an ordered hash — "Phrogz" <gavin@...> 2006/08/21

Coming to Ruby from JavaScript (among other paths) I personally dislike

[#209768] Re: A use case for an ordered hash — James Edward Gray II <james@...> 2006/08/21

On Aug 21, 2006, at 6:25 PM, Phrogz wrote:

[#209895] Re: A use case for an ordered hash — "Phrogz" <gavin@...> 2006/08/22

James Edward Gray II wrote:

[#208253] hash.keys and hash.values — Mage <mage@...>

Hello,

15 messages 2006/08/13

[#208272] How do you use flock and clean up lock files? — John Carter <john.carter@...>

So I'm using flock, but I have this noxious race condition when I try to

20 messages 2006/08/14
[#208281] Re: How do you use flock and clean up lock files? — "Francis Cianfrocca" <garbagecat10@...> 2006/08/14

On 8/13/06, John Carter <john.carter@tait.co.nz> wrote:

[#208285] Re: How do you use flock and clean up lock files? — John Carter <john.carter@...> 2006/08/14

On Mon, 14 Aug 2006, Francis Cianfrocca wrote:

[#208286] Re: How do you use flock and clean up lock files? — Christopher Brown <cbrown@...> 2006/08/14

-----BEGIN PGP SIGNED MESSAGE-----

[#208288] Re: How do you use flock and clean up lock files? — John Carter <john.carter@...> 2006/08/14

[#208310] Re: How do you use flock and clean up lock files? — "Francis Cianfrocca" <garbagecat10@...> 2006/08/14

On 8/14/06, John Carter <john.carter@tait.co.nz> wrote:

[#208330] block commenting-out — "newyorkdolluk" <all@...>

hi,

20 messages 2006/08/14

[#208360] Trouble parsing against a hash — Peter Bailey <pbailey@...>

Hello,

20 messages 2006/08/14

[#208544] Lightweight Ruby? — "Chanon Sajjamanochai" <chanon@...>

Hi all,

15 messages 2006/08/15

[#208592] newb: setting up GNU Emacs for Ruby -- help — "John Gabriele" <jmg3000@...>

I'd like to get GNU Emacs set up for use with Ruby, and I'm hoping

11 messages 2006/08/15

[#208645] goto function? — "fabsy" <fabbyfabs@...>

Hey!

32 messages 2006/08/15
[#208672] Re: goto function? — Robert Klemme <shortcutter@...> 2006/08/15

fabsy wrote:

[#208669] Newbie doubts about the quiz — "Marcelo Alvim" <malvim@...>

Hey, People.

17 messages 2006/08/15

[#208678] How do I get the creation date of a file? — marek4130@...

Ruby's file class has three methods for querying time related data:

13 messages 2006/08/15

[#208717] New to Ruby and Programming — Heath Fashina <hfashina@...>

Hi,

15 messages 2006/08/16

[#208773] Nooby question : multidimensional arrays. — "marinho.tobolla@..." <marinho.tobolla@...>

Well am I right, that in Ruby there are only one dimensional arrays, and that i have to add an array into an array to get multidimensional arrays, or is there a simpler more ruby like way to create them ?

31 messages 2006/08/16

[#208793] Ruby is exploding onto the scene as Java did at the end of 1990s — "zoat" <enogrob@...>

Java is no longer the answer to every software development problem.

33 messages 2006/08/16
[#208919] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "Huw Collingbourne" <huw@...> 2006/08/17

[#208959] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/17

Huw Collingbourne wrote:

[#209048] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "Francis Cianfrocca" <garbagecat10@...> 2006/08/17

On 8/17/06, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:

[#209062] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "Charles O Nutter" <headius@...> 2006/08/17

On 8/17/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:

[#209078] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "Francis Cianfrocca" <garbagecat10@...> 2006/08/17

On 8/17/06, Charles O Nutter <headius@headius.com> wrote:

[#209079] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "Charles O Nutter" <headius@...> 2006/08/17

On 8/17/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:

[#209086] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "Francis Cianfrocca" <garbagecat10@...> 2006/08/17

On 8/17/06, Charles O Nutter <headius@headius.com> wrote:

[#209092] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "Charles O Nutter" <headius@...> 2006/08/17

On 8/17/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:

[#209103] Re: Ruby is exploding onto the scene as Java did at the end of 1990s — "Francis Cianfrocca" <garbagecat10@...> 2006/08/17

On 8/17/06, Charles O Nutter <headius@headius.com> wrote:

[#208813] My experience with RubyCocoa — "Matt Todd" <chiology@...>

So, I just installed RubyCocoa on my OS X machine here at work. Just

15 messages 2006/08/16
[#209057] Re: My experience with RubyCocoa — Jaypee <rf.oodanaw@...> 2006/08/17

Matt Todd a 辿crit :

[#209343] Re: My experience with RubyCocoa — "Arnaud Bergeron" <abergeron@...> 2006/08/19

On 8/17/06, Jaypee <rf.oodanaw@sd.eepyaj> wrote:> Matt Todd a 辿crit :> > So, I just installed RubyCocoa on my OS X machine here at work. Just> > thought I'd relay some keys to getting things to work:> >> > * The easiest way to install RubyCocoa (on 10.4) is to use> > DarwinPorts. The automatic installer does NOT work.> >> > * RubyCocoa requires the Ruby version that comes with OS X, so if> > you've compiled your own version (etc), which will probably end up in> > /usr/local/bin/, make sure you use /usr/bin/ruby or /usr/bin/irb for> > doing your RubyCocoa apps.> >> > * RubyCocoa is fun! :D> >> > If I think of anything else, I'll be sure to share it.> >> > M.T.> >> Would you mind if I insert ma question here? I have had a successful> experience with RubyCocoa so far on my old G4. But now I've upgraded> to a Mac Intel, and I have a problem in reinstalling it from source.> The "sudo ruby install.rb config" command fails with this message:> ...> ruby gen_cocoa_wrapper.rb> cpp-3.3: installation problem, cannot exec `cc1obj': No such file or> directory> /usr/bin/cpp-3.3 returned 1 exit status> ...> I have tried gcc 4.0.1 and 3.3 to the same result. And of course, there> is such a cc1obj file, not just one:> /usr/libexec/gcc/darwin/ppc/3.3/cc1obj> /usr/libexec/gcc/darwin/ppc/3.3-fast/cc1obj> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/cc1obj> /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/cc1obj> The permissions look good on those files (the x flag is set)> I suspect something like the PATH or some other environment> variable. Has anyone seen the same symptom on Intel?> Thanks,> Jean-Pierre>

[#208833] Multiple arguments for Hash#delete — Daniel Schierbeck <daniel.schierbeck@...>

This may be a Facet:

18 messages 2006/08/16
[#208965] Re: [Facets] Multiple arguments for Hash#delete — nobu@... 2006/08/17

Hi,

[#208980] Re: [Facets] Multiple arguments for Hash#delete — Daniel Schierbeck <daniel.schierbeck@...> 2006/08/17

nobu@ruby-lang.org wrote:

[#208951] using a module at the toplevel doesn't work — "Trans" <transfire@...>

Why? Becuase the module uses #define_method, and #define_method isn't

29 messages 2006/08/17
[#209443] Re: using a module at the toplevel doesn't work — "Trans" <transfire@...> 2006/08/20

[#209578] Re: using a module at the toplevel doesn't work — Yukihiro Matsumoto <matz@...> 2006/08/21

Hi,

[#208962] Ruby, memory and speed — Guillaume Marcais <guslist@...>

I have a script that aggregates data from multiple file, store it all

24 messages 2006/08/17

[#208968] Need - macros feature — Henry Savr <hsavr@...>

Dear Ruby gurus:

16 messages 2006/08/17

[#209132] Secure telnet and ftp? — Hal Fulton <hal9000@...>

I'm rather ignorant of SSL and ssh... but I'm wishing

14 messages 2006/08/18

[#209160] Syntax checker wtf? — Firstname Surname <rubyforum@...>

I'm new to Ruby and RoR; I was messing around with it today and had

48 messages 2006/08/18
[#209163] Re: Syntax checker wtf? — Robert Klemme <shortcutter@...> 2006/08/18

Firstname Surname wrote:

[#209168] Re: Syntax checker wtf? — Gregor Kopp <gk@...> 2006/08/18

As "Firstname Surname" said, the error messages from the ruby

[#209177] Re: Syntax checker wtf? — Firstname Surname <rubyforum@...> 2006/08/18

Gregor Kopp wrote:

[#209183] DateBocks v2.0.0 Released — "Nathaniel Brown" <nshb@...>

Excert from http://www.nshb.net/datebocks-2-0-0-released

20 messages 2006/08/18

[#209245] Bug in sprintf? — Wes Gamble <weyus@...>

All,

26 messages 2006/08/18
[#209249] Re: Bug in sprintf? — ara.t.howard@... 2006/08/18

On Sat, 19 Aug 2006, Wes Gamble wrote:

[#209253] Re: Bug in sprintf? — Carlos <angus@...> 2006/08/18

ara.t.howard@noaa.gov wrote:

[#209291] Class variables in Ruby — "Paul" <prcorcoran@...>

Hello all,

21 messages 2006/08/18
[#209346] Re: Class variables in Ruby — "Paul" <prcorcoran@...> 2006/08/19

SOLUTION: Rails, in the development environment, was reloading the

[#209358] best-performing Rss parser — Ray Chen <ray.c.chen@...>

Hi all,

13 messages 2006/08/19

[#209365] Why is my http call failing? — Thaddeus L Olczyk <none@...>

The code is simple:

14 messages 2006/08/19

[#209378] Convert "ThisIsSomeString" to "this_is_some_string"? — Joshua Muheim <forum@...>

Hi all

22 messages 2006/08/19

[#209568] Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — "thoran@..." <thoran@...>

I was surprised to find the following...

49 messages 2006/08/21
[#209590] Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — Hal Fulton <hal9000@...> 2006/08/21

thoran@thoran.com wrote:

[#209591] Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — Yukihiro Matsumoto <matz@...> 2006/08/21

Hi,

[#209610] Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — "William James" <w_a_x_man@...> 2006/08/21

Bil Kleb wrote:

[#209614] Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — Bil Kleb <Bil.Kleb@...> 2006/08/21

William James wrote:

[#209682] Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — "Just Another Victim of the Ambient Morality" <ihatespam@...> 2006/08/21

[#209669] Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — "Just Another Victim of the Ambient Morality" <ihatespam@...> 2006/08/21

[#209711] Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — "Austin Ziegler" <halostatue@...> 2006/08/21

On 8/21/06, Just Another Victim of the Ambient Morality

[#209582] Strategy pattern / interface design arrangement — Daniel Waite <rabbitblue@...>

Hi all. I've got a design question.

19 messages 2006/08/21
[#209595] Re: Strategy pattern / interface design arrangement — Robert Klemme <shortcutter@...> 2006/08/21

On 21.08.2006 07:55, Daniel Waite wrote:

[#209703] Re: Strategy pattern / interface design arrangement — Daniel Waite <rabbitblue@...> 2006/08/21

Robert Klemme wrote:

[#209733] Re: Strategy pattern / interface design arrangement — "Rick DeNatale" <rick.denatale@...> 2006/08/21

On 8/21/06, Daniel Waite <rabbitblue@gmail.com> wrote:

[#209615] You can write Fortran in any language — Bil Kleb <Bil.Kleb@...>

Here is an example used for computing correlations.

16 messages 2006/08/21

[#209647] Which Frontend Technology for an Online Game of Risk? SVG Maps? — "Mariano Kamp" <mariano.kamp@...>

Hi,

10 messages 2006/08/21

[#209652] Re: Dir.bitbucket? — "Berger, Daniel" <Daniel.Berger@...>

> -----Original Message-----

15 messages 2006/08/21

[#209687] Re: Why Does Hash Apparently Reorder Its Internal Representation And Other Associated Ponderings — "thoran@..." <thoran@...>

I doubt it would have helped very much with respect to those responses

15 messages 2006/08/21

[#209841] Static typing ain't so bad, after all... — "Just Another Victim of the Ambient Morality" <ihatespam@...>

I was debugging someone else's code the other day (it was htmltools,

48 messages 2006/08/22

[#209912] Ruby Units — Kevin Olbrich <devlists-ruby-talk@...>

Announcing......

20 messages 2006/08/22
[#209918] Re: Ruby Units — "Phrogz" <gavin@...> 2006/08/22

Kevin Olbrich wrote:

[#209924] Re: Ruby Units — Kevin Olbrich <devlists-ruby-talk@...> 2006/08/22

[#210053] Re: Ruby Units — "Trans" <transfire@...> 2006/08/23

[#209950] How can I get you to use mkrf? — "Kevin Clark" <kevin.clark@...>

Hi guys,

17 messages 2006/08/22

[#209962] file compare and remove lines — Matt Coffman <matt@...>

Here is my issue:

19 messages 2006/08/22

[#210032] Ruby within Ruby — Mike Zink <zuwiki@...>

The following is a description of my situation. You may not need to read

14 messages 2006/08/23

[#210050] cURL in ruby? Faster than Net::HTTP? — Ben Johnson <bjohnson@...>

I've found a couple of packages that claim to integrate the curl library

19 messages 2006/08/23

[#210073] Ruby C/C++ Interface — kandlinger@...

Hello, I am currently developing a webshop which uses a c/c++ shared

22 messages 2006/08/23

[#210128] Call functions of superclass — Bart Braem <bart.braem@...>

I'd like to be able to do

65 messages 2006/08/23
[#210130] Re: Call functions of superclass — James Edward Gray II <james@...> 2006/08/23

On Aug 23, 2006, at 10:30 AM, Bart Braem wrote:

[#210131] Re: Call functions of superclass — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/08/23

[#210135] Re: Call functions of superclass — William Crawford <wccrawford@...> 2006/08/23

Julian 'Julik' Tarkhanov wrote:

[#210137] Re: Call functions of superclass — Nathan Smith <nsmith5@...> 2006/08/23

On Thu, 24 Aug 2006, William Crawford wrote:

[#210145] Re: Call functions of superclass — "Douglas A. Seifert" <doug@...> 2006/08/23

Nathan Smith wrote:

[#210188] Re: Call functions of superclass — Nathan Smith <nsmith5@...> 2006/08/23

On Thu, 24 Aug 2006, Douglas A. Seifert wrote:

[#210190] Re: Call functions of superclass — dblack@... 2006/08/23

Hi --

[#210198] Re: Call functions of superclass — Nathan Smith <nsmith5@...> 2006/08/23

On Thu, 24 Aug 2006 dblack@wobblini.net wrote:

[#210211] Re: Call functions of superclass — dblack@... 2006/08/23

Hi --

[#210219] Re: Call functions of superclass — Nathan Smith <nsmith5@...> 2006/08/23

On Thu, 24 Aug 2006 dblack@wobblini.net wrote:

[#210222] Re: Call functions of superclass — dblack@... 2006/08/23

Hi --

[#210327] Re: Call functions of superclass — Nathan Smith <nsmith5@...> 2006/08/24

Hello,

[#210328] Re: Call functions of superclass — ts <decoux@...> 2006/08/24

>>>>> "N" == Nathan Smith <nsmith5@umbc.edu> writes:

[#210150] Re: Call functions of superclass — James Edward Gray II <james@...> 2006/08/23

On Aug 23, 2006, at 11:11 AM, Nathan Smith wrote:

[#210162] Re: Call functions of superclass — Mauricio Fernandez <mfp@...> 2006/08/23

On Thu, Aug 24, 2006 at 01:45:40AM +0900, James Edward Gray II wrote:

[#210194] Re: Call functions of superclass — dblack@... 2006/08/23

Hi --

[#210201] Support for singleton_class() (was Re: Call functions of superclass) — James Edward Gray II <james@...> 2006/08/23

On Aug 23, 2006, at 3:13 PM, dblack@wobblini.net wrote:

[#210187] YAML or CSV? — Peter Bailey <pbailey@...>

Hi,

15 messages 2006/08/23
[#210196] Re: YAML or CSV? — "Jan Svitok" <jan.svitok@...> 2006/08/23

On 8/23/06, Peter Bailey <pbailey@bna.com> wrote:

[#210228] OrderedHash - How to get it to work — "Paul" <prcorcoran@...>

First a bit of a rant. I CAN'T BELIEVE RUBY HASN'T IMPLEMENTED THIS!!!

12 messages 2006/08/23

[#210302] META: Ruby Talk Noise/Signal — "thoran@..." <thoran@...>

Dear Fellow Ruby Talkers,

19 messages 2006/08/24

[#210314] Ruby-Lang Redesign Feedback — "John W. Long" <ng@...>

At about 4 this afternoon we are going to commence discussion of the

21 messages 2006/08/24
[#210613] Re: Ruby-Lang Redesign Feedback — Kyrre Nyg蚌d <kyrreny@...> 2006/08/25

[#210689] Re: Ruby-Lang Redesign Feedback — Chad Perrin <perrin@...> 2006/08/25

On Sat, Aug 26, 2006 at 01:21:44AM +0900, Kyrre Nyg蚌d wrote:

[#210356] That's Ruby, Virginia! — Henry Savr <hsavr@...>

Well, you wrote a great Array Analyzer

18 messages 2006/08/24

[#210375] do not understand this closure — Dave Rose <bitdoger2@...>

in The Ruby Way...chap 1...a crude example of closure doesn't work as

26 messages 2006/08/24
[#210378] Re: do not understand this closure — "Martin DeMello" <martindemello@...> 2006/08/24

On 8/24/06, Dave Rose <bitdoger2@yahoo.com> wrote:

[#210381] Re: do not understand this closure — "rak rok" <rakrok@...> 2006/08/24

Is there any way to have a proc object be callable identically to a method,

[#210435] Alternative to String#to_i ? — "Jeremy Lizt" <jeremy.lizt@...>

Is there an alternative method to String#to_i that will return nil

14 messages 2006/08/24

[#210506] Can Anyone Explain This Memory Leak? — Zed Shaw <zedshaw@...>

Hi Folks,

23 messages 2006/08/25
[#210507] Re: Can Anyone Explain This Memory Leak? — ara.t.howard@... 2006/08/25

On Fri, 25 Aug 2006, Zed Shaw wrote:

[#210515] Collections of structured-data objects: what approach? — "Graham Wideman" <checkforrealaddress@...>

Folks:

14 messages 2006/08/25

[#210528] Ruby 1.8.5 released — Yukihiro Matsumoto <matz@...>

Hello,

14 messages 2006/08/25

[#210555] DayRange (#92) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

50 messages 2006/08/25
[#211460] Re: [QUIZ] DayRange (#92) Test::Unit gotcha — Morton Goldberg <m_goldberg@...> 2006/08/30

After looking through some of the other solutions to this quiz, I

[#211468] Re: [QUIZ] DayRange (#92) Test::Unit gotcha — "Tim Kuntz" <timkuntz@...> 2006/08/30

> The fix is obvious and I have already applied it: rename

[#211541] Re: [QUIZ] DayRange (#92) Test::Unit gotcha — Morton Goldberg <m_goldberg@...> 2006/08/30

I can't see how setup and teardown would help in this case. They are

[#211550] Re: [QUIZ] DayRange (#92) Test::Unit gotcha — James Edward Gray II <james@...> 2006/08/30

On Aug 30, 2006, at 11:55 AM, Morton Goldberg wrote:

[#211584] Re: [QUIZ] DayRange (#92) Test::Unit gotcha — Morton Goldberg <m_goldberg@...> 2006/08/30

Thanks for trying to help, but if I understand how setup functions,

[#210569] My book is out -- Ruby on Rails: Up and Running — "Curt Hibbs" <ml.chibbs@...>

The book that Bruce Tate and I co-authored was released yesterday by

25 messages 2006/08/25
[#210622] Re: [ANN] My book is out -- Ruby on Rails: Up and Running — "Dark Ambient" <sambient@...> 2006/08/25

Congrats Curt. Question though, why is a quick start guide selling for $30 ?

[#210635] and and or priority — Pavel Smerk <smerk@...>

OMG!

21 messages 2006/08/25

[#210658] Duck typing alows true polymorfisim — atbusbook@...

lets say you want a generic numerical algorithom like sum

24 messages 2006/08/25

[#210711] rubyinline — "Trans" <transfire@...>

Hi--

22 messages 2006/08/25

[#210743] Mongrel 0.3.13.4 Pre-Release -- Ruby's LEAK Fixed (Death To Mutex!) — Zed Shaw <zedshaw@...>

Howdy Folks,

24 messages 2006/08/26
[#210755] Re: [ANN] Mongrel 0.3.13.4 Pre-Release -- Ruby's LEAK Fixed (Death To Mutex!) — ara.t.howard@... 2006/08/26

On Sat, 26 Aug 2006, Zed Shaw wrote:

[#210773] Re: [ANN] Mongrel 0.3.13.4 Pre-Release -- Ruby's LEAK Fixed (Death To Mutex!) — Zed Shaw <zedshaw@...> 2006/08/26

On Sat, 2006-08-26 at 18:12 +0900, ara.t.howard@noaa.gov wrote:

[#210756] Why Ruby does not nead an ide — atbusbook@...

1: ruby is an efisiont clean languige that is digsined to minamize

71 messages 2006/08/26
[#210765] Re: Why Ruby does not nead an ide — "Huw Collingbourne" <huw@...> 2006/08/26

[#210768] Re: Why Ruby does not nead an ide — Chad Perrin <perrin@...> 2006/08/26

On Sat, Aug 26, 2006 at 07:40:20PM +0900, Huw Collingbourne wrote:

[#210792] Re: Why Ruby does not nead an ide — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/26

Chad Perrin wrote:

[#210821] Re: Why Ruby does not nead an ide — Christian Neukirchen <chneukirchen@...> 2006/08/27

"M. Edward (Ed) Borasky" <znmeb@cesmail.net> writes:

[#210838] Re: Why Ruby does not nead an ide — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/27

Christian Neukirchen wrote:

[#210855] Re: Why Ruby does not nead an ide — Chad Perrin <perrin@...> 2006/08/27

On Sun, Aug 27, 2006 at 12:33:59PM +0900, M. Edward (Ed) Borasky wrote:

[#210906] Re: Why Ruby does not nead an ide — David Vallner <david@...> 2006/08/27

Chad Perrin wrote:

[#210914] Re: Why Ruby does not nead an ide — Jeremy Henty <jeremy@...> 2006/08/27

On 2006-08-27, David Vallner <david@vallner.net> wrote:

[#210998] Pros/Cons of Turbogears/Rails? — kenneth.m.mcdonald@...

First, I don't intend this to be a flame war, please. Python

43 messages 2006/08/27
[#211045] Re: Pros/Cons of Turbogears/Rails? — "fuzzylollipop" <jarrod.roberson@...> 2006/08/28

[#211061] Reformat Ruby source code in vim? — "John Lam" <drjflam@...>

I'm in the process of converting to vim from emacs to help save my

14 messages 2006/08/28
[#211062] Re: Reformat Ruby source code in vim? — "Kent Sibilev" <ksruby@...> 2006/08/28

ggVG=

[#211081] Ruby + SSH + Sudo — Damien Damien <mr.damien@...>

Hi all,

17 messages 2006/08/28
[#211155] Re: Ruby + SSH + Sudo — brabuhr@... 2006/08/28

> ------

[#211161] Re: Ruby + SSH + Sudo — MR Damien <mr.damien@...> 2006/08/28

unknown wrote:

[#213244] Re: Ruby + SSH + Sudo — Matt Rose <mattrose@...> 2006/09/08

there is a way to pass the password in using sudo. I forget the

[#211106] Newbie : assign a value to a variable... — Nicolas Blanco <slainer68@...>

Hi all!

22 messages 2006/08/28
[#211107] Re: Newbie : assign a value to a variable... — dblack@... 2006/08/28

Hi --

[#211191] Partial append_features? — Ola Bini <ola.bini@...>

Hi,

16 messages 2006/08/28

[#211233] So you want to make Ruby leak memory? Here's a simple way.... — khaines@...

Make a hash:

12 messages 2006/08/28

[#211263] Dr. Dobb's dumps on RedCloth — Bil Kleb <Bil.Kleb@...>

As part of their "best Ajax" article:

32 messages 2006/08/29
[#211268] Re: Dr. Dobb's dumps on RedCloth — James Britt <james.britt@...> 2006/08/29

Bil Kleb wrote:

[#211277] Re: Dr. Dobb's dumps on RedCloth — "M. Edward (Ed) Borasky" <znmeb@...> 2006/08/29

James Britt wrote:

[#211318] Re: [ANN] How to spy on the Japanese Rubists — William Crawford <wccrawford@...>

Dr Nic wrote:

47 messages 2006/08/29
[#211344] Re: [ANN] How to spy on the Japanese Rubists — Dr Nic <drnicwilliams@...> 2006/08/29

William Crawford wrote:

[#211362] Re: [ANN] How to spy on the Japanese Rubists — William Crawford <wccrawford@...> 2006/08/29

Dr Nic wrote:

[#211378] Re: [ANN] How to spy on the Japanese Rubists — "Tom Jordan" <tdjordan@...> 2006/08/29

I like FoxLingo

[#211396] Re: [ANN] How to spy on the Japanese Rubists — "Max Muermann" <ruby@...> 2006/08/29

Translating the Rubist Magazine FAQ came up with the following gem:

[#211454] Re: [ANN] How to spy on the Japanese Rubists — Paul Robinson <paul@...> 2006/08/30

On 29 Aug 2006, at 23:50, Max Muermann wrote:

[#234091] Re: [ANN] How to spy on the Japanese Rubists — Harry <rubyprogrammer@...> 2007/01/15

On 8/29/06, William Crawford <wccrawford@gmail.com> wrote:

[#234096] Re: [ANN] How to spy on the Japanese Rubists — "Jason Mayer" <slamboy@...> 2007/01/15

On 1/15/07, Harry <rubyprogrammer@gmail.com> wrote:

[#234113] Re: [ANN] How to spy on the Japanese Rubists — Harry <rubyprogrammer@...> 2007/01/15

On 1/15/07, Jason Mayer <slamboy@gmail.com> wrote:

[#211324] One-Click Ruby Installer for Windows 1.8.5-21 released — "Curt Hibbs" <ml.chibbs@...>

This release upgrades Ruby to the recently

18 messages 2006/08/29

[#211417] Rubyists of Second Life Meeting | 08/31/2006 and 09/07/2006 — Michael Ivey <mdi@...>

The virtual user group Rubyists of Second Life will meet this Thursday,

21 messages 2006/08/30
[#211438] Re: Rubyists of Second Life Meeting | 08/31/2006 and 09/07/2006 — James Britt <james.britt@...> 2006/08/30

Michael Ivey wrote:

[#211625] Re: Rubyists of Second Life Meeting | 08/31/2006 and 09/07/2006 — "Mark Stout" <rmarkstout@...> 2006/08/30

The Rubyists of Second Life meetings are at 6:00 PM prevailing Pacific time.

[#211810] Re: Rubyists of Second Life Meeting | 08/31/2006 and 09/07/2006 — Tim Bray <tbray@...> 2006/08/31

[#211833] Re: Rubyists of Second Life Meeting | 08/31/2006 and 09/07/2006 — "John Lam" <drjflam@...> 2006/08/31

Great for those of us with a life on Eastern time :)

[#211958] Re: Rubyists of Second Life Meeting | 08/31/2006 and 09/07/2 — Dr Nic <drnicwilliams@...> 2006/09/01

John Lam wrote:

[#211969] Re: Rubyists of Second Life Meeting | 08/31/2006 and 09/07/2 — Dr Nic <drnicwilliams@...> 2006/09/01

How did the meeting go? Is SL a good medium for holding a conference?

[#211424] encryption library — "Joe Van Dyk" <joevandyk@...>

I could've sworn that I saw some Ruby library for encrypting stuff

13 messages 2006/08/30

[#211428] Madness this way lies... — John Carter <john.carter@...>

Ah me. In a fit of over user friendliness I did a couple of

12 messages 2006/08/30

[#211462] Pairs tournament algorithm — "Eduardo Y瘻ez Parareda" <eduardo.yanez@...>

Hi all, anybody knows or could point me in the right direction to an

18 messages 2006/08/30

[#211497] Re: [ANN] One-Click Ruby Installer for Windows 1.8.5-21 released — "Berger, Daniel" <Daniel.Berger@...>

> -----Original Message-----

38 messages 2006/08/30
[#211511] Re: [ANN] One-Click Ruby Installer for Windows 1.8.5-21 released — "Alexandru Popescu" <the.mindstorm.mailinglist@...> 2006/08/30

On 8/30/06, Berger, Daniel <Daniel.Berger@qwest.com> wrote:

[#211605] Re: [ANN] One-Click Ruby Installer for Windows 1.8.5-21 released — "Curt Hibbs" <ml.chibbs@...> 2006/08/30

On 8/30/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:

[#211612] Re: [ANN] One-Click Ruby Installer for Windows 1.8.5-21 released — "Alexandru Popescu" <the.mindstorm.mailinglist@...> 2006/08/30

On 8/30/06, Curt Hibbs <ml.chibbs@gmail.com> wrote:

[#211614] Re: [ANN] One-Click Ruby Installer for Windows 1.8.5-21 released — "Austin Ziegler" <halostatue@...> 2006/08/30

On 8/30/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:

[#211644] Re: One-Click Ruby Installer for Windows 1.8.5-21 released — "mortench" <mortench@...> 2006/08/30

Austin Ziegler skrev:

[#211649] Re: One-Click Ruby Installer for Windows 1.8.5-21 released — "Alexandru Popescu" <the.mindstorm.mailinglist@...> 2006/08/30

On 8/31/06, mortench <mortench@gmail.com> wrote:

[#211836] Re: One-Click Ruby Installer for Windows 1.8.5-21 released — Brian Hicks <bwhicks@...> 2006/08/31

Alexandru Popescu wrote:

[#211838] Re: One-Click Ruby Installer for Windows 1.8.5-21 released — "Austin Ziegler" <halostatue@...> 2006/08/31

On 8/31/06, Brian Hicks <bwhicks@aep.com> wrote:

[#211855] Re: One-Click Ruby Installer for Windows 1.8.5-21 released — Timothy Hunter <TimHunter@...> 2006/08/31

Austin Ziegler wrote:

[#211859] Re: One-Click Ruby Installer for Windows 1.8.5-21 released — "Austin Ziegler" <halostatue@...> 2006/08/31

On 8/31/06, Timothy Hunter <TimHunter@nc.rr.com> wrote:

[#211518] Ruby Books — Dave Dave <brochu121@...>

I am trying to get into Ruby programming so that I could eventually work

21 messages 2006/08/30
[#211580] Re: Ruby Books — "Alvin Ryder" <alvin321@...> 2006/08/30

Dave Dave wrote:

[#211635] Re: Ruby Books — "Rick DeNatale" <rick.denatale@...> 2006/08/30

On 8/30/06, Alvin Ryder <alvin321@telstra.com> wrote:

[#211711] Re: Ruby Books — Eduardo Y瘻ez Parareda <eduardo.yanezNOSPAM@...> 2006/08/31

[#211521] Obtaining a reference to an enclosing class of a nested class — "John Lam" <drjflam@...>

Here is a nested class definition:

13 messages 2006/08/30

[#211860] TkDialogBox missing? — Josef Wolf <jw@...>

Hello!

23 messages 2006/08/31
[#211895] Re: TkDialogBox missing? — Hidetoshi NAGAI <nagai@...> 2006/09/01

From: Josef Wolf <jw@raven.inka.de>

[#211931] Re: TkDialogBox missing? — Josef Wolf <jw@...> 2006/09/01

On Fri, Sep 01, 2006 at 12:01:13PM +0900, Hidetoshi NAGAI wrote:

[#212432] Re: TkDialogBox missing? — Josef Wolf <jw@...> 2006/09/03

On Fri, Sep 01, 2006 at 03:00:34PM +0900, Josef Wolf wrote:

[#212494] Re: TkDialogBox missing? — Morton Goldberg <m_goldberg@...> 2006/09/04

On Sep 3, 2006, at 8:50 AM, Josef Wolf wrote:

[#212599] Re: TkDialogBox missing? — Josef Wolf <jw@...> 2006/09/04

On Mon, Sep 04, 2006 at 11:30:01AM +0900, Morton Goldberg wrote:

Re: [QUIZ] Pen and Paper (#90)

From: James Edward Gray II <james@...>
Date: 2006-08-15 16:32:27 UTC
List: ruby-talk #208598
On Aug 12, 2006, at 5:15 PM, James Edward Gray II wrote:

> In all fairness, I really would love to go back and add the solver,  
> but I am very, very busy this weekend.  :(  We will see if I can  
> steal the time.

I found the time.  Here are some fun timings with it:

$ time ruby grid_fill.rb -s 19
------------------------------------------------------------------------ 
-----
| 203 229 224 204 230 223 209 233 220 210 234 219 211 235 160 194 236  
161 167 |
| 268 174 201 34  173 200 35  172 199 352 171 198 312 170 197 163 169  
196 164 |
| 227 205 38  228 225 60  231 222 69  232 221 70  159 218 71  238 166  
193 237 |
| 202 33  269 207 36  55  208 353 54  213 311 351 212 310 313 195 309  
162 168 |
| 267 175 226 61  39  89  84  59  216 81  68  217 72  75  240 348 74   
239 165 |
| 270 206 37  56  97  65  53  98  66  354 99  79  158 350 78  307 314  
192 308 |
| 49  32  40  90  85  58  215 88  83  214 156 82  241 361 73  242 333  
347 243 |
| 266 176 110 62  52  111 128 64  116 80  67  355 100 76  319 349 77   
306 315 |
| 271 91  50  57  96  134 86  107 155 87  342  3  157 343  4  360 317  
191 334 |
| 48  31  41  112 129 63  115 130 127 17  119 104 320  1  103 303 332  
346 244 |
| 265 177 109 135 51  108 136 133 117 106 154 356 101  6  318 344  5   
305 316 |
| 272 92  45  28  95  143 126 18  148 131 341  2  120 302 331 359 283  
190 335 |
| 47  30  42  113 124 138 114 123 137 16  118 105 321 357 102 304 329  
345 245 |
| 264 178 26  144 44  27  149 132 340 11  153 293 338  7  284 301 336  
250 282 |
| 273 93  46  29  94  142 125 19  147 122 322 15  121 297 330 358 254  
189 328 |
| 182 24  43  290 25  139 291 12  150 292 339 10  285 294 337 251 281  
300 246 |
| 263 179 21  145 261 20  146 141 323 14  152 296 325  8  257 298 327  
249 255 |
| 274 289 183 275 288 184 276 287 185 277 286 186 278 252 187 279 253  
188 280 |
| 181 23  262 180 22  140 260 13  151 259 324  9  258 295 326 248 256  
299 247 |
------------------------------------------------------------------------ 
-----

real    0m0.013s
user    0m0.007s
sys     0m0.005s
$ time ruby grid_fill.rb -s 19
------------------------------------------------------------------------ 
-----
| 282 308 303 283 309 302 288 312 299 289 313 298 290 314 239 273 315  
240 246 |
| 347 253 280 113 252 279 114 251 278 70  250 277 30  249 276 242 248  
275 243 |
| 306 284 117 307 304 139 310 301 148 311 300 149 238 297 150 317 245  
272 316 |
| 281 112 348 286 115 134 287 71  133 292 29  69  291 28  31  274 27   
241 247 |
| 346 254 305 140 118 168 163 138 295 160 147 296 151 154 319 66  153  
318 244 |
| 349 285 116 135 176 144 132 177 145 72  178 158 237 68  157 25  32   
271 26  |
| 128 111 119 169 164 137 294 167 162 293 235 161 320 79  152 321 51   
65  322 |
| 345 255 189 141 131 190 207 143 195 159 146 73  179 155 37  67  156  
24  33  |
| 350 170 129 136 175 213 165 186 234 166 60  82  236 61  83  78  35   
270 52  |
| 127 110 120 191 208 142 194 209 206 96  198 183 38  80  182 21  50   
64  323 |
| 344 256 188 214 130 187 215 212 196 185 233 74  180 85  36  62  84   
23  34  |
| 351 171 124 107 174 222 205 97  227 210 59  81  199 20  49  77   1   
269 53  |
| 126 109 121 192 203 217 193 202 216 95  197 184 39  75  181 22  47   
63  324 |
| 343 257 105 223 123 106 228 211 58  90  232 11  56  86   2  19  54   
329 361 |
| 352 172 125 108 173 221 204 98  226 201 40  94  200 15  48  76  333  
268 46  |
| 261 103 122  8  104 218  9  91  229 10  57  89   3  12  55  330 360  
18  325 |
| 342 258 100 224 340 99  225 220 41  93  231 14  43  87  336 16  45   
328 334 |
| 353  7  262 354  6  263 355  5  264 356  4  265 357 331 266 358 332  
267 359 |
| 260 102 341 259 101 219 339 92  230 338 42  88  337 13  44  327 335  
17  326 |
------------------------------------------------------------------------ 
-----

real    0m0.012s
user    0m0.007s
sys     0m0.005s
$ time ruby grid_fill.rb -s 19
------------------------------------------------------------------------ 
-----
| 139 165 160 140 166 159 145 169 156 146 170 155 147 171 96  130 172  
97  103 |
| 204 110 137 331 109 136 332 108 135 288 107 134 248 106 133 99  105  
132 100 |
| 163 141 335 164 161 357 167 158  5  168 157  6  95  154  7  174 102  
129 173 |
| 138 330 205 143 333 352 144 289 351 149 247 287 148 246 249 131 245  
98  104 |
| 203 111 162 358 336 25  20  356 152 17   4  153  8  11  176 284 10   
175 101 |
| 206 142 334 353 33   1  350 34   2  290 35  15  94  286 14  243 250  
128 244 |
| 346 329 337 26  21  355 151 24  19  150 92  18  177 297  9  178 269  
283 179 |
| 202 112 46  359 349 47  64  361 52  16   3  291 36  12  255 285 13   
242 251 |
| 207 27  347 354 32  70  22  43  91  23  278 300 93  279 301 296 253  
127 270 |
| 345 328 338 48  65  360 51  66  63  314 55  40  256 298 39  239 268  
282 180 |
| 201 113 45  71  348 44  72  69  53  42  90  292 37  303 254 280 302  
241 252 |
| 208 28  342 325 31  79  62  315 84  67  277 299 56  238 267 295 219  
126 271 |
| 344 327 339 49  60  74  50  59  73  313 54  41  257 293 38  240 265  
281 181 |
| 200 114 323 80  341 324 85  68  276 308 89  229 274 304 220 237 272  
186 218 |
| 209 29  343 326 30  78  61  316 83  58  258 312 57  233 266 294 190  
125 264 |
| 118 321 340 226 322 75  227 309 86  228 275 307 221 230 273 187 217  
236 182 |
| 199 115 318 81  197 317 82  77  259 311 88  232 261 305 193 234 263  
185 191 |
| 210 225 119 211 224 120 212 223 121 213 222 122 214 188 123 215 189  
124 216 |
| 117 320 198 116 319 76  196 310 87  195 260 306 194 231 262 184 192  
235 183 |
------------------------------------------------------------------------ 
-----

real    0m0.012s
user    0m0.007s
sys     0m0.005s

It even always gets the bonus points for the circular solution.   
<laughs>

OK, I admit finding circular solutions on the big boards sucks.  ;)

Here's the code:

#!/usr/bin/env ruby -w

require "enumerator"

class PenAndPaperGame
   def self.circular_solutions
     @circular ||= if File.exist?("circular_solutions.dump")
       File.open("circular_solutions.dump") { |file| Marshal.load 
(file) }
     else
       Array.new
     end
   end

   def initialize(size)
     @size    = size
     @largest = @size * @size

     @grid = Array.new(@largest)
   end

   def solve
     if self.class.circular_solutions[@size].nil?
       solve_manually
     else
       @grid  = self.class.circular_solutions[@size]
       offset = @grid[rand(@grid.size)]
       @grid.map! { |n| (n + offset) % @largest + 1 }
       to_s
     end
   end

   def solve_manually
     x, y  = rand(@size), rand(@size)
     count = mark(x, y)

     loop do
       to = jumps(x, y)
       return self.class.new(@size).solve_manually if to.empty?

       scores    = rate_jumps(to)
       low       = scores.min
       next_jump = to.enum_for(:each_with_index).select do |jump|
         scores[jump.last] == low
       end.sort_by { rand }.first.first

       count = mark(*(next_jump + [count]))
       x, y  = next_jump

       if count > @largest
         if circular?
           self.class.circular_solutions[@size] = @grid
           File.open("circular_solutions.dump", "w") do |file|
             Marshal.dump(self.class.circular_solutions, file)
           end
           return to_s
         else
           puts "Found this solution:"
           puts to_s
           puts "Continuing search for a circular solution..."
           return self.class.new(@size).solve_manually
         end
       end
     end
   end

   def to_s
     width  = @largest.to_s.size
     border = " -" + (["-" * width] * @size).join("-") + "- \n"

     border +
     @grid.enum_for(:each_slice, @size).inject(String.new) do |grid,  
row|
       grid + "| " + row.map { |n| n.to_s.center(width) }.join(" ") +  
" |\n"
     end +
     border
   end

   private

   def at(x, y)
     x + y * @size
   end

   def mark(current_x, current_y, mark = 1)
     @grid[at(current_x, current_y)] = mark
     mark + 1
   end

   def jumps(from_x, from_y, grid = @grid)
     [ [-3,  0],
       [3,   0],
       [0,  -3],
       [0,   3],
       [2,   2],
       [-2,  2],
       [2,  -2],
       [-2, -2] ].map do |jump|
       [from_x + jump.first, from_y + jump.last]
     end.select do |jump|
       jump.all? { |to| (0...@size).include? to } and grid[at 
(*jump)].nil?
     end
   end

   def rate_jumps(choices)
     choices.map { |jump| jumps(*jump).size }
   end

   def circular?
     grid = @grid.dup
     grid[grid.index(@largest)] = nil

     x, y = grid.index(1).divmod(@size).reverse

     not jumps(x, y, grid).empty?
   end
end

if __FILE__ == $PROGRAM_NAME
   size = ARGV.first && ARGV.first =~ /\A-s(?:ize)?\Z/ ?  
ARGV.last.to_i : 5
   puts PenAndPaperGame.new(size).solve
end

__END__

James Edward Gray II


In This Thread