[#124921] One-Click Installer 182-14 Final -- Happy New Year! — "Curt Hibbs" <curt@...>

Finally, after what seemed to be an endless series

36 messages 2005/01/01
[#125109] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — "Johan Nilsson" <johan.nilsson@...> 2005/01/04

[#125120] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — "Curt Hibbs" <curt@...> 2005/01/04

Johan Nilsson wrote:

[#125147] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — "Johan Nilsson" <johan.nilsson@...> 2005/01/05

[#125263] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — Mark Smith <maslists@...> 2005/01/06

Johan Nilsson said the following on 1/5/2005 2:08 AM:

[#125300] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — "Curt Hibbs" <curt@...> 2005/01/06

Mark Smith wrote:

[#125355] Re: [ANN] One-Click Installer 182-14 Final -- Happy New Year! — Stephan K舂per <Stephan.Kaemper@...> 2005/01/06

Curt Hibbs wrote:

[#124940] RubyGems 0.8.4 — Chad Fowler <chadfowler@...>

= Announce: RubyGems Release 0.8.4

54 messages 2005/01/01
[#125112] Re: [ANN] RubyGems 0.8.4 — Paul Duncan <pabs@...> 2005/01/04

* Chad Fowler (chadfowler@gmail.com) wrote:

[#125114] Ruby JOBS all around the world — MiG <mig@1984.cz> 2005/01/04

[#125122] Re: Ruby JOBS all around the world — Lothar Scholz <mailinglists@...> 2005/01/04

Hello MiG,

[#125152] Re: Ruby JOBS all around the world — Premshree Pillai <premshree.pillai@...> 2005/01/05

On Wed, 5 Jan 2005 07:47:49 +0900, Lothar Scholz

[#125155] Re: Ruby JOBS all around the world — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...> 2005/01/05

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

[#125166] Re: Ruby JOBS all around the world — Mikael Brockman <mikael@...> 2005/01/05

"Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@yahoo.com> writes:

[#125172] Re: Ruby JOBS all around the world — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...> 2005/01/05

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

[#125066] Seeking info on keyword parameters — "itsme213" <itsme213@...>

Will 2.0 make the names of keyword parameters available via reflection?

26 messages 2005/01/04
[#125067] Re: Seeking info on keyword parameters — Yukihiro Matsumoto <matz@...> 2005/01/04

Hi,

[#125073] Re: Seeking info on keyword parameters — gabriele renzi <rff_rff@...> 2005/01/04

Yukihiro Matsumoto ha scritto:

[#125075] Re: Seeking info on keyword parameters — Yukihiro Matsumoto <matz@...> 2005/01/04

Hi,

[#125142] what's the Ruby way to do this? — Miles Keaton <mileskeaton@...>

What's the Ruby way to do this?

16 messages 2005/01/05

[#125159] foxGUIb - Interactive Fox GUI Builder and Code Generator — "henon (meinrad recheis)" <meinrad.recheis__nospam__@...>

foxGUIb is an interactive gui builder for fxruby written entirely in Ruby.

36 messages 2005/01/05
[#125171] Re: [ANN] foxGUIb - Interactive Fox GUI Builder and Code Generator — "Luis G. Gez" <lgomez@...> 2005/01/05

I get:

[#125206] Ruby Data Structure Query Abstractions/Patterns — Nicholas Van Weerdenburg <vanweerd@...>

Hi all,

16 messages 2005/01/05

[#125234] Shopping cart ... — Sarah Tanembaum <sarahtanembaum@...>

Is there any good(secure) Ruby shopping cart program example? Thanks

29 messages 2005/01/05

[#125236] Image decompression, eruby — Belorion <belorion@...>

I am working on a website with a MySQL backend. The site allows

15 messages 2005/01/05

[#125237] Return from a block? — Howard Lewis Ship <hlship@...>

I've had a couple of places where I really needed to just return from

17 messages 2005/01/05

[#125271] Ruby design question: lazy construction of object graph containing forward references — "itsme213" <itsme213@...>

Seeking help, Ruby gurus ...

11 messages 2005/01/06

[#125399] Collecting list of most wanted libraries and apps to port to ruby — Thursday <nospam@...>

I think it might be a good idea for us to collect feedback on the most

42 messages 2005/01/07
[#125451] Re: Collecting list of most wanted libraries and apps to port to ruby — PA <petite.abeille@...> 2005/01/07

[#125427] LCD Numbers (#14) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

28 messages 2005/01/07

[#125460] Ruby on AIX? — Andreas Semt <as@...>

Hello list!

20 messages 2005/01/07

[#125474] RubyForge themes — Tom Copeland <tom@...>

Howdy -

23 messages 2005/01/07

[#125528] Construct [*nil] works differently in 1.6 and 1.8 — Gennady Bystritksy <gfb@...>

Hi, rubyists

13 messages 2005/01/07

[#125594] Type inference in ruby — "Trevor Andrade" <trevor.andrade@...>

Hello all,

25 messages 2005/01/08

[#125682] Python vs Ruby — Lethalman <lethalman@...>

(sorry for my poor English)

93 messages 2005/01/09
[#125729] Re: Python vs Ruby — Lothar Scholz <mailinglists@...> 2005/01/09

Hello Lethalman,

[#125730] Re: Python vs Ruby — Premshree Pillai <premshree.pillai@...> 2005/01/09

On Mon, 10 Jan 2005 04:06:40 +0900, Lothar Scholz

[#125736] Re: Python vs Ruby — Lothar Scholz <mailinglists@...> 2005/01/09

Hello Premshree,

[#125767] Serious programmers and syntax (was Re: Python vs Ruby) — David Heinemeier Hansson <david@...> 2005/01/09

> IMHO the different syntax shouldn't be an argument for a "serious"

[#125957] Re: Serious programmers and syntax (was Re: Python vs Ruby) — Douglas Livingstone <rampant@...> 2005/01/10

> > IMHO the different syntax shouldn't be an argument for a "serious"

[#125789] Re: Python vs Ruby — Thursday <nospam@...> 2005/01/10

Lethalman wrote:

[#125810] Re: Python vs Ruby — Premshree Pillai <premshree.pillai@...> 2005/01/10

On Mon, 10 Jan 2005 11:56:22 +0900, Thursday

[#125871] Re: Python vs Ruby — Yukihiro Matsumoto <matz@...> 2005/01/10

Hi,

[#125850] Re: Python vs Ruby — "benjamin.ferrari" <benjamin.ferrari@...> 2005/01/10

[#125734] Ruby Quiz #14 LCD Numbers ( solution #2 ) — email55555 email55555 <email55555@...>

Wow ... Jannis Harder's solution is really short ....

17 messages 2005/01/09

[#125798] Duck Typing as Pattern Matching — "itsme213" <itsme213@...>

I am not a type-system expert, but I started thinking about Ruby-based duck

27 messages 2005/01/10

[#125817] Immediate values — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...>

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

33 messages 2005/01/10

[#125995] why dosn't ruby support // to comment? — "bin liu" <ruby@3cn.com.cn>

i think use keyboard type "//" is fast than "#" to comment one line code.

28 messages 2005/01/11

[#126015] mod_ruby & rails doc? — Aquila <braempje@...>

Is there a place where I can find information on using mod_ruby? A single

14 messages 2005/01/11

[#126064] Soks - Yet Another Wiki — Thomas Counsell <tamc2@...>

http://rubyforge.org/projects/soks/

33 messages 2005/01/11
[#126065] Re: [ANN] Soks - Yet Another Wiki — Florian Gross <flgr@...> 2005/01/11

Thomas Counsell wrote:

[#126081] Net::SSH 0.9.0 — Jamis Buck <jamis_buck@...>

Net::SSH is a pure-Ruby implementation of an SSH2-compatible client.

12 messages 2005/01/11

[#126103] Comparing two files for equality — Edgardo Hames <ehames@...>

Hi everybody,

13 messages 2005/01/12

[#126112] Ruby on Rails tutorial FAILED on Windows ... — Sarah Tanembaum <sarahtanembaum@...>

I follow the Ruby on Rail documentation, it works up to list method.

10 messages 2005/01/12

[#126136] Nitro + Og 0.8.0 — "George Moschovitis" <george.moschovitis@...>

Hello everyone,

14 messages 2005/01/12

[#126149] Webrick, erb, and .rhtml — Belorion <belorion@...>

I am trying to get a basic Webrick server running to serve up .rhtml

14 messages 2005/01/12

[#126273] Nemo 0.1.0 + Wee 0.4.0 — Michael Neumann <mneumann@...>

Hi Rubyists,

24 messages 2005/01/13

[#126292] Proliferation of web frameworks — Carl Youngblood <carlwork@...>

I don't know about you guys, but I'm starting to be overwhelmed by the

38 messages 2005/01/13
[#126298] Re: Proliferation of web frameworks — "George Moschovitis" <george.moschovitis@...> 2005/01/13

> I don't know about you guys, but I'm starting to be overwhelmed by

[#126303] Re: Proliferation of web frameworks — Lothar Scholz <mailinglists@...> 2005/01/13

Hello George,

[#126304] Re: Proliferation of web frameworks — PA <petite.abeille@...> 2005/01/13

[#126315] Mutable strings — "Mystifier" <mystifier@...>

Hi All,

20 messages 2005/01/13
[#126346] Re: Mutable strings — Nikolai Weibull <mailing-lists.ruby-talk@...> 2005/01/13

* Mystifier (Jan 13, 2005 19:50):

[#126332] Web Testing in Ruby — Laurent Julliard <laurent__nospam__@...>

Sorry if this question has already been asked 200 times... I'm trying

19 messages 2005/01/13
[#126337] Re: [Q] Web Testing in Ruby — stevetuckner <stevetuckner@...> 2005/01/13

Laurent Julliard wrote:

[#126338] Re: [Q] Web Testing in Ruby — Dick Davies <rasputnik@...> 2005/01/13

* stevetuckner <stevetuckner@usfamily.net> [0124 21:24]:

[#126343] ruby-gnome2 : problem with signal "insert-text" — oxman <no@...>

Hello,

22 messages 2005/01/13
[#126434] Re: ruby-gnome2 : problem with signal "insert-text" — Peter Stuifzand <peter.stuifzand@...> 2005/01/14

On Fri, 14 Jan 2005 07:01:14 +0900, oxman <no@in-your-dream.net> wrote:

[#126454] Re: ruby-gnome2 : problem with signal "insert-text" — oxman <no@...> 2005/01/14

Thanks.

[#126538] Re: ruby-gnome2 : problem with signal "insert-text" — oxman <no@...> 2005/01/15

Humm, after many test, I see my code is executed immediately.

[#126554] Re: ruby-gnome2 : problem with signal "insert-text" — "Michael C. Libby" <mcl-ruby-talk@...> 2005/01/15

On Sat, Jan 15, 2005 at 06:36:17PM +0900, oxman wrote:

[#126564] Re: ruby-gnome2 : problem with signal "insert-text" — oxman <no@...> 2005/01/15

It don't work.

[#126569] Re: ruby-gnome2 : problem with signal "insert-text" — "Michael C. Libby" <mcl-ruby-talk@...> 2005/01/15

On Sat, Jan 15, 2005 at 10:21:10PM +0900, oxman wrote:

[#126574] Re: ruby-gnome2 : problem with signal "insert-text" — oxman <no@...> 2005/01/15

The code :

[#126392] A patch for irb, where to submit? — Csaba Henk <csaba@..._for_avoiding_spam.org>

Hi!

12 messages 2005/01/14

[#126411] Duck Typing and automated Conversions — "Robert Klemme" <bob.news@...>

41 messages 2005/01/14

[#126450] Animal Quiz (#15) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

13 messages 2005/01/14

[#126521] Re: why dosn't ruby support // to comment? — E S <eero.saynatkari@...>

> L臧ett臻篋 nobu.nokada@softhome.net

12 messages 2005/01/15

[#126572] Pimki 1.4 — "Assaph Mehr" <assaph@...>

Pimki 1.4.092 highights:

15 messages 2005/01/15

[#126581] Ruby CMS — Luke Galea <lgalea@...>

Hi Rubyists:

20 messages 2005/01/15

[#126639] Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...>

I'm taking a little poll.

94 messages 2005/01/16
[#126681] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "David A. Black" <dblack@...> 2005/01/16

Hi --

[#126690] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...> 2005/01/16

On Sunday 16 January 2005 07:35 am, David A. Black wrote:

[#126694] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "David A. Black" <dblack@...> 2005/01/16

Hi --

[#126824] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...> 2005/01/17

On Sunday 16 January 2005 09:09 am, David A. Black wrote:

[#126842] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "David A. Black" <dblack@...> 2005/01/17

Hi --

[#126851] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...> 2005/01/17

On Monday 17 January 2005 08:20 am, David A. Black wrote:

[#126852] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "David A. Black" <dblack@...> 2005/01/17

Hi --

[#126857] Re: Fwd: [suby-ruby] Your all time desired fundemental Ruby mod — "trans. (T. Onoma)" <transami@...> 2005/01/17

On Monday 17 January 2005 09:21 am, David A. Black wrote:

[#126684] Re: [suby-ruby] Your all time desired fundemental Ruby mod — Jim Menard <jimm@...> 2005/01/16

On Jan 15, 2005, at 7:23 PM, trans. (T. Onoma) wrote:

[#126649] Bug#290705: ruby: Ruby is completly vivisected. — Trevor Wennblom <wenn0029@...>

Package: ruby

14 messages 2005/01/16

[#126720] which gui toolkit — thegandhi@..._CUTHERE (Gandhi)

Sorry if this question comes up often,

20 messages 2005/01/16

[#126811] Creating an instance from a variable — Peter Hickman <peter@...>

I have a class like this:

18 messages 2005/01/17

[#126843] is defined? fast? — "George Moschovitis" <george.moschovitis@...>

Hello everyone, I have a simple question:

17 messages 2005/01/17

[#126911] My regexp stupidity needs assistance before loose all my hair! — "trans. (T. Onoma)" <transami@...>

Let me painfully honest: I hate parsing, especially w/ regexp, and I don't

22 messages 2005/01/17
[#126914] Re: My regexp stupidity needs assistance before loose all my hair! — Zach Dennis <zdennis@...> 2005/01/17

trans. (T. Onoma) wrote:

[#126937] Re: Ignoring RUBYOPT ? — E S <eero.saynatkari@...>

14 messages 2005/01/17

[#127002] Ruby Weekly News 10th - 16th January 2005 — timsuth@... (Tim Sutherland)

http://www.rubygarden.org/ruby?RubyNews/2005-01-10

10 messages 2005/01/18

[#127024] Goodle Groups and My New Address — tsawyer@...

Just an FYI I will be moving all my email activity to my gmail address

16 messages 2005/01/18
[#127046] Re: Goodle Groups and My New Address — Craig Moran <craig.m.moran.ruby@...> 2005/01/18

I am using this Google email addy specifically for the Ruby ML and

[#127057] value by reference — Mohammad Khan <mkhan@...>

Before telling my issue, let me show my script:

71 messages 2005/01/18
[#127058] Re: value by reference — "trans." <tsawyer@...> 2005/01/18

I beleive it is by reference, the problem is you need to modify

[#127090] Re: value by reference — "trans." <tsawyer@...> 2005/01/19

Sorry. #succ does not act inplace and nothing does on Fixnum. Its been

[#127121] Re: value by reference — Florian Gross <flgr@...> 2005/01/19

trans. wrote:

[#127127] Re: value by reference — Glenn Parker <glenn.parker@...> 2005/01/19

Florian Gross wrote:

[#127131] Re: value by reference — "David A. Black" <dblack@...> 2005/01/19

Hi --

[#127135] Re: value by reference — Michel Martens <blaumag@...> 2005/01/19

It's easy to accomplish this task with strings:

[#127137] Re: value by reference — "David A. Black" <dblack@...> 2005/01/19

Hi --

[#127139] Re: value by reference — Michel Martens <blaumag@...> 2005/01/19

On Thu, 20 Jan 2005 00:19:13 +0900, David A. Black <dblack@wobblini.net> wrote:

[#127128] Re: value by reference — "trans." <tsawyer@...> 2005/01/19

Right. I'm not suggesting that Ruby change this. I'm just wondering if

[#127147] Re: value by reference — Mohammad Khan <mkhan@...> 2005/01/19

#!/usr/bin/env ruby

[#127064] aeditor-2.1 (megacorp release) — Simon Strandgaard <neoneye@...>

shots:

11 messages 2005/01/18

[#127086] 1.8.2 - conituations memory leak fixed? — "Wilkes" <wilkesjoiner@...>

Is this still an issue with the "official" release?

15 messages 2005/01/19

[#127313] Open Source Licenses against Software Patents — Pit Capitain <pit@...>

Applying for a new RubyForge project is harder than I thought :-), cause I have

15 messages 2005/01/20

[#127316] Confused about variable "declarations" — Graham Nicholls <graham@...>

19 messages 2005/01/20

[#127407] Fwd: OSCON Call For Proposals Now Open — Chad Fowler <chadfowler@...>

Hi All. Attached is the announcement for this year's Oreilly Open

24 messages 2005/01/20
[#127433] Re: OSCON Call For Proposals Now Open — David Heinemeier Hansson <david@...> 2005/01/21

> We want _everyone_ to be talking about the Ruby track this year. :)

[#127437] Ta-da list (Was: Re: OSCON Call For Proposals Now Open) — Jordi Bunster <jordi@...> 2005/01/21

[#127455] Re: [Rails] ONLamp article on Rails — "Curt Hibbs" <curt@...>

Marcel Molina Jr. wrote:

23 messages 2005/01/21

[#127465] Xpath like syntax — Luke Galea <lgalea@...>

Hi all,

18 messages 2005/01/21

[#127512] Paper Rock Scissors (#16) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

30 messages 2005/01/21

[#127513] Refernce objects — Richard Turner <richard@...>

Hi,

14 messages 2005/01/21

[#127580] Installation trouble — Ghislain MARY <nospam@...>

Hi all,

24 messages 2005/01/21

[#127596] Reasons to consider learning Ruby? — Preston Crawford <me@...>

I'm completely new to Ruby and Python. I'd like to learn another language

17 messages 2005/01/21

[#127599] Use of scaffolding in the ONLamp Rails tutorial — Lyle Johnson <lyle.johnson@...>

I'm going through Curt's excellent Rails tutorial (at

10 messages 2005/01/21

[#127657] Ruby for mobile phones? — "cyberco" <cyberco@...>

Hi,

14 messages 2005/01/22

[#127733] looking at ruby... — Sean T Allen <sean@...>

So I'm looking at ruby for both personal and work projects.

32 messages 2005/01/23
[#127744] Re: looking at ruby... — Eric Hodel <drbrain@...7.net> 2005/01/23

On 22 Jan 2005, at 20:03, Sean T Allen wrote:

[#127745] Re: looking at ruby... — Lothar Scholz <mailinglists@...> 2005/01/23

Hello Eric,

[#127821] Re: looking at ruby... — Eric Hodel <drbrain@...7.net> 2005/01/23

On 22 Jan 2005, at 23:57, Lothar Scholz wrote:

[#127780] Self and Ruby Comparisons — "Mystifier" <mystifier@...>

Hi

39 messages 2005/01/23
[#127865] Re: Self and Ruby Comparisons — Csaba Henk <csaba@..._for_avoiding_spam.org> 2005/01/24

On 2005-01-23, Mystifier <mystifier@users.berlios.de> wrote:

[#127790] TCPSocket.new blocks other threads — "christoph.heindl@..." <christoph.heindl@...>

hi,

14 messages 2005/01/23

[#127899] attr — "Trans" <transfire@...>

In the upcoming release of Ruby Carats I have a little lib called

38 messages 2005/01/24

[#127951] New user questions — "brundlefly76" <chris.schoenfeld@...>

I have been a production Perl programmer for about 10 years, and am

19 messages 2005/01/24

[#127966] Convert a Hash into an Array — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...>

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

22 messages 2005/01/24

[#127973] "Duck Typing" or "No need for abstract classes" — Edgardo Hames <ehames@...>

Hi, you all.

47 messages 2005/01/24
[#128038] Re: "Duck Typing" or "No need for abstract classes" — Mathieu Bouchard <matju@...> 2005/01/25

[#128061] Re: "Duck Typing" or "No need for abstract classes" — Curt Sampson <cjs@...> 2005/01/25

On Tue, 25 Jan 2005, Mathieu Bouchard wrote:

[#128317] Re: "Duck Typing" or "No need for abstract classes" — Mathieu Bouchard <matju@...> 2005/01/26

[#128445] Re: Type Inference — "Robert Klemme" <bob.news@...> 2005/01/27

[#128589] Re: Type Inference — Curt Sampson <cjs@...> 2005/01/27

On Thu, 27 Jan 2005, Robert Klemme wrote:

[#127978] Re: RubyConf '05 — "Harry Ohlsen" <Harry_Ohlsen@...>

> I think we've got date and time figured out,

44 messages 2005/01/24
[#128000] Re: RubyConf '05 — "David A. Black" <dblack@...> 2005/01/25

Hi --

[#128081] Re: RubyConf '05 — Chad Fowler <chadfowler@...> 2005/01/25

On Tue, 25 Jan 2005 10:33:09 +0900, David A. Black <dblack@wobblini.net> wrote:

[#128094] Re: RubyConf '05 — "Jim Weirich" <jim@...> 2005/01/25

[#128122] Re: RubyConf '05 — Austin Ziegler <halostatue@...> 2005/01/25

On Tue, 25 Jan 2005 23:44:33 +0900, Jim Weirich <jim@weirichhouse.org> wrote:

[#128130] Re: RubyConf '05 — Nicholas Van Weerdenburg <vanweerd@...> 2005/01/25

On Wed, 26 Jan 2005 01:00:33 +0900, Austin Ziegler <halostatue@gmail.com> wrote:

[#128526] Re: RubyConf '05 — "martinus" <martin.ankerl@...> 2005/01/27

Consider all Rubyists compressed in one point in space time - this

[#128647] Re: RubyConf '05 — Ralf =?ISO-8859-15?Q?M=FCller?= <r_mueller@...> 2005/01/28

On Fri, 28 Jan 2005 02:50:54 +0900

[#129706] Physics of black holes (Was: RubyConf '05) — "Josef 'Jupp' Schugt" <jupp@...> 2005/02/04

Ralf Mler wrote:

[#129746] Re: [OT] Physics of black holes (Was: RubyConf '05) — Eric Hodel <drbrain@...7.net> 2005/02/05

On 04 Feb 2005, at 15:32, Josef 'Jupp' Schugt wrote:

[#129907] Re: [OT] Physics of black holes (Was: RubyConf '05) — "Josef 'Jupp' Schugt" <jupp@...> 2005/02/06

Eric Hodel wrote:

[#129909] Re: [OT] Physics of black holes (Was: RubyConf '05) — Tim Bates <tim@...> 2005/02/06

Josef 'Jupp' Schugt wrote:

[#128021] top-level object? top-level methods? — "itsme213" <itsme213@...>

Is there a top-level object in any executing Ruby program? Is it the thing

17 messages 2005/01/25
[#128047] Re: top-level object? top-level methods? — Yukihiro Matsumoto <matz@...> 2005/01/25

Hi,

[#128063] Re: top-level object? top-level methods? — Matt Mower <matt.mower@...> 2005/01/25

On Tue, 25 Jan 2005 17:26:29 +0900, Yukihiro Matsumoto

[#128066] Re: top-level object? top-level methods? — ts <decoux@...> 2005/01/25

>>>>> "M" == Matt Mower <matt.mower@gmail.com> writes:

[#128067] Re: top-level object? top-level methods? — Matt Mower <matt.mower@...> 2005/01/25

On Tue, 25 Jan 2005 19:53:18 +0900, ts <decoux@moulon.inra.fr> wrote:

[#128079] Injecting methods from one class into another. — "George Moschovitis" <george.moschovitis@...>

Hello everyone,

28 messages 2005/01/25
[#128082] Re: Injecting methods from one class into another. — ts <decoux@...> 2005/01/25

>>>>> "G" == George Moschovitis <george.moschovitis@gmail.com> writes:

[#128088] Re: Injecting methods from one class into another. — "George Moschovitis" <george.moschovitis@...> 2005/01/25

> What do you expect with this ?

[#128164] A Rubyist's Dream — Benjamin Stiglitz <ben@...>

Hi, everyone. I had a dream last night that drove me to join the list

17 messages 2005/01/25

[#128314] Array::uniq { block } ? — Belorion <belorion@...>

I have an array of arrays. I want to be able to do a uniq operation

26 messages 2005/01/26

[#128318] WWW::Mechanize 0.1.0 available as Gem — Michael Neumann <mneumann@...>

The title says it all:

11 messages 2005/01/26

[#128325] When little languages grow... — Hugh Sasse Staff Elec Eng <hgs@...>

I seem to have run into my parsing problem again. Whatever I'm

53 messages 2005/01/26
[#128341] Re: When little languages grow... (long) — Mark Probert <probertm@...> 2005/01/26

Hi ..

[#128394] Error with bdb installation — Oliver Cromm <lispamateur@...>

I'm trying to use WordNet, database version, with ruby library. [1]

13 messages 2005/01/26

[#128418] Wee 0.5.0 — Michael Neumann <mneumann@...>

Hi,

19 messages 2005/01/27

[#128485] Duping a class causes error — "Trans" <transfire@...>

Maybe someone can offer me a possible reason for this. I have a set of

22 messages 2005/01/27

[#128529] Ten Things Every Java Programmer Should Know About Ruby — "Jim Weirich" <jim@...>

We will be introducing Ruby to our XP Users group in Cincinnati next week.

104 messages 2005/01/27
[#128536] Re: Ten Things Every Java Programmer Should Know About Ruby — Joao Pedrosa <joaopedrosa@...> 2005/01/27

Hi,

[#128560] Re: Ten Things Every Java Programmer Should Know About Ruby — "James G. Britt " <ruby.talk.list@...> 2005/01/27

On Fri, 28 Jan 2005 03:35:11 +0900, Joao Pedrosa <joaopedrosa@gmail.com> wrote:

[#128562] Re: Ten Things Every Java Programmer Should Know About Ruby — Zach Dennis <zdennis@...> 2005/01/27

Some of the things I like in ruby thinking directly about java... being

[#128618] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/28

Zach Dennis <zdennis@mktec.com> wrote:

[#128625] Re: Ten Things Every Java Programmer Should Know About Ruby — Zach Dennis <zdennis@...> 2005/01/28

Navindra Umanee wrote:

[#128662] Re: Ten Things Every Java Programmer Should Know About Ruby — Peter Hickman <peter@...> 2005/01/28

Jim Weirich wrote:

[#128664] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/28

[#128670] Re: Ten Things Every Java Programmer Should Know About Ruby — Joao Pedrosa <joaopedrosa@...> 2005/01/28

Hi,

[#128671] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/28

[#128684] Re: Ten Things Every Java Programmer Should Know About Ruby — James Britt <jamesUNDERBARb@...> 2005/01/28

PA wrote:

[#128695] Re: Ten Things Every Java Programmer Should Know About Ruby — Hugh Sasse Staff Elec Eng <hgs@...> 2005/01/28

On Fri, 28 Jan 2005, James Britt wrote:

[#128709] Re: Ten Things Every Java Programmer Should Know About Ruby — "James G. Britt " <ruby.talk.list@...> 2005/01/28

On Fri, 28 Jan 2005 23:38:14 +0900, Hugh Sasse Staff Elec Eng

[#128804] Re: Ten Things Every Java Programmer Should Know About Ruby — "Keith P. Boruff" <kboruff@...> 2005/01/29

Lothar Scholz wrote:

[#128808] Re: Ten Things Every Java Programmer Should Know About Ruby — "Keith P. Boruff" <kboruff@...> 2005/01/29

Curt Hibbs wrote:

[#128541] Re: Ten Things Every Java Programmer Should Know About Ruby — Edgardo Hames <ehames@...> 2005/01/27

On Fri, 28 Jan 2005 02:55:46 +0900, Jim Weirich <jim@weirichhouse.org> wrote:

[#128550] Re: Ten Things Every Java Programmer Should Know About Ruby — "Jim Weirich" <jim@...> 2005/01/27

[#128573] Re: Ten Things Every Java Programmer Should Know About Ruby — E S <eero.saynatkari@...>

> L臧ett臻篋 "Jim Weirich" <jim@weirichhouse.org>

48 messages 2005/01/27
[#128863] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/29

E S <eero.saynatkari@kolumbus.fi> wrote:

[#128877] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/29

[#128882] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/29

PA <petite.abeille@gmail.com> wrote:

[#128884] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/29

[#128888] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/29

PA <petite.abeille@gmail.com> wrote:

[#128889] Re: Ten Things Every Java Programmer Should Know About Ruby — PA <petite.abeille@...> 2005/01/29

[#128892] Re: Ten Things Every Java Programmer Should Know About Ruby — Florian Frank <flori@...> 2005/01/29

PA wrote:

[#128931] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/29

Florian Frank <flori@nixe.ping.de> wrote:

[#128952] Re: Ten Things Every Java Programmer Should Know About Ruby — Florian Frank <flori@...> 2005/01/30

Navindra Umanee wrote:

[#128973] Re: Ten Things Every Java Programmer Should Know About Ruby — Navindra Umanee <navindra@...> 2005/01/30

Florian Frank <flori@nixe.ping.de> wrote:

[#128668] : How can I find the filename where a class is defined? — "George Moschovitis" <george.moschovitis@...>

Hello everyone,

11 messages 2005/01/28

[#128708] Why csv file processing is so slow? — "mepython" <a@...>

I want to process csv file. Here is small program in python and ruby:

26 messages 2005/01/28

[#128773] FYI: what's OOP's jargons and complexities? — PA <petite.abeille@...>

http://article.gmane.org/gmane.comp.python.general/384636

41 messages 2005/01/28
[#128792] Re: FYI: what's OOP's jargons and complexities? — "Trans" <transfire@...> 2005/01/29

Nice. I look forward to the next installment.

[#128801] Re: FYI: what's OOP's jargons and complexities? — Charles Miller <cmiller@...> 2005/01/29

On 29/01/2005, at 10:30 AM, PA wrote:

[#128832] Re: FYI: what's OOP's jargons and complexities? — James Britt <jamesUNDERBARb@...> 2005/01/29

Charles Miller wrote:

[#128833] Re: FYI: what's OOP's jargons and complexities? — PA <petite.abeille@...> 2005/01/29

[#128890] Logtails 0.4 : the time saving release — Bauduin Raphael <rb@...>

Hi,

15 messages 2005/01/29

[#128967] nil question — Brian Blazer <brian@...>

I am a bit new to this, so please be gentle. I was wondering about the

18 messages 2005/01/30
[#128970] Re: nil question — Sam Roberts <sroberts@...> 2005/01/30

Quoteing brian@brianandkate.com, on Sun, Jan 30, 2005 at 12:57:20PM +0900:

[#129086] 'example.com' == 'example.com.' => false... is this intended? — Sam Roberts <sroberts@...>

16 messages 2005/01/31

[#129144] interacting with ruby program — Navindra Umanee <navindra@...>

Hi,

22 messages 2005/01/31
[#129168] Re: interacting with ruby program — Florian Gross <flgr@...> 2005/01/31

Navindra Umanee wrote:

[SUMMARY] Paper Rock Scissors (#16)

From: Ruby Quiz <james@...>
Date: 2005-01-27 13:59:21 UTC
List: ruby-talk #128488
This week's quiz is a classic computer science problem in disguise.  It's
generally done with the Prisoner's Dilemma:

	http://plato.stanford.edu/entries/prisoner-dilemma/

The game chosen doesn't much matter, but the idea is that there really shouldn't
be much strategy involved.  In the Prisoner's Dilemma, it's generally agreed
that it's hard to beat a player that confesses every time.  For the game of
Paper Rock Scissors, the winning strategy is to be purely random, as Benedikt
Huber explained on Ruby Talk:

	You can't give any predictions on the next move of a random player.
	Therefore you have a 1/3 prop. to choose a winning, losing
	or drawing move.

To be fair, Paper Rock Scissors does have quite a bit of strategy theory these
days, but the conditions of that theory (mostly body language) are unavailable
to computer players.  Entire books have been written on the subject, believe it
or not:

	http://www.worldrps.com/

So random is the best we can do?  Is that hard to build?  Uh, no.  Here's a
sample by Avi Bryant:

	class AJBRandomPlayer < Player
		def choose
			 [:paper, :scissors, :rock][rand(3)]
		end
	end

If we test that, we get the expected 50/50 results:

	AJBRandomPlayer vs. JEGPaperPlayer
			AJBRandomPlayer: 511.0
			JEGPaperPlayer: 489.0
			AJBRandomPlayer Wins
	AJBRandomPlayer vs. JEGQueuePlayer
			AJBRandomPlayer: 499.5
			JEGQueuePlayer: 500.5
			JEGQueuePlayer Wins

Of course, that's so uninteresting, we're probably beginning to wonder if
James's quiz selecting skills are on the fritz.  Possibly, but interesting
solutions make me look good none-the-less.  This week, Christian Neukirchen sent
in more than one of those:

	CNBiasInverter: Choose so that your bias will be the inverted
	  opponent's bias.
	
	CNIrrflug: Pick a random choice.  If you win, use it again; else,
	  use a random choice.
	
	CNStepAhead: Try to think a step ahead.  If you win, use the choice
	  where you'd have lost.  If you lose, you the choice where you'd
	  have won.  Use the same on draw.
	
	CNBiasFlipper: Always use the choice that hits what the opponent
	  said most or second-to-most often (if the most often choice is not
	  absolutely prefered).
	
	CNBiasBreaker: Always use the choice that hits what the opponent
	  said most often.
	
	CNMeanPlayer: Pick a random choice.  If you win, use it again; else,
	  use the opponent's choice.

I really should show all of those here, but that would make for a ridiculously
large summary.  Let's go with Christian's favorite:

	class CNBiasInverter < Player
	  def initialize(opponent)
		super
		@biases = {:rock => 0, :scissors => 0, :paper => 0}
		@hit = {:rock => :paper, :paper => :scissors, :scissors => :rock}
	  end
	  
	  def choose
		n = ::Kernel.rand(@biases[:rock] + @biases[:scissors] +
		    @biases[:paper]).to_i
		case n
		when 0..@biases[:rock]
		  :paper
		when @biases[:rock]..@biases[:rock]+@biases[:scissors]
		  :rock
		when @biases[:rock]+@biases[:scissors]..@biases[:rock]+
		     @biases[:scissors]+@biases[:paper]
		  :scissors
		else
		  p @biases[:rock]+@biases[:scissors]..@biases[:paper]
		  abort n.to_s
		end
	  end
	  
	  def result( you, them, win_lose_or_draw )
		@biases[them] += 1
	  end
	end

initialize() sets up the a Hash for tracking the biases.  (I don't believe @hit
is needed.)  result() is the compliment to that.  It adjusts the proper bias
count each time the opponent makes a selection.

choose() does all the interesting work.  A random number is chosen between 0 and
the total of all the bias counts.  That number is then associated with the
indicated bias by some clever use of ranges and the opposite of that bias is
returned as CNBiasInverter's choice.

In other words, as the opponent chooses more and more of a particular item, the
bias count for that item climbs.  This will cause the semi-random choice to
drift towards the opposite of that favored move.

Let's compare with our baseline:

	CNBiasInverter vs. JEGPaperPlayer
			CNBiasInverter: 995.0
			JEGPaperPlayer: 5.0
			CNBiasInverter Wins
	CNBiasInverter vs. JEGQueuePlayer
			CNBiasInverter: 653.5
			JEGQueuePlayer: 346.5
			CNBiasInverter Wins

The results are getting better.  But, of course, random is still trump:

	AJBRandomPlayer vs. CNBiasInverter
			AJBRandomPlayer: 509.5
			CNBiasInverter: 490.5
			AJBRandomPlayer Wins

There were many, many interesting strategies, like the one above.  But random
remained the great equalizer.  Which leads us to the critical question:  What
exactly is the point of this exercise?

Cheating, of course!

With the Prisoner's Dilemma and this quiz, it's common the engineer the
environment to be ripe for cheating.  Since there's no winning strategy
available, we'll need to bend the rules a little bit.  That's because
programmers have enormous egos and can't stand to lose at anything!

(Note:  Technically, no one even cheated.  The definition of cheat that applies
here is, "to violate rules dishonestly."  Go back and reread the quiz, if you
need to...)

What's the ultimate cheat?  Well, here's the first by Bill Atkins:

	class BACheater < Player
	  def initialize opponent
		Object.const_get(opponent).send :define_method, :choose do
		  :paper
		end
	  end
	
	  def choose
		:scissors
	  end
	end

It doesn't get much simpler than that!  Bill's initialize() method uses the
passed in name of the opponent to locate the correct Class object and redefine
the choose() method of that Class to something super easy to deal with.  The
opponent is modified to always throw :paper and BACheater always throws
:scissors.

That's 100% successful against anything we've seen thus far.  Worse, you're
player is permanently modified when it goes up against BACheater, leaving you
vulnerable to clever strategies like CNBiasInverter above:

	AJBRandomPlayer vs. BACheater
			AJBRandomPlayer: 0
			BACheater: 1000
			BACheater Wins
	AJBRandomPlayer vs. CNBiasInverter
			AJBRandomPlayer: 4.5
			CNBiasInverter: 995.5
			CNBiasInverter Wins
	BACheater vs. CNBiasInverter
			BACheater: 1000
			CNBiasInverter: 0
			BACheater Wins

Ouch!

Another cheat used by more than one player was to try and predict an opponent's
move, then respond with a counter.  Here is Benedikt Huber's version:

	KILLER = { :rock    => :paper,
	           :paper   => :scissors,
	           :scissors => :rock }
	
	class BHCheatPlayer < Player
	
	  def initialize( opponent )
		super
		@opp = Object.const_get(opponent).new(self)
	  end
	
	  def choose
		KILLER[@opp.choose]
	  end
	
	  def result(you,them,result)
		@opp.result(them,you,result)
	  end
	
	end

Again initialize() retrieves the Class object, but instead of modifying the
Class, it simply creates an internal copy of the opponent.  result() forwards
each pick to the copied opponent, to keep it synchronized with the real
opponent.  From there, choose() is obvious:  See what the opponent is about to
do and counter.

It was pointed out on Ruby Talk that this doesn't demolish random players;
however, against any random strategy, this becomes a random player.  Countering
a random choice is a still a random move, even if the choice isn't what the
opponent is about to do.

There were other great cheats.  Jannis Harder's self-repairing program and
FGSpyPlayer (well commented) are both worth studying.  Some cheating approaches
were also overlooked.  For example, no one tried to modify the score, but it can
be done.  There were also a lot of excellent non-cheating solutions.  Which
leaves me with no choice but to say the lame but utterly true, "All the
submissions are worth a look!"

My thanks to all my fellow cheaters and the rule abiding players that tolerate
our antics.

Tomorrow's quiz was an actual job project of mine, years ago...

In This Thread

Prev Next