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

Re: "Duck Typing" or "No need for abstract classes"

From: Nicholas Van Weerdenburg <vanweerd@...>
Date: 2005-01-24 23:39:34 UTC
List: ruby-talk #127979
That's the idea, and with a small project, it seems the way to go-
just have any class that wants to be a protocol implement login,
logout, send, receive.

Similarly, you may might want your protocol classes to implement IO
methods, such that it can seamlessly take place of an IO object or
File object.

If, you find problems with run-time errors due to a large number of
erronous new protocols being implemented that escape unit-tests,  you
could define a protocol not so much as a type, but as a contract.

module Protocol
    attr :login, :logout, :send, :receive # alternative- implement
methods with a "raise Exception" in the body, forcing overrides in the
class mixinng in Protocol. But a more general method, like shown below
in MyProtocol, is cleaner and saves typing in the long run.
end

class MyProtocol
    protocol Protocol  # where protocol is a custom include like
method that does a design-by-contract type check that all of
Protocol's methods are implemented.
end

MyProtocol will now thow an exception until it implements all 4
methods. And it explicitly documented my contract for the programmer
looking at the code.

But I'm leaning away from even this lately. Last month I still liked
interfaces a-la Java, and that's largely disipated. Maybe next month
I'll have quacked-up completely, and not worry about protocols either.
I'm still waiting to see how my code talks to me as I write larger
Ruby programs.

Considering protocols some more, I find that in Ruby itself, I find
myself thinking in terms of interfaces/protocols as implicitly defined
by core ruby, example- e.g. Enumerable, Comparable, Array, Hash,  IO,
BasicSocket as a few. While these don't enforce any implementation
contract to go with their interface example, they provide a set of
implied interfaces for my mind to consider.

This set turns out to be quite broad, and I don't find many impluses
to create others, such as your Protocol class. It usually seems to
have little value. But I can still perceive the need in a larger
system that has a lot of variations on a unique object type (e.g.
Document in a large document management system). But then, a module
usually emerges for reasons of factoring out common functionality, and
it handles the explicit protocol definition quite well as a side
effect, rather then a explicit goal. So the module, while not
providing enforced implementation of a protocol, does provide good
documentation of what it is, and a mental concept to think with. And
if a module doesn't appear to satisfy other needs, such as common
functionality, then your probably don't have enough complexity to
really benefit from an explicitly defined interface anyhow.

Now if you ship a framework, or have lots of programmers working on
the project, then adding the ability to ensure implementation of
certain methods through an explict protocol mechanism like the one
considered above becomes interesting. But some would argue the unit
tests would provide the implementation contract. But I'm not sure of
that- the person subclassing may not write test, or even if they do,
they may not understand the full ramifications of the class they are
extending. And, the original unit tests might not automatically pick
up sub classes.

Note that while the protocol-pattern is somewhat like a Java interface
(which is like an ObjectiveC protocol...), general Ruby programming
patterns would never make use of it anyway. Usually it's typed
variables, typed collections (e.g. generics or custom collections), or
casts that make use of interfaces or parent classes. And if you start
adding code to get a similar effect, you are way-gone from
duck-typing.

Now that I've written this, it occurs to me that maybe I'm really
thinking about design-by-contract (DBC), with one case being ensuring
the implementation of a certain protocol/set of methods. But since the
concept of protocol isn't used for anything else, maybe it's better
consider as a DBC need being applied uniquely in cases where
unit-testing doesn't suffice.

Okay, so I've now punted on interfaces and protocols, and am left
brooding over DBC. I wonder if  there have been any interesting
discussions on the value of DBC in Ruby. Something to google for later
this week.

Regards,
Nick
-- 
Nicholas Van Weerdenburg

On Tue, 25 Jan 2005 07:42:13 +0900, Edgardo Hames <ehames@gmail.com> wrote:
> Hi, you all.
> 
> I'm working on a new small project where several network protocols are
> to be supported. I had an idea about how to implement it and it
> resembled something like this.
> 
> class Protocol
>   abstract :login, :logout, :send, :receive
> end
> 
> class MyProtocol < Protocol
>   def login
>     # does something useful
>   end
>   ... # so on
> end
> 
> Then my network client would just call the methods of a Protocol
> object without caring about the actual classes that implement it (yes,
> you're right, I come from a static typing background). But then I read
> something (I don't remember where :( ) which said that agile languages
> don't need to implement so many patterns and I think I saw the light!
> 
> I don't need a Protocol class, the network client should just call the
> methods of the protocol and duck typing should do all the magic. Am I
> right? Am I coming a little closer to walking the Ruby Way?
> 
> Please, post a positive reply and you just may save me a couple of
> therapy sessions :P
> 
> Kind Regards,
> Ed
> 
> --
>  Alcohol is the anesthesia by which we endure the operation of life.
> -- George Bernard Shaw
> 
>

In This Thread