[#158545] ideas for an RCR: variable locality — Eric Mahurin <eric_mahurin@...>

I would like to start this thread with end goal being to create

17 messages 2005/10/01

[#158548] Gems is over engineered — "Trans" <transfire@...>

There has been a lot of talk on core about Gems and how it interrelates

23 messages 2005/10/01
[#158553] Re: Gems is over engineered — Austin Ziegler <halostatue@...> 2005/10/01

On 10/1/05, Trans <transfire@gmail.com> wrote:

[#158601] why can't Ruby load .gem files directly? — Joshua Haberman <joshua@...>

I've just been reading the recent threads about gems. I don't have

52 messages 2005/10/02
[#158605] Re: why can't Ruby load .gem files directly? — Ryan Leavengood <leavengood@...> 2005/10/02

On 10/1/05, Joshua Haberman <joshua@reverberate.org> wrote:

[#158608] Re: why can't Ruby load .gem files directly? — Joshua Haberman <joshua@...> 2005/10/02

On Oct 1, 2005, at 9:25 PM, Ryan Leavengood wrote:

[#158641] Re: why can't Ruby load .gem files directly? — Devin Mullins <twifkak@...> 2005/10/02

Joshua Haberman wrote:

[#158645] Re: why can't Ruby load .gem files directly? — Eivind Eklund <eeklund@...> 2005/10/02

On 10/2/05, Devin Mullins <twifkak@comcast.net> wrote:

[#158654] Re: why can't Ruby load .gem files directly? — Devin Mullins <twifkak@...> 2005/10/02

Eivind Eklund wrote:

[#158656] Re: why can't Ruby load .gem files directly? — Kevin Brown <blargity@...> 2005/10/02

On Sunday 02 October 2005 10:42, Devin Mullins wrote:

[#158667] Re: why can't Ruby load .gem files directly? — Devin Mullins <twifkak@...> 2005/10/02

Kevin Brown wrote:

[#158686] Re: why can't Ruby load .gem files directly? — Eivind Eklund <eeklund@...> 2005/10/02

On 10/2/05, Devin Mullins <twifkak@comcast.net> wrote:

[#158699] Re: why can't Ruby load .gem files directly? — Devin Mullins <twifkak@...> 2005/10/02

Eivind Eklund wrote:

[#158723] Re: why can't Ruby load .gem files directly? — Austin Ziegler <halostatue@...> 2005/10/02

On 10/2/05, Devin Mullins <twifkak@comcast.net> wrote:

[#158624] C++ equivs in Ruby — Pascal GUICHARD <pascal.guichard@...>

Hi everybody,

16 messages 2005/10/02

[#158720] state of blocking/nonblocking I/O — Joshua Haberman <joshua@...>

Here is my understanding about the current state of I/O in Ruby.

19 messages 2005/10/02

[#158738] Cannot subclass Class? — "itsme213" <itsme213@...>

irb(main):006:0> class MC < Class

16 messages 2005/10/03

[#158830] Type inference — Eivind Eklund <eeklund@...>

On 10/3/05, Tanner Burson <tanner.burson@gmail.com> wrote:

19 messages 2005/10/03

[#158886] : Lisp partial solution - meta-programming help — Louis J Scoras <louis.j.scoras@...>

Hi all;

18 messages 2005/10/03

[#158967] The definitive GUI for Ruby — "Eustaquio Rangel de Oliveira Jr." <eustaquiorangel@...>

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

28 messages 2005/10/04

[#159024] OFF Topics :: PC-laptop or Powerbook — Squeak Smalltalk <wallenberg@...>

Hi,

18 messages 2005/10/04

[#159093] Object Orientation — Krekna Mektek <krekna@...>

Hi again,

16 messages 2005/10/05

[#159102] Ruby 1.8.3 breaks Needle's logger? — Dido Sevilla <dido.sevilla@...>

I've been using Ruby and Needle to develop many applications, and in

16 messages 2005/10/05
[#159113] Re: Ruby 1.8.3 breaks Needle's logger? — Dick Davies <rasputnik@...> 2005/10/05

On 05/10/05, Dido Sevilla <dido.sevilla@gmail.com> wrote:

[#159141] Re: Ruby 1.8.3 breaks Needle's logger? — Jamis Buck <jamis@37signals.com> 2005/10/05

On Oct 5, 2005, at 2:49 AM, Dick Davies wrote:

[#159127] select! not present but reject! is — "Geert Fannes" <Geert.Fannes@...>

Hello, is there a reason why I can find the in-place mutator method

44 messages 2005/10/05
[#159211] Re: select! not present but reject! is — "Gene Tani" <gene.tani@...> 2005/10/05

Can you use Enumerable#partition ?

[#159251] Re: select! not present but reject! is — Jacob Fugal <lukfugl@...> 2005/10/05

On 10/5/05, Gene Tani <gene.tani@gmail.com> wrote:

[#159256] Re: select! not present but reject! is — "David A. Black" <dblack@...> 2005/10/05

Hi --

[#159304] Re: select! not present but reject! is — Yukihiro Matsumoto <matz@...> 2005/10/06

Hi,

[#159444] Re: select! not present but reject! is — Rob Rypka <rascal1182@...> 2005/10/06

On 10/6/05, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

[#159450] Re: select! not present but reject! is — "David A. Black" <dblack@...> 2005/10/06

Hi --

[#159457] Re: select! not present but reject! is — Jacob Fugal <lukfugl@...> 2005/10/07

On 10/6/05, David A. Black <dblack@wobblini.net> wrote:

[#159459] Re: select! not present but reject! is — "David A. Black" <dblack@...> 2005/10/07

Hi --

[#159475] Re: select! not present but reject! is — Rob Rypka <rascal1182@...> 2005/10/07

On 10/6/05, David A. Black <dblack@wobblini.net> wrote:

[#159501] Re: select! not present but reject! is — "David A. Black" <dblack@...> 2005/10/07

Hi --

[#159526] Re: select! not present but reject! is — Jacob Fugal <lukfugl@...> 2005/10/07

On 10/7/05, David A. Black <dblack@wobblini.net> wrote:

[#159568] Re: select! not present but reject! is — Mark Hubbart <discordantus@...> 2005/10/07

On 10/7/05, Jacob Fugal <lukfugl@gmail.com> wrote:

[#159571] Re: select! not present but reject! is — Rob Rypka <rascal1182@...> 2005/10/07

On 10/7/05, Mark Hubbart <discordantus@gmail.com> wrote:

[#159575] Re: select! not present but reject! is — "David A. Black" <dblack@...> 2005/10/07

Hi --

[#159600] Re: select! not present but reject! is — Devin Mullins <twifkak@...> 2005/10/08

David A. Black wrote:

[#159144] Vim/Ruby Configuration Files, 2005.10.05 — Doug Kearns <dougkearns@...>

G'day folks,

14 messages 2005/10/05

[#159220] One-liner removing duplicate lines — Damien Wyart <damien.wyart@...>

Hello,

39 messages 2005/10/05
[#159226] Re: One-liner removing duplicate lines — Ryan Leavengood <leavengood@...> 2005/10/05

On 10/5/05, Damien Wyart <damien.wyart@free.fr> wrote:

[#159266] Can Ruby pop like Lisp? — waterbowl@...

Is it possible to write a method in Ruby that acts like pop does in

16 messages 2005/10/06

[#159287] Can ruby replace c? — cmk128@...

Hi

28 messages 2005/10/06

[#159295] foo= ... the only exception to the implicit-self rule ? — "itsme213" <itsme213@...>

Sorry to ask this again, but...

22 messages 2005/10/06

[#159302] RubyConf video, audio, streams and recordings? — ES <ruby-ml@...>

Sadly, I cannot attend this year (I will send you pictures from my

11 messages 2005/10/06

[#159310] traits question — "itsme213" <itsme213@...>

How does one install traits 0.7?

14 messages 2005/10/06

[#159434] documentation & tutorials for net::ssh — bob <bob@...>

Hi

12 messages 2005/10/06

[#159456] Google Calculator command line tool — "m4dc4p" <jgbailey@...>

I whipped a quick script to send queries to Google and scrape results

13 messages 2005/10/07

[#159510] Text Image (#50) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

30 messages 2005/10/07

[#159520] Going to RubyConf? Please post to RubyConf2005Facebook — Curt Hibbs <curt.hibbs@...>

Francis Hwang had the bright idea, and it really cool to see all the faces

20 messages 2005/10/07

[#159547] Method added hook — "aurelianito" <aurelianocalvo@...>

Hi!

17 messages 2005/10/07

[#159548] EuRuKo, get together on Friday? — Kero <kero@...>

Hi!

12 messages 2005/10/07

[#159549] Code for title-casing (US) snail addresses? — "rpardee@..." <rpardee@...>

Hey All,

16 messages 2005/10/07

[#159624] Save the world from evil code crusade — "aurelianito" <aurelianocalvo@...>

Hello!

44 messages 2005/10/08
[#159626] Re: Save the world from evil code crusade — James Britt <james_b@...> 2005/10/08

aurelianito wrote:

[#159627] Re: Save the world from evil code crusade — Kevin Brown <blargity@...> 2005/10/08

On Saturday 08 October 2005 09:09, James Britt wrote:

[#159631] Re: Save the world from evil code crusade — "aurelianito" <aurelianocalvo@...> 2005/10/08

I want to be able to define different capabilities for different parts

[#159692] using lambda/Proc can prevent a lot of garbage collection — Eric Mahurin <eric_mahurin@...>

Does anybody else think it is a serious issue that a Proc holds

27 messages 2005/10/08
[#159717] Re: using lambda/Proc can prevent a lot of garbage collection — Kero <kero@...> 2005/10/09

> Does anybody else think it is a serious issue that a Proc holds

[#159735] Re: using lambda/Proc can prevent a lot of garbage collection — Eric Mahurin <eric_mahurin@...> 2005/10/09

--- Kero <kero@chello.single-dot.nl> wrote:

[#159738] Re: using lambda/Proc can prevent a lot of garbage collection — "David A. Black" <dblack@...> 2005/10/09

Hi --

[#159768] Re: using lambda/Proc can prevent a lot of garbage collection — Eric Hodel <drbrain@...7.net> 2005/10/09

On Oct 9, 2005, at 8:20 AM, David A. Black wrote:

[#159773] Re: using lambda/Proc can prevent a lot of garbage collection — Joel VanderWerf <vjoel@...> 2005/10/09

Eric Hodel wrote:

[#159745] indent for Ruby, to reformat it — "Phlip" <phlipcpp@...>

Rubies:

23 messages 2005/10/09

[#159839] How to overload Object's methods automagicaly? — "S.Z." <zbl@...>

I am playing with a Synchronized class that automates resource locking

12 messages 2005/10/10

[#159897] Sort pseudo-lists — pete boardman <pete.boardman@...>

Say I've got a string like this:

16 messages 2005/10/10

[#159900] verifying proper vim-ruby install — Mark Volkmann <r.mark.volkmann@...>

On 10/9/05, Jacob Quinn Shenker <jqshenker@gmail.com> wrote:

15 messages 2005/10/10
[#159912] Re: verifying proper vim-ruby install — Nikolai Weibull <mailing-lists.ruby-talk@...> 2005/10/11

Mark Volkmann wrote:

[#159903] pre-Ruby-Conf dinner Thursday night — "Francis Hwang" <sera@...>

Hey everyone,

31 messages 2005/10/10

[#159916] Facebook... only 154 to go? — Hal Fulton <hal9000@...>

I added my own pic just now. You should, too...

16 messages 2005/10/11

[#159952] event based model - best way to implement? — snacktime <snacktime@...>

I am currently using perl's POE to communicate with the asterisk manager

11 messages 2005/10/11

[#159953] my mother wants to code? — Francois Paul <francois@...>

Hi,

35 messages 2005/10/11

[#160039] Default argument values for blocks — Daniel Schierbeck <daniel.schierbeck@...>

Is there a reason why I can't do this?

104 messages 2005/10/11
[#160045] Re: Default argument values for blocks — Yukihiro Matsumoto <matz@...> 2005/10/11

Hi,

[#160046] Re: Default argument values for blocks — Yukihiro Matsumoto <matz@...> 2005/10/11

Hi,

[#160047] Re: Default argument values for blocks — "Ara.T.Howard" <Ara.T.Howard@...> 2005/10/11

On Wed, 12 Oct 2005, Yukihiro Matsumoto wrote:

[#160118] Re: Default argument values for blocks — Yukihiro Matsumoto <matz@...> 2005/10/12

Hi,

[#160124] Re: Default argument values for blocks — Eric Mahurin <eric_mahurin@...> 2005/10/12

--- Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

[#160166] Re: Default argument values for blocks — "Trans" <transfire@...> 2005/10/12

[#160172] Re: Default argument values for blocks — Thomas <sanobast-2005a@...> 2005/10/12

> What of &?

[#160187] Re: Default argument values for blocks — Christophe Grandsire <christophe.grandsire@...> 2005/10/12

Selon Thomas <sanobast-2005a@yahoo.de>:

[#160213] Re: Default argument values for blocks — Yukihiro Matsumoto <matz@...> 2005/10/12

Hi,

[#160338] Re: Default argument values for blocks — "Phil Tomson" <philtomson@...> 2005/10/13

David A. Black wrote:

[#160349] Re: Default argument values for blocks — Caleb Clausen <vikkous@...> 2005/10/13

Ok, this has been bugging me ever since the last time this issue came

[#160376] Re: Default argument values for blocks — nobuyoshi nakada <nobuyoshi.nakada@...> 2005/10/13

Hi,

[#160395] Re: Default argument values for blocks — Eric Mahurin <eric_mahurin@...> 2005/10/13

--- nobuyoshi nakada <nobuyoshi.nakada@ge.com> wrote:

[#160399] Re: Default argument values for blocks — Christophe Grandsire <christophe.grandsire@...> 2005/10/13

Selon Eric Mahurin <eric_mahurin@yahoo.com>:

[#160422] Re: Default argument values for blocks — Austin Ziegler <halostatue@...> 2005/10/13

On 10/13/05, Christophe Grandsire <christophe.grandsire@free.fr> wrote:

[#160458] Re: Default argument values for blocks — "Phil Tomson" <philtomson@...> 2005/10/13

[#160214] ruby in the government - 1.6.x -> 1.8.x woes — "Ara.T.Howard" <Ara.T.Howard@...>

22 messages 2005/10/12
[#160229] Re: ruby in the government - 1.6.x -> 1.8.x woes — mathew <meta@...> 2005/10/12

Ara.T.Howard wrote:

[#160238] Removing blank lines — "basi" <basi_lio@...>

Hello,

26 messages 2005/10/12
[#160241] Re: Removing blank lines — Esteban Manchado Vel痙quez <zoso@...> 2005/10/12

Hello Basi,

[#160353] Problem with IRB and some sample code... — Unnsse Khan <untz@...>

:-) Hello again,

16 messages 2005/10/13
[#160394] Re: Problem with IRB and some sample code... — James Edward Gray II <james@...> 2005/10/13

On Oct 13, 2005, at 2:01 AM, Unnsse Khan wrote:

[#160381] Text Image (#50) — Ruby Quiz <james@...>

I just love it when a totally crazy idea of mine blossoms into a popular quiz.

30 messages 2005/10/13
[#160403] Re: [SUMMARY] Text Image (#50) — "daz" <dooby@...10.karoo.co.uk> 2005/10/13

[#160525] Re: [SUMMARY] Text Image (#50) — James Britt <james_b@...> 2005/10/13

daz wrote:

[#160532] Re: [SUMMARY] Text Image (#50) — James Edward Gray II <james@...> 2005/10/14

On Oct 13, 2005, at 6:39 PM, James Britt wrote:

[#160534] Re: [SUMMARY] Text Image (#50) — James Britt <james_b@...> 2005/10/14

James Edward Gray II wrote:

[#160535] Why Write Ruby Docs? (was Re: [SUMMARY] Text Image (#50)) — James Edward Gray II <james@...> 2005/10/14

On Oct 13, 2005, at 7:27 PM, James Britt wrote:

[#160556] Re: Why Write Ruby Docs? (was Re: [SUMMARY] Text Image (#50)) — James Edward Gray II <james@...> 2005/10/14

I'm sorry, but the more I think about this, the more it bugs me...

[#160561] Re: Why Write Ruby Docs? (was Re: [SUMMARY] Text Image (#50)) — Kev Jackson <kevin.jackson@...> 2005/10/14

[#160456] InstantRails: Configure/database(via phpmyadmin) not working — "basi" <basi_lio@...>

Windows XP SP2

12 messages 2005/10/13

[#160509] Challenging Project ... Need a deep guru to provide enlightenment. — Jeff Wood <jeff.darklight@...>

I think I've got a very challenging project on my hands but here's I'm

27 messages 2005/10/13
[#160524] Re: Challenging Project ... Need a deep guru to provide enlightenment. — "Ara.T.Howard" <Ara.T.Howard@...> 2005/10/13

On Fri, 14 Oct 2005, Jeff Wood wrote:

[#160527] Re: Challenging Project ... Need a deep guru to provide enlightenment. — "Ara.T.Howard" <Ara.T.Howard@...> 2005/10/13

On Fri, 14 Oct 2005, Ara.T.Howard wrote:

[#160529] Re: Challenging Project ... Need a deep guru to provide enlightenment. — Jeff Wood <jeff.darklight@...> 2005/10/13

These are a good start, but what I'm really trying to do is come up with a

[#160563] Re: Challenging Project ... Need a deep guru to provide enlightenment. — ES <ruby-ml@...> 2005/10/14

Jeff Wood wrote:

[#160582] Re: Challenging Project ... Need a deep guru to provide enlightenment. — Jeff Wood <jeff.darklight@...> 2005/10/14

Actually I wrote a new chunk of code based on Ara's snippet that for direct

[#160664] Factory function like Array() for your own classes — "Sean O'Halpin" <sean.ohalpin@...>

Hi,

13 messages 2005/10/15

[#160697] How to get non-unique elements from an array? — "Sam Kong" <sam.s.kong@...>

Hello!

65 messages 2005/10/15
[#160944] Re: How to get non-unique elements from an array? — "Sam Kong" <sam.s.kong@...> 2005/10/17

Hi!

[#160953] Re: How to get non-unique elements from an array? — "pauldacus@..." <pauldacus@...> 2005/10/17

That is a good one.

[#160968] Re: How to get non-unique elements from an array? — Ryan Leavengood <leavengood@...> 2005/10/17

On 10/17/05, pauldacus@gmail.com <pauldacus@gmail.com> wrote:

[#161007] Re: How to get non-unique elements from an array? — "Sam Kong" <sam.s.kong@...> 2005/10/18

I must confess that I love this group...:-)

[#161119] Re: How to get non-unique elements from an array? — Ryan Leavengood <leavengood@...> 2005/10/18

On 10/17/05, Sam Kong <sam.s.kong@gmail.com> wrote:

[#161135] Re: How to get non-unique elements from an array? — "Ara.T.Howard" <Ara.T.Howard@...> 2005/10/18

On Wed, 19 Oct 2005, Ryan Leavengood wrote:

[#160959] Re: How to get non-unique elements from an array? — Mark Van Holstyn <mvette13@...> 2005/10/17

Hey Sam,

[#160699] Ruby projects — "Me" <narf968@...>

I keep a list of projects I thought would be fun to work on some day

14 messages 2005/10/15

[#160704] Help! define_method leaking procs... — Jamis Buck <jamis@37signals.com>

A plea for help, here... The rails core team is hacking like mad this

31 messages 2005/10/15
[#160710] Re: Help! define_method leaking procs... — Ryan Davis <ryand-ruby@...> 2005/10/15

[#160713] Re: Help! define_method leaking procs... — Eric Mahurin <eric_mahurin@...> 2005/10/15

--- Ryan Davis <ryand-ruby@zenspider.com> wrote:

[#160717] Re: Help! define_method leaking procs... — ES <ruby-ml@...> 2005/10/15

Eric Mahurin wrote:

[#160719] Re: Help! define_method leaking procs... — Eric Mahurin <eric_mahurin@...> 2005/10/15

--- ES <ruby-ml@magical-cat.org> wrote:

[#160723] Re: Help! define_method leaking procs... — Yohanes Santoso <ysantoso-rubytalk@...> 2005/10/16

Eric Mahurin <eric_mahurin@yahoo.com> writes:

[#160728] Re: Help! define_method leaking procs... — Eric Mahurin <eric_mahurin@...> 2005/10/16

--- Yohanes Santoso <ysantoso-rubytalk@dessyku.is-a-geek.org>

[#160729] Re: Help! define_method leaking procs... — Yohanes Santoso <ysantoso-rubytalk@...> 2005/10/16

Eric Mahurin <eric_mahurin@yahoo.com> writes:

[#160730] Re: Help! define_method leaking procs... — Eric Mahurin <eric_mahurin@...> 2005/10/16

--- Yohanes Santoso <ysantoso-rubytalk@dessyku.is-a-geek.org>

[#160709] Anonymous methods, blocks etc. (Cont. 'default block params') — ES <ruby-ml@...>

Listening in on the Roundtable (thanks to the brave recording crew and

79 messages 2005/10/15
[#161077] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Sean O'Halpin" <sean.ohalpin@...> 2005/10/18

On 10/15/05, ES <ruby-ml@magical-cat.org> wrote:

[#161085] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Austin Ziegler <halostatue@...> 2005/10/18

On 10/18/05, Sean O'Halpin <sean.ohalpin@gmail.com> wrote:

[#161101] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/10/18

[#161184] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Eric Mahurin <eric_mahurin@...> 2005/10/18

--- Trans <transfire@gmail.com> wrote:

[#161211] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Sean O'Halpin" <sean.ohalpin@...> 2005/10/18

On 10/18/05, Eric Mahurin <eric_mahurin@yahoo.com> wrote:

[#161263] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Austin Ziegler <halostatue@...> 2005/10/19

On 10/18/05, Sean O'Halpin <sean.ohalpin@gmail.com> wrote:

[#161269] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/10/19

[#161295] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Austin Ziegler <halostatue@...> 2005/10/19

On 10/18/05, Trans <transfire@gmail.com> wrote:

[#161396] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/10/19

[#161405] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Austin Ziegler <halostatue@...> 2005/10/19

On 10/19/05, Trans <transfire@gmail.com> wrote:

[#161487] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/10/19

[#163525] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Zach Dennis <zdennis@...> 2005/10/31

Austin Ziegler wrote:

[#163530] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/10/31

[#163533] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Zach Dennis <zdennis@...> 2005/10/31

Trans wrote:

[#163570] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Yukihiro Matsumoto <matz@...> 2005/11/01

Hi,

[#163576] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — zdennis <zdennis@...> 2005/11/01

Yukihiro Matsumoto wrote:

[#163614] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — Gavin Kistner <gavin@...> 2005/11/01

On Oct 31, 2005, at 9:18 PM, zdennis wrote:

[#163630] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/11/01

This is abit to the side, but maybe it would shed light on the

[#163648] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — gwtmp01@... 2005/11/01

[#163682] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/11/02

Hi--

[#163693] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — gwtmp01@... 2005/11/02

[#163754] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/11/02

[#163763] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — gwtmp01@... 2005/11/02

[#163776] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — "Trans" <transfire@...> 2005/11/02

[#163783] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — mental@... 2005/11/02

Quoting Trans <transfire@gmail.com>:

[#163817] Re: Anonymous methods, blocks etc. (Cont. 'default block params') — gwtmp01@... 2005/11/02

[#160724] ANN: ZenTest 3.4.0 Released — Ryan Davis <ryand-ruby@...>

ZenTest version 2.4.0 has been released!

11 messages 2005/10/16

[#160810] Editing in Ruby — "Shreyas" <sravi2k4@...>

Hi all --

12 messages 2005/10/17

[#160838] Ruby for Python/OO developer — "Achim Domma (SyynX Solutions GmbH)" <achim.domma@...>

Hi,

17 messages 2005/10/17

[#160870] declaratively caching results of a method — Brian Buckley <briankbuckley@...>

Hello

24 messages 2005/10/17
[#160874] Re: declaratively caching results of a method — "Sean O'Halpin" <sean.ohalpin@...> 2005/10/17

On 10/17/05, Brian Buckley <briankbuckley@gmail.com> wrote:

[#160927] Re: declaratively caching results of a method — Brian Buckley <briankbuckley@...> 2005/10/17

> You could check out Daniel Berger's memoize (based on Nobu Nokada's

[#160881] Roxy 0.1 - Remote Proxy Objects w/ type & method signature impersonation and w/ remote block yields. — Jeff Wood <jeff.darklight@...>

Hey folks.

8 messages 2005/10/17

[#160934] gem server horked? — Jeff Wood <jeff.darklight@...>

This morning seems the gem server is having a bit of a fit ... getting

12 messages 2005/10/17
[#160940] Re: gem server horked? — Erik Veenstra <pan@...> 2005/10/17

> > This morning seems the gem server is having a bit of a fit

[#160947] Re: gem server horked? — Jeff Wood <jeff.darklight@...> 2005/10/17

True, my view wasn't geographically sensitive.

[#160957] Re: gem server horked? — Jeff Wood <jeff.darklight@...> 2005/10/17

Has anybody that's part of that project caught this yet ??? I'm surprised

[#160989] A couple of questions/statements from a Ruby neohacker — Dave Bettin <me@...>

I started my programming career off with PHP and ColdFusion. I loved the

17 messages 2005/10/17

[#161043] Unit testing an each function — Peter Hickman <peter@...>

I am testing a new class I have written that has an each method, how do

37 messages 2005/10/18
[#161061] Re: Unit testing an each function — "Kevin Ballard" <kballard@...> 2005/10/18

That sounds fine to me. What's wrong with that method?

[#161064] Re: Unit testing an each function — Peter Hickman <peter@...> 2005/10/18

Kevin Ballard wrote:

[#161090] Re: Unit testing an each function — "Kevin Ballard" <kballard@...> 2005/10/18

Peter Hickman wrote:

[#161098] Re: Unit testing an each function — Peter Hickman <peter@...> 2005/10/18

Kevin Ballard wrote:

[#161116] Re: Unit testing an each function — "Kevin Ballard" <kballard@...> 2005/10/18

[#161122] Re: Unit testing an each function — "Kevin Ballard" <kballard@...> 2005/10/18

[#161128] Re: Unit testing an each function — "Kevin Ballard" <kballard@...> 2005/10/18

class EnumerableProxy < Object

[#161131] Re: Unit testing an each function — Peter Hickman <peter@...> 2005/10/18

Thanks for that, quite an education in that code.

[#161152] Re: Unit testing an each function — "Kevin Ballard" <kballard@...> 2005/10/18

Ok, here's a new version. It now generalizes the wrapping, so it's

[#161205] Re: Unit testing an each function — Ryan Leavengood <leavengood@...> 2005/10/18

On 10/18/05, Kevin Ballard <kballard@gmail.com> wrote:

[#161226] Re: Unit testing an each function — "Kevin Ballard" <kballard@...> 2005/10/18

Ryan Leavengood wrote:

[#161229] Re: Unit testing an each function — "Kevin Ballard" <kballard@...> 2005/10/18

[#161239] Re: Unit testing an each function — James Edward Gray II <james@...> 2005/10/18

On Oct 18, 2005, at 5:41 PM, Kevin Ballard wrote:

[#161065] Ruby and Eclipse — "Carl Asman" <carl.asman@...>

I wanted to be a unfaithful to my emacs and try the Ruby plugin for

14 messages 2005/10/18

[#161176] The Ruby Way to build an object unless nil? — Peter Fitzgibbons <peter.fitzgibbons@...>

Hello all,

17 messages 2005/10/18

[#161230] Killing Threads & Processes on Windows — x1 <caldridge@...>

x = Thread.new { system("c:/program files/internet explorer/iexplore.exe") }

16 messages 2005/10/18

[#161245] Seeking Contributions for O'Reilly's Ruby Cookbook — "Leonard Richardson" <leonard.richardson@...>

Hello, all,

22 messages 2005/10/18
[#161260] Re: Seeking Contributions for O'Reilly's Ruby Cookbook — "luke" <l.d.u.n.c.a.l.f.e@... (dot)> 2005/10/19

i sometimes farm this site for ideas. i think the contributions are

[#161294] Re: Seeking Contributions for O'Reilly's Ruby Cookbook — "Gavin Sinclair" <gsinclair@...> 2005/10/19

[#161301] Re: Seeking Contributions for O'Reilly's Ruby Cookbook — "David A. Black" <dblack@...> 2005/10/19

Hi --

[#161639] Re: Seeking Contributions for O'Reilly's Ruby Cookbook — "Gavin Sinclair" <gsinclair@...> 2005/10/20

David A. Black wrote:

[#161650] Re: Seeking Contributions for O'Reilly's Ruby Cookbook — Peter Hickman <peter@...> 2005/10/20

Well we could start with a couple of chapters for ideas

[#161251] [RCR] Cut-based AOP — "Trans" <transfire@...>

This is to "officially" announce an RCR that I posted to RCR archive

108 messages 2005/10/18
[#161594] Re: [ANN] [RCR] Cut-based AOP — Yukihiro Matsumoto <matz@...> 2005/10/20

Hi,

[#161619] Re: [ANN] [RCR] Cut-based AOP — Alexandru Popescu <the.mindstorm.mailinglist@...> 2005/10/20

Hi!

[#162342] Re: Cut-based AOP — "Trans" <transfire@...> 2005/10/24

[#197129] Re: Cut-based AOP — "Ruby Newbie" <rubynewbie@...> 2006/06/14

Curious about AOP in Ruby, I've downloaded the Cut patch for 1.8.3,

[#197145] Re: Cut-based AOP — "Austin Ziegler" <halostatue@...> 2006/06/14

On 6/13/06, Ruby Newbie <rubynewbie@gmail.com> wrote:

[#197236] Re: Cut-based AOP — transfire@... 2006/06/14

[#197239] Re: Cut-based AOP — "Francis Cianfrocca" <garbagecat10@...> 2006/06/14

>>>Well, saying that is sort-of like programming Turbo Pascal in the 80's

[#197248] Re: Cut-based AOP — transfire@... 2006/06/14

[#161262] How to hire a rubyist? — "jfry" <jeff.fry@...>

Hey there,

15 messages 2005/10/19

[#161329] Byte order reading on windows versus unix in ruby — Robert Evans <robert.evans@...>

I have written some code that reads bytes from a file in bigendian

13 messages 2005/10/19

[#161351] attaching code to run on regular expression match — Eyal Oren <eyal.oren@...>

Hi,

12 messages 2005/10/19

[#161378] Array.sort when it's items are String inheritors with redefined <=> works like if not redefined — MiG <mig@1984.cz>

Hello,

9 messages 2005/10/19

[#161449] Method annotation and anonymous functions — stevetuckner <stevetuckner@...>

I want to start a discussion about two things that Matz talked about at

35 messages 2005/10/19
[#161545] Re: Method annotation and anonymous functions — Yukihiro Matsumoto <matz@...> 2005/10/19

Hi,

[#161550] Re: Method annotation and anonymous functions — Jeff Wood <jeff.darklight@...> 2005/10/19

Most languages define some token that specifically states method attribute...

[#161555] Re: Method annotation and anonymous functions — "David A. Black" <dblack@...> 2005/10/20

Hi --

[#161556] Re: Method annotation and anonymous functions — Jeff Wood <jeff.darklight@...> 2005/10/20

Yes it would, but I don't see another way to do attribution of methods

[#161557] Re: Method annotation and anonymous functions — "Trans" <transfire@...> 2005/10/20

[#161450] Functional with Ruby — "Andreas Semt" <Andreas.Semt@...>

Hello list,

30 messages 2005/10/19

[#161464] Can't type {, }, [ or ] in irb — "rohde" <rohdester@...>

Hi,

13 messages 2005/10/19
[#161497] Re: Can't type {, }, [ or ] in irb — Austin Ziegler <halostatue@...> 2005/10/19

On 10/19/05, rohde <rohdester@gmail.com> wrote:

[#161469] Rails 1.0: Release Candidate 2 — David Heinemeier Hansson <david.heinemeier@...>

The release of 1.0 is near upon us! It has been a long time in the

13 messages 2005/10/19
[#161493] Re: Rails 1.0: Release Candidate 2 — Caleb Tennis <caleb@...> 2005/10/19

> (The main gem server is pretty over-worked, you may want to do gem

[#161496] Re: Rails 1.0: Release Candidate 2 — Chad Fowler <chadfowler@...> 2005/10/19

On 10/19/05, Caleb Tennis <caleb@aei-tech.com> wrote:

[#161527] DRb Basics — James Edward Gray II <james@...>

I'm finally getting around to playing with DRb and I have some

20 messages 2005/10/19

[#161564] Ruby on Rails version of osCommerce in PHP? — petermichaux@...

Hi,

29 messages 2005/10/20
[#161786] Re: Ruby on Rails version of osCommerce in PHP? — petermichaux@... 2005/10/21

Anyone interested in joining a new open source project to write this? I

[#162294] Re: Ruby on Rails version of osCommerce in PHP? — Corey Lawson <corey.ssf.lawson@...> 2005/10/24

Yes. I'd like to help with the database part at least (to make it non-MySQL

[#162305] Re: Ruby on Rails version of osCommerce in PHP? — Douglas Livingstone <rampant@...> 2005/10/24

2005/10/24, Corey Lawson <corey.ssf.lawson@gmail.com>:

[#162530] Re: Ruby on Rails version of osCommerce in PHP? — Corey Lawson <corey.ssf.lawson@...> 2005/10/25

No. The OpenCommerce database schema isn't very Rails-friendly. Some people

[#162538] Re: Ruby on Rails version of osCommerce in PHP? — petermichaux@... 2005/10/25

[#162608] Re: Ruby on Rails version of osCommerce in PHP? — Corey Lawson <corey.ssf.lawson@...> 2005/10/25

table names...PK field names, but that could be configured around with AR, I

[#162613] Re: Ruby on Rails version of osCommerce in PHP? — "Paul" <paul.vaillant@...> 2005/10/25

Per what a number of others have discussed, auditing/triggers are

[#162787] Re: Ruby on Rails version of osCommerce in PHP? — petermichaux@... 2005/10/26

Here is David Heinemeier Hanson's thoughts about why it is best to keep

[#162798] Re: Ruby on Rails version of osCommerce in PHP? — Austin Ziegler <halostatue@...> 2005/10/26

On 10/26/05, petermichaux@yahoo.com <petermichaux@yahoo.com> wrote:

[#161691] Removing a class for good from ObjectSpace — Florian Weber <csshsh@...>

Hi!

11 messages 2005/10/20

[#161715] New Language — Jim Freeze <jim@...>

I think I am going to start a new language, just so

26 messages 2005/10/20
[#161739] Re: [OT] New Language — Martin DeMello <martindemello@...> 2005/10/20

Ryan Leavengood <leavengood@gmail.com> wrote:

[#161745] Re: [OT] New Language — Tom Copeland <tom@...> 2005/10/20

On Fri, 2005-10-21 at 06:06 +0900, Martin DeMello wrote:

[#161746] Re: [OT] New Language — Brian Mitchell <binary42@...> 2005/10/20

On 10/20/05, Tom Copeland <tom@infoether.com> wrote:

[#161773] Ferret 0.1.0 (Port of Java Lucene) released — David Balmain <dbalmain.ml@...>

Hi Folks,

25 messages 2005/10/21

[#161790] Madeleine, SQLite and multi-platform issues (in ruby :-) — "Assaph Mehr" <assaph@...>

Hi list,

19 messages 2005/10/21
[#161791] Re: Madeleine, SQLite and multi-platform issues (in ruby :-) — Ezra Zygmuntowicz <ezra@...> 2005/10/21

What about using a pure ruby solution like KirbyBase?

[#161808] Re: Madeleine, SQLite and multi-platform issues (in ruby :-) — "Assaph Mehr" <assaph@...> 2005/10/21

[#161792] A comparison by example of keyword argument styles — Brian Mitchell <binary42@...>

Hello fellow rubyists,

73 messages 2005/10/21
[#161805] Re: A comparison by example of keyword argument styles — Daniel Schierbeck <daniel.schierbeck@...> 2005/10/21

I still haven't given up on my own style :)

[#162159] Re: A comparison by example of keyword argument styles — Daniel Schierbeck <daniel.schierbeck@...> 2005/10/23

This is just to get the discussion focused. With named arguments, I'm

[#162182] Re: A comparison by example of keyword argument styles — Eric Mahurin <eric_mahurin@...> 2005/10/23

--- Daniel Schierbeck <daniel.schierbeck@gmail.com> wrote:

[#162199] Re: A comparison by example of keyword argument styles — Yukihiro Matsumoto <matz@...> 2005/10/23

Hi,

[#162299] Re: A comparison by example of keyword argument styles — Eric Mahurin <eric_mahurin@...> 2005/10/24

--- Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

[#162331] Re: A comparison by example of keyword argument styles — Louis J Scoras <louis.j.scoras@...> 2005/10/24

Right, so this is probably a really dumb idea, but I was just having a

[#161848] Re: A comparison by example of keyword argument styles — "Berger, Daniel" <Daniel.Berger@...>

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

17 messages 2005/10/21

[#161917] array in hash... argh!! — Marco <z@...>

hello all.

17 messages 2005/10/21

[#161947] Rubyists into Lojban? — rubyhacker@...

I don't wish to wander OT, but as I have been tinkering

14 messages 2005/10/21

[#162074] combination sums of several arrays — David Vincelli <micologist@...>

I'm writing a little BlackJack program for fun and I'm at the point

12 messages 2005/10/23

[#162178] Why is Ruby a favorite among the Agile set? — Ed Howland <ed.howland@...>

Hi,

15 messages 2005/10/23

[#162221] I want my MOM — swille <sillewille@...>

Err.. :) Can anyone tell me if there's a MOM for Ruby? Anything like

17 messages 2005/10/24

[#162258] can we add a tag like this to all the mail at the ruby talk mail server(s)? — Peter Barry <pbarry@...>

Guys & Gals ,

17 messages 2005/10/24
[#162306] Re: [Ruby-Talk] can we add a tag like this to all the mail at the ruby talk mail server(s)? — Yohanes Santoso <ysantoso-rubytalk@...> 2005/10/24

What is needed here is a change on how we should look at our email

[#162486] Re: [Ruby-Talk] can we add a tag like this to all the mail at the ruby talk mail server(s)? — Michal Suchanek <hramrach@...> 2005/10/25

On 10/24/05, Yohanes Santoso <ysantoso-rubytalk@dessyku.is-a-geek.org> wrote:> What is needed here is a change on how we should look at our email> addresses.>> Do you give your home phone number to a client? Do you give your> business phone number to your parents? If not, then why should you> give your personal email address to a client and your business email> address to your parents?>> Let's expand this further. Why should you be subscribing to a mailing> list with your personal email address? Why should you be the one doing> the routing of incoming emails? And, worse, asking the originator of> the email to, say, prefix the subject.>> Email addresses are much cheaper than phone number. For each> occassion, you can afford to give out new email address. For example,> I use a different email address for ruby-talk mailing list than the> email address I hand out to friends, and to co-workers, and to my> parents.>> This way, I'm not doing the routing of incoming emails; they do by> sending emails to the email address I gave them, their emails will> land on the mailboxes I want without me doing no further configuration> changes.>> I feel sad that email addresses in this age of cyberspace are still> treated as if it is as expensive as a phone number. They are cheap,> dirt cheap.>> Imagine this: work@yourname.yourdomain, friend@yourname.yourdomain,> ruby-talk@yourname.yourdomain, newegg@yourname.yourdomain.>> If your organisation is still in the backwater, giving you only one> email address, instead of a sub-domain, that's OK. That's just for> work, right?>> OTOH, for your personal life, you can get a subdomain for free from> various dyndns providers, and start churning out email addresses.>This is all nice. And I also try to separate the work address and theother address.But even if I use a freemail, I get only one address for personal use.They explicitly disallow registering more (because I could use morespace then). And dealing with several different freemails is terrible.Dyndyns does not work for me. It is only a technical issue to get itworking (recompiling the client for mips or whatever) but there isstill no place where I could receive the emails at home.First the computers eat energy when they are running all the time. Itis waste of electricity and money.Second the computers tend to break. I would probably get much morebounces than with a freemail.

[#162270] How to find all the subclasses of a class? — Horacio Sanson <hsanson@...>

11 messages 2005/10/24

[#162289] WhyRuby? repository has moved to ruby-doc.org — Curt Hibbs <curt.hibbs@...>

WhyRuby? was a project on RubyForge that I started to collect advocacy

12 messages 2005/10/24

[#162372] Oldest Ruby hacker? — "Chris McMahon" <christopher.mcmahon@...>

15 messages 2005/10/24
[#162971] Re: Oldest Ruby hacker? — "Charles Roper" <charles.roper@...> 2005/10/27

Chris McMahon wrote:

[#162393] What's your Ruby Number? (self.to_i) — Hal Fulton <hal9000@...>

I offer this in the spirit of the old "purity test" and the

66 messages 2005/10/25
[#162400] Re: What's your Ruby Number? (self.to_i) — James Edward Gray II <james@...> 2005/10/25

On Oct 24, 2005, at 9:20 PM, Hal Fulton wrote:

[#162520] Re: What's your Ruby Number? (self.to_i) — mathew <meta@...> 2005/10/25

Hal Fulton wrote:

[#162619] Re: What's your Ruby Number? (self.to_i) — rubyhacker@... 2005/10/25

mathew wrote:

[#162627] Re: What's your Ruby Number? (self.to_i) — Jim Freeze <jim@...> 2005/10/25

On 10/25/05, rubyhacker@gmail.com <rubyhacker@gmail.com> wrote:

[#162631] Re: What's your Ruby Number? (self.to_i) — Hal Fulton <hal9000@...> 2005/10/25

Jim Freeze wrote:

[#162637] Re: What's your Ruby Number? (self.to_i) — "David A. Black" <dblack@...> 2005/10/26

Hi --

[#162399] RCR: Array#to_h — "Shannon Fang" <xrfang@...>

Hi there,

19 messages 2005/10/25

[#162456] ruby gives different answer for checksum of files on windows and FreeBSD? — Ralph Smith <ralph@...>

11 messages 2005/10/25

[#162507] Comparing Classes with Case ? — "Warren Seltzer" <warrens@...>

The following failure surprised me:

19 messages 2005/10/25

[#162600] Re: narray and the stdlib — ptkwt@... (Phil Tomson)

In article <dcedf5e20510250919v45bdfdc6iceb8472fc2e56ce2@mail.gmail.com>,

16 messages 2005/10/25

[#162635] The "perfect" ORM? — Hal Fulton <hal9000@...>

For many weeks I have had this at the back of my mind.

53 messages 2005/10/26
[#162910] Re: The "perfect" ORM? — George Moschovitis <george.moschovitis@...> 2005/10/27

> So anyway, this is one of my highest priorities -- to

[#162985] Re: The "perfect" ORM? — rubyhacker@... 2005/10/27

George Moschovitis wrote:

[#162688] help: trouble with ONLamp's cookbook tutorial / mysql — lewcio@...

I haven't yet touched the tutorial app's code except to change the

10 messages 2005/10/26

[#162876] Cleaner syntax for .map (is there already a way, or ruby2 idea?) — Ron M <rm_rails@...>

23 messages 2005/10/27
[#162907] Re: Cleaner syntax for .map (is there already a way, or ruby2 idea?) — "Trans" <transfire@...> 2005/10/27

[#162902] Ruby Quiz for building up Ruby? — Hugh Sasse <hgs@...>

I put this suggestion to James Edward Gray II as a means to an

15 messages 2005/10/27

[#162982] Argument Passing Syntax — gwtmp01@...

Why are arguments to the '[]' method parsed differently

14 messages 2005/10/27

[#163026] "Reflecting" on my self.n00b — swille <sillewille@...>

I'm admittedly quite a novice with programming. I'm sort of playing

12 messages 2005/10/28

[#163094] PARSER for RUBY — puellula@...

Hi,

20 messages 2005/10/28

[#163152] "Readability" inflation — "David A. Black" <dblack@...>

Hi --

69 messages 2005/10/28
[#163276] Re: "Readability" inflation — Martin DeMello <martindemello@...> 2005/10/29

David A. Black <dblack@wobblini.net> wrote:

[#163283] Re: "Readability" inflation — "Trans" <transfire@...> 2005/10/29

[#163209] What would it take to change the behaviour of variable assignment? — Daniel Nugent <nugend@...>

Hello,

11 messages 2005/10/28

[#163210] TumbleDRYer (#53) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

10 messages 2005/10/28

[#163274] determining whether an object is an immediate? — Eric Mahurin <eric_mahurin@...>

This is be best I could come up with for determining whether an

16 messages 2005/10/29

[#163383] Which Ruby Version? — "Trans" <transfire@...>

Okay, since 1.8.3 is smoking, which version should I be using right

15 messages 2005/10/30

[#163393] C# attributes in Ruby? — Stephan Mueller <d454d@...>

Hi,

16 messages 2005/10/30

[#163401] 1.8.4 preview1 win32 error — simonharrison@...

I've downloaded the binary release from garbagecollect.jp and now irb

13 messages 2005/10/30

[#163465] qtruby problems now on linux — "Hans Fugal" <fugalh@...>

Maybe it's related to halloween being tomorrow; all of a sudden qtruby

17 messages 2005/10/31

[#163469] Re: <ANN> TeSLa, a Domain Specific Language for Unit Testing — "Daniel Sheppard" <daniels@...>

>

20 messages 2005/10/31
[#163679] Re: <ANN> TeSLa, a Domain Specific Language for Unit Testing — "obscured by code" <javierg1975@...> 2005/11/01

Well, I think your confusion stems from my use of the word

[#163779] Re: <ANN> TeSLa, a Domain Specific Language for Unit Testing — Ryan Leavengood <leavengood@...> 2005/11/02

On 11/1/05, obscured by code <javierg1975@gmail.com> wrote:

[#163790] Re: <ANN> TeSLa, a Domain Specific Language for Unit Testing — James Britt <james_b@...> 2005/11/02

Ryan Leavengood wrote:

[#163901] Re: <ANN> TeSLa, a Domain Specific Language for Unit Testing — Christian Neukirchen <chneukirchen@...> 2005/11/03

James Britt <james_b@neurogami.com> writes:

[#163920] Re: <ANN> TeSLa, a Domain Specific Language for Unit Testing — Eric Mahurin <eric.mahurin@...> 2005/11/03

On 11/3/05, Christian Neukirchen <chneukirchen@gmail.com> wrote:

[#163528] Trapping errors. — Hugh Sasse <hgs@...>

begin

19 messages 2005/10/31

[#163558] Newbie: How to format a number to always show two decimals? — "i.v.r." <ivanvega@...>

Hi,

19 messages 2005/10/31
[#163559] Re: Newbie: How to format a number to always show two decimals? — James Edward Gray II <james@...> 2005/10/31

On Oct 31, 2005, at 4:47 PM, i.v.r. wrote:

[#163560] Re: Newbie: How to format a number to always show two decimals? — "i.v.r." <ivanvega@...> 2005/10/31

James Edward Gray II wrote:

[#163562] Re: Newbie: How to format a number to always show two decimals? — Harold Hausman <hhausman@...> 2005/11/01

Alternatively there's this code from Phrogz's library (

Ruby Weekly News 26th September - 2nd October 2005

From: timsuth@... (Tim Sutherland)
Date: 2005-10-04 09:51:49 UTC
List: ruby-talk #158958
http://www.rubyweeklynews.org/20051002.html

(Web viewers have more fun.)

Ruby Weekly News 26th September - 2nd October 2005
--------------------------------------------------

   Ruby Weekly News is a summary of the week's activity on the ruby-talk
   mailing list / the comp.lang.ruby newsgroup, brought to you by
   Tim Sutherland and Christophe Grandsire.

Articles and Announcements
--------------------------

     * Rapid GUI Development with QtRuby 
     -----------------------------------

       Dave Thomas announced the Pragmatic Programmer's new book line,
       `Fridays', which are "short, PDF-only books on a single topic."

       The first book is "Rapid GUI Development with QtRuby".

       | Caleb Tennis has just finished a short book on the QtRuby library,
       | which integrates the cross-platform Qt3 library into Ruby. It
       | discusses how to create cross-platform GUI applications for Linux
       | and OS X in Ruby. It covers installation, basic and advanced
       | programming, event models, and Korundum.

       "I'm always looking for more material to support the Ruby community:
       if you feel you have either a full book or a Friday in you, drop me a
       line."

       (Discussions followed around QtRuby support for Qt4, and for Windows.
       See also [QT 4 Binding], in which Caleb Tennis says he and Richard Dale
       are working on porting QtRuby to Qt4, but need someone on Windows to
       do testing in order to support that platform.)

     * Interview with Swedish downhill ski racer Mikael Borg 
     -------------------------------------------------------

       Ara.T.Howard: "well, actually he's a postdoc at the university of
       toronto who uses ruby in toolset of bits and bytes to study protein
       interactions - but that's not quite as catchy a subject now is it?"

       Yep, it's another interview for the SciRuby project, "a portal for all
       things scientific and ruby."

User Group News
---------------

     * semich.rb Meeting (Southeast Michigan Ruby Users Group) 
     ---------------------------------------------------------

       Patrick Hurley say'deth "This will be our first meeting. The meeting
       is open to the public, please feel free to attend if you have an
       interest in learning more about Ruby, and sharing your experiences."

       7pm Thursday, September 29 in Ann Arbor if you're interested.

     * Next meeting of the Columbia Maryland Ruby on Rails Codefesters 
     -----------------------------------------------------------------

       Hey folks, folksied Jeff Waltzer, "its time for another Columbia, MD
       Ruby on Rails CodeProject CodeFest", on September 26th.

       "We're all learning Ruby and Rails so even if you don't know much
       about either please come, join the fun and even If you're running
       late, we'd still like you to join us."

Threads
-------

  SQLite / Ruby on Windows?
  -------------------------

   David Vallner asked if anyone had an "install-by-copy" version of the
   binding for the SQLite embedded database system.

   "I'm in sore need of an embeddable SQL database and I admit to being
   completely uncapable of compiling Ruby extensions on my Windows box."

   Austin Ziegler suggested he just try installing with RubyGems, which
   allows you to select a pre-compiled Windows binary, and Jeff Wood expanded
   on this.

  Outlook calendar
  ----------------

   Happy-jack was interested in playing with the Outlook calendar from Ruby.
   He'd found some scripts for writing to the calendar, but none to retrieve
   the information.

   Gregarican posted some code that does this using MAPI (Exchange's mail
   API), through Ruby's Win32OLE library.

   Also of interest is the ScriptingOutlook page on RubyGarden.

  PostgreSQL driver in binary form?
  ---------------------------------

   Threads about database drivers on Windows were popular this week!
   This one is from Robby Russell asking about a win32 binary for the
   PostgreSQL driver, as he couldn't get the pure-Ruby postgres-pr to
   work with PostgreSQL 8.0.

   Matthew Desmarais said he'd been using postgres-pr with version 8.0
   without problems, and asked for more information on the problems Robby was
   having.

   There were no further replies at `press' time.

  With a Ruby Yell: more, more more!
  ----------------------------------

   Robert Klemme SHOUTED OUT

   | It seems to me that we have a significant raise in "newby" posts in the
   | last two or three months. This means Ruby's momentum increases and it's
   | attracting more and more people! Folks, this is *great* news! And this is
   | such a great place to be! I hope, we can keep it like that.

   Keith replied

   | Glad to know you guys don't mind our nuby ruby posts! Actually, one of
   | the things that I have liked about this group is the relative lack of
   | RTFM rude responses! And I hope you are really sincere about dealing
   | with more of us - I just disovered Ruby /Rails and have been
   | evangelizing like crazy. Heard from one of my friends that a mutual
   | friend that I had told about Ruby has been coming down periodically to
   | his office to talk about the latest cool thing in the language that he
   | had discovered.

   Kevin Ballard said, but of course, MINASWAN.
   (http://www.rubygarden.org/ruby?MatzIsNiceAndSoWeAreNice)

  Time interval
  -------------

   Daniel Berger, being confused with the current implementation of the "-"
   (minus) operation for Date and DateTime objects, asked the following:

   | I was just wondering if anyone has implemented an "Interval" class of
   | some sort out there, i.e. something that would give you the years,
   | months, days, hours, minutes and seconds between two fixed DateTime
   | objects, rather than an absolute date.

   Although some people tried to give limited solutions, this spawned a
   discussion on how the problem was nearly unsolvable due to the nature of
   our calendar, with its variable-length months and years. Dave Howell
   summed the problem up very clearly:

   | There is no "answer" to this problem because the correct usage is
   | tremendously context sensitive.
   |
   | There are 58 shopping days until Christmas.
   |
   | The convention is in 8 weeks. (58 days = 8.2 weeks)
   |
   | Your work on the Monster House must be complete in 2 days, 12 hours, 14
   | minutes, and 34.5 seconds.
   |
   | The Date class (if I recall correctly) uses Days and fractions of Days
   | for the internal representation, and lets you access a variety of
   | interval measures. Which ones you use will depend very much on what kind
   | of events you're measuring the distance between.

   Moreover, mathew added that asking for an interval with a precision under
   the hour was basically impossible:

   | Suppose you want 1 second precision. Well, unfortunately civil calendars
   | have leap seconds, and the moments at which leap seconds will need to
   | occur are not defined far in advance. So DateTime(2020-01-01) minus
   | DateTime(2000-01-01) can't be calculated to an exact number of seconds.

  Is there a hash-like class that maintains insertion order
  ---------------------------------------------------------

   Bob Hutchison asked if Ruby has a class that behaves like Hash, but also
   maintains the insertion order, "and, ideally, allows `retrieval' by either
   key or index?"

   Ara.T.Howard showed an example using the arrayfields library, which allows
   you to `name' the indices of an Array. (Not included in the standard
   distribution.)

 require 'arrayfields'

 a = %w( aaa bbb ccc )
 a.fields = %w( a b c )

 p a['a'] == a[0]
 p a[`b'] == a[1]
 p a[`c'] == a[2]

   Ara also linked to a class he'd written called OrderedHash, with which
   methods like each iterate elements in the order in which they were added.

  Dynamically generating classes?
  -------------------------------

   Jonas Galvez posted the following Python code, which is used to create a
   class dynamically, and asked if the same could be done in Ruby.

#####
 # Python code sssample

  >>> def create_class(name):
 ..     import new
 ..     c = new.classobj(name, tuple([object]), {})
 ..     def __init__(self, value):
 ..         self.value = value
 ..     setattr(c, "__init__", new.instancemethod(__init__, None, c))
 ..     return c
 ..
  >>> MyClass = create_class("MyClass")
  >>>
  >>> obj = MyClass(value=10)
  >>> print obj.value
 10
#####

   Ara.T.Howard, Austin Ziegler, Greg Millam and Sean O'Halpin all gave
   similar solutions, with this one based on Sean's:

#####
 MyClass = Class.new do
   attr_accessor :value
   def initialize(value)
     @value = value
   end
 end

 c = MyClass.new(10)
 p c.value # -> 10
#####

   Observe that all we are doing is passing a block with no arguments to the
   method Class.new.

   Sean noted that you can use Object.const_set(classname, value) to define a
   constant for the class name if it is not known until runtime, while Greg
   suggested using struct for simple classes:

#####
 require 'struct'

 Struct.new('MyClass','value')

 obj = MyClass.new(10)
 puts obj.value
#####

   define_method was also discussed; it is used to define methods
   dynamically, and allows the body of the method to refer to variables
   declared outside it, since the body is simply a block.

  self.puts?
  ----------

   David Chesterfield was wondering why `puts' and `self.puts'
   behave differently even though writing method without an explicit
   receiver is equivalent to sending the message to self.

#####
 $ irb
 irb(main):001:0> puts "hello"
 hello
 => nil
 irb(main):002:0> self.puts "hello"
 NoMethodError: private method `puts' called for main:Object
         from (irb):2
#####

   Stefan Lang explained that a private method in Ruby can only be called
   with an implicit receiver - that is the only difference between methods
   which are private and those which are public.

   As puts is a private method, it cannot be called with an explicit
   receiver, even self.

   Robert Klemme added that one can circumvent privacy by using the send
   method, and Devin Mullins warned that methods ending in "=" are a slight
   exception to the privacy rule - 

   self.foo = 5 works even when foo= is a private method. This is necessary
   because we need to distinguish between foo = 5, which creates a local
   variable called foo, and self.foo = 5, which calls a method.

  Splitting a string with escapable separator?
  --------------------------------------------

   Michael Schuerig was looking for an elegant way to define an alternative
   version of String#split in which "separators can be escaped".

#####
 "Hello\, World,Hi".split_escapable(',' '\')
 # => ["Hello, World", "Hi"]
#####

   Jason Sweat said that Ruby 1.9's regular expression engine (code-named
   Oniguruma) supports negative look-behind, which you could use as follows:

#####
 "Hello\\, World, Hi".split /(?<!\\),/
 # => ["Hello\\, World", "Hi"]
#####

   This says to split the String around commas, apart from those where the
   string immediately before them was \.

   (You would have to additionally remove the \'s in the result. Note also
   that we'll have a problem if we want a component to end in a literal
   '\'.)

   The syntax of (?<!...) is described in the Oniguruma documentation, which
   lists more neat features, such as atomic, named and non-captured groups,
   named sub-expressions and _positive_ look-behind ;)

   Michael Schuerig: "That must be the most elegant solution. Unfortunately I
   can't use cvs ruby and can't wait for it either."

   Warren Brown to the rescue. "With the current Ruby RE engine, you can use
   zero-width positive lookahead if you don't mind reversing the string
   before and after the split."

#####
 "Hello\\, World,Hi".reverse.split(/,(?!\\)/).
   map { |ss| ss.reverse }.reverse
 # => ["Hello\\, World", "Hi"]
#####

New Releases
------------

  Ruby/ZOOM 0.2.1
  ---------------

   Laurent Sansonetti announced the 0.2.1 release of Ruby/ZOOM:

   | Ruby/ZOOM provides a Ruby binding to the Z39.50 Object-Orientation Model
   | (ZOOM), an abstract object-oriented programming interface to a subset of
   | the services specified by the Z39.50 standard, also known as the
   | international standard ISO 23950.

   This release is a bug fix.

   (Oh yeah, Z39.50 is a communications protocol, often used in
   libraries-having-books for searching and retrieving information.)

  FuseFS-0.4
  ----------

   Greg Millam:

   | FuseFS lets ruby programmers define filesystems entirely in Ruby. That
   | is - with FuseFS, you can now create a mounted filesystem entirely
   | defined in Ruby! Included are proof of concept filesystems: SQL table
   | mappings, YAML filesystem, and more!

   The main change from 0.3 is to fix problems around editor swap files (with
   e.g. vi or emacs).

   "No [more] complaints about your editor being unable to write to
   ".foo.swp" or filenames like #filename#."

  rush 0.1.bandicoot: object-oriented shell goodness (rationed for your health)!
  ------------------------------------------------------------------------------

   `The rush folks' announced the first version of rush (RUby SHell),
   "an attempt to create an extremely flexible fully object-oriented shell in
   Ruby."

   One nice feature is how it allows you to mix Ruby methods with unix-shell
   style piping:

#####
 !ls | .map {|file| file + '.bak'}
#####

  ShortURL 0.7.0 (and 0.8.0)
  --------------------------

   Vincent Foley, post-procrastination, sent forth a new ShortURL.

   ShortURL is a library for accessing `short url' services like rubyurl.org.

  Instiki-AR beta 1
  -----------------

   Alexey Verkhovsky introduced the first beta of Instiki-AR, the
   wiki-software modified to use ActiveRecord (with a relational database)
   rather than the Madeleine object-persistence layer that plain Instiki
   uses.

   "Unlike Instiki 0.10, this one is a normal Rails application, which means
   you can host it on Apache, no more ProxyPass and Madeleine madness."

   "Kudos are due to Rick Olson aka technoweenie for doing most of the
   initial porting effort."

  Alexandria 0.6.1
  ----------------

   Laurent Sansonetti announced the 0.6.1 release of Alexandria:

   | Alexandria is a GNOME application to help you manage your book
   | collection.

   This ships a workaround for a Ruby 1.8.3 YAML bug and a modified data
   model (that still manages to be backwards compatible with previous
   versions).

  Rant 0.4.6
  ----------

   Stefan Lang's Rant build tool rolled over to version 0.4.6, with fixes for
   Ruby 1.8.3 and improved support for buildfiles in subdirectories.

  Reiserfs for ruby initial announcement
  --------------------------------------

   Adam introduced `Reiserfs for Ruby', a read-only implementation of the
   Reiser filesystem, written with the FuseFS user-space filesystem module.

  LibIDN Ruby Bindings Release 0.0.1
  ----------------------------------

   Erik Abele released the first version of his bindings for the GNU LibIDN
   library, "an implementation of the Stringprep, Punycode and IDNA
   specifications defined by the IETF Internationalized Domain Names (IDN)
   working group."

  JRuby 0.8.2
  -----------

   Thomas E Enebo posted an update to JRuby, a Ruby interpreter written in
   Java. The new version includes many fixes, and some refactoring.

  MouseHole 1.2 -- rose-colored spectacles for the Web
  ----------------------------------------------------

   why the lucky stiff, in his own inimitable style, released MouseHole 1.2:

   | MouseHole is a scriptable web proxy. Alter the Web with Ruby. Host your
   | own little applications. Install scripts off the web as you surf. That
   | kind of thing.

   "My soup and my spoons thank you. And I eat soup with spoons, may that be
   enough thanks for the remainder of you."

In This Thread

Prev Next