[#257628] Test equality of each element in an array — 12 34 <rubyforum@...>

I want to see if any element of an array is equal to a file extension

15 messages 2007/07/01

[#257636] Newbie Question. eval.rb variable scope issue — "Rishel,Wes" <Wes.Rishel@...>

I am a Python duffer who got interested in Rails an decided to check out

15 messages 2007/07/01
[#257676] Re: Newbie Question. eval.rb variable scope issue — "Rishel,Wes" <Wes.Rishel@...> 2007/07/01

Thanks, Bill. It sounds like irb will fill my needs.

[#257820] "rubyscript2exe", cannot put picture in the project??? — Cool Wong <coolwong85@...>

when i create a .exe file from ruby, the "rubyscript2exe" will occur

12 messages 2007/07/03
[#279613] Re: "rubyscript2exe", cannot put picture in the project??? — Pat Kiatchaipipat <l3litzer@...> 2007/11/18

I have the same problem somebody know how to add picture please :(

[#279615] Re: "rubyscript2exe", cannot put picture in the project??? — Janek Thomaschewski <janek@...4you.de> 2007/11/18

Hello,

[#257849] mac addr determination — "ara.t.howard" <ara.t.howard@...>

31 messages 2007/07/03
[#257864] Re: mac addr determination — "Robert Dober" <robert.dober@...> 2007/07/03

On 7/3/07, ara.t.howard <ara.t.howard@gmail.com> wrote:

[#257870] Re: mac addr determination — "ara.t.howard" <ara.t.howard@...> 2007/07/03

[#257871] Re: mac addr determination — "Alex LeDonne" <aledonne.listmail@...> 2007/07/03

On 7/3/07, ara.t.howard <ara.t.howard@gmail.com> wrote:

[#257880] Re: mac addr determination — "Jeff Barczewski" <jeff.barczewski@...> 2007/07/03

On 7/3/07, Alex LeDonne <aledonne.listmail@gmail.com> wrote:

[#257882] Re: mac addr determination — "ara.t.howard" <ara.t.howard@...> 2007/07/03

[#257854] Re: [ANN] flatulent-0.0.1 ascii captcha for the masses — Brian Candler <B.Candler@...>

> the flatulent gem provides brain dead simple ascii art captcha for

18 messages 2007/07/03
[#257997] Re: [ANN] flatulent-0.0.1 ascii captcha for the masses — Brian Candler <B.Candler@...> 2007/07/04

> have fun putting that together. to do it you need to render, not

[#257928] block params scoping (was ruby-talk 257917: RE: Using a block to surround a string?) — Pe, Botp <botp@...>

Fr David Black:

14 messages 2007/07/04
[#257959] Re: block params scoping (was ruby-talk 257917: RE: Using a block to surround a string?) — "Gregory Brown" <gregory.t.brown@...> 2007/07/04

On 7/4/07, Pe, Botp <botp@delmonte-phil.com> wrote:

[#257962] Re: block params scoping (was ruby-talk 257917: RE: Using a block to surround a string?) — dblack@... 2007/07/04

Hi --

[#257966] Re: block params scoping (was ruby-talk 257917: RE: Using a block to surround a string?) — "Gregory Brown" <gregory.t.brown@...> 2007/07/04

On 7/4/07, dblack@wobblini.net <dblack@wobblini.net> wrote:

[#257940] Ruby case statement — "tobyclemson@..." <tobyclemson@...>

Hi,

13 messages 2007/07/04

[#257967] eclipse & subversion — David Southwell <david@...2000.net>

Hi

15 messages 2007/07/04
[#257984] Re: eclipse & subversion — "Gregory Brown" <gregory.t.brown@...> 2007/07/04

On 7/4/07, David Southwell <david@vizion2000.net> wrote:

[#258047] Re: eclipse & subversion — David Southwell <david@...2000.net> 2007/07/05

On Wednesday 04 July 2007 08:42:06 Gregory Brown wrote:

[#258040] flatulent-0.0.3 — "ara.t.howard" <ara.t.howard@...>

21 messages 2007/07/05

[#258118] Calling an arbitrary method as and when an array's contents change — "Dan Stevens (IAmAI)" <dan.stevens.iamai@...>

I have a collection class that extends the Array class and I wish to

18 messages 2007/07/05
[#258120] Re: Calling an arbitrary method as and when an array's contents change — MenTaLguY <mental@...> 2007/07/05

On Fri, 6 Jul 2007 07:13:31 +0900, "Dan Stevens (IAmAI)" <dan.stevens.iamai@gmail.com> wrote:

[#258129] Re: Calling an arbitrary method as and when an array's contents change — Micah Martin <micah@8thlight.com> 2007/07/05

Great. Houlihans is quiet enough for us to talk. 5:00pm work for you?

[#258167] Regex: What does the ^ do? What is it called? — Al Cholic <desertfox@...>

Hello,

12 messages 2007/07/06

[#258185] Oh the pain! Distributing Ruby apps — Sharon Phillips <phillipsds@...>

Hi,

12 messages 2007/07/06

[#258203] Hangman (#130) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

13 messages 2007/07/06

[#258321] Polymorphic Code — Ari Brown <ari@...>

Hey,

33 messages 2007/07/08
[#258328] Re: Polymorphic Code — Sharon Phillips <phillipsds@...> 2007/07/08

[#258330] Get file size before download (noobish question) — Guest <Guest@...>

Hi,

15 messages 2007/07/08

[#258379] Yield should be renamed call_block — Bharat Ruparel <bruparel@...>

One of the virtues of the Ruby language that is touted by just about

70 messages 2007/07/09
[#258384] Re: Yield should be renamed call_block — Yukihiro Matsumoto <matz@...> 2007/07/09

Hi,

[#258407] Re: Yield should be renamed call_block — dblack@... 2007/07/09

Hi --

[#258414] Re: Yield should be renamed call_block — Yukihiro Matsumoto <matz@...> 2007/07/09

Hi,

[#258422] Re: Yield should be renamed call_block — John Joyce <dangerwillrobinsondanger@...> 2007/07/09

[#258453] Re: Yield should be renamed call_block — dblack@... 2007/07/09

Hi --

[#258676] Re: Yield should be renamed call_block — Yukihiro Matsumoto <matz@...> 2007/07/10

Hi,

[#258690] Re: Yield should be renamed call_block — dblack@... 2007/07/10

Hi --

[#258691] Re: Yield should be renamed call_block — "ara.t.howard" <ara.t.howard@...> 2007/07/10

[#258466] god 0.1.0 released — Tom Werner <pubsub@...>

I'm proud to announce the initial public release of god!

37 messages 2007/07/09

[#258498] Beautiful Code : Pity he didn't ask here... — John Carter <john.carter@...>

Just got the O'Reilly announcement of the book "Beautiful

52 messages 2007/07/10
[#258609] Re: Beautiful Code : Pity he didn't ask here... — Tim Bray <Tim.Bray@...> 2007/07/10

On Jul 9, 2007, at 5:15 PM, John Carter wrote:

[#258583] Re: Beautiful Code : Pity he didn't ask here... — "Christoffer Sawicki" <christoffer.sawicki@...> 2007/07/10

Hello.

[#258587] Re: Beautiful Code : Pity he didn't ask here... — "Wayne E. Seguin" <wayneeseguin@...> 2007/07/10

On Jul 10, 2007, at 08:27 , Christoffer Sawicki wrote:

[#258595] Re: Beautiful Code : Pity he didn't ask here... — "Gregory Brown" <gregory.t.brown@...> 2007/07/10

On 7/10/07, Wayne E. Seguin <wayneeseguin@gmail.com> wrote:

[#258598] Re: Beautiful Code : Pity he didn't ask here... — James Edward Gray II <james@...> 2007/07/10

On Jul 10, 2007, at 8:13 AM, Gregory Brown wrote:

[#258514] Repacking an array of arrays — Kaps Lok <jocubeit@...>

Is there an elegant (maybe a one-liner) for repacking:

13 messages 2007/07/10

[#258540] Getting Gem Version from Within a Gem — Frew Schmidt <frioux@...>

Does anyone know if there is a way that I can have my program output

17 messages 2007/07/10
[#258544] Re: Getting Gem Version from Within a Gem — Kuba <kuba.podgorski@...> 2007/07/10

On 7/10/07, Frew Schmidt <frioux@gmail.com> wrote:

[#258608] Religion (was: god 0.1.0 released) — "Gregory Brown" <gregory.t.brown@...>

On 7/10/07, Todd Burch <promos@burchwoodusa.com> wrote:

178 messages 2007/07/10
[#258619] Re: Religion (was: god 0.1.0 released) — Trans <transfire@...> 2007/07/10

[#258620] Re: Religion (was: god 0.1.0 released) — James Edward Gray II <james@...> 2007/07/10

On Jul 10, 2007, at 10:20 AM, Trans wrote:

[#258625] Re: Religion (was: god 0.1.0 released) — Lyle Johnson <lyle.johnson@...> 2007/07/10

[#258658] Re: Religion (was: god 0.1.0 released) — Chad Perrin <perrin@...> 2007/07/10

On Wed, Jul 11, 2007 at 12:29:57AM +0900, Lyle Johnson wrote:

[#258661] Re: Religion (was: god 0.1.0 released) — John Joyce <dangerwillrobinsondanger@...> 2007/07/10

[#258726] Re: Religion (was: god 0.1.0 released) — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/11

John Joyce wrote:

[#258623] Re: Religion (was: god 0.1.0 released) — "Gregory Brown" <gregory.t.brown@...> 2007/07/10

On 7/10/07, Trans <transfire@gmail.com> wrote:

[#258641] Re: Religion (was: god 0.1.0 released) — khaines@... 2007/07/10

On Wed, 11 Jul 2007, Gregory Brown wrote:

[#258659] Re: Religion (was: god 0.1.0 released) — Chad Perrin <perrin@...> 2007/07/10

On Wed, Jul 11, 2007 at 01:51:34AM +0900, khaines@enigo.com wrote:

[#258908] God versus god (Was: Re: Religion (was: god 0.1.0 released)) — MenTaLguY <mental@...> 2007/07/11

On Wed, 11 Jul 2007 03:11:27 +0900, Chad Perrin <perrin@apotheon.com> wrote:

[#258941] Re: God versus god (Was: Re: Religion (was: god 0.1.0 released)) — Chad Perrin <perrin@...> 2007/07/11

On Thu, Jul 12, 2007 at 03:41:39AM +0900, MenTaLguY wrote:

[#258639] Re: Religion (was: god 0.1.0 released) — Todd Burch <promos@...> 2007/07/10

Gregory Brown wrote:

[#258648] Re: Religion (was: god 0.1.0 released) — Jon Garvin <jgarvin.lists@...> 2007/07/10

Todd Burch wrote:

[#258650] Re: Religion (was: god 0.1.0 released) — Enrique Comba Riepenhausen <ecomba@...> 2007/07/10

Jeezzz...

[#259207] Re: Religion (was: god 0.1.0 released) — "Peter Cooper" <peter@...> 2007/07/13

On 7/10/07, Enrique Comba Riepenhausen <ecomba@mac.com> wrote:

[#259214] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/13

Peter Cooper wrote:

[#259233] Re: Religion (was: god 0.1.0 released) — "Peter Cooper" <peter@...> 2007/07/13

On 7/13/07, Joe Wiltrout <wiltroutja@hotmail.com> wrote:

[#259237] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/13

Peter Cooper wrote:

[#259242] Re: Religion (was: god 0.1.0 released) — John Joyce <dangerwillrobinsondanger@...> 2007/07/13

Master / Slave is a device status on a device controller. It is

[#259245] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/13

John Joyce wrote:

[#259257] Re: Religion (was: god 0.1.0 released) — Chad Perrin <perrin@...> 2007/07/13

On Fri, Jul 13, 2007 at 02:05:52PM +0900, Joe Wiltrout wrote:

[#259276] Re: Religion (was: god 0.1.0 released) — Marc Heiler <shevegen@...> 2007/07/13

What do we learn?

[#259286] Re: Religion (was: god 0.1.0 released) — sy1234 <sy1234@...> 2007/07/13

Marc Heiler said the following on 07/13/2007 05:32 AM:

[#260582] Re: Religion (was: god 0.1.0 released) — Hal Fulton <hal9000@...> 2007/07/18

Marc Heiler wrote:

[#260585] Re: Religion (was: god 0.1.0 released) — Chad Perrin <perrin@...> 2007/07/18

On Thu, Jul 19, 2007 at 05:55:51AM +0900, Hal Fulton wrote:

[#260619] Re: Religion (was: god 0.1.0 released) — Hal Fulton <hal9000@...> 2007/07/18

Chad Perrin wrote:

[#260647] Re: [OT] Re: Religion (was: god 0.1.0 released) — Chad Perrin <perrin@...> 2007/07/19

On Thu, Jul 19, 2007 at 08:41:26AM +0900, Hal Fulton wrote:

[#260764] Re: [OT] Re: Religion (was: god 0.1.0 released) — "Wayne E. Seguin" <wayneeseguin@...> 2007/07/19

On Jul 18, 2007, at 22:57 , Chad Perrin wrote:

[#259371] Re: Religion (was: god 0.1.0 released) — MenTaLguY <mental@...> 2007/07/13

On Fri, 13 Jul 2007 12:05:23 +0900, Joe Wiltrout <wiltroutja@hotmail.com> wrote:

[#259378] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/13

Mental Guy wrote:

[#259380] Re: Religion (was: god 0.1.0 released) — MenTaLguY <mental@...> 2007/07/13

On Sat, 14 Jul 2007 02:27:09 +0900, Joe Wiltrout <wiltroutja@hotmail.com> wrote:

[#259382] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/13

Mental Guy wrote:

[#259388] Re: Religion (was: god 0.1.0 released) — "Gregory Brown" <gregory.t.brown@...> 2007/07/13

On 7/13/07, Joe Wiltrout <wiltroutja@hotmail.com> wrote:

[#259390] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/13

Gregory Brown wrote:

[#259391] Re: Religion (was: god 0.1.0 released) — MenTaLguY <mental@...> 2007/07/13

On Sat, 14 Jul 2007 03:15:21 +0900, Joe Wiltrout <wiltroutja@hotmail.com> wrote:

[#259396] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/13

Mental Guy wrote:

[#259405] Re: Religion (was: god 0.1.0 released) — MenTaLguY <mental@...> 2007/07/13

On Sat, 14 Jul 2007 03:43:43 +0900, Joe Wiltrout <wiltroutja@hotmail.com> wrote:

[#259460] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/14

Mental Guy wrote:

[#259461] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/14

But Mental Guy, what did you mean with your first statment? Can I has

[#259464] Re: Religion (was: god 0.1.0 released) — "Gregory Brown" <gregory.t.brown@...> 2007/07/14

On 7/13/07, Joe Wiltrout <wiltroutja@hotmail.com> wrote:

[#259470] Re: Religion (was: god 0.1.0 released) — Joe Wiltrout <wiltroutja@...> 2007/07/14

Gregory Brown wrote:

[#258644] Re: Religion (was: god 0.1.0 released) — "Gregory Brown" <gregory.t.brown@...> 2007/07/10

On 7/10/07, Todd Burch <promos@burchwoodusa.com> wrote:

[#258672] Help: Efficient regular expression — Divya Badrinath <dbadrinath@...>

string = "root 14051 14033 3 08:39 pts/2 00:00:00 /bin/bash"

27 messages 2007/07/10
[#258673] Re: Help: Efficient regular expression — Divya Badrinath <dbadrinath@...> 2007/07/10

Divya Badrinath wrote:

[#258674] Re: Help: Efficient regular expression — James Edward Gray II <james@...> 2007/07/10

On Jul 10, 2007, at 3:25 PM, Divya Badrinath wrote:

[#258750] if / else, how to include next line — Marc Hoeppner <marc.hoeppner@...>

13 messages 2007/07/11

[#258763] Problem in compilation and installation of Ruby 1.9 — Chirag Mistry <chirag80bece@...>

Hi

12 messages 2007/07/11

[#258887] Eventmachine 0.8.0 released with epoll, breaks Ruby file-descriptor limit — "Francis Cianfrocca" <garbagecat10@...>

The Eventmachine team is pleased to announce the release of version 0.8.0,

10 messages 2007/07/11

[#258922] Returning part of a hash — barjunk <barjunk@...>

I have hash that has about 20 keys. I'd like to create a new variable

20 messages 2007/07/11

[#259055] Ruby and PHP code in html-page — Vadim Shevchenko <veejar.net@...>

For example I have such html-page:

22 messages 2007/07/12

[#259077] Using TABs vs. spaces II. (the Philosophy flamewar reloaded ;-)) — Jan Molič <mig@1984.cz>

Hello,

12 messages 2007/07/12

[#259085] Yet another site_ruby question... — Daniel Jewett <dan@...>

Hello all,

16 messages 2007/07/12

[#259094] language transliteration help.. — Aaron Smith <beingthexemplary@...>

What is a good place to read about language transliteration? I have a

11 messages 2007/07/12

[#259099] I'm looking for any! information about ruby and QT — anansi <kazaam@...>

Hi,

10 messages 2007/07/12

[#259190] I need serious help! — Joe Wiltrout <wiltroutja@...>

Hey yall experienced coders and programmer dudes. I wanna make an MMORPG

110 messages 2007/07/13
[#259191] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/13

And how to make the graphics. That would be nice too.

[#259194] Re: I need serious help! — John Joyce <dangerwillrobinsondanger@...> 2007/07/13

That's a tall order!!

[#259201] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/13

John Joyce wrote:

[#259209] Re: I need serious help! — seebs@... (Peter Seebach) 2007/07/13

In message <3086e6b698191ec82127967a5cb62076@ruby-forum.com>, Joe Wiltrout writes:

[#259399] Re: I need serious help! — Lloyd Linklater <lloyd@2live4.com> 2007/07/13

While so many people graciously responded with helpful tips, my first

[#259403] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/13

Lloyd Linklater wrote:

[#259407] Re: I need serious help! — Lloyd Linklater <lloyd@2live4.com> 2007/07/13

Well, that being the case, I would like to say first off, ARRRRR! :)

[#259448] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/14

Lloyd Linklater wrote:

[#259450] Re: I need serious help! — seebs@... (Peter Seebach) 2007/07/14

In message <a344c00de0aeb6ae32d649b1accdc15a@ruby-forum.com>, Joe Wiltrout writes:

[#259453] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/14

unknown wrote:

[#259459] Re: I need serious help! — "Felix Windt" <fwmailinglists@...> 2007/07/14

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

[#259466] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/14

Felix Windt wrote:

[#259408] Re: I need serious help! — John Joyce <dangerwillrobinsondanger@...> 2007/07/13

Seriously, Joe, what you can do is plan all the features of your game

[#259451] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/14

John Joyce wrote:

[#259514] Re: I need serious help! — Chad Perrin <perrin@...> 2007/07/14

On Sat, Jul 14, 2007 at 10:47:13AM +0900, Joe Wiltrout wrote:

[#259748] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/15

Chad Perrin wrote:

[#259753] Re: I need serious help! — Chad Perrin <perrin@...> 2007/07/15

On Mon, Jul 16, 2007 at 07:22:01AM +0900, Joe Wiltrout wrote:

[#259219] gets — Jeffrey Bowen <ja_bowen@...>

Of course the code below will not work because gets is

21 messages 2007/07/13
[#259250] Re: gets — "Robert Klemme" <shortcutter@...> 2007/07/13

2007/7/13, Jeffrey Bowen <ja_bowen@yahoo.com>:

[#259222] Re: I need serious help! — Skt <scottjourand@...>

Its an example of how to code one, and whys guide is free, so two birds. Although i dont know if you'd want to just skip to it without reading the guide a bit first.

24 messages 2007/07/13
[#259227] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/13

Skt wrote:

[#259412] Re: I need serious help! — Ben Bleything <ben@...> 2007/07/13

On Fri, Jul 13, 2007, Joe Wiltrout wrote:

[#259467] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/14

Ben Bleything wrote:

[#259516] Re: I need serious help! — Chad Perrin <perrin@...> 2007/07/14

On Sat, Jul 14, 2007 at 11:34:29AM +0900, Joe Wiltrout wrote:

[#259750] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/15

Chad Perrin wrote:

[#259225] Re: I need serious help! — Skt <scottjourand@...>

Dont try to tackle more than one at a time (my problem) thats for sure.

146 messages 2007/07/13
[#259235] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/13

Skt wrote:

[#259252] Re: I need serious help! — Chad Perrin <perrin@...> 2007/07/13

On Fri, Jul 13, 2007 at 12:40:54PM +0900, Joe Wiltrout wrote:

[#259384] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/13

Chad Perrin wrote:

[#259562] Re: I need serious help! — Stephen Cox <stephen@...> 2007/07/14

Joe Wiltrout wrote:

[#259567] Re: I need serious help! — Chad Perrin <perrin@...> 2007/07/14

On Sun, Jul 15, 2007 at 04:19:41AM +0900, Stephen Cox wrote:

[#259606] Re: I need serious help! — John Joyce <dangerwillrobinsondanger@...> 2007/07/15

[#259614] Re: I need serious help! — Chad Perrin <perrin@...> 2007/07/15

On Sun, Jul 15, 2007 at 02:08:42PM +0900, John Joyce wrote:

[#259702] Re: I need serious help! — "Chris Carter" <cdcarter@...> 2007/07/15

On 7/15/07, Chad Perrin <perrin@apotheon.com> wrote:

[#259708] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/15

spawn= 2598 2413 5152 0 0 0 0 0 0 tjad game

[#259716] Re: I need serious help! — "Todd Benson" <caduceass@...> 2007/07/15

On 7/15/07, Joe Wiltrout <wiltroutja@aol.com> wrote:

[#259730] Re: I need serious help! — Chad Perrin <perrin@...> 2007/07/15

On Mon, Jul 16, 2007 at 05:26:28AM +0900, Todd Benson wrote:

[#259734] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/15

Chad Perrin wrote:

[#259737] Re: I need serious help! — seebs@... (Peter Seebach) 2007/07/15

In message <47ee04ed7a2708c7cc3a72eb14f36cc2@ruby-forum.com>, Joe Wiltrout writes:

[#259741] Re: I need serious help! — Chad Perrin <perrin@...> 2007/07/15

On Mon, Jul 16, 2007 at 06:29:22AM +0900, Peter Seebach wrote:

[#259792] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/15

[#259807] Re: I need serious help! — Travis D Warlick Jr <warlickt@...> 2007/07/16

Joe Wiltrout wrote:

[#259814] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/16

Travis D Warlick Jr wrote:

[#259818] Re: I need serious help! — seebs@... (Peter Seebach) 2007/07/16

In message <bc4d126ffd61c7d7dea2b4838a95d9fe@ruby-forum.com>, Joe Wiltrout writes:

[#259821] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/16

unknown wrote:

[#259824] Re: I need serious help! — seebs@... (Peter Seebach) 2007/07/16

In message <a27a2ca39674ea8fc2e0ec41d6210f8d@ruby-forum.com>, Joe Wiltrout writes:

[#259850] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/16

unknown wrote:

[#259798] Re: I need serious help! — Stefan Rusterholz <apeiros@...> 2007/07/16

Joe Wiltrout wrote:

[#259800] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/16

Stefan Rusterholz wrote:

[#259812] Re: I need serious help! — seebs@... (Peter Seebach) 2007/07/16

In message <014ac61748b0c3e081129f75c81ab99f@ruby-forum.com>, Joe Wiltrout writes:

[#259826] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/16

unknown wrote:

[#259842] Re: I need serious help! — "Todd Benson" <caduceass@...> 2007/07/16

On 7/15/07, Joe Wiltrout <wiltroutja@aol.com> wrote:

[#259828] Re: I need serious help! — Travis D Warlick Jr <warlickt@...> 2007/07/16

Joe Wiltrout wrote:

[#259742] Re: I need serious help! — Joe Wiltrout <wiltroutja@...> 2007/07/15

unknown wrote:

[#259758] Re: I need serious help! — seebs@... (Peter Seebach) 2007/07/15

In message <a5843cdebd2ed0e10026df8e7b5b3163@ruby-forum.com>, Joe Wiltrout writes:

[#259253] Building ruby with bcc32 — Yusuf Celik <ycelik@...>

Hi,

29 messages 2007/07/13
[#259256] Re: Building ruby with bcc32 — Chad Perrin <perrin@...> 2007/07/13

On Fri, Jul 13, 2007 at 03:47:45PM +0900, Yusuf Celik wrote:

[#259260] Re: Building ruby with bcc32 — Yusuf Celik <ycelik@...> 2007/07/13

Thanks Chad,

[#259518] Re: Building ruby with bcc32 — Chad Perrin <perrin@...> 2007/07/14

On Fri, Jul 13, 2007 at 04:16:23PM +0900, Yusuf Celik wrote:

[#259520] Re: Building ruby with bcc32 — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/14

Chad Perrin wrote:

[#259951] Re: Building ruby with bcc32 — Yusuf Celik <ycelik@...> 2007/07/16

Thanks all,

[#260445] Re: Building ruby with bcc32 — Yusuf Celik <ycelik@...> 2007/07/18

At least you can lead me to an internet page.

[#259319] Real project -- general application structure — Ricardo Jasinski <rjasinski@...>

Hi everyone,

19 messages 2007/07/13
[#259406] Re: Real project -- general application structure — ChrisH <chris.hulan@...> 2007/07/13

On Jul 13, 10:16 am, Ricardo Jasinski <rjasin...@gmail.com> wrote:

[#259445] Re: Real project -- general application structure — Ricardo Jasinski <rjasinski@...> 2007/07/14

> So the data collection app stores it in the DB, and the web page just

[#259323] Maximum Sub-Array (#131) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

49 messages 2007/07/13
[#259331] Re: [QUIZ] Maximum Sub-Array (#131) — "Matt Greer" <matt.e.greer@...> 2007/07/13

>

[#259332] Re: [QUIZ] Maximum Sub-Array (#131) — "Matt Greer" <matt.e.greer@...> 2007/07/13

On 7/13/07, Matt Greer <matt.e.greer@gmail.com> wrote:

[#259348] Re: [QUIZ] Maximum Sub-Array (#131) — "David Chelimsky" <dchelimsky@...> 2007/07/13

On 7/13/07, Matt Greer <matt.e.greer@gmail.com> wrote:

[#259417] Base 26 — "Mike Moore" <blowmage@...>

Hey friends! What is the best way to convert a Numeric to a string encoded

14 messages 2007/07/13

[#259505] weirdness with ruby unit testing on mac — David Carlton <carlton@...>

I have a ruby project that I've written in a Linux environment. (Ruby

12 messages 2007/07/14

[#259574] graphing/charting application — Chad Perrin <perrin@...>

I'm hunting around for a simple application that generates images like

25 messages 2007/07/14
[#259580] Re: graphing/charting application — Michael Glaesemann <grzm@...> 2007/07/14

[#259685] Re: graphing/charting application — Chad Perrin <perrin@...> 2007/07/15

On Sun, Jul 15, 2007 at 08:01:43AM +0900, Michael Glaesemann wrote:

[#259688] Re: graphing/charting application — "Gregory Brown" <gregory.t.brown@...> 2007/07/15

On 7/15/07, Chad Perrin <perrin@apotheon.com> wrote:

[#259690] Re: graphing/charting application — Chad Perrin <perrin@...> 2007/07/15

On Mon, Jul 16, 2007 at 01:33:12AM +0900, Gregory Brown wrote:

[#259693] Re: graphing/charting application — "Gregory Brown" <gregory.t.brown@...> 2007/07/15

On 7/15/07, Chad Perrin <perrin@apotheon.com> wrote:

[#259576] Calling a Perl script from Ruby — 12 34 <rubyforum@...>

I'd like to use gpsPhoto.pl in a Ruby script.

17 messages 2007/07/14
[#259585] Re: Calling a Perl script from Ruby — Tim Hunter <TimHunter@...> 2007/07/15

12 34 wrote:

[#259587] Re: Calling a Perl script from Ruby — Dave Coleman <dave@...> 2007/07/15

Tim Hunter wrote:

[#259621] I offer serious help — SonOfLilit <sonoflilit@...>

Hello Joe,

34 messages 2007/07/15
[#259622] Re: I offer serious help — SonOfLilit <sonoflilit@...> 2007/07/15

(to make things clear: this is Re: Need serious help!)

[#259706] Re: I offer serious help — Joe Wiltrout <wiltroutja@...> 2007/07/15

Dangit. The download isn't working. For some reason it won't paste into

[#259710] Re: I offer serious help — Sammy Larbi <sam@...> 2007/07/15

Joe Wiltrout wrote, On 7/15/2007 2:55 PM:

[#259717] Re: I offer serious help — Joe Wiltrout <wiltroutja@...> 2007/07/15

Omg. This turtle thing is fun. I was just messing around, and made the

[#259718] Re: I offer serious help — Joe Wiltrout <wiltroutja@...> 2007/07/15

Only problem, I don't know some kind of command that erases what I did

[#259723] Re: I offer serious help — Joe Wiltrout <wiltroutja@...> 2007/07/15

And is there a way to save words you make so that whenever I restart

[#259637] Help installing fxruby on osx — Sharon Phillips <phillipsds@...>

Hi,

18 messages 2007/07/15
[#259650] Re: Help installing fxruby on osx — Lyle Johnson <lyle.johnson@...> 2007/07/15

[#259648] Maximum Sub-Array (#131) — "Aureliano Calvo" <aurelianocalvo@...>

Given that the spoiler time is finished (I think) these are my

10 messages 2007/07/15

[#259888] Technology solutions for Ruby? — Michael Reiland <mreiland1978@...>

I'm contemplating writing an application in Ruby but in order to do so I

31 messages 2007/07/16
[#259894] Re: Technology solutions for Ruby? — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/16

Michael Reiland wrote:

[#259899] Re: Technology solutions for Ruby? — John Joyce <dangerwillrobinsondanger@...> 2007/07/16

[#259901] Re: Technology solutions for Ruby? — SonOfLilit <sonoflilit@...> 2007/07/16

The ruby way is to consider building any app with the requirements you

[#259940] clean nice way (hash) — Shai Rosenfeld <shaiguitar@...>

hi,

24 messages 2007/07/16
[#259949] Re: clean nice way (hash) — hemant <gethemant@...> 2007/07/16

On 7/16/07, Shai Rosenfeld <shaiguitar@gmail.com> wrote:

[#259986] Re: clean nice way (hash) — James Edward Gray II <james@...> 2007/07/16

On Jul 16, 2007, at 5:58 AM, hemant wrote:

[#259996] Re: clean nice way (hash) — "Chris Carter" <cdcarter@...> 2007/07/16

On 7/16/07, James Edward Gray II <james@grayproductions.net> wrote:

[#259974] The Pebble in the Ruby Shoe — Raphael Gillett <r.gillett@...>

109 messages 2007/07/16
[#260587] Re: The Pebble in the Ruby Shoe — jgamble@... (John M. Gamble) 2007/07/18

In article <69f66b790707161046p5c5e494ao7fd524599e5ad1e4@mail.gmail.com>,

[#260613] Re: The Pebble in the Ruby Shoe — "Michael P. Soulier" <msoulier@...> 2007/07/18

On 19/07/07 John M. Gamble said:

[#260641] Re: The Pebble in the Ruby Shoe — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/19

Michael P. Soulier wrote:

[#260049] Re: The Pebble in the Ruby Shoe — "ara.t.howard" <ara.t.howard@...> 2007/07/16

[#260055] Re: The Pebble in the Ruby Shoe — "Tim Pease" <tim.pease@...> 2007/07/16

On 7/16/07, ara.t.howard <ara.t.howard@gmail.com> wrote:

[#260061] Re: The Pebble in the Ruby Shoe — Lloyd Linklater <lloyd@2live4.com> 2007/07/16

Tim Pease wrote:

[#260233] Re: The Pebble in the Ruby Shoe — Adrian Howard <adrianh@...> 2007/07/17

[#260392] Re: The Pebble in the Ruby Shoe — kevin cline <kevin.cline@...> 2007/07/18

On Jul 16, 8:22 am, Raphael Gillett <r.gill...@rational.demon.co.uk>

[#260403] Re: The Pebble in the Ruby Shoe — MenTaLguY <mental@...> 2007/07/18

On Wed, 2007-07-18 at 16:20 +0900, kevin cline wrote:

[#260094] How to reclaim memory without GC.start — "dtuttle1@..." <dtuttle1@...>

Hi - I have a memory and cpu-constrained embedded app. There's a long-

27 messages 2007/07/16
[#260117] Re: How to reclaim memory without GC.start — Travis D Warlick Jr <warlickt@...> 2007/07/16

dtuttle1@gmail.com wrote:

[#260120] Re: How to reclaim memory without GC.start — Lionel Bouton <lionel-subscription@...> 2007/07/16

Travis D Warlick Jr wrote the following on 17.07.2007 01:31 :

[#260126] Re: How to reclaim memory without GC.start — Travis D Warlick Jr <warlickt@...> 2007/07/17

Lionel Bouton wrote:

[#260127] Re: How to reclaim memory without GC.start — Joel VanderWerf <vjoel@...> 2007/07/17

Travis D Warlick Jr wrote:

[#260135] Re: How to reclaim memory without GC.start — Travis D Warlick Jr <warlickt@...> 2007/07/17

Joel VanderWerf wrote:

[#260158] Re: How to reclaim memory without GC.start — Joel VanderWerf <vjoel@...> 2007/07/17

Travis D Warlick Jr wrote:

[#260210] Re: How to reclaim memory without GC.start — "Robert Klemme" <shortcutter@...> 2007/07/17

2007/7/17, Joel VanderWerf <vjoel@path.berkeley.edu>:

[#263330] Re: How to reclaim memory without GC.start — Erik Veenstra <erikveen@...> 2007/08/04

> buffer = "." * 1024

[#263442] Re: How to reclaim memory without GC.start — "Logan Capaldo" <logancapaldo@...> 2007/08/06

On 8/4/07, Erik Veenstra <erikveen@gmail.com> wrote:

[#260175] What is the fastest way to convert a object? — Magicloud Magiclouds <magicloud.magiclouds@...>

Dear all,

14 messages 2007/07/17
[#260182] Re: What is the fastest way to convert a object? — Ryan Davis <ryand-ruby@...> 2007/07/17

[#260220] Not a question, not really news either — Sharon Phillips <phillipsds@...>

I work for a large conservative BigCo, but have been using Ruby for

16 messages 2007/07/17
[#260224] Re: Not a question, not really news either — "Robert Dober" <robert.dober@...> 2007/07/17

On 7/17/07, Sharon Phillips <phillipsds@yahoo.co.uk> wrote:

[#260228] Re: Not a question, not really news either — Sharon Phillips <phillipsds@...> 2007/07/17

> BTW my age >> 30 ;)

[#260238] Taking the bull by its horns [was background] — "Robert Dober" <robert.dober@...>

Ok I'll put my cards on the table

141 messages 2007/07/17
[#260315] Re: Taking the bull by its horns [was background] — Morton Goldberg <m_goldberg@...> 2007/07/17

On Jul 17, 2007, at 9:26 AM, Robert Dober wrote:

[#260366] Re: Taking the bull by its horns [was background] — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/18

Morton Goldberg wrote:

[#260475] Re: Taking the bull by its horns [was background] — Morton Goldberg <m_goldberg@...> 2007/07/18

On Jul 17, 2007, at 11:24 PM, M. Edward (Ed) Borasky wrote:

[#260539] Re: Taking the bull by its horns [was background] — "John W. Kennedy" <jwkenne@...> 2007/07/18

Morton Goldberg wrote:

[#260620] Re: Taking the bull by its horns [was background] — Morton Goldberg <m_goldberg@...> 2007/07/18

On Jul 18, 2007, at 1:15 PM, John W. Kennedy wrote:

[#260634] Re: Taking the bull by its horns [was background] — "John W. Kennedy" <jwkenne@...> 2007/07/19

Morton Goldberg wrote:

[#260668] Re: Taking the bull by its horns [was background] — Morton Goldberg <m_goldberg@...> 2007/07/19

On Jul 18, 2007, at 9:50 PM, John W. Kennedy wrote:

[#260873] Re: Taking the bull by its horns [was background] — "John W. Kennedy" <jwkenne@...> 2007/07/20

Morton Goldberg wrote:

[#260898] Re: Taking the bull by its horns [was background] — Morton Goldberg <m_goldberg@...> 2007/07/20

On Jul 19, 2007, at 9:00 PM, John W. Kennedy wrote:

[#260998] Re: Taking the bull by its horns [was background] — "John W. Kennedy" <jwkenne@...> 2007/07/20

Morton Goldberg wrote:

[#261055] Re: Taking the bull by its horns [was background] — Morton Goldberg <m_goldberg@...> 2007/07/20

On Jul 20, 2007, at 1:05 PM, John W. Kennedy wrote:

[#261075] Re: Taking the bull by its horns [was background] — "John W. Kennedy" <jwkenne@...> 2007/07/21

Morton Goldberg wrote:

[#261087] Re: Taking the bull by its horns [was background] — Morton Goldberg <m_goldberg@...> 2007/07/21

On Jul 20, 2007, at 8:45 PM, John W. Kennedy wrote:

[#260246] Re: Taking the bull by its horns [was background] — "Jano Svitok" <jan.svitok@...> 2007/07/17

male 28y

[#260257] Re: Taking the bull by its horns [was background] — "Robert Klemme" <shortcutter@...> 2007/07/17

m40y, located in Germany

[#260279] Re: Taking the bull by its horns [was background] — SonOfLilit <sonoflilit@...> 2007/07/17

m18y, Technion, Haifa.

[#260293] Re: Taking the bull by its horns [was background] — "Robert Dober" <robert.dober@...> 2007/07/17

On 7/17/07, SonOfLilit <sonoflilit@gmail.com> wrote:

[#260335] Re: Taking the bull by its horns [was background] — Robert Klemme <shortcutter@...> 2007/07/17

On 17.07.2007 18:48, Robert Dober wrote:

[#260410] Re: Taking the bull by its horns [was background] — "Robert Dober" <robert.dober@...> 2007/07/18

On 7/17/07, Robert Klemme <shortcutter@googlemail.com> wrote:

[#260301] Re: Taking the bull by its horns [was background] — Ryan Davis <ryand-ruby@...> 2007/07/17

[#260367] Re: Taking the bull by its horns [was background] — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/18

Ryan Davis wrote:

[#260373] Re: Taking the bull by its horns [was background] — John Carter <john.carter@...> 2007/07/18

On Wed, 18 Jul 2007, M. Edward (Ed) Borasky wrote:

[#260380] Re: Taking the bull by its horns [was background] — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/18

John Carter wrote:

[#260383] Re: Taking the bull by its horns [was background] — "Martin DeMello" <martindemello@...> 2007/07/18

On 7/18/07, M. Edward (Ed) Borasky <znmeb@cesmail.net> wrote:

[#260386] Re: Taking the bull by its horns — Damjan Rems <d_rems@...> 2007/07/18

[#260506] Re: Taking the bull by its horns — "Robert Dober" <robert.dober@...> 2007/07/18

On 7/18/07, Damjan Rems <d_rems@yahoo.com> wrote:

[#260512] Re: Taking the bull by its horns — "Robert Dober" <robert.dober@...> 2007/07/18

Last r駸um藥)

[#261370] Re: Taking the bull by its horns — Kaldrenon <kaldrenon@...> 2007/07/23

Yet another male (Maybe YAM will replace YAPH some day? *sigh*)

[#261376] Re: Taking the bull by its horns — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/23

Kaldrenon wrote:

[#260972] Re: Taking the bull by its horns [was background] — "Harry Kakueki" <list.push@...> 2007/07/20

Male

[#260976] Re: Taking the bull by its horns [was background] — "Kyle Schmitt" <kyleaschmitt@...> 2007/07/20

Ehh, why not?

[#261074] Re: Taking the bull by its horns [was background] — Eleanor McHugh <eleanor@...> 2007/07/21

Age: 37

[#260253] Are we cool? method_missing in enumerator — Trans <transfire@...>

Can anyone demonstrate problems with the following?

16 messages 2007/07/17

[#260278] xsd2ruby error.... base type definition not found — Tim Perrett <freestyle_kayaker@...>

Hey guys

10 messages 2007/07/17

[#260357] syntactic sugar buzz — Jeff Pritchard <jp@...>

I'm a relative newbie. I'm finally getting the hang of some of the

33 messages 2007/07/18
[#260362] Re: syntactic sugar buzz — Trans <transfire@...> 2007/07/18

[#260390] Re: syntactic sugar buzz — Daniel Lucraft <dan@...> 2007/07/18

> On Jul 17, 6:52 pm, Jeff Pritchard <j...@jeffpritchard.com> wrote:

[#260404] Re: syntactic sugar buzz — Jeff Pritchard <jp@...> 2007/07/18

Daniel Lucraft wrote:

[#260412] Re: syntactic sugar buzz — "Robert Klemme" <shortcutter@...> 2007/07/18

2007/7/18, Jeff Pritchard <jp@jeffpritchard.com>:

[#260442] Newbie looking for help: Determining Gender — "Matthew Borgeson" <hibridmatthias@...>

Hey All-

12 messages 2007/07/18

[#260487] Validating an Image file is an image file — John Joyce <dangerwillrobinsondanger@...>

I know how to validate a file based only on the file name dot

21 messages 2007/07/18
[#260493] Re: Validating an Image file is an image file — "Wayne E. Seguin" <wayneeseguin@...> 2007/07/18

On Jul 18, 2007, at 10:25 , John Joyce wrote:

[#260525] Re: Validating an Image file is an image file — John Joyce <dangerwillrobinsondanger@...> 2007/07/18

[#260590] Re: Validating an Image file is an image file — Daniel Berger <djberg96@...> 2007/07/18

On Jul 18, 10:20 am, John Joyce <dangerwillrobinsondan...@gmail.com>

[#260681] Array : each_with_index — Vin Raja <vineetraja@...>

Hi All,

15 messages 2007/07/19

[#260720] identify and extract positions from a string - how to? — Marc Hoeppner <marc.hoeppner@...>

Hi,

12 messages 2007/07/19

[#260758] RCR? Added syntax for chains that possibly return nil — Stefan Rusterholz <apeiros@...>

One type of construct in ruby that somewhat annoys me and IMHO reduces

37 messages 2007/07/19
[#260839] Re: RCR? Added syntax for chains that possibly return nil — Trans <transfire@...> 2007/07/19

[#260843] Re: RCR? Added syntax for chains that possibly return nil — Stefan Rusterholz <apeiros@...> 2007/07/19

Trans wrote:

[#260849] Re: RCR? Added syntax for chains that possibly return nil — Trans <transfire@...> 2007/07/19

[#260852] Re: RCR? Added syntax for chains that possibly return nil — Stefan Rusterholz <apeiros@...> 2007/07/19

Trans wrote:

[#260861] Re: RCR? Added syntax for chains that possibly return nil — Trans <transfire@...> 2007/07/20

[#260940] Re: RCR? Added syntax for chains that possibly return nil — "Robert Dober" <robert.dober@...> 2007/07/20

On 7/20/07, Trans <transfire@gmail.com> wrote:

[#260892] Is there a replacement for sub? — "Michael W. Ryder" <_mwryder@...>

I was trying to come up with a way to remove x instances of a character

29 messages 2007/07/20
[#260897] Re: Is there a replacement for sub? — Chris Shea <cmshea@...> 2007/07/20

On Jul 19, 8:59 pm, "Michael W. Ryder" <_mwry...@worldnet.att.net>

[#260915] Re: Is there a replacement for sub? — "Michael W. Ryder" <_mwryder@...> 2007/07/20

Chris Shea wrote:

[#260918] Re: Is there a replacement for sub? — "Robert Klemme" <shortcutter@...> 2007/07/20

2007/7/20, Michael W. Ryder <_mwryder@worldnet.att.net>:

[#260970] Is god playing favorites? (has anyone installed it on an Ubuntu/Debian system? (was Re: [ANN] god 0.2.0 released) — "Rick DeNatale" <rick.denatale@...>

On 7/19/07, Tom Werner <pubsub@rubyisawesome.com> wrote:

10 messages 2007/07/20

[#261056] Ruby Editor — alex_land <doug.ybarbo@...>

Greetings:

114 messages 2007/07/20
[#261083] Re: Ruby Editor — Bertram Scharpf <lists@...> 2007/07/21

Hi,

[#261105] Re: Ruby Editor — Dan Zwell <dzwell@...> 2007/07/21

Bertram Scharpf wrote:

[#261064] Re: Ruby Editor — "Logan Capaldo" <logancapaldo@...> 2007/07/20

On 7/20/07, alex_land <doug.ybarbo@gmail.com> wrote:

[#261071] Re: Ruby Editor — John Joyce <dangerwillrobinsondanger@...> 2007/07/21

[#261085] Re: Ruby Editor — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/21

John Joyce wrote:

[#261091] Re: Ruby Editor — John Joyce <dangerwillrobinsondanger@...> 2007/07/21

[#261098] Re: Ruby Editor — Chad Perrin <perrin@...> 2007/07/21

On Sat, Jul 21, 2007 at 01:27:20PM +0900, John Joyce wrote:

[#261140] Re: Ruby Editor — "Robert Dober" <robert.dober@...> 2007/07/21

On 7/21/07, Chad Perrin <perrin@apotheon.com> wrote:

[#261157] Re: Ruby Editor — John Joyce <dangerwillrobinsondanger@...> 2007/07/21

[#261173] Re: Ruby Editor — Chad Perrin <perrin@...> 2007/07/22

On Sun, Jul 22, 2007 at 06:01:39AM +0900, John Joyce wrote:

[#261183] Re: Ruby Editor — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/22

Chad Perrin wrote:

[#261211] Re: Ruby Editor — Chad Perrin <perrin@...> 2007/07/22

On Sun, Jul 22, 2007 at 10:54:58AM +0900, M. Edward (Ed) Borasky wrote:

[#261302] Re: Ruby Editor — John Joyce <dangerwillrobinsondanger@...> 2007/07/23

>

[#261316] Re: Ruby Editor — Chad Perrin <perrin@...> 2007/07/23

On Mon, Jul 23, 2007 at 11:05:09AM +0900, John Joyce wrote:

[#261317] Re: Ruby Editor — "bgulian@..." <bgulian@...> 2007/07/23

On Jul 23, 12:20 am, Chad Perrin <per...@apotheon.com> wrote:

[#261325] Re: Ruby Editor — Alex Young <alex@...> 2007/07/23

bgulian@gmail.com wrote:

[#261327] Re: Ruby Editor — Michael Hollins <mick@...> 2007/07/23

Alex Young wrote:

[#261331] Re: Ruby Editor — Alex Young <alex@...> 2007/07/23

Michael Hollins wrote:

[#261339] Re: Ruby Editor — John Joyce <dangerwillrobinsondanger@...> 2007/07/23

[#261344] Re: Ruby Editor — Alex Young <alex@...> 2007/07/23

John Joyce wrote:

[#261357] Re: Ruby Editor — "M. Edward (Ed) Borasky" <znmeb@...> 2007/07/23

Alex Young wrote:

[#261407] Re: Ruby Editor — Chad Perrin <perrin@...> 2007/07/23

On Mon, Jul 23, 2007 at 10:41:54PM +0900, M. Edward (Ed) Borasky wrote:

[#261495] Re: Ruby Editor — Brad Phelan <phelan@...> 2007/07/24

Chad Perrin wrote:

[#261533] Re: Ruby Editor — John Joyce <dangerwillrobinsondanger@...> 2007/07/24

[#261558] Re: Ruby Editor — Alex Young <alex@...> 2007/07/24

John Joyce wrote:

[#261065] like man or apropos for Ruby — "Phlip" <phlipcpp@...>

Rubiods:

13 messages 2007/07/21

[#261136] Problems with test cases and other things with Ruby-WordNet — H H <appleman@...>

I tried to post this as a ticket to Ruby-WordNet trac as a ticket but

10 messages 2007/07/21

[#261190] Re: Is there a replacement for sub? — Bernard Kenik <renard@...>

ruby-talk-admin@ruby-lang.org wrote:

15 messages 2007/07/22

[#261224] Syntax bug, in 1.8.5? return not (some expr) <-- syntax error vs return (not (some expr)) <-- fine — Good Night Moon <no.email.here@...>

Well, it's all in the subject, to me it looks like a parsing bug:

10 messages 2007/07/22

[#261335] Processing a huge xml file — Tim Perrett <freestyle_kayaker@...>

Hey guys

14 messages 2007/07/23

[#261383] watir checker being run twice? — "Kyle Schmitt" <kyleaschmitt@...>

Hey all.

11 messages 2007/07/23

[#261428] Inherited & load — "F. Senault" <fred@...>

Hello.

15 messages 2007/07/23

[#261483] Static variables in Ruby. — Marcin Tyman <m.tyman@...>

Hi everybody,

23 messages 2007/07/24

[#261667] Help: Get list of modules which are included in the class — Chirag Mistry <chirag80bece@...>

Hi

27 messages 2007/07/25
[#261670] Re: Help: Get list of modules which are included in the class — Peña, Botp <botp@...> 2007/07/25

On Behalf Of Chirag Mistry:

[#261672] Re: Help: Get list of modules which are included in the class — "Robert Dober" <robert.dober@...> 2007/07/25

On 7/25/07, Pe, Botp <botp@delmonte-phil.com> wrote:

[#261676] Re: Help: Get list of modules which are included in the class — Pe, Botp <botp@...> 2007/07/25

From: Robert Dober [mailto:robert.dober@gmail.com]

[#261679] Re: Help: Get list of modules which are included in the class — dohzya <dohzya@...> 2007/07/25

How about (C2.ancestors - [C2] - C2.superclass.ancestors) ?

[#261694] YARV issues — abhi <abhijithg@...>

Hi all,

14 messages 2007/07/25
[#261699] Detecting singletons — Lars Westergren <lars.westergren@...> 2007/07/25

I have a fairly large and complex object graph of Value Objects created

[#261714] File.basename problems — Peter Bailey <pbailey@...>

Why is it that File.basename works for me for one single file, but, it

13 messages 2007/07/25

[#261764] Question - Passing parameters by reference — caof2005 <caof2005@...>

Hello Folks

28 messages 2007/07/25
[#261770] Re: Question - Passing parameters by reference — "Todd Benson" <caduceass@...> 2007/07/25

On 7/25/07, caof2005 <caof2005@gmail.com> wrote:

[#261771] Re: Question - Passing parameters by reference — "Chris Thiel" <ccthiel@...> 2007/07/25

On 7/25/07, Todd Benson <caduceass@gmail.com> wrote:

[#261775] Re: Question - Passing parameters by reference — dblack@... 2007/07/25

Hi --

[#261790] Re: Question - Passing parameters by reference — caof2005 <caof2005@...> 2007/07/25

Thanks for the response, although I was just wondering that using

[#261798] Re: Question - Passing parameters by reference — "Jason Roelofs" <jameskilton@...> 2007/07/25

You're pretty close, just some details as to the whyness:

[#261838] Adding arrays — Erik Boling <schmode93@...>

I was wondering, if it is possible to add two different arrays together,

14 messages 2007/07/25

[#261845] Why is it so hard to kill Ruby? — Tim Hunter <TimHunter@...>

Since I've been using Ruby I've noticed that a running Ruby script is

15 messages 2007/07/25

[#261875] how can i use a ruby class in object way — Guo Yangguang <gyg22@163.com>

hello:

11 messages 2007/07/26

[#261992] Article of interest (?): Why Ruby on Rails Succeeded — estherschindler <esther@...>

Whatever you think of Ruby on Rails technically -- even if you prefer

11 messages 2007/07/26

[#262046] Usage patterns and trusted libraries — David Rush <kumoyuki@...>

Hi y'all,

13 messages 2007/07/26

[#262056] Re: beginner Q. — jpywtora@...

I don't know about hh's implementation but how about

14 messages 2007/07/26

[#262060] How to delete array element and add to previous element — Al Cholic <desertfox@...>

Hello,

19 messages 2007/07/27
[#262069] Re: How to delete array element and add to previous element — Morton Goldberg <m_goldberg@...> 2007/07/27

On Jul 26, 2007, at 8:15 PM, Al Cholic wrote:

[#262071] Re: How to delete array element and add to previous element — Al Cholic <desertfox@...> 2007/07/27

[#262072] Re: How to delete array element and add to previous element — Al Cholic <desertfox@...> 2007/07/27

I reposting my last response since there is no edit on this forum.

[#262078] Re: How to delete array element and add to previous element — Morton Goldberg <m_goldberg@...> 2007/07/27

On Jul 26, 2007, at 9:59 PM, Al Cholic wrote:

[#262095] Re: How to delete array element and add to previous element — Al Cholic <desertfox@...> 2007/07/27

Morton Goldberg wrote:

[#262061] Australia or Canada, which one is the best country for a geek?!? — "Houman Dunnil" <h.dunnil@...>

Hello folks,

47 messages 2007/07/27
[#262364] Re: [Very OT] Australia or Canada, which one is the best country for a geek?!? — Tim Bray <Tim.Bray@...> 2007/07/29

On Jul 26, 2007, at 5:21 PM, Houman Dunnil wrote:

[#262070] Rubypub.com - A Ruby Documentation Wiki — "Brian Tol" <wiremine@...>

[ANN] Rubypub.com - A Ruby Documentation Wiki

22 messages 2007/07/27

[#262096] How to pass arguments by reference in a function — ashishwave <ashishwave@...>

if i pass arguments in a function then they get passed by value. how

11 messages 2007/07/27

[#262134] Crossword Solver (#132) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

13 messages 2007/07/27

[#262233] EURUKO 2007 — Stephan K舂per <stephan.kaemper@...>

Hi all,

18 messages 2007/07/27

[#262263] Finding un-escaped characters in scan() — "Fred Phillips" <fophillips1990@...>

I have a string that looks like this: "test,,\,test". And I'm trying to

10 messages 2007/07/28

[#262303] Best OS-X GUI creator for non-programmer — 12 34 <rubyforum@...>

I've written a relatively simple script which has about five

16 messages 2007/07/28

[#262342] Performance diffrence between ifs and case — forgottenwizard <phrexianreaper@...>

What kind of diffrences are there, effectivly, between case and a series

31 messages 2007/07/29
[#262344] Re: Performance diffrence between ifs and case — Phlip <phlip2005@...> 2007/07/29

forgottenwizard wrote:

[#262368] Re: Performance diffrence between ifs and case — Sean Surname <sorourke+ruby-forum@...> 2007/07/29

Phlip wrote:

[#262405] Re: Performance diffrence between ifs and case — John Carter <john.carter@...> 2007/07/29

On Sun, 29 Jul 2007, Sean Surname wrote:

[#262449] Re: Performance diffrence between ifs and case — Alex Young <alex@...> 2007/07/30

John Carter wrote:

[#262369] how to use ruby run a mp3 file? — Zhenning Guan <g.zhen.ning@...>

I want to use ruby run excute mp3 file,but I don't know how to get it

11 messages 2007/07/29

[#262491] BUG(?): 1.8.6-p36 broke compiling C++ extensions — Jeremy Henty <onepoint@...>

11 messages 2007/07/30

[#262518] Groklaw says "Watch out, Ruby!" — "rmagick@..." <rmagick@...>

PJ raises a warning cry about IronRuby: "Uh Oh. Another Smooth Move

45 messages 2007/07/30
[#262520] Re: Groklaw says "Watch out, Ruby!" — Lyle Johnson <lyle.johnson@...> 2007/07/30

[#262526] Re: Groklaw says "Watch out, Ruby!" — Alex Young <alex@...> 2007/07/30

Lyle Johnson wrote:

[#262531] Re: Groklaw says "Watch out, Ruby!" — Alex Young <alex@...> 2007/07/30

Alex Young wrote:

[#262534] Re: Groklaw says "Watch out, Ruby!" — "Gregory Brown" <gregory.t.brown@...> 2007/07/30

On 7/30/07, Alex Young <alex@blackkettle.org> wrote:

[#262537] Re: Groklaw says "Watch out, Ruby!" — Alex Young <alex@...> 2007/07/30

Gregory Brown wrote:

[#262555] Re: Groklaw says "Watch out, Ruby!" — "John Lam (CLR)" <jflam@...> 2007/07/30

> I'm sure you're right, I can't see many technical reasons not to use the

[#262527] Re: Groklaw says "Watch out, Ruby!" — SonOfLilit <sonoflilit@...> 2007/07/30

> With all due to respect to John Lam and the other IronRuby

[#262631] Multiple matching with ()* — "Alessandro Re" <akirosspower@...>

Hi there!

18 messages 2007/07/31

[#262651] Unexpected behavior with multidimensional arrays — Armin Armbruster <aarmbruster@...>

Hi,

15 messages 2007/07/31
[#262686] Re: Unexpected behavior with multidimensional arrays — "Tim Pease" <tim.pease@...> 2007/07/31

On 7/31/07, Armin Armbruster <aarmbruster@ndigital.com> wrote:

[#262694] Re: Unexpected behavior with multidimensional arrays — Armin Armbruster <aarmbruster@...> 2007/07/31

Tim Pease wrote:

[#262699] Re: Unexpected behavior with multidimensional arrays — "Tim Pease" <tim.pease@...> 2007/07/31

On 7/31/07, Armin Armbruster <aarmbruster@ndigital.com> wrote:

[#262701] Re: Unexpected behavior with multidimensional arrays — Dan Zwell <dzwell@...> 2007/07/31

Tim Pease wrote:

Fwd: Please Forward: Ruby Quiz Submission

From: James Edward Gray II <james@...>
Date: 2007-07-11 12:25:06 UTC
List: ruby-talk #258794
Begin forwarded message:

> From: "Paul Prestidge" <chronicstar@gmail.com>
> Date: July 10, 2007 9:57:22 PM CDT
> To: submission@rubyquiz.com
> Subject: Please Forward: Ruby Quiz Submission
>
> Hi there,
>
> Please find attached my submission for rubyquiz 130 - it's a simple  
> Hangman guesser using a dictionary (not included).  It takes a word  
> on the command-line and will guess letters at it until a solution  
> is found or the six-fail limit is reached.
>
> There's documentation and sample output in the comments.
>
> Thanks,
>
> Paul Prestidge
>
> -- 
> Haikus are easy
> But sometimes they don't make sense
> Refrigerator

Attachments (1)

hangman.rb (6.29 KB, text/x-ruby)
#
# hangman.rb - rq130
# Paul Prestidge <chronicstar@gmail.com>
# 2007-07-11
#

require 'enumerator'

module Hangman
	# The Guesser class represents an agent that, given a Word instance, will try
	# and figure it out using the minimum number of steps.  It uses a dictionary,
	# which is passed in to the constructor along with the word to solve.
	class Guesser
		# Create a new Guesser instance for the given Word.  You can also pass in a
		# relative or absolute path to a dictionary, which must be a file containing
		# one word per line.
		def initialize(word, dict='word.list')
			raise 'Dictionary file "%s" does not exist.' % [dict] unless File.exist?(dict)
			
			@word = word
			@dictionary = File.readlines(dict).map{|w| w.chomp}.select{|w| w.length==word.length}
			@letters = ('a'..'z').to_a
		end

		# Choose a letter and check if it exists in the word.  If we're certain we
		# know what the word is now, confirm it.
		#
		# This method also displays a description of the action on stdout along with
		# the number of remaining possibilities (or a list of them, if there are
		# only a few).
		def go!
			next_letter = check_next_letter
			
			raise 'Unknown word' if @dictionary.size == 0 # TODO: guess randomly?
			remaining_options = @dictionary.size > 10 ? "#{@dictionary.size} possibilities" : @dictionary.join(', ')
			puts '%2i: %1s => %*s => %s' % [@word.turns, next_letter, @word.length, @word, remaining_options]
			
			@word.guess(@dictionary.first) if @dictionary.size == 1
		end

		# Reorder the letters array, then take the first letter and check it against
		# the sample word.  If the letter appeared in our word, filter the
		# dictionary, removing words that are no longer consistent with our current
		# information.
		#
		# Returns the letter checked.
		def check_next_letter
			recalculate_letter_frequencies
			letter = @letters.shift
			@word.check_letter(letter)
			prune_dictionary
			
			letter
		end
		
		# This is the core of the Guesser's decision-making.  It reorders the
		# letters array from most likely to least likely, using some simple
		# heuristics.  The Guesser then uses this to decide which letter to
		# guess next.
		#
		# The aim is to select the letter which would eliminate as close to half
		# the remaining words as possible whether it is actually in the word or not.
		# It's not optimal but it works pretty well.
		def recalculate_letter_frequencies
			# Calculate, for each letter and position, how many words in the list
			# would remain if that combination was extant.
			totals = @dictionary.inject(Hash.new{|h,k| h[k] = [0]*@word.size}) do |hash,word| 
				word.split('').each_with_index do |letter,idx|
					hash[letter][idx] += 1 if @word[idx] == ?.
				end
				
				hash
			end
			
			proportions = Hash[*totals.map { |k,v| [k, v.inject(0){|s,c|s+(0.5-(c.to_f / @dictionary.size)).abs} / v.size]}.flatten]
			
			# Delete letters that don't appear in any remaining dictionary words
			@letters.delete_if { |l| !proportions.include?(l) }
			
			# Reorder the array based on the proportions array
			@letters = @letters.sort_by { |l| proportions[l] }
		end
		
		# Removes all items from our dictionary that don't fit with what
		# we know about the word.
		def prune_dictionary
			@dictionary.delete_if { |w| w !~ pattern }
		end
		
		# Returns a regular expression encapsulating the criteria that the word
		# must meet, given what we currently know about it.
		def pattern
			Regexp.new('^'+@word.gsub('.',"[#{@letters.join}]")+'$')
		end
	end

	# The Word class represents a Hangman word.  It starts out initially as a
	# series of periods, and each time a successful check_letter is performed more
	# letters are made visible.
	#
	# The number of total letters and failed letters are available using 
	# Word#turns and Word#fails, respectively.
	class Word < String
		attr_reader :turns, :fails
		
		def initialize(word)
			raise 'Word must contain only alphabetic characters' unless word =~ /^[a-z]+$/i
			
			@word = word.downcase
			@turns, @fails = 0, 0
			super '.' * word.length
		end
		
		# Reveal all instances of the given letter.  Counts as a failed guess
		# if the word does not contain any of that letter.
		#
		# Returns the total number of letters revealed.
		def check_letter(letter)
			total = @word.split('').enum_with_index.inject(0) do |t,(l,i)| 
				if l == letter
					self[i,1] = l 
					t += 1
				end
				
				t
			end
			
			@turns += 1
			@fails += 1 if total == 0
			
			total
		end
		
		# Make a guess at the complete word.
		#
		# Currently does not impose any penalties for incorrect guesses, but perhaps
		# they should exhaust a turn or something similar.
		def guess(word)
			replace(word) if word == @word
		end
		
		# Returns true if the word has been solved completely.
		def solved?
			self == @word
		end
	end
end

# If this file is called directly, it will create an agent that guesses the word
# passed in ARGV[0].  It will continue until it has solved the word or until it
# has six incorrect guesses.
#
# Here's some examples of execution on my work PC (2.7ghz, 768mb RAM) with a
# dictionary containing 264k words (total size 2.59mb):
#
#  1: i => ..........i.. => 1411 possibilities
#  2: e => .e........i.. => 59 possibilities
#  3: a => .e......a.i.. => 11 possibilities
#  4: r => .e.....ra.i.. => demonstrating, demonstration
#  5: n => .e..n..ra.i.n => demonstration
# Solved the word in 5 turns with 0 wrong guesses.  The word was "demonstration".
# Execution time: 3.8 seconds.
#
#  1: e => ......e => 2180 possibilities
#  2: a => .a....e => 271 possibilities
#  3: i => .a....e => 104 possibilities
#  4: o => .a.o..e => 18 possibilities
#  5: c => .a.o..e => baronne, baroque, galoshe, garotte, gavotte, jalouse, kagoule, zamouse
#  6: t => .a.otte => garotte, gavotte
#  7: v => .a.otte => garotte
# Solved the word in 7 turns with 3 wrong guesses.  The word was "garotte".
# Execution time: 6.1 seconds.
#
# It reports to stdout.
if $0 == __FILE__
	word = Hangman::Word.new($*.shift || 'zeitgeist')
	ai = Hangman::Guesser.new(word)
	start_time = Time.now
	
	ai.go! until word.fails >= 6 or word.solved?
	
	if word.solved?
		puts 'Solved the word in %i turns with %i wrong guesses.  The word was "%s".' % [word.turns, word.fails, word]
	else
		puts 'Could not solve the word in %i turns with %i wrong guesses.' % [word.turns, word.fails]
	end
	
	puts 'Execution time: %.1f seconds.' % [Time.now-start_time]
end

In This Thread

Prev Next