[#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
[#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:

[#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:

[#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:

[#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:

[#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:

[#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

[#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:

[#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:

[#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
[#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:

[#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:

[#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
[#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:

[#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:

[#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
[#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:

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

Hi,

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

Bertram Scharpf 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:

Re: [QUIZ] Hangman (#130)

From: Andreas Launila <ruby-talk@...>
Date: 2007-07-09 09:26:48 UTC
List: ruby-talk #258405
Ruby Quiz wrote:
> This quiz is to make a Hangman guessing player in Ruby. Play should proceed as
> follows:

I focused on building a program that makes good guesses.


== Algorithm overview

The guesser reads a dictionary and then builds a database (which is
reused) with the following information about each word:
* size
* positions of each character
* number of occurrences of each character

The basic algorithm is as follows:
* Remove all words that do not have a matching length.
* While the game has not been solved:
** Pick the character included in the most words still remaining.
** If the character is not in the word: remove all words with the character.
** If the character is in the word: remove all words that do not contain
the character at exactly the revealed positions.

=== Weaknesses

The algorithm is not optimal. The character that's included in the most
words is not necessarily the character which will give the largest
reduction in number of potential words since position is not considered.
Consider a dictionary with the following:

bdc
ebc
fcb

b and c are tied for number of occurrences, but b would be the better
choice. If we pick b we will in all cases be left with one potential
word. If we pick c and the word is one of the first two we get two
potential words.

My guess is that it's a good enough heuristic in most cases though.

Also note that this program is built on the assumption that the word is
picked randomly from the dictionary. More refined solutions could weigh
in the relative frequency of different words in normal English text.


== Speed

It takes about 40 minutes to create the database for a dictionary with
4*10^5 words, but it only has to be created once.

Computing all guesses for a word (i.e. from being given the length to
having the correct word) takes about 30 to 40 seconds for a dictionary
with 4*10^5 words. That time includes about 10 seconds to reset the
database from previous uses, another 10 seconds for pruning based on
word length and the rest for the remaining search.

=== Possible improvements

Much of the initial sorting could be precomputed (e.g. split words into
different table based on length and then only work against the table
with the specified length) to cut down on the time needed reset and do
the initial pruning. The first (and possibly some additional steps)
could also be precomputed.


== Dependencies

Requires a mysql database and the mysql-gem. You need to enter your
username, passwords and database name in HangmanGuesser#db_connection below.


== The code

#!/usr/bin/env ruby
# == Synopsis
#
# automated_hangman: plays a game of hangman with the word of your
# choice
#
# == Usage
#
# automated_hangman [OPTION] ... WORD
#
# -h, --help:
#    show help
#
# -d, --dictionary [dictionary location]:
#    sets up the database to use the specified dictionary (defaults to
#    /usr/share/dict/words), can take some time
#
# WORD: The word that the program should try to guess.


require 'getoptlong'
require 'rdoc/usage'
require 'mysql'

# Describes a game of hangman.
class Hangman
  LIVES = 6

  # Creates a new game of hangman where word is the target word.
  def initialize(word)
    @guesses = []
    @word_characters = word.chomp.downcase.split(//)
  end

  # Returns an array containing the incorrect guessed characters.
  def incorrect_guesses
    @guesses - @word_characters
  end

  # Guesses a specified character. Returns an array of indices (possibly
  # empty) where the character was found.
  def guess(char_guess)
    @guesses << char_guess
    indices = []
    @word_characters.each_with_index do |character, index|
      indices << index if character == char_guess
    end
    return indices
  end

  # Returns a string representation of the current progress.
  def to_s
    hidden_characters = @word_characters - @guesses
    return @word_characters.join(' ') if hidden_characters.empty?
    @word_characters.join(' ').gsub(
      /[#{hidden_characters.uniq.join}]/, '_')
  end

  # Checks whether the player has won.
  def won?
    (@word_characters - @guesses).empty?
  end

  # Checks whether the player has lost.
  def lost?
    incorrect_guesses.size > LIVES
  end

  # Gets the number of characters in the word.
  def character_count
    @word_characters.size
  end
end

# The guessing machine which picks the guesses.
class HangmanGuesser
  # The location of the default dictionary to use.
  DICTIONARY_FILE = '/usr/share/dict/words'
  # An array of the characters that should be considered.
  CHARACTERS = ('a'..'z').to_a
  # Set this to true to see how the search progresses.
  VERBOSE = true
  # The maximum word length accepted.
  MAX_WORD_LENGTH = 50

  # The dictionary given should be the location of a file containing one
  # word per line. The characters should be an array of all characters
  # that should be considered (i.e. no words with other characters are
  # included).
  def initialize(hangman_game, characters = CHARACTERS)
    @con = self.class.db_connection
    @characters = characters
    @hangman_game = hangman_game

    reset_tables
    prune_by_word_length @hangman_game.character_count
  end

  # Returns the guesses that the guesser would make.
  def guesses
    @guesses = []
    log{ "There are #{word_count} potential words left." }
    while not @hangman_game.won?
      guess = next_guess
      raise 'The word is not in the dictionary.' if guess.nil?
      @guesses << guess
      log{ "Guessing #{guess}" }
      add_information(guess, @hangman_game.guess(guess))
      log_state
      log{ "\n" }
    end
    return @guesses
  end

  class << self
    # Creates the database and populates it with the dictionary file
    # located at the specified location. Only considers the specified
    # characters (array).
    def create_database(dictionary = DICTIONARY_FILE,
        characters = CHARACTERS)
      @con = db_connection
      @characters = characters
      @tables = ['words'] + @characters +
        @characters.map{ |c| c + '_occurrences'}
      create_tables
      populate_tables File.open(dictionary)
    end

    # Connects to the database that should store the tables.
    def db_connection
      # Replace <username> and <password> with the database username and
      # password.
      Mysql.real_connect("localhost", <username>, <password>, "hangman")
    end

    private

    # Creates the tables used to store words.
    def create_tables
      # Drop old tables.
      @tables.each do |table|
        @con.query "DROP TABLE IF EXISTS `#{table}`"
      end

      # Words table.
      @con.query <<-"end_sql"
        CREATE TABLE `words` (
          `word_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
          `word` varchar(#{MAX_WORD_LENGTH}) NOT NULL,
          `length` tinyint(3) unsigned NOT NULL,
          `removed` tinyint(1) unsigned NOT NULL DEFAULT '0',
          PRIMARY KEY (`word_id`),
          INDEX (`removed`),
          INDEX (`length`)
        ) ENGINE=MyISAM
      end_sql

      # Tables for the number of occurrences of each character.
      character_occurrences_table_template =<<-'end_template'
        CREATE TABLE `%s_occurrences` (
          `word_id` mediumint(8) unsigned NOT NULL,
          `occurrences` tinyint(3) unsigned NOT NULL,
          PRIMARY KEY (`occurrences`, `word_id`),
          INDEX (`word_id`)
        ) ENGINE=MyISAM
      end_template

      # Tables for the positions of each character.
      character_table_template =<<-'end_template'
        CREATE TABLE `%s` (
          `word_id` mediumint(8) unsigned NOT NULL,
          `position` tinyint(3) unsigned NOT NULL,
          PRIMARY KEY (`position`, `word_id`),
          INDEX (`word_id`)
        ) ENGINE=MyISAM
      end_template

      @characters.each do |character|
        @con.query character_occurrences_table_template % character
        @con.query character_table_template % character
      end
    end

    # Loads a dictionary into the database.
    def populate_tables(dictionary_file)
      # Disable the keys so that we don't update the indices while
      # adding.
      @tables.each do |table|
        @con.query("ALTER TABLE #{table} DISABLE KEYS")
      end

      # Prepare statements.
      add_word = @con.prepare(
        "INSERT INTO words (word, length) VALUES (?, ?)")
      add_character = {}
      add_character_occurrences = {}
      @characters.each do |character|
        add_character[character] = @con.prepare(
          "INSERT INTO #{character} (word_id, position) VALUES (?, ?)")
        add_character_occurrences[character] = @con.prepare(
          "INSERT INTO #{character}_occurrences " +
          "(word_id, occurrences) VALUES (?, ?)")
      end

      # Populate the database.
      previous_word = nil
      dictionary_file.each_line do |line|
        # Only consider words that only contain characters a-z. Make
        # sure we don't get duplicates.
        word = line.chomp.downcase
        next if word == previous_word or word =~ /[^a-z]/ or
          word.size > MAX_WORD_LENGTH

        # Add the word, its character positions and number of
        # occurrences.
        add_word.execute(word, word.size)
        word_id = @con.insert_id
        characters = word.split(//)
        characters.each_with_index do |character, position|
          add_character[character].execute(word_id, position)
        end
        @characters.each do |character|
          occurrences = characters.select{ |c| c == character }.size
          add_character_occurrences[character].execute(
            word_id, occurrences)
        end

        previous_word = word
      end

      # Generate the indices.
      @tables.each do |table|
        @con.query("ALTER TABLE #{table} ENABLE KEYS")
      end
    end
  end

  private

  # Logs the current state of the guessing process.
  def log_state
    log do
      messages = []
      messages << @hangman_game.to_s
      count = word_count
      messages << "There are #{count} potential words left."
      if count <= 10
        res = @con.query('SELECT word FROM words WHERE removed = 0')
        res.each{ |row| messages << row[0] }
        res.free
      end
      messages.join("\n")
    end
  end

  # Logs the string produced by the block (may not be executed at all).
  def log(&block)
    puts yield() if VERBOSE
  end

  # Gets the number of potential words left.
  def word_count
    res = @con.query('SELECT COUNT(*) FROM words WHERE removed = 0')
    count = res.fetch_row[0].to_i
    res.free
    return count
  end

  # Computes the next character that should be guessed. The next guess
  # is the character (that has not yet been tried) that occurrs in the
  # most words remaining.
  def next_guess
    next_character = nil
    max_count = 0
    (@characters - @guesses).each do |character|
      res = @con.query(
        "SELECT COUNT(DISTINCT word_id) FROM #{character} " +
        "NATURAL JOIN words WHERE removed = 0")
      count = res.fetch_row[0].to_i
      res.free
      if count > max_count
        next_character = character
        max_count = count
      end
    end
    return next_character
  end

  # Adds the information about at what indices in the word the specified
  # character can be found to the guesser.
  def add_information(character, indices)
    if indices.empty?
      # The character isn't in the word.
      sql =<<-"end_sql"
        UPDATE words SET removed = 1 WHERE removed = 0 AND word_id IN (
          SELECT word_id FROM #{character}
        )
      end_sql
    else
      # Remove all words where the character isn't at the specified
      # places.
      sql =<<-"end_sql"
        UPDATE words NATURAL JOIN #{character}_occurrences
        SET removed = 1
        WHERE removed = 0
          AND (occurrences != #{indices.size}
            OR word_id IN (
              SELECT word_id FROM #{character}
              WHERE position NOT IN (#{indices.join(', ')})
            )
          )
      end_sql
    end
    @con.query(sql)
  end

  # Resets the table to start a new round of guesses.
  def reset_tables
    @con.query('UPDATE words SET removed = 0')
  end

  # Prunes all words that do not have the specified length.
  def prune_by_word_length(expected_length)
    @con.query(
      "UPDATE words SET removed = 1 WHERE length != #{expected_length}")
  end
end


opts = GetoptLong.new(
  [ '--help', '-h', GetoptLong::NO_ARGUMENT],
  ['--dictionary', '-d', GetoptLong::OPTIONAL_ARGUMENT])
opts.each do |opt, arg|
  case opt
    when '--help'
      RDoc::usage
    when '--dictionary'
      if arg != ''
        HangmanGuesser.create_database(arg)
      else
        HangmanGuesser.create_database
      end
  end
end

if ARGV.size != 1
  abort "Incorrect usage, see --help"
end

game = Hangman.new(ARGV[0])
guesses =  HangmanGuesser.new(game).guesses
if game.won?
  puts 'Successfully guessed the word.'
else game.lost?
  puts 'Failed guessing the word.'
end
puts "Made the following guesses: #{guesses.join(', ')}"
puts "Expended a total of #{game.incorrect_guesses.size} lives."


-- 
Andreas Launila

In This Thread