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

HACK : Mixin in PHP5

From: "zimba.tm@..." <zimba.tm@...>
Date: 2005-01-06 11:11:30 UTC
List: ruby-talk #125282
Hi,

I've done some PHP hacking after reading all the ruby doc.
The implemented thing is a form of mixin, with all limitations PHP has.

Let me know if I have understood the concept, otherwise it's just for
your
curiosity ;)

Cheers,
zimba

----------------
<?php
/*
* AUTHOR  : Created on 5 janv. 2005 by Jonas Pfenniger
* LICENSE : You are free to use this code
* DESC    : Mixins are pretty similar to multiple inheritance. The
goal is to
* add capabilites from a class to another class or instance.
* I don't know what it's usefull for, but I'm sure you'll find out ;)
* Because of the limitations of the PHP language, I was not able to do
some
* things, but it was fun to find workarouds where it's possible..
*
*    This hack was inspired by the Ruby language, who supports mixins
natively
*    See: http://www.ruby-lang.org   and   http://www.rubyonrails.com
*
*/



/**
* Mixin : allow to inheritate methods and properties of multiple
objects
*  - Limitations :
*    - Cannot inherit __get and __set
*    - Reflection does not show the new methods
*    - Some behaviors are still weird
*/
class Object
{
/**
* Contains class_name => instances
*/
private $mixin_objects = array();

/**
* Contains method_name => calling code
*/
private $mixin_methods = array();

/**
* For the tests
*/
public $hoi = 0;

/**
* Method and variable mixing
* @var string A class name
*/
public function mixin($class_name)
{
if (!class_exists($class_name))
trigger_error("Class name $class_name is not loaded", E_USER_ERROR);
if (array_key_exists($class_name, $this->mixin_objects))
{
trigger_error("Mixin $class_name allready registered");
return;
}

// Variable argsnum on constructor
$args = func_get_args();
$c = 'return new '.$class_name.'(';
for($i=1; $i<count($args); $i++)
{
$c .= '$args['.$i.']';
if ($i < count($args) - 1) $c .= ',';
}
$c .= ');';

// Create instance
$x = eval($c);
if ($x instanceof MixinChild)
{
$x->setMixinParent($this);
}
$this->mixin_objects[$class_name] = $x;

// Link methods
$refl_class = new ReflectionClass($class_name);
$refl_methods = $refl_class->getMethods();
foreach($refl_methods as $refl_method)
{
// TODO : Inherited methods should not be added

// Do not private and protected methods
if ($refl_method->isPublic())
$this->mixin_methods[$refl_method->getName()] =
'$this->mixin_objects['.
$class_name .
']->'. $refl_method->getName();
}

// Link parameters
foreach ($x as $k => &$v)
{
if (!isset($this->$k))
$this->$k = &$v;
}
}

/**
* Method overloading
* @var string Method name
* @var array Method arguments
*/
public function __call($method_name, $args)
{
if (!array_key_exists($method_name, $this->mixin_methods))
{
trigger_error("Method $method_name does not exist");
return;
}

$c = 'return '. $this->mixin_methods[$method_name] .'($args[0]';
for($i=1; $i<count($args); $i++) $c .= ',$args['.$i.']';
$c .= ');';

return eval($c);
}

public function hasMixin($class_name)
{
return array_key_exists($class_name, $this->mixin_objects);
}

/**
* For the tests
*/
public function directCall()
{
return;
}
}

/**
* Use this class if you want the mixed class to have access to the
parent
*/
abstract class MixinChild extends Object
{
protected $mixin_parent = null;

public function setMixinParent(Object $mixin_parent)
{
$this->mixin_parent = $mixin_parent;
}

}

/**
* Implementation example
*/
class Prout extends MixinChild
{
public $woot = 2;

public function __construct($woot)
{
$this->woot = $woot;
}

/**
* Woot is so cool
*/
public function Woot($a, $b, $c)
{
return "$a, $b and $c are reading /.";
}

public function get()
{
return $this->woot;
}

public function set($x)
{
$this->woot = $x;
$this->mixin_parent->hoi = $x;

}

public function indirectCall()
{
return;
}

public function __set($k, $v)
{
$this->mixin_parent->$k = "PHP";
}

public function __get($k)
{
return "I love ".$this->mixin_parent->$k;
}
}

/***\
|***|==> Start demo code HEHE
\***/

define('BR', "<br />\n");


echo "<h3>Mixin demo</h3>";


$x = new Object();

// Constructor assignation
$x->mixin('Prout', 6);
echo "Constructor test : ". ($x->woot==6?'true':'false'), BR;

// Settest
$x->set(5);
echo "Set test: " . ($x->woot==5?'true':'false'), BR;
echo "Set parent test: " . ($x->hoi==5?'true':'false'), BR;

// Gettest
$x->woot = 3;
echo "Get test: ". ($x->get()==3?'true':'false'), BR;

// Call test
echo "Method call test: " . $x->Woot('nitro', 'tritoul', 'zimba'), BR;


// __get and __set test
$x->notAssignedVar = 3;
echo "__set and __get test : " . ($x->notAssignedVar == 'I love
PHP'?'true':'false'), BR;





//********** BENCHMARKS ***********

$loops = 10000;

// Direct call
$start_time = (float) array_sum(explode(' ', microtime()));
for($i=0; $i<$loops; $i++)
{
$x->directCall();
}
$end_time = (float) array_sum(explode(' ', microtime()));
$direct_time = $end_time - $start_time;
echo "Direct call bench($loops) : ". $direct_time, BR;

// Mixin call
$start_time = (float) array_sum(explode(' ', microtime()));
for($i=0; $i<$loops; $i++)
{
$x->indirectCall();
}
$end_time = (float) array_sum(explode(' ', microtime()));
$mixin_time = $end_time - $start_time;
echo "Mixin call bench($loops) : " . $mixin_time, BR;

// Difference
echo "Execution time difference : ".$mixin_time / $direct_time, BR;


echo "<b>the end</b>", BR;
echo "<pre>";
print_r($x);
echo "</pre>";

?>


In This Thread

Prev Next