[#111191] invisible Infinity — gabriele renzi <rff_rff@...>

Hi gurus and nubys,

17 messages 2004/09/01

[#111202] Ruby blog software. — Lloyd Zusman <ljz@...>

As a favor to a friend, I'm setting up a blog for her on my server.

44 messages 2004/09/01
[#111206] Re: Ruby blog software. — Jamis Buck <jgb3@...> 2004/09/01

Lloyd Zusman wrote:

[#111284] Re: Ruby blog software. — Mike Clark <mike@...> 2004/09/02

[#111287] Re: Ruby blog software. — Jamis Buck <jgb3@...> 2004/09/02

Mike Clark wrote:

[#111294] Re: Ruby blog software. — Dave Thomas <dave@...> 2004/09/02

[#111212] - EZFX Editor 0.6.0 — Richard Lyman <lymans@...>

Download:

17 messages 2004/09/01

[#111214] ruby sidebar for firefox? — djberg96@... (Daniel Berger)

Hi all,

27 messages 2004/09/01
[#111710] Firefox Ruby sidebar (Re: ruby sidebar for firefox?) — James Britt <jamesUNDERBARb@...> 2004/09/07

James Britt wrote:

[#111245] Not just $SAFE, but damn $SAFE — Aredridel <aredridel@...>

I've been toying with an IRC bot that takes input from users in channel,

20 messages 2004/09/02
[#111273] Re: Not just $SAFE, but damn $SAFE — Florian Gross <flgr@...> 2004/09/02

Aredridel wrote:

[#111277] Re: Not just $SAFE, but damn $SAFE — ts <decoux@...> 2004/09/02

>>>>> "F" == Florian Gross <flgr@ccan.de> writes:

[#111300] autochomp? — Martin DeMello <martindemello@...>

Any way to make IO.readlines chomp each line before adding it to the

33 messages 2004/09/02
[#111436] Re: autochomp? — "Robert Klemme" <bob.news@...> 2004/09/03

[#111447] Re: autochomp? — Ara.T.Howard@... 2004/09/03

On Fri, 3 Sep 2004, Robert Klemme wrote:

[#111448] Pickaxe 2 Suspense Is Killing Me — Zach Dennis <zdennis@...> 2004/09/03

I have been suffering from what appears to be an pre-PickAxe 2 Suspense

[#111364] Pickaxe 2 and rpa-base — Carl Youngblood <carl.youngblood@...>

I was just drooling in anticipation for pickaxe 2 and looking through

16 messages 2004/09/02

[#111477] Hashes and ordering — Hal Fulton <hal9000@...>

I've been wondering something today...

35 messages 2004/09/04
[#111481] Re: Hashes and ordering — Markus <markus@...> 2004/09/04

> Do people test equality of hashes very often? I, for one,

[#111483] Re: Hashes and ordering — Hal Fulton <hal9000@...> 2004/09/04

Markus wrote:

[#111488] OK... :) question about hash and array literals — Hal Fulton <hal9000@...>

It has always bothered me a little that [...] and {...} do not

31 messages 2004/09/04
[#111499] Re: OK... :) question about hash and array literals — Yukihiro Matsumoto <matz@...> 2004/09/04

Hi,

[#111521] Re: OK... :) question about hash and array literals — Hal Fulton <hal9000@...> 2004/09/04

Yukihiro Matsumoto wrote:

[#111576] Re: OK... :) question about hash and array literals — Yukihiro Matsumoto <matz@...> 2004/09/05

Hi,

[#111595] Re: OK... :) question about hash and array literals — Hal Fulton <hal9000@...> 2004/09/05

Yukihiro Matsumoto wrote:

[#111607] Re: OK... :) question about hash and array literals — Yukihiro Matsumoto <matz@...> 2004/09/05

Hi,

[#111610] Re: OK... :) question about hash and array literals — Hal Fulton <hal9000@...> 2004/09/05

Yukihiro Matsumoto wrote:

[#111614] Re: OK... :) question about hash and array literals — Bill Guindon <agorilla@...> 2004/09/05

On Mon, 6 Sep 2004 08:31:38 +0900, Hal Fulton <hal9000@hypermetrics.com> wrote:

[#111531] Anyone using Copland? I need feedback! — Jamis Buck <jgb3@...>

Copland (an IoC container for Ruby) is moving forward, and I *think*

13 messages 2004/09/04

[#111543] Videos of Ruby Conference — Carl Youngblood <carl.youngblood@...>

Is anyone going to be filming rubycon? I would really like to watch

51 messages 2004/09/04
[#111558] Re: Videos of Ruby Conference — Chad Fowler <chadfowler@...> 2004/09/05

On Sun, 5 Sep 2004 07:20:14 +0900, Carl Youngblood

[#111645] Re: Videos of Ruby Conference — Robert McGovern <robert.mcgovern@...> 2004/09/06

> I have a digital video camera of my own and am also planning to try to

[#111971] Re: Videos of Ruby Conference — Eric Hodel <drbrain@...7.net> 2004/09/09

Robert McGovern (robert.mcgovern@gmail.com) wrote:

[#112002] Re: Videos of Ruby Conference — Gavin Sinclair <gsinclair@...> 2004/09/09

On Thursday, September 9, 2004, 5:06:10 PM, Eric wrote:

[#112012] Re: Videos of Ruby Conference — Richard Kilmer <rich@...> 2004/09/09

We are going to have my buddy's audio mixing board, a wireless mic, and a

[#112016] Re: Videos of Ruby Conference — Chad Fowler <chadfowler@...> 2004/09/09

On Fri, 10 Sep 2004 00:08:22 +0900, Richard Kilmer <rich@infoether.com> wrote:

[#112021] Re: Videos of Ruby Conference — Richard Lyman <lymans@...> 2004/09/09

Please don't 'bittorrent-only' anything. There are those of use who

[#112025] BItTorrent: A Force for Good or Evil? (Re: Videos of Ruby Conference) — James Britt <jamesUNDERBARb@...> 2004/09/09

Richard Lyman wrote:

[#111687] Ruby-Nuby forum — Alexey Verkhovsky <alex@...>

Dear fellow ruby-talkers,

49 messages 2004/09/06
[#111714] Re: Ruby-Nuby forum — "Robert Klemme" <bob.news@...> 2004/09/07

[#111718] Re: Ruby-Nuby forum — Alexey Verkhovsky <alex@...> 2004/09/07

On Tue, 2004-09-07 at 10:05, Robert Klemme wrote:

[#111765] Re: Ruby-Nuby forum — Brian Wisti <brianwisti@...> 2004/09/07

[#111770] Re: Ruby-Nuby forum — "Bill Kelly" <billk@...> 2004/09/07

> There will always be some folks who think that all

[#111855] Re: Ruby-Nuby forum — David Ross <drossruby@...> 2004/09/08

That is a very good idea. I have a few thoughts to add

[#111757] Request for ideas: simple, useful web app — "Kirk Haines" <khaines@...>

I'm working on a much broader set of IOWA documentation, and core to this is

14 messages 2004/09/07

[#111759] Reporting errors/problem with modules part of ruby base — Dany Cayouette <danyc@...>

I am a ruby newbie and am intimitaded by posting to this newsgroup... I only made two postings related to modules included with base ruby 1.8.0 and 1.8.1 (net/imap and net/telnet). I think I did my homework in researching the behavior I observed, but never saw any replies to my postings.

11 messages 2004/09/07

[#111786] Unified type conversion framework — gabriele renzi <rff_rff@...>

Hi gurus and nubys,

13 messages 2004/09/07

[#111808] Extending ruby with crypto++ — dwerder@... (Dominik Werder)

Hello everybody,

15 messages 2004/09/07

[#111839] ruby-dev summary 24171-24235 — Minero Aoki <aamine@...>

Hi all,

13 messages 2004/09/08

[#111922] Ruby-Nuby forum — Alexey Verkhovsky <alex@...>

Hi all!

22 messages 2004/09/08

[#111972] Problem with ensuring consistency .. Finalization?? — Charles Hixson <charleshixsn@...>

I want to have a class which occasionally updates a file, but I want to

15 messages 2004/09/09

[#112096] OpenGL on MacOS X (again) — Gavin Kistner <gavin@...>

I'm trying to get Ruby/OpenGL working for just me on my MacOS X box;

13 messages 2004/09/09

[#112194] SQLite/Ruby 2.0.1 BETA — Jamis Buck <jgb3@...>

Another beta release for SQLite/Ruby is available, hard on the heels of

16 messages 2004/09/10
[#112200] Re: [ANN] SQLite/Ruby 2.0.1 BETA — Vincent Isambart <vincent.isambart@...> 2004/09/10

Hi,

[#112208] Re: [ANN] SQLite/Ruby 2.0.1 BETA — Jamis Buck <jgb3@...> 2004/09/10

Vincent Isambart wrote:

[#112195] hob x 0.2 .. blogink for ample abilities .. come into the arms of .. — why the lucky stiff <ruby-talk@...>

ok, ruby-talk. enough.

24 messages 2004/09/10

[#112229] Rails and RubyGems — Jim Menard <jimm@...>

I have two issues with installing Rails via RubyGems. I'm on Mac OS X.

12 messages 2004/09/11

[#112253] Singleton method on object via define_method? — Hal Fulton <hal9000@...>

OK, I have this variable called box.

50 messages 2004/09/11
[#112343] Re: Singleton method on object via define_method? — Martin DeMello <martindemello@...> 2004/09/12

"trans. (T. Onoma)" <transami@runbox.com> wrote:

[#112346] Re: Singleton method on object via define_method? — "trans. (T. Onoma)" <transami@...> 2004/09/12

On Sunday 12 September 2004 02:19 pm, Martin DeMello wrote:

[#112353] Re: Singleton method on object via define_method? — "David A. Black" <dblack@...> 2004/09/13

Hi --

[#112354] Re: Singleton method on object via define_method? — "Gavin Sinclair" <gsinclair@...> 2004/09/13

D. A. Black wrote:

[#112355] Re: Singleton method on object via define_method? — "David A. Black" <dblack@...> 2004/09/13

On Mon, 13 Sep 2004, Gavin Sinclair wrote:

[#112360] Re: Singleton method on object via define_method? — "Gavin Sinclair" <gsinclair@...> 2004/09/13

> On Mon, 13 Sep 2004, Gavin Sinclair wrote:

[#112382] Re: Singleton method on object via define_method? — "Robert Klemme" <bob.news@...> 2004/09/13

[#112464] Catching undefined global variable errors — "George Moschovitis" <george.moschovitis@...>

Hello everyone,

14 messages 2004/09/14

[#112506] Ruby Image — Brian Schroeder <spam0504@...>

Hello Group,

27 messages 2004/09/14
[#112511] Re: [Slightly OT] Ruby Image — James Edward Gray II <james@...> 2004/09/14

On Sep 14, 2004, at 9:04 AM, Brian Schroeder wrote:

[#112549] Programming Ruby available for pre-order — Dave Thomas <dave@...>

Folks:

37 messages 2004/09/14
[#112749] Re: [ANN] Programming Ruby available for pre-order — I did not <NOSPAM@...> 2004/09/16

On Thu, 16 Sep 2004 00:01:54 +0200, Dietmar Gack wrote:

[#112608] Ex-Perl coders: Howz it feel to convert to Ruby? — Chris <ceo@...>

I didn't even think about asking this question until now, based on a

95 messages 2004/09/15
[#112716] Re: Ex-Perl coders: Howz it feel to convert to Ruby? — ptkwt@... (Phil Tomson) 2004/09/16

In article <ER32d.2786$Qv5.1325@newssvr33.news.prodigy.com>,

[#112692] Hacking the Ruby interpreter — Tim Hunter <cyclists@...>

I've got an idea for a hack^H^H^H^H enhancement to the interpreter that I'd

12 messages 2004/09/15

[#112726] RubyGems 0.8.0 — Chad Fowler <chad@...>

Marking the 3000th download of RubyGems

13 messages 2004/09/16

[#112814] horribly impossible debugging task — "Ara.T.Howard" <Ara.T.Howard@...>

17 messages 2004/09/16

[#112815] Re: [ANN] Programming Ruby available for pre-order — Dale Martenson <dmartenson@...>

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

12 messages 2004/09/16

[#112831] Want a regular Ruby Quiz? (long) — James Edward Gray II <james@...>

I'm a fan of short, but regular programming "challenges" or "quizzes".

25 messages 2004/09/16

[#112881] Automatic class conversion / function overloading — torehalv@... (Tore Halvorsen)

Hi! Rather new to ruby, and I'm not quite sure where to look for the

18 messages 2004/09/17

[#112940] Accessing Hash elements in sorted order? — Chris <ceo@...>

Problem: I wanted to access the elements of a Hash (specifically from

14 messages 2004/09/17

[#112976] Return value of while loop. — Brian Schrer <ruby@...>

Maybe this question would be more adequate for the ruby-nuby forum ;), but

21 messages 2004/09/18

[#113026] Method improvement request .-- — Charles Hixson <charleshixsn@...>

I'm sure there must be a more idiomatic+efficient way to do this, but I

32 messages 2004/09/18

[#113055] Array#index block and rdetect — "trans. (T. Onoma)" <transami@...>

Tiny RCR suggestion:

62 messages 2004/09/19
[#113072] Re: Array#index block and rdetect — "Robert Klemme" <bob.news@...> 2004/09/19

[#113097] Re: Array#index block and rdetect — Yukihiro Matsumoto <matz@...> 2004/09/19

Hi,

[#113100] Re: Array#index block and rdetect — "David A. Black" <dblack@...> 2004/09/20

Hi --

[#113103] Re: Array#index block and rdetect — Yukihiro Matsumoto <matz@...> 2004/09/20

Hi,

[#113105] Re: Array#index block and rdetect — "David A. Black" <dblack@...> 2004/09/20

Hi --

[#113130] Re: Array#index block and rdetect — "Robert Klemme" <bob.news@...> 2004/09/20

[#113146] Re: Array#index block and rdetect — "Robert Klemme" <bob.news@...> 2004/09/20

[#113150] Re: Array#index block and rdetect — "David A. Black" <dblack@...> 2004/09/20

Hi --

[#113172] Re: Array#index block and rdetect — Yukihiro Matsumoto <matz@...> 2004/09/20

Hi,

[#113179] Re: Array#index block and rdetect — "David A. Black" <dblack@...> 2004/09/20

Hi --

[#113219] Re: Array#index block and rdetect — Yukihiro Matsumoto <matz@...> 2004/09/20

Hi,

[#113237] Re: Array#index block and rdetect — "David A. Black" <dblack@...> 2004/09/21

Hi --

[#113118] Re: [ANN] Vim/Ruby Configuration Files, 2004.09.20 — "Mehr, Assaph (Assaph)" <assaph@...>

10 messages 2004/09/20

[#113192] Store object in on disk / mini database — Kristian Sensen <ks@...>

Hi!

19 messages 2004/09/20
[#113207] Re: Store object in on disk / mini database — "Bill Kelly" <billk@...> 2004/09/20

From: "trans. (T. Onoma)" <transami@runbox.com>

[#113222] - install.rb hack # 42 — "Ara.T.Howard" <Ara.T.Howard@...>

18 messages 2004/09/20
[#113226] Re: [ANN] - install.rb hack # 42 — Tim Hunter <cyclists@...> 2004/09/21

Ara.T.Howard wrote:

[#113227] Re: [ANN] - install.rb hack # 42 — Ara.T.Howard@... 2004/09/21

On Tue, 21 Sep 2004, Tim Hunter wrote:

[#113233] Re: [ANN] - install.rb hack # 42 — "trans. (T. Onoma)" <transami@...> 2004/09/21

On Monday 20 September 2004 08:54 pm, Ara.T.Howard@noaa.gov wrote:

[#113328] text analyzator — "martinus" <martin.ankerl@...>

I have created a little text analyzation tool, that tries to extract

16 messages 2004/09/21

[#113347] soap4r. I just dont get it. — nkb <nkb@...>

Hi.

15 messages 2004/09/22
[#113349] Re: soap4r. I just dont get it. — "NAKAMURA, Hiroshi" <nakahiro@...> 2004/09/22

Hi,

[#113407] Regexp Arity — "trans. (T. Onoma)" <transami@...>

Just ran into a need to know how many parenthetical groupings a Regexp has.

16 messages 2004/09/22
[#113410] Re: Regexp Arity — Yukihiro Matsumoto <matz@...> 2004/09/22

Hi,

[#113443] Newbie: Case statement — "Graham Foster" <graham@...>

As a newbie I'm confused about the Case construct. All the

14 messages 2004/09/22

[#113479] whitespace string only — Henrik Horneber <ryco@...>

Hi!

39 messages 2004/09/23

[#113533] Design Advice: Sub-Class 'Instances' — Gavin Kistner <gavin@...>

Summary

23 messages 2004/09/23

[#113615] The Solitaire Cipher (#1) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

26 messages 2004/09/24

[#113627] Ruby Code to HTML — James Edward Gray II <james@...>

I need to HTMLify some Ruby code. Before I go make some crude

22 messages 2004/09/24

[#113648] openssl examples and docs — "Ara.T.Howard" <Ara.T.Howard@...>

13 messages 2004/09/24

[#113697] Proc / def / yield semantics (long) — Markus <markus@...>

16 messages 2004/09/25

[#113750] local_method_missing possible — "trans. (T. Onoma)" <transami@...>

13 messages 2004/09/26
[#113752] Re: local_method_missing possible — Markus <markus@...> 2004/09/26

[#113754] Re: local_method_missing possible — "trans. (T. Onoma)" <transami@...> 2004/09/26

On Saturday 25 September 2004 10:42 pm, Markus wrote:

[#113803] RPM of Ruby 1.8.x — Matt Lawrence <matt@...>

I'm trying to find rpms for the latest released version of Ruby. After I

22 messages 2004/09/26

[#113885] {newb} Each statements — STEPHEN BECKER I V <Becker004@...>

Do each statements change the thing that they are using?

14 messages 2004/09/27

[#113888] Any YARV pre-questions in RubyConf2004? — SASADA Koichi <ko1@...>

Hi,

20 messages 2004/09/27
[#113897] Re: Any YARV pre-questions in RubyConf2004? — James Britt <jamesUNDERBARb@...> 2004/09/27

SASADA Koichi wrote:

[#113923] Best name for "this method" ? — "trans. (T. Onoma)" <transami@...>

Wondering what the conscensus is on the best name for "this method". Right now

67 messages 2004/09/27
[#113930] Re: Best name for "this method" ? — "David A. Black" <dblack@...> 2004/09/28

Hi --

[#113994] Re: Best name for "this method" ? — "Robert Klemme" <bob.news@...> 2004/09/28

[#114003] Re: Best name for "this method" ? — Gavin Sinclair <gsinclair@...> 2004/09/28

On Tuesday, September 28, 2004, 5:49:21 PM, Robert wrote:

[#114117] Re: Best name for "this method" ? — "trans. (T. Onoma)" <transami@...> 2004/09/28

On Tuesday 28 September 2004 05:44 am, Gavin Sinclair wrote:

[#114121] Re: Best name for "this method" ? — "David A. Black" <dblack@...> 2004/09/28

Hi --

[#113939] Re: Best name for "this method" ? — Florian Gross <flgr@...> 2004/09/28

trans. (T. Onoma) wrote:

[#113946] irb configure options — James Edward Gray II <james@...>

Where is a good source I can learn irb configuration options from?

15 messages 2004/09/28

[#113965] Wish list for 2.0 — STEPHEN BECKER I V <Becker004@...>

In ref to http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/31099

18 messages 2004/09/28
[#113968] Re: Wish list for 2.0 — Yukihiro Matsumoto <matz@...> 2004/09/28

Hi,

[#113971] Re: Wish list for 2.0 — STEPHEN BECKER I V <Becker004@...> 2004/09/28

does that work for end lines in the middle of a string? or a tab? I

[#113981] Re: Wish list for 2.0 — Yukihiro Matsumoto <matz@...> 2004/09/28

Hi,

[#113988] Re: Wish list for 2.0 — Gavin Sinclair <gsinclair@...> 2004/09/28

On Tuesday, September 28, 2004, 2:40:02 PM, Yukihiro wrote:

[#113976] RubyGarden Spam — James Britt <jamesUNDERBARb@...>

The rubygarden wiki has been over-run with spam links.

45 messages 2004/09/28
[#113980] Re: RubyGarden Spam — David Ross <drossruby@...> 2004/09/28

You should create a way to generate images with text

[#114135] Re: RubyGarden Spam — Patrick May <patrick@...> 2004/09/28

Hello,

[#115134] Re: RubyGarden Spam — Patrick May <patrick@...> 2004/10/06

Hello,

[#115183] Re: RubyGarden Spam — Chad Fowler <chadfowler@...> 2004/10/06

On Wed, 6 Oct 2004 11:53:55 +0900, Patrick May <patrick@hexane.org> wrote:

[#117646] RubyGarden Spam - One step to Solution — David Ross <dross@...> 2004/10/25

Here is one step of which many could be applied.

[#114152] Ruby gems crash on OpenBSD Sparc64 — Wes Moxam <wildwildwes@...>

Hi,

12 messages 2004/09/29

[#114197] ruby-dev summary 24298-24353 — SASADA Koichi <ko1@...>

Hi all,

29 messages 2004/09/29
[#114202] Re: ruby-dev summary 24298-24353 — "Robert Klemme" <bob.news@...> 2004/09/29

[#114436] Re: ruby-dev summary 24298-24353 — "trans. (T. Onoma)" <transami@...> 2004/09/30

> "SASADA Koichi" <ko1@atdot.net> schrieb im Newsbeitrag

[#114439] Re: ruby-dev summary 24298-24353 — Yukihiro Matsumoto <matz@...> 2004/10/01

Hi,

[#114443] Re: ruby-dev summary 24298-24353 — "trans. (T. Onoma)" <transami@...> 2004/10/01

On Thursday 30 September 2004 08:17 pm, Yukihiro Matsumoto wrote:

[#114229] Purely static build of Ruby — "rcoder@..." <rcoder@...>

I'm trying to find out whether it's possible to build a completely

13 messages 2004/09/29

[#114249] FXRuby help — Jamis Buck <jgb3@...>

Having some troubles getting FXRuby to work for me. Any script that I

14 messages 2004/09/29

[#114278] Too Many Ways? — Gavin Kistner <gavin@...>

At what point do you cross over from:

99 messages 2004/09/30
[#114286] Re: Too Many Ways? — "Robert Klemme" <bob.news@...> 2004/09/30

[#114298] Re: Too Many Ways? — "David A. Black" <dblack@...> 2004/09/30

Hi --

[#114314] Re: Too Many Ways? — Gavin Kistner <gavin@...> 2004/09/30

On Sep 30, 2004, at 4:04 AM, David A. Black wrote:

[#114319] Range syntax theory — Zach Dennis <zdennis@...> 2004/09/30

I have been thinking lately about rangess and I will give you the two

[#114333] Re: Range syntax theory — gabriele renzi <rff_rff@...> 2004/09/30

Zach Dennis ha scritto:

[#114408] Re: Too Many Ways? — Brian Candler <B.Candler@...> 2004/09/30

> "Duplicate names and techniques to do the same

[#114631] Re: Too Many Ways? — Bob Sidebotham <bob@...> 2004/10/02

Brian Candler wrote:

[#114648] Re: Too Many Ways? — Gavin Sinclair <gsinclair@...> 2004/10/03

On Sunday, October 3, 2004, 3:34:57 AM, Bob wrote:

[#114652] Re: Too Many Ways? — "trans. (T. Onoma)" <transami@...> 2004/10/03

On Saturday 02 October 2004 10:12 pm, Gavin Sinclair wrote:

[#114750] Re: Too Many Ways? — Brian Candler <B.Candler@...> 2004/10/04

On Sun, Oct 03, 2004 at 12:29:39PM +0900, trans. (T. Onoma) wrote:

[#114792] Re: Too Many Ways? — "trans. (T. Onoma)" <transami@...> 2004/10/04

On Monday 04 October 2004 04:06 am, Brian Candler wrote:

[#114797] Re: Too Many Ways? — Brian Candler <B.Candler@...> 2004/10/04

On Mon, Oct 04, 2004 at 11:08:42PM +0900, trans. (T. Onoma) wrote:

[#114798] Re: Too Many Ways? — Brian Candler <B.Candler@...> 2004/10/04

On Mon, Oct 04, 2004 at 11:37:09PM +0900, Brian Candler wrote:

[#114799] Re: Too Many Ways? — "trans. (T. Onoma)" <transami@...> 2004/10/04

On Monday 04 October 2004 10:42 am, Brian Candler wrote:

[#114289] Funtionality of 'case'-Expression — Ralf Mler <r_mueller@...>

Salve!

15 messages 2004/09/30
[#114292] Re: Funtionality of 'case'-Expression — "Robert Klemme" <bob.news@...> 2004/09/30

[#114387] Proc.new(method)? (was Re: Funtionality of 'case'-Expression) — Mark Hubbart <discordantus@...> 2004/09/30

On Thu, 30 Sep 2004 16:50:03 +0900, Robert Klemme <bob.news@gmx.net> wrote:

[#114362] Re: Range syntax theory — "Mills Thomas (app1tam)" <app1tam@...>

Okay, maybe we think of it this way. '..' is a club. '...' is a club, with

23 messages 2004/09/30
[#114366] Re: Range syntax theory — Zach Dennis <zdennis@...> 2004/09/30

This has been a very fun discussion. I'll shut up now unless anyone

[#114447] Re: Range syntax theory — "Gavin Sinclair" <gsinclair@...> 2004/10/01

Zach wrote:

[#114450] Re: Range syntax theory — Zach Dennis <zdennis@...> 2004/10/01

Gavin Sinclair wrote:

[#114460] Re: Range syntax theory — "Gavin Sinclair" <gsinclair@...> 2004/10/01

Zach wrote:

[#114381] The new Pickaxe II book is a reality! — "Warren Brown" <WBrown@...>

To everyone eagerly awaiting Dave's new book:

29 messages 2004/09/30
[#114384] Re: The new Pickaxe II book is a reality! — Dave Thomas <dave@...> 2004/09/30

[#114399] Re: The new Pickaxe II book is a reality! — Kevin McConnell <kevin_mcconnell@...> 2004/09/30

> as of today

[#114402] Re: The new Pickaxe II book is a reality! — Mike Clark <mike@...> 2004/09/30

Got mine in Colorado today. I *love* the lay-flat binding. And

[#114483] Re: The new Pickaxe II book is a reality! — Victor Reyes <victor.reyes@...> 2004/10/01

PLEASSSSSSSSSSSSSSSSSSSSSSSEEEEEEEEEEEE stop enjoying it so much. I am

[#114492] Re: The new Pickaxe II book is a reality! — Florian Weber <csshsh@...> 2004/10/01

[#114392] Calling super methods — Grzegorz Dostatni <grzegorz@...>

16 messages 2004/09/30
[#114406] Re: Calling super methods — Andrew Johnson <ajohnson@...> 2004/09/30

[#114407] Re: Calling super methods — Florian Frank <flori@...> 2004/09/30

On Thu, 2004-09-30 at 22:20, Andrew Johnson wrote:

[#114398] irb: a great tool in it's own right — ptkwt@... (Phil Tomson)

irb (and a little Ruby knowledge) is great for system tasks, especially on

15 messages 2004/09/30

Re: Ex-Perl coders: Howz it feel to convert to Ruby?

From: ChrisO <ceo@...>
Date: 2004-09-16 03:54:54 UTC
List: ruby-talk #112725
Phil Tomson wrote:

>>>Actually, I think this is one of the _worst_ things about Perl and it was 
>>>one of those nagging little annoyances that when added up finally led me 
>>>to seek out alternatives.  The problem with the way parameters are passed 
>>>to subroutines in Perl is that you can't tell from a glance how many 
>>>params are supposed to be passed into the subroutine and you have no 
>>>information about what the params are.  You've got to look down through 
>>>the subroutine code to see if there's a 'shift @_' lurking somewhere in 
>>>the code (for the uninitiated, you pass params to Perl subroutines via the 
>>>'@_' global list; you have to 'manually' shift the params off of that list 
>>>- blech! )
>>>
>>
>>An incredibly interesting point of view though your justification for it 
>>is somewhat understandable.  Pathological mistakes can occur this way 
>>for those that use this, what I would call an incredibly nice feature, 
>>in an undisciplined way.  I'm quite disciplined about spiking out my 
>>arguments in Perl at the top of a subroutine.  
> 
> 
> Did you do this in comments?  In my faint recollections of Perl I seem to 
> recall that there was a way to declare the sub with it's params - but most 
> people didn't do this (or perhaps my memory is incorrect). 
> 

No, I usually spike them out at the top of the subroutine.  Like this:

sub foo {

    ## Get parameters.

    my $bar  = shift;               ## Comment variable use here
    my $boat = shift;               ## Same here

    ## Return bar and boat concat'd.

    "$bar$boat";

}

In general, that's how ALL my Perl subroutines look.  It IS a 
disciplined approach and I guess I have to say that by doing so I am 
implying some rightness in other people's comments here because I 
dislike the same loosy-goosy approach in what I call "trash code" that 
other people write in Perl.  You look at their Perl code, and you can't 
make hide nor hair of it without sitting down, marking out variables, 
etc. as some have stated.

I guess I'm willing to live with the power at the expense of the 
potential for a mess, but it can get messy when it ends up that there 
are 50 ways to "pass" the variable(s) in.  Some of which I dislike 
immensely myself such as this approach:

sub foo {

    my( $bar, $boat ) = @_;
    "$bar$boat";

}

Still, sometimes those different approaches make sense.  In OO modules, 
I've been known to do, assuming foo is a method I am defining in an OO 
module, the following:

sub foo { "$_[0]$_[1]" }

When I see that, because of all the Perl coding I've done, I know 
IMMEDIATELY what's going on.  It appears, to my surprise in this NG 
(though I'd never really thought about it much until now) that some 
people don't like this.

Generally, just because of the way I am "wired" if a language is 
somewhat regimented, I like that and can go with it (I recall earlier 
days in Pascal, and I considered C somewhat that way as well), and if 
the language is "loosy goosy" like Perl, I super-impose my own 
regimented, methodical way of coding.  I think mainly because I've found 
that consistency in approach (to the nth detail) leads to robustness and 
maintainability.  And how much time does it take to spike out my 
variables as I demo'd above versus just slapping them around somewhere 
in the body of the subroutine?  Or indenting consistently throughout, 
etc.?  It doesn't take much, and yet there are A LOT of people that 
don't, so the comments here have some merit, I do admit.

Incidentally, perhaps the thing you are referring to in Perl, denoting 
parameters is the following notation:

sub foo($$) {

    ## Body of subroutine here.

}

This denotes two parameters are intended.  I'm not overly familiar with 
this, and I don't use it.  It still doesn't spike out parameters as you 
all here are advocating.

> 
> Essentially what you're trying to get is to be able to pass in a variable 
> number of arguments to a method (err, function in Perlese).  Ruby lets 
> you do that like so:
> 
>   def foo(*args)
> 
> At least in this case you can tell at a glance that foo can take a 
> variable number of arguments.
> 
> In perl you could have:
>   
>   sub foo {
>     
>     for(@_) {... do whatever...}
> 
>   }
> 
> 
> In the case of Perl, I've got to actually go and read the body of the 
> function to know that it can take multiple arguments.  I don't like it.
> 

But the Perl construct you have above is powerful in certain situations 
just as you indicate later here concerning Ruby and the block/yield 
methodology.  Only in Ruby you have the ability to make it more readable 
with the foo.call method as you pointed out.  But in Perl, the following 
is extremely powerful used in the right context:

sub puts { for (@_) { print "$_\n" } }

Because the intent is to use all parameters passed until all have been 
iterated over.  Unfortunately, that same @_ notation can be used in ways 
I don't like too.  So, I guess I have to say, I do understand somewhat.

> The other thing I don't like about it is that it means that argument 
> handling in Perl is a do-it-yourself project (like OO Perl)
> 

<Sigh> Yep.  Which is one of the reasons Ruby is appealing to me.  It's 
A LOT OF STINKING WORK to create even the simplest Perl OO module, I 
have to admit.  Versus:

class Foo
    attr_reader :bar, :boat

    def initialize( bar, boat )
       @bar, @boat = bar, boat
    end

    def concat
       @bar + @boat
    end
end

foo = Foo.new
p foo.concat
p foo.bar
p foo.boat

Wow.  And you have accessors and everything right there.  In Perl, the 
above is easily 10-20 lines of code and the less lines, the more 
ambigious it would be.  The above Ruby is just plain nice.

> 
>>And to bring this Perl discussion back on topic, in line with your 
>>dislike of this "feature" in Perl, am I not correct in understanding 
>>that in Ruby, one can create methods on the fly in a class?  How is this 
>>that much different (conceptually) than unspecified parameters in a Perl 
>>subroutine?  
> 
> 
> It could present similar problems, however, creating methods on the fly, 
> while possible, it's relatively unusual compared to what we're talking 
> about in Perl.  Every sub in Perl requires that I read the body of the sub 
> to determine what the args are and how many.  I would also contend that 
> the 'problem' of creating methods on the fly is not as big because what is 
> happening is that you're getting some new feature (a new method) created 
> on the fly (or perhaps you're overriding an old one) that you may not be 
> aware of - not knowing about a new method won't break anything because 
> you probably won't call what you don't know about. ;-)
> 

OK, my question was from the vantage of not knowing for sure, so this 
explains that wonderment.

> 
>>How do you know what methods are there (aside from using 
>>the inspection methods available to every class [unless I am mistaken in 
>>this regard]).
> 
> 
> I'll give you a better example for your the point you're trying to make: yield.
> 
> In Ruby you can have:
> 
> 
>   def foo
>     #...
>       yield
>     #...
>   end
> 
> Now there is no indication from looking at the method definition line (the 
> 'def foo' part) that any argument is passed to this method, yet it 
> requires that a block be passed to it, like so:
> 
>   foo { puts "Boo!" }
> 
> So, it's a bit like the problem I'm talking about with Perl, except that 
> in practice it's not as bad because usually there is only one yield in a 
> method - but it can be an issue.  That's why it's probably better to do:
> 
>   def foo(&b)
>     #...
>     b.call
>     #...
>   end
> 
> Because it provides the reader of the code with a clear indication that 
> the method takes a block.  Also, it's usually a good idea if you do use 
> yield to also call 'block_given?' prior to yielding.
> 

Yes, this is a better example of what I was talking about, and yes, you 
can provide better indication here in Ruby than in Perl, I have to 
admit.  So, to see the parallels, I'll bet you see a lot more of the 
simple yields in block handling method definitions in classes than you 
do in the form of you second example with the spiked out parameter and 
the param.call approach.  It's disciplined, well constructed code, but 
not everyone is like that.  Hence the Perl dilemma/diatribe here.

-ceo

In This Thread