[#195443] An alternative to the class Foo < Struct.new(vars) idiom and SuperStruct — Mauricio Fernandez <mfp@...>

I wrote this a couple weeks ago

16 messages 2006/06/01

[#195498] Where can one find examples of masterful Ruby code? — "Alder Green" <alder.green@...>

Hi

34 messages 2006/06/01
[#195502] Re: Where can one find examples of masterful Ruby code? — "Tyler Prete" <psyonic@...> 2006/06/01

Hopefully you'll get more helpful answers to this question from someone a

[#195512] Re: Where can one find examples of masterful Ruby code? — "Alder Green" <alder.green@...> 2006/06/01

On 6/1/06, Tyler Prete <psyonic@gmail.com> wrote:

[#195516] Re: Where can one find examples of masterful Ruby code? — James Britt <james_b@...> 2006/06/01

Alder Green wrote:

[#195707] Re: Where can one find examples of masterful Ruby code? — Christian Neukirchen <chneukirchen@...> 2006/06/03

James Britt <james_b@neurogami.com> writes:

[#195714] Re: Where can one find examples of masterful Ruby code? — James Britt <james_b@...> 2006/06/03

Christian Neukirchen wrote:

[#195721] Re: Where can one find examples of masterful Ruby code? — "Alder Green" <alder.green@...> 2006/06/03

On 6/3/06, James Britt <james_b@neurogami.com> wrote:

[#195510] How can I pin a Ruby object in memory? — "John Lam" <drjflam@...>

I have some data that I'm storing in a T_DATA VALUE. Is the data

16 messages 2006/06/01
[#195514] Re: How can I pin a Ruby object in memory? — "Lyle Johnson" <lyle.johnson@...> 2006/06/01

On 6/1/06, John Lam <drjflam@gmail.com> wrote:

[#195530] Re: How can I pin a Ruby object in memory? — Joel VanderWerf <vjoel@...> 2006/06/01

Lyle Johnson wrote:

[#195519] Package and Namespace — "Minkoo Seo" <minkoo.seo@...>

Hi list.

15 messages 2006/06/01

[#195550] This is brain dead, but is it stupid? — Jeff Pritchard <jp@...>

I'm about to embark on my very first significant non-command line ruby

19 messages 2006/06/02
[#195558] Re: This is brain dead, but is it stupid? — Trevor Squires <trevor@...> 2006/06/02

On 1-Jun-06, at 6:34 PM, Jeff Pritchard wrote:

[#195568] Re: This is brain dead, but is it stupid? — Jeff Pritchard <jp@...> 2006/06/02

Trevor Squires wrote:

[#195575] Re: This is brain dead, but is it stupid? — Jeff Pritchard <jp@...> 2006/06/02

A modest beginning...

[#195598] Hash to OpenStruct (#81) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

36 messages 2006/06/02

[#195629] Another Look at Namespaces — transfire@...

Had a "light-bulb" over head moment and threw this together as a simple

16 messages 2006/06/02
[#195688] Re: Another Look at Namespaces — Alex Young <alex@...> 2006/06/03

transfire@gmail.com wrote:

[#195693] Another Look at SELECTOR NAMESPACES — transfire@... 2006/06/03

[#195778] Please kill the children as you're leaving — Ohad Lutzky <lutzky@...>

Sorry about the Macabre, but that's essentially what I want: It seems

10 messages 2006/06/04

[#195865] I love Ruby - But how bright is Ruby's Future? — Hector <dummy@...>

I've been trying to pickup Ruby for a few months now. I've written a few

108 messages 2006/06/05
[#195868] Re: I love Ruby - But how bright is Ruby's Future? — "Phil Tomson" <rubyfan@...> 2006/06/05

On 6/4/06, Hector <dummy@tracatran.com> wrote:

[#195937] Re: I love Ruby - But how bright is Ruby's Future? — ReggW <me@...> 2006/06/05

Phil Tomson wrote:

[#195946] Re: I love Ruby - But how bright is Ruby's Future? — "Austin Ziegler" <halostatue@...> 2006/06/05

On 6/5/06, ReggW <me@yourhome.com> wrote:

[#195963] Re: I love Ruby - But how bright is Ruby's Future? — ReggW <me@...> 2006/06/05

Austin Ziegler wrote:

[#195900] Re: I love Ruby - But how bright is Ruby's Future? — Mat Schaffer <schapht@...> 2006/06/05

On Jun 4, 2006, at 11:09 PM, Hector wrote:

[#195911] Re: I love Ruby - But how bright is Ruby's Future? — "Francis Cianfrocca" <garbagecat10@...> 2006/06/05

Mat, your statements are right on the money. To the extent that developers

[#195913] Re: I love Ruby - But how bright is Ruby's Future? — Mat Schaffer <schapht@...> 2006/06/05

On Jun 5, 2006, at 9:14 AM, Francis Cianfrocca wrote:

[#195975] Re: I love Ruby - But how bright is Ruby's Future? — "Giles Bowkett" <gilesb@...> 2006/06/05

>> Many capable Rubyists that I know are of the opinion that nothing

[#195999] Re: I love Ruby - But how bright is Ruby's Future? — "Francis Cianfrocca" <garbagecat10@...> 2006/06/05

Both you and someone else asked what I meant by saying that the Python

[#196024] Re: I love Ruby - But how bright is Ruby's Future? — James Britt <james_b@...> 2006/06/06

Francis Cianfrocca wrote:

[#196031] Re: I love Ruby - But how bright is Ruby's Future? — Matthew Smillie <M.B.Smillie@...> 2006/06/06

[#196040] Re: I love Ruby - But how bright is Ruby's Future? — "Francis Cianfrocca" <garbagecat10@...> 2006/06/06

Entirely valid and thought-provoking point of view, and one that I'm finding

[#196267] Re: I love Ruby - But how bright is Ruby's Future? — "M. Edward (Ed) Borasky" <znmeb@...> 2006/06/07

[#196273] Re: I love Ruby - But how bright is Ruby's Future? — "Francis Cianfrocca" <garbagecat10@...> 2006/06/07

Large problems: you're playing word games with me. "Large" has many

[#196320] Re: I love Ruby - But how bright is Ruby's Future? — Matthew Smillie <M.B.Smillie@...> 2006/06/07

On Jun 7, 2006, at 6:25, Francis Cianfrocca wrote:

[#196322] Possible YAML bug with quoted symbols? — Dave Baldwin <dave.baldwin@3dlabs.com> 2006/06/07

If I have a quoted symbol, i.e. :'some symbol' then when I dump the

[#196335] Re: Possible YAML bug with quoted symbols? — ara.t.howard@... 2006/06/07

On Wed, 7 Jun 2006, Dave Baldwin wrote:

[#196392] Re: I love Ruby - But how bright is Ruby's Future? — "M. Edward (Ed) Borasky" <znmeb@...> 2006/06/08

Matthew Smillie wrote:

[#196010] Re: I love Ruby - But how bright is Ruby's Future? — Eric Armstrong <Eric.Armstrong@...> 2006/06/05

Hector wrote:

[#195962] reading data from excel — Parvinder Ghotra <ghotrapa@...>

Hi,

13 messages 2006/06/05

[#196038] Ruby and the Open-Closed Principle — Jeff Cohen <cohen.jeff@...>

For most of my OO career (C++ for a long time, and then C#) I believed

17 messages 2006/06/06

[#196062] ruby-forum.com — Hal Fulton <hal9000@...>

Who owns ruby-forum.com and why is it connected

47 messages 2006/06/06
[#196070] Re: ruby-forum.com — Florian Gross <florgro@...> 2006/06/06

Hal Fulton wrote:

[#196080] Re: ruby-forum.com — "Austin Ziegler" <halostatue@...> 2006/06/06

On 6/6/06, Florian Gross <florgro@gmail.com> wrote:

[#196081] Re: ruby-forum.com — Ross Bamford <rossrt@...> 2006/06/06

On Tue, 2006-06-06 at 21:03 +0900, Austin Ziegler wrote:

[#196083] Re: ruby-forum.com — Jim Weirich <jim@...> 2006/06/06

Ross Bamford wrote:

[#196112] Re: ruby-forum.com — Matthew Smillie <M.B.Smillie@...> 2006/06/06

On Jun 6, 2006, at 13:27, Jim Weirich wrote:

[#196164] Re: ruby-forum.com — James Britt <james_b@...> 2006/06/06

Matthew Smillie wrote:

[#196165] Re: ruby-forum.com — Charlie Bowman <charlie@...> 2006/06/06

On Wed, 2006-06-07 at 03:36 +0900, James Britt wrote:

[#196167] Re: ruby-forum.com — Tim Hunter <rmagick@...> 2006/06/06

Charlie Bowman wrote:

[#196172] Re: ruby-forum.com — Matthew Smillie <M.B.Smillie@...> 2006/06/06

[#196492] Re: ruby-forum.com — Pistos Christou <jesusrubsyou.5.pistos@...> 2006/06/08

Matthew Smillie wrote:

[#196074] Ruby Weekly News 29th May - 4th June 2006 — Tim Sutherland <timsuth@...>

http://www.rubyweeklynews.org/20060604.html

17 messages 2006/06/06

[#196182] Attributes not populated until called? — darren kirby <bulliver@...>

Hello all,

13 messages 2006/06/06

[#196212] can I keep re-running the same script? how? — Hunter Walker <walkerhunter@...>

I want to run a particular script every 3 minutes. I would do this

16 messages 2006/06/06
[#196214] Re: can I keep re-running the same script? how? — ara.t.howard@... 2006/06/06

On Wed, 7 Jun 2006, Hunter Walker wrote:

[#196264] pausing until a character is received — "Sy Ali" <sy1234@...>

I'm struggling to figure out how to pause my script and await a single

15 messages 2006/06/07
[#196276] Re: pausing until a character is received — Logan Capaldo <logancapaldo@...> 2006/06/07

[#196359] EURUKO 2006 — Stephan K舂per <sigma.kappa@...>

Hi,

17 messages 2006/06/07

[#196402] Why the lack of mixing-in support for Class methods? — "Alder Green" <alder.green@...>

Hi

190 messages 2006/06/08
[#196405] Re: Why the lack of mixing-in support for Class methods? — "Phil Tomson" <rubyfan@...> 2006/06/08

On 6/7/06, Alder Green <alder.green@gmail.com> wrote:

[#196407] Re: Why the lack of mixing-in support for Class methods? — "Alder Green" <alder.green@...> 2006/06/08

On 6/8/06, Phil Tomson <rubyfan@gmail.com> wrote:

[#196418] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/08

Hi,

[#196468] Re: Why the lack of mixing-in support for Class methods? — "Alder Green" <alder.green@...> 2006/06/08

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

[#196476] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/08

Hi,

[#196489] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/08

[#196521] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/09

[#196537] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/09

Hi,

[#196539] Re: Why the lack of mixing-in support for Class methods? — Logan Capaldo <logancapaldo@...> 2006/06/09

[#196555] Re: Why the lack of mixing-in support for Class methods? — dblack@... 2006/06/09

Hi --

[#196672] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/10

Hi,

[#196708] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/11

Yukihiro Matsumoto wrote:

[#196725] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/11

Hi,

[#196730] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/11

Yukihiro Matsumoto wrote:

[#196735] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/11

[#196738] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/11

Hi,

[#196743] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/11

[#196805] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/12

[#196825] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/12

Yukihiro Matsumoto wrote:

[#196865] Re: Why the lack of mixing-in support for Class methods? — Logan Capaldo <logancapaldo@...> 2006/06/12

[#196870] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/12

Logan Capaldo wrote:

[#196885] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/12

[#196924] Re: Why the lack of mixing-in support for Class methods? — "Alder Green" <alder.green@...> 2006/06/12

On 6/12/06, transfire@gmail.com <transfire@gmail.com> wrote:

[#196929] Re: Why the lack of mixing-in support for Class methods? — Logan Capaldo <logancapaldo@...> 2006/06/12

[#196949] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/13

[#196977] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/13

transfire@gmail.com wrote:

[#197012] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/13

[#197025] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/13

Hi,

[#197053] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/13

[#197065] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/13

Hi,

[#197140] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/14

[#197144] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/14

Hi,

[#197147] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/14

[#197162] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/14

Hi,

[#197163] Re: Why the lack of mixing-in support for Class methods? — "Phil Tomson" <rubyfan@...> 2006/06/14

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

[#197166] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/14

Hi,

[#197225] Re: Why the lack of mixing-in support for Class methods? — James Edward Gray II <james@...> 2006/06/14

On Jun 14, 2006, at 1:48 AM, Yukihiro Matsumoto wrote:

[#197240] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/14

[#197246] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/14

Hi,

[#197249] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/14

[#197250] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/14

Hi,

[#197289] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/14

[#197257] Re: Why the lack of mixing-in support for Class methods? — gwtmp01@... 2006/06/14

[#197294] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/14

gwtmp01@mac.com wrote:

[#197296] Re: Why the lack of mixing-in support for Class methods? — ara.t.howard@... 2006/06/14

On Thu, 15 Jun 2006, Daniel Schierbeck wrote:

[#197334] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/14

ara.t.howard@noaa.gov wrote:

[#197345] Re: Why the lack of mixing-in support for Class methods? — ara.t.howard@... 2006/06/15

On Thu, 15 Jun 2006, Daniel Schierbeck wrote:

[#197379] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/15

ara.t.howard@noaa.gov wrote:

[#197390] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/15

Okay, I've sorted out a few of the problems, and I hope I haven't

[#197396] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/15

Update:

[#197423] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/15

This should fix the recursion issue:

[#197439] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/15

Simplification. Tell me if I should stop spamming.

[#197490] Re: Why the lack of mixing-in support for Class methods? — Daniel Schierbeck <daniel.schierbeck@...> 2006/06/15

#class_extension is now private, the magic has been moved to

[#197494] Re: Why the lack of mixing-in support for Class methods? — ara.t.howard@... 2006/06/15

On Fri, 16 Jun 2006, Daniel Schierbeck wrote:

[#197501] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/15

Hi,

[#197619] Re: Why the lack of mixing-in support for Class methods? — dblack@... 2006/06/16

Hi --

[#197624] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/16

Hi,

[#197498] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/15

[#197506] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/15

Hi,

[#197512] Re: Why the lack of mixing-in support for Class methods? — transfire@... 2006/06/15

[#197588] Re: Why the lack of mixing-in support for Class methods? — Yukihiro Matsumoto <matz@...> 2006/06/16

Hi,

[#197594] Re: Why the lack of mixing-in support for Class methods? — "Austin Ziegler" <halostatue@...> 2006/06/16

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

[#196520] Converting 8 bytes to a Float — Harris Reynolds <hreynolds2@...>

What is the quickest way to convert 8 bytes to a Float object?

15 messages 2006/06/09
[#196524] Re: Converting 8 bytes to a Float — Timothy Hunter <TimHunter@...> 2006/06/09

Harris Reynolds wrote:

[#196526] Re: Converting 8 bytes to a Float — Harris Reynolds <hreynolds2@...> 2006/06/09

I am still not getting the results I am looking for hacking around with the couple suggestions I received. Here is an example:

[#196528] Re: Converting 8 bytes to a Float — Mike Stok <mike@...> 2006/06/09

[#196570] Ruby's role in future operating systems — Kyrre Nygard <kyrreny@...>

25 messages 2006/06/09
[#196575] Re: Ruby's role in future operating systems — James Edward Gray II <james@...> 2006/06/09

On Jun 9, 2006, at 9:51 AM, Kyrre Nygard wrote:

[#196578] Re: Ruby's role in future operating systems — Kyrre Nygard <kyrreny@...> 2006/06/09

At 17:21 09.06.2006, James Edward Gray II wrote:

[#196692] Which encoding causes fewest problems in Ruby 1.8.2? — Jim Smith <nospam@...>

I posted a similar question in the rails group but this is more specific

7 messages 2006/06/11

[#196754] Ruby for Highschoolers? — Nicholas Evans <OwlManAtt@...>

Howdy list,

69 messages 2006/06/11
[#196757] Re: Ruby for Highschoolers? — Steven Davidovitz <steviedizzle@...> 2006/06/11

On Mon, 12 Jun 2006 01:55:39 +0900

[#196782] Re: Ruby for Highschoolers? — Matthew Smillie <M.B.Smillie@...> 2006/06/11

On Jun 11, 2006, at 17:55, Nicholas Evans wrote:

[#196796] Re: Ruby for Highschoolers? — James Britt <james.britt@...> 2006/06/11

Matthew Smillie wrote:

[#196806] Re: Ruby for Highschoolers? — Matthew Smillie <M.B.Smillie@...> 2006/06/12

On Jun 11, 2006, at 22:24, James Britt wrote:

[#196909] RubyGems for inclusion in JRuby — "Charles O Nutter" <headius@...>

Hello Rubyists!

11 messages 2006/06/12

[#196955] ANN: ZenObfuscate - for when you really really have to ship a binary — Ryan Davis <ryand-ruby@...>

"Being perfectly honest, your obfuscator has made me feel like

32 messages 2006/06/13
[#196992] Re: ZenObfuscate - for when you really really have to ship a binary — "Kris Leech" <kris@...> 2006/06/13

Will this work with a Rails app?

[#197007] Re: ZenObfuscate - for when you really really have to ship a binary — "John Wilger" <johnwilger@...> 2006/06/13

On 6/13/06, Kris Leech <kris@alternativefocusmedia.com> wrote:

[#197037] Re: ZenObfuscate - for when you really really have to ship a binary — Ryan Davis <ryand-ruby@...> 2006/06/13

[#197299] Re: ZenObfuscate - for when you really really have to ship a binary — "John Wilger" <johnwilger@...> 2006/06/14

On 6/13/06, Ryan Davis <ryand-ruby@zenspider.com> wrote:

[#197623] Re: ZenObfuscate - for when you really really have to ship a — Kris Leech <krisleech@...> 2006/06/16

John Wilger wrote:

[#197634] Re: ZenObfuscate - for when you really really have to ship a — "Austin Ziegler" <halostatue@...> 2006/06/16

On 6/16/06, Kris Leech <krisleech@interkonect.com> wrote:

[#197654] Re: ZenObfuscate - for when you really really have to ship a — "Patrick Hurley" <phurley@...> 2006/06/16

On 6/16/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#196957] ruby-lang.org redesign? — BA Baracus <devlists-ruby-talk@...>

Guys,

66 messages 2006/06/13
[#196959] Re: ruby-lang.org redesign? — "Daniel N" <has.sox@...> 2006/06/13

have a look at http://new.ruby-lang.org

[#196968] Re: ruby-lang.org redesign? — Nathaniel Brown <nshb@...> 2006/06/13

That's hot.

[#197015] Re: ruby-lang.org redesign? — BA Baracus <devlists-ruby-talk@...> 2006/06/13

On Tuesday, June 13, 2006, at 3:40 PM, Nathaniel Brown wrote:

[#197031] Re: ruby-lang.org redesign? — James Edward Gray II <james@...> 2006/06/13

On Jun 13, 2006, at 8:47 AM, BA Baracus wrote:

[#197058] Re: ruby-lang.org redesign? — BA Baracus <devlists-ruby-talk@...> 2006/06/13

[#197064] Re: ruby-lang.org redesign? — Kyrre Nygard <kyrreny@...> 2006/06/13

At 20:26 13.06.2006, BA Baracus wrote:

[#197074] Re: ruby-lang.org redesign? — James Edward Gray II <james@...> 2006/06/13

On Jun 13, 2006, at 2:14 PM, Kyrre Nygard wrote:

[#197088] Re: ruby-lang.org redesign? — "John Gabriele" <jmg3000@...> 2006/06/13

On 6/13/06, James Edward Gray II <james@grayproductions.net> wrote:

[#197091] Re: ruby-lang.org redesign? — James Edward Gray II <james@...> 2006/06/13

On Jun 13, 2006, at 4:06 PM, John Gabriele wrote:

[#198188] Re: ruby-lang.org redesign? — "Michal Suchanek" <hramrach@...> 2006/06/20

On 6/13/06, James Edward Gray II <james@grayproductions.net> wrote:

[#198259] Re: ruby-lang.org redesign? — "John W. Long" <ng@...> 2006/06/20

Michal Suchanek wrote:

[#198228] Re: ruby-lang.org redesign? — Kyrre Nygard <kyrreny@...> 2006/06/20

At 16:12 20.06.2006, Michal Suchanek wrote:

[#198246] Re: ruby-lang.org redesign? — Tom Werner <tom@...> 2006/06/20

Kyrre Nygard wrote:

[#196979] ugly ruby code... — arnaud stageman <mpepito13@...>

Hello!

14 messages 2006/06/13

[#197089] Unicode roadmap? — Roman Hausner <roman.hausner@...>

In my opinion, Ruby is practically useless for many applications without

263 messages 2006/06/13
[#197102] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/13

Hi,

[#197103] Re: Unicode roadmap? — Pete <pertl@...> 2006/06/13

> Define "proper Unicode support" first.

[#197106] Re: Unicode roadmap? — Logan Capaldo <logancapaldo@...> 2006/06/13

[#197108] Re: Unicode roadmap? — Pete <pertl@...> 2006/06/13

From the theoretical point of view this is quite interesting. Also I

[#197110] Re: Unicode roadmap? — "Victor Shepelev" <vshepelev@...> 2006/06/13

From: Pete [mailto:pertl@gmx.org]

[#197134] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/14

Hi,

[#197153] Re: Unicode roadmap? — "Victor Shepelev" <vshepelev@...> 2006/06/14

From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]

[#197164] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/14

Hi,

[#197167] Re: Unicode roadmap? — "Victor Shepelev" <vshepelev@...> 2006/06/14

From: Yukihiro Matsumoto [mailto:matz@ruby-lang.org]

[#197206] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/14

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

[#197209] Re: Unicode roadmap? — "Paul Battley" <pbattley@...> 2006/06/14

On 14/06/06, Michal Suchanek <hramrach@centrum.cz> wrote:

[#197219] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/14

On 6/14/06, Paul Battley <pbattley@gmail.com> wrote:

[#197336] Re: Unicode roadmap? — Randy Kramer <rhkramer@...> 2006/06/14

On Wednesday 14 June 2006 06:52 am, Michal Suchanek wrote:

[#197228] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/14

On 6/14/06, Michal Suchanek <hramrach@centrum.cz> wrote:

[#197416] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/15

On 6/14/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#197789] Re: Unicode roadmap? — Juergen Strobel <strobel@...> 2006/06/17

On Thu, Jun 15, 2006 at 07:59:54PM +0900, Michal Suchanek wrote:

[#197810] Re: Unicode roadmap? — Stefan Lang <langstefan@...> 2006/06/17

On Saturday 17 June 2006 13:08, Juergen Strobel wrote:

[#197818] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/17

On 6/17/06, Stefan Lang <langstefan@gmx.at> wrote:

[#197845] Re: Unicode roadmap? — Stefan Lang <langstefan@...> 2006/06/17

On Saturday 17 June 2006 16:16, Austin Ziegler wrote:

[#197872] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/17

On 6/17/06, Stefan Lang <langstefan@gmx.at> wrote:

[#197881] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/17

[#197918] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/18

On 6/18/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:

[#197935] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/18

[#197971] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/18

Hi,

[#197972] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/18

[#197975] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/18

Hi,

[#197980] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/19

[#197985] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/19

Hi,

[#197986] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/19

[#197988] Re: Unicode roadmap? — "Dmitry Severin" <dmitry.severin@...> 2006/06/19

Correct me,if I'm wrong, but for Matz's plan on M17N, summary is:

[#197995] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/19

Hi,

[#198013] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/19

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

[#198018] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/19

Hi,

[#198062] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/19

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

[#198110] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/19

Hi,

[#198169] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/20

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

[#198184] Re: Unicode roadmap? — "Timothy Bennett" <timothy.s.bennett@...> 2006/06/20

On 6/20/06, Michal Suchanek <hramrach@centrum.cz> wrote:

[#198201] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/20

On 6/20/06, Timothy Bennett <timothy.s.bennett@gmail.com> wrote:

[#198223] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/20

Hi,

[#198351] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/21

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

[#198370] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/21

Hi,

[#198379] Re: Unicode roadmap? — "Dmitry Severin" <dmitry.severin@...> 2006/06/21

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

[#198382] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/21

Hi,

[#198386] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/21

[#198392] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/21

Hi,

[#198397] Re: Unicode roadmap? — "Dmitry Severin" <dmitry.severin@...> 2006/06/21

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

[#198453] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/22

Hi,

[#198475] Re: Unicode roadmap? — "Lugovoi Nikolai" <meadow.nnick@...> 2006/06/22

2006/6/22, Yukihiro Matsumoto <matz@ruby-lang.org>:

[#198480] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/22

Hi,

[#198937] Re: Unicode roadmap? — Izidor Jerebic <ij.rubylist@...> 2006/06/25

[#198961] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/25

On 6/25/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:

[#198979] Re: Unicode roadmap? — "Charles O Nutter" <headius@...> 2006/06/25

On 6/25/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#199016] Re: Unicode roadmap? — "Charles O Nutter" <headius@...> 2006/06/26

One clarification I'd like to add to this: I'm not saying that a ByteArray

[#199018] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/26

Hi,

[#199028] Re: Unicode roadmap? — Daniel DeLorme <dan-ml@...42.com> 2006/06/26

Yukihiro Matsumoto wrote:

[#199034] Re: Unicode roadmap? — Logan Capaldo <logancapaldo@...> 2006/06/26

[#198980] Re: Unicode roadmap? — Izidor Jerebic <ij.rubylist@...> 2006/06/25

[#198987] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/25

On 6/25/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:

[#198988] Re: Unicode roadmap? — "Phillip Hutchings" <sitharus@...> 2006/06/25

> Here you contradict yourself. Regexes are string (character)

[#199006] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/26

On 6/25/06, Phillip Hutchings <sitharus@sitharus.com> wrote:

[#199009] Re: Unicode roadmap? — "Phillip Hutchings" <sitharus@...> 2006/06/26

> Sorry, but "reading" CGI params is a red herring. You may get it as one

[#199074] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/26

[#199082] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/26

On 6/26/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:

[#199084] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/26

[#199098] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/26

On 6/26/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:

[#199117] Re: Unicode roadmap? — Jim Weirich <jim@...> 2006/06/26

I've been following this debate with some interest. Alas, since my

[#199128] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/26

On 6/26/06, Jim Weirich <jim@weirichhouse.org> wrote:

[#199148] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/26

On 6/26/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#199156] Re: Unicode roadmap? — Izidor Jerebic <ij.rubylist@...> 2006/06/26

[#199159] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/26

On 6/26/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:

[#199167] Re: Unicode roadmap? — "Charles O Nutter" <headius@...> 2006/06/26

On 6/26/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#199174] Re: Unicode roadmap? — Izidor Jerebic <ij.rubylist@...> 2006/06/26

[#199176] Re: Unicode roadmap? — "Charles O Nutter" <headius@...> 2006/06/26

On 6/26/06, Izidor Jerebic <ij.rubylist@gmail.com> wrote:

[#199261] Re: Unicode roadmap? — "Michal Suchanek" <hramrach@...> 2006/06/27

On 6/26/06, Charles O Nutter <headius@headius.com> wrote:

[#197811] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/17

On 6/17/06, Juergen Strobel <strobel@secure.at> wrote:

[#197830] Re: Unicode roadmap? — "Paul Battley" <pbattley@...> 2006/06/17

On 17/06/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#197863] Re: Unicode roadmap? — Juergen Strobel <strobel@...> 2006/06/17

On Sun, Jun 18, 2006 at 01:02:39AM +0900, Paul Battley wrote:

[#197099] Gemspec option to prevent auto-require? — "Gregory Brown" <gregory.t.brown@...>

Hello folks,

26 messages 2006/06/13
[#197104] Re: Gemspec option to prevent auto-require? — Eric Hodel <drbrain@...7.net> 2006/06/13

On Jun 13, 2006, at 3:21 PM, Gregory Brown wrote:

[#197105] Re: Gemspec option to prevent auto-require? — "Gregory Brown" <gregory.t.brown@...> 2006/06/13

On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:

[#197109] Re: Gemspec option to prevent auto-require? — Eric Hodel <drbrain@...7.net> 2006/06/13

On Jun 13, 2006, at 3:45 PM, Gregory Brown wrote:

[#197111] Re: Gemspec option to prevent auto-require? — "Gregory Brown" <gregory.t.brown@...> 2006/06/13

On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:

[#197113] Re: Gemspec option to prevent auto-require? — Eric Hodel <drbrain@...7.net> 2006/06/13

On Jun 13, 2006, at 4:18 PM, Gregory Brown wrote:

[#197114] Re: Gemspec option to prevent auto-require? — "Gregory Brown" <gregory.t.brown@...> 2006/06/13

On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:

[#197118] Re: Gemspec option to prevent auto-require? — Eric Hodel <drbrain@...7.net> 2006/06/14

On Jun 13, 2006, at 4:52 PM, Gregory Brown wrote:

[#197119] Re: Gemspec option to prevent auto-require? — "Gregory Brown" <gregory.t.brown@...> 2006/06/14

On 6/13/06, Eric Hodel <drbrain@segment7.net> wrote:

[#197122] Re: Gemspec option to prevent auto-require? — Eric Hodel <drbrain@...7.net> 2006/06/14

On Jun 13, 2006, at 5:39 PM, Gregory Brown wrote:

[#197132] Processing mixed content with REXML — Eric Armstrong <Eric.Armstrong@...>

Element.each_element gives the element children

26 messages 2006/06/14
[#197198] Re: Processing mixed content with REXML — "Pedro Cte-Real" <pedrocr@...> 2006/06/14

On 6/14/06, Eric Armstrong <Eric.Armstrong@sun.com> wrote:

[#197326] Re: Processing mixed content with REXML — Eric Armstrong <Eric.Armstrong@...> 2006/06/14

You did indeed speak truly. Thank you very much.

[#197333] Re: Processing mixed content with REXML — "Robert Klemme" <shortcutter@...> 2006/06/14

2006/6/14, Eric Armstrong <Eric.Armstrong@sun.com>:

[#197348] Re: Processing mixed content with REXML — Eric Armstrong <Eric.Armstrong@...> 2006/06/15

Thanks for the comments, Robert. I don't mind that

[#197350] Re: What can a class/object do? — Eric Armstrong <Eric.Armstrong@...> 2006/06/15

Found it!

[#197352] Re: Is API documentation useless for learning? — Eric Armstrong <Eric.Armstrong@...> 2006/06/15

Arggh. It turns out that a list of behaviors

[#197355] Re: Is API documentation useless for learning? — Matthew Smillie <M.B.Smillie@...> 2006/06/15

First things first:

[#197168] impossible to sort a hash by key? — Oliver Katzer <ok@...>

Hi everyone!

12 messages 2006/06/14

[#197189] Re: Unicode roadmap? — "Dmitry Severin" <dmitry.severin@...>

Almost all typical tasks on Unicode can be handled with UTF8 support in

18 messages 2006/06/14
[#197192] Re: Unicode roadmap? — "Victor Shepelev" <vshepelev@...> 2006/06/14

From: Dmitry Severin [mailto:dmitry.severin@gmail.com]

[#197212] Re: Unicode roadmap? — Juergen Strobel <strobel@...> 2006/06/14

On Wed, Jun 14, 2006 at 05:26:58PM +0900, Victor Shepelev wrote:

[#197335] Re: Unicode roadmap? — Randy Kramer <rhkramer@...> 2006/06/14

On Wednesday 14 June 2006 06:01 am, Juergen Strobel wrote:

[#197526] Re: Unicode roadmap? — Juergen Strobel <strobel@...> 2006/06/15

On Thu, Jun 15, 2006 at 06:34:11AM +0900, Randy Kramer wrote:

[#197254] A plan for another unicode string hack — Dae San Hwang <daesan@...>

Hi everyone.

28 messages 2006/06/14
[#197256] Re: A plan for another unicode string hack — "Austin Ziegler" <halostatue@...> 2006/06/14

On 6/14/06, Dae San Hwang <daesan@gmail.com> wrote:

[#197259] Re: A plan for another unicode string hack — ts <decoux@...> 2006/06/14

>>>>> "A" == Austin Ziegler <halostatue@gmail.com> writes:

[#197264] Re: A plan for another unicode string hack — "Austin Ziegler" <halostatue@...> 2006/06/14

On 6/14/06, ts <decoux@moulon.inra.fr> wrote:

[#197267] Re: A plan for another unicode string hack — "Mark Volkmann" <r.mark.volkmann@...> 2006/06/14

On 6/14/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#197327] Re: A plan for another unicode string hack — Dave Howell <groups@...>

13 messages 2006/06/14
[#197372] Re: A plan for another unicode string hack — Joel VanderWerf <vjoel@...> 2006/06/15

Dave Howell wrote:

[#197344] running applications installed from gems — "Mark Volkmann" <r.mark.volkmann@...>

I suppose rubygems is most often used for packaging libraries, but it

18 messages 2006/06/15
[#197349] Re: running applications installed from gems — Eric Hodel <drbrain@...7.net> 2006/06/15

On Jun 14, 2006, at 5:13 PM, Mark Volkmann wrote:

[#197474] Re: running applications installed from gems — "Mark Volkmann" <r.mark.volkmann@...> 2006/06/15

On 6/14/06, Eric Hodel <drbrain@segment7.net> wrote:

[#197483] Re: running applications installed from gems — "Austin Ziegler" <halostatue@...> 2006/06/15

On 6/15/06, Mark Volkmann <r.mark.volkmann@gmail.com> wrote:

[#197489] Re: running applications installed from gems — "Mark Volkmann" <r.mark.volkmann@...> 2006/06/15

On 6/15/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#197491] Re: running applications installed from gems — "Austin Ziegler" <halostatue@...> 2006/06/15

On 6/15/06, Mark Volkmann <r.mark.volkmann@gmail.com> wrote:

[#197410] Does each over an array bring a counter/index with it? — Duane Morin <dmorin@...>

If I'm "each"ing over an array, is there a built-in way to get the

13 messages 2006/06/15

[#197438] Why do my posts appear twice? — "Daniel N" <has.sox@...>

Hi all,

40 messages 2006/06/15
[#197448] Re: Why do my posts appear twice? — "Dirk Meijer" <hawkman.gelooft@...> 2006/06/15

2006/6/15, Daniel N <has.sox@gmail.com>:

[#197527] Re: Why do my posts appear twice? — "Greg Donald" <gdonald@...> 2006/06/15

On 6/15/06, Dirk Meijer <hawkman.gelooft@gmail.com> wrote:

[#197530] Re: Why do my posts appear twice? — "Austin Ziegler" <halostatue@...> 2006/06/15

On 6/15/06, Greg Donald <gdonald@gmail.com> wrote:

[#197535] Re: Why do my posts appear twice? — "Greg Donald" <gdonald@...> 2006/06/15

On 6/15/06, Austin Ziegler <halostatue@gmail.com> wrote:

[#197627] Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Reggie Mr <buppcpp@...>

I was looking for a list of what is to be fixed or added to version 1.9

49 messages 2006/06/16
[#197631] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Matthew Smillie <M.B.Smillie@...> 2006/06/16

On Jun 16, 2006, at 12:01, Reggie Mr wrote:

[#197655] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Reggie Mr <buppcpp@...> 2006/06/16

Matthew Smillie wrote:

[#197677] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — "Austin Ziegler" <halostatue@...> 2006/06/16

On 6/16/06, Reggie Mr <buppcpp@yahoo.com> wrote:

[#197683] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Alex Nedelcu <bonefry@...> 2006/06/16

Of course it makes sense to know about the future of Ruby ;)

[#197693] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — "John Gabriele" <jmg3000@...> 2006/06/16

On 6/16/06, Alex Nedelcu <bonefry@gmail.com> wrote:

[#197704] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Alex Nedelcu <bonefry@...> 2006/06/16

I am sorry, but I meant something else.

[#197710] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — "Austin Ziegler" <halostatue@...> 2006/06/16

On 6/16/06, Alex Nedelcu <bonefry@gmail.com> wrote:

[#197745] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Reggie Mr <buppcpp@...> 2006/06/16

Austin Ziegler wrote:

[#197773] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Yukihiro Matsumoto <matz@...> 2006/06/17

Hi,

[#197792] Re: Whats new/fixed in Ruby 1.9 and Ruby 2.0 — Reggie Mr <buppcpp@...> 2006/06/17

Yukihiro Matsumoto wrote:

[#197635] API style preference? a.b=c or a(:b=>c) — Kirk Haines <khaines@...>

I'm writing a number of lines lately that look something like this:

11 messages 2006/06/16

[#197823] Ruby2CExtension 0.1.0 — "Dominik Bathon" <dbatml@...>

Ruby2CExtension is a Ruby to C extension translator/compiler. It takes any

13 messages 2006/06/17

[#197923] RUBY or (PHP5+PEAR+SMARTY) — jofes lerwick <peromni@...>

Good afternoon;

18 messages 2006/06/18

[#197994] Is it more convenient to have a random_each in ruby stdlib? — uncutstone wu <uncutstone@...>

I found it may be a common case that we need randomly enumerate elements

25 messages 2006/06/19
[#197996] Re: Is it more convenient to have a random_each in ruby stdlib? — "Kroeger, Simon (ext)" <simon.kroeger.ext@...> 2006/06/19

[#198000] Re: Is it more convenient to have a random_each in ruby stdlib? — Alex Young <alex@...> 2006/06/19

Kroeger, Simon (ext) wrote:

[#198003] Re: Is it more convenient to have a random_each in ruby stdlib? — transfire@... 2006/06/19

[#198006] Re: Is it more convenient to have a random_each in ruby stdlib? — transfire@... 2006/06/19

[#198026] Re: Is it more convenient to have a random_each in ruby stdlib? — Matthew Smillie <M.B.Smillie@...> 2006/06/19

On Jun 19, 2006, at 9:08, Kroeger, Simon (ext) wrote:

[#198017] Achieve pure object oriented design in Ruby — NAYAK <nayakk@...>

Hi,

22 messages 2006/06/19
[#198290] Re: Achieve pure object oriented design in Ruby — Jeff Cohen <cohen.jeff@...> 2006/06/20

NAYAK wrote:

[#198294] Re: Achieve pure object oriented design in Ruby — "Robert Dober" <robert.dober@...> 2006/06/20

On 6/20/06, Jeff Cohen <cohen.jeff@gmail.com> wrote:

[#198034] Ruby versus the world — Kyrre Nygard <kyrreny@...>

16 messages 2006/06/19

[#198134] Announcing Beta Release of GP Ruby.NET Compiler — "Wayne Kelly" <w.kelly@...>

19 messages 2006/06/20

[#198158] C Threads and Ruby — "Kroeger, Simon (ext)" <simon.kroeger.ext@...>

Hi,

21 messages 2006/06/20
[#198164] Re: C Threads and Ruby — "Patrick Hurley" <phurley@...> 2006/06/20

On 6/20/06, Kroeger, Simon (ext) <simon.kroeger.ext@siemens.com> wrote:

[#198171] Re: C Threads and Ruby — "Francis Cianfrocca" <garbagecat10@...> 2006/06/20

Patrick: given your proposal for an event queue filled by native threads in

[#198230] Re: C Threads and Ruby — "Patrick Hurley" <phurley@...> 2006/06/20

On 6/20/06, Francis Cianfrocca <garbagecat10@gmail.com> wrote:

[#198162] zlib not found no matter what I do — Lanny Rosicky <lanny@...>

I have read all the posts and google output on zlib which rubygem

12 messages 2006/06/20

[#198189] uniq() Oddity — James Edward Gray II <james@...>

Would someone please explain this behavior to me?

15 messages 2006/06/20

[#198353] How to install Ruby Postgres Gem with a remote server — Bing Tan <sombreroisland@...>

Hi everyone,

15 messages 2006/06/21
[#198357] Re: How to install Ruby Postgres Gem with a remote server — "Kevin Ilchmann Jgensen" <kijmail@...> 2006/06/21

On 6/21/06, Bing Tan <sombreroisland@gmail.com> wrote:

[#198398] Re: How to install Ruby Postgres Gem with a remote server — Bing Tan <sombreroisland@...> 2006/06/21

We have ruby version 1.8.4, fedora core 2, postgres version PostgreSQL

[#198399] Re: How to install Ruby Postgres Gem with a remote server — "Tom Copeland" <tom@...> 2006/06/21

>

[#198596] ascii representation of unicode string? — darren kirby <bulliver@...>

Hello all.

12 messages 2006/06/22

[#198653] EXIF Library — Markus Strickler <mstrickler@...>

Hi-

28 messages 2006/06/23
[#199312] Re: EXIF Library — "Remco van 't Veer" <rwvtveer@...> 2006/06/27

Please try EXIFR, http://rubyforge.org/projects/exifr

[#251313] Re: EXIF Library — 12 34 <rubyforum@...> 2007/05/12

Newbie here. What's the syntax to read say the date and time the picture

[#198657] pp Pascal (#84) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

123 messages 2006/06/23
[#198678] Re: [QUIZ] pp Pascal (#84) — "Alexandru E. Ungur" <alexandru@...> 2006/06/23

>>> sender: "Ruby Quiz" date: "Fri, Jun 23, 2006 at 10:31:52PM +0900" <<<EOQ

[#198681] Re: [QUIZ] pp Pascal (#84) — darren kirby <bulliver@...> 2006/06/23

quoth the Alexandru E. Ungur

[#198690] Re: [QUIZ] pp Pascal (#84) — cdc@...2go.com (Cliff Cyphers) 2006/06/23

On Sat, Jun 24, 2006 at 12:45:21AM +0900, darren kirby wrote:

[#198697] Re: [QUIZ] pp Pascal (#84) — Matthew Smillie <M.B.Smillie@...> 2006/06/23

On Jun 23, 2006, at 17:20, Cliff Cyphers wrote:

[#198712] Re: [QUIZ] pp Pascal (#84) — Erik Veenstra <erikveen@...> 2006/06/23

Did you know that you need only 36 bytes of Ruby code to build

[#198762] Re: [QUIZ] pp Pascal (#84) — "Paul Battley" <pbattley@...> 2006/06/23

On 23/06/06, Erik Veenstra <erikveen@dds.nl> wrote:

[#198764] Re: [QUIZ] pp Pascal (#84) — Erik Veenstra <erikveen@...> 2006/06/23

> > Did you know that you need only 36 bytes of Ruby code to

[#198774] Re: [QUIZ] pp Pascal (#84) — Pete Yandell <pete@...> 2006/06/24

On 24/06/2006, at 9:51 AM, Erik Veenstra wrote:

[#198784] Re: [QUIZ] pp Pascal (#84) — brian.mattern@... 2006/06/24

On Sat, Jun 24, 2006 at 12:23:58PM +0900, Pete Yandell wrote:

[#198943] Re: [QUIZ] pp Pascal (#84) [SOLUTION] — Erik Veenstra <erikveen@...> 2006/06/25

Here's an explanation about how to calculate the next row,

[#198682] RubyForge in Ruby? — "David Pollak" <pollak@...>

Folks,

26 messages 2006/06/23

[#198887] Debian packaging policy — transfire@...

Looking over the Debian Ruby Policy. If you're interested, a good

13 messages 2006/06/25

[#198892] Stumped:beginners question — "Dark Ambient" <sambient@...>

I'm having a hard time with both getting my branching correct as well

20 messages 2006/06/25

[#199022] << for Hash? — "Simon Baird" <simon.baird@...>

class Hash

17 messages 2006/06/26

[#199067] Ruby and Java equality usage — "Alexandru Popescu" <the.mindstorm.mailinglist@...>

Hi!

32 messages 2006/06/26
[#199068] Re: Ruby and Java equality usage — "Robert Dober" <robert.dober@...> 2006/06/26

On 6/26/06, Alexandru Popescu <the.mindstorm.mailinglist@gmail.com> wrote:

[#199175] Re: Ruby and Java equality usage — Eric Hodel <drbrain@...7.net> 2006/06/26

On Jun 26, 2006, at 4:38 AM, Alexandru Popescu wrote:

[#199199] Re: Ruby and Java equality usage — "Alexandru Popescu" <the.mindstorm.mailinglist@...> 2006/06/27

On 6/27/06, Eric Hodel <drbrain@segment7.net> wrote:

[#199241] Re: Ruby and Java equality usage — "Robert Dober" <robert.dober@...> 2006/06/27

> ... and still wondering how is this answering my question (however

[#199244] Re: Ruby and Java equality usage — "Alexandru Popescu" <the.mindstorm.mailinglist@...> 2006/06/27

Rober, thanks and thanks. I think you are right. I am a little sad

[#199076] Blocking read after select — Antonin AMAND <gwik@...>

Hi,

16 messages 2006/06/26
[#199085] Re: Blocking read after select — ara.t.howard@... 2006/06/26

On Mon, 26 Jun 2006, Antonin AMAND wrote:

[#199086] Re: Blocking read after select — Antonin AMAND <gwik@...> 2006/06/26

unknown wrote:

[#199223] string manipulation — siva kumar <msivakumar@...>

How to add "-" between the numbers

14 messages 2006/06/27

[#199226] Iconv and incompatible encodings — Alex Young <alex@...>

Hi all,

18 messages 2006/06/27
[#199233] Re: Iconv and incompatible encodings — "Paul Battley" <pbattley@...> 2006/06/27

On 27/06/06, Alex Young <alex@blackkettle.org> wrote:> Is there any way to use the Iconv library to lossily convert between> partially incompatible encodings? In other words, if, for example, I've> got a UTF-8 string that I need to convert down to 7-bit ASCII, and I> don't especially care what happens to the extended characters (short of> a single character being mapped to a single character - ideally one I> can specify), is there any way of forcing the recode?

[#201092] Re: Iconv and incompatible encodings — Daniel DeLorme <dan-ml@...42.com> 2006/07/10

Paul Battley wrote:

[#199253] newbie doesn't understand why's example — dave rose <bitdoger2@...>

in why's poignant guide to ruby...

12 messages 2006/06/27

[#199328] Re: Unicode roadmap? — "Berger, Daniel" <Daniel.Berger@...>

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

37 messages 2006/06/27
[#199333] Re: Unicode roadmap? — "Patrick Hurley" <phurley@...> 2006/06/27

On 6/27/06, Berger, Daniel <Daniel.Berger@qwest.com> wrote:

[#199373] Re: Unicode roadmap? — "Dmitrii Dimandt" <dmitriid@...> 2006/06/28

On 6/28/06, Patrick Hurley <phurley@gmail.com> wrote:

[#199389] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/28

On 6/28/06, Dmitrii Dimandt <dmitriid@gmail.com> wrote:

[#199416] Re: Unicode roadmap? — Yukihiro Matsumoto <matz@...> 2006/06/28

Hi,

[#199451] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/28

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

[#199463] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/28

[#199469] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/28

On 6/28/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:

[#199473] Re: Unicode roadmap? — "Julian 'Julik' Tarkhanov" <listbox@...> 2006/06/28

[#199478] Re: Unicode roadmap? — "Austin Ziegler" <halostatue@...> 2006/06/28

On 6/28/06, Julian 'Julik' Tarkhanov <listbox@julik.nl> wrote:

[#199381] How to model Hibernate multi-table inheritance with ActiveRecord? — Marcus Andersson <m-lists@...>

Hi

16 messages 2006/06/28
[#199386] Re: How to model Hibernate multi-table inheritance with ActiveRecord? — Alex Young <alex@...> 2006/06/28

Marcus Andersson wrote:

[#199383] Beginners question: branching and ends — "Dark Ambient" <sambient@...>

trying to figure out exactly where 'end' needs to be in my code. I'm

11 messages 2006/06/28

[#199387] remove all illegal chars form string — thomas coopman <thomas.coopman@...>

Hi,

30 messages 2006/06/28

[#199407] ANN: RubyGems 0.9.0 Release — Jim Weirich <jim@...>

= Announce: RubyGems Release 0.9.0

25 messages 2006/06/28

[#199523] Sorting arrays — "Dark Ambient" <sambient@...>

I'm having some major comprehension problems in figuring out this problem.

24 messages 2006/06/28
[#199600] Re: Sorting arrays — James Edward Gray II <james@...> 2006/06/29

On Jun 28, 2006, at 5:59 PM, Dark Ambient wrote:

[#199647] Re: Sorting arrays — "Dark Ambient" <sambient@...> 2006/06/29

On 6/29/06, James Edward Gray II <james@grayproductions.net> wrote:

[#199658] Re: Sorting arrays — James Edward Gray II <james@...> 2006/06/29

##################################

[#200857] Re: Sorting arrays — "Dark Ambient" <sambient@...> 2006/07/08

I have a question on the code below that James shared with me. While

[#200873] Re: Sorting arrays — Matthew Smillie <M.B.Smillie@...> 2006/07/08

On Jul 8, 2006, at 22:41, Dark Ambient wrote:

[#199629] Is a block converted to a Proc object before yield? — Sam Kong <sam.s.kong@...>

Hello!

12 messages 2006/06/29

[#199649] Gems not found - what is the standard — Lanny Rosicky <lanny@...>

I have Ruby installed on AIX. When running an application (typo in this

17 messages 2006/06/29
[#199650] Re: Gems not found - what is the standard — "Austin Ziegler" <halostatue@...> 2006/06/29

On 6/29/06, Lanny Rosicky <lanny@canczech.com> wrote:

[#199651] Re: Gems not found - what is the standard — Lanny Rosicky <lanny@...> 2006/06/29

Austin Ziegler wrote:

[#199652] Re: Gems not found - what is the standard — "Austin Ziegler" <halostatue@...> 2006/06/29

On 6/29/06, Lanny Rosicky <lanny@canczech.com> wrote:

[#199654] Re: Gems not found - what is the standard — Lanny Rosicky <lanny@...> 2006/06/29

Austin Ziegler wrote:

[#199683] Where to find Ruby code idiom, is there a style guideline — uncutstone wu <uncutstone@...>

14 messages 2006/06/30

[#199691] Time To Pick the Mongrel BUGS Mascot! — Zed Shaw <zedshaw@...>

Bradley Taylor shot me this *goldmine* of ugly ugly ugly dogs:

13 messages 2006/06/30

[#199723] C-Style Ints (#85) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

45 messages 2006/06/30
[#199746] Re: [QUIZ] C-Style Ints (#85) — "Josef 'Jupp' SCHUGT" <jupp@...> 2006/06/30

Hi!

[#199894] Re: [QUIZ] C-Style Ints (#85) — Dave Burt <dave@...> 2006/07/02

Jupp wrote:

[#199962] Sending Ruby code vs. provding URLs — "Josef 'Jupp' SCHUGT" <jupp@...> 2006/07/03

Hi!

[#199971] Re: [QUIZ] Sending Ruby code vs. provding URLs — ara.t.howard@... 2006/07/03

On Mon, 3 Jul 2006, Josef 'Jupp' SCHUGT wrote:

[#199730] Order of precedence — "Dark Ambient" <sambient@...>

Just checking

16 messages 2006/06/30

[SUMMARY] Short But Unique (#83)

From: Ruby Quiz <james@...>
Date: 2006-06-22 14:10:59 UTC
List: ruby-talk #198523
This is a pretty real world problem many applications struggle with.  I dare say
it's hard to get right, which is probably why so many applications don't even
try.  We had a few adventurous solvers though and they got some workable
results.  Let's look into Daniel Martin's solution.

I felt Daniel got some great output, by favoring the word boundaries of the
terms to shorten.  Here's a sample of the code being run on the quiz problem
set:

	users...er
	use...test
	account...
	acc...test
	bacon

Notice how the compression favors keeping word intact, when possible.  That
seems to give fairly good results overall.

Alright, let's see how Daniel does it:

	# Returns the length of the longest common
	# substring of "a" and "b"
	def string_similarity(a, b)
	  retval = 0
	  (0 ... b.length).each { |offset|
	    len = 0
	    (0 ... b.length - offset).each { |aind|
	      if (a[aind] and b[aind+offset] == a[aind])
	        len += 1
	        retval = len if retval < len
	      else
	        len = 0
	      end
	    }
	  }
	  (1 ... a.length).each { |offset|
	    len = 0
	    (0 ... a.length - offset).each { |bind|
	      if (b[bind] and a[bind+offset] == b[bind])
	        len += 1
	        retval = len if retval < len
	      else
	        len = 0
	      end
	    }
	  }
	  retval
	end
	
	# ...

The comment above this method tells you exactly what it does, which is to return
the numerical length of the longest common substring for the parameters.  It
works by walking each possible substring of b and checking that the string
occurs in a somewhere.  It then reverses and repeats the process because one
string might be longer than the other.  The highest count seen overall is
returned.

Daniel mentioned that he has been out of Ruby for a bit and his Ruby might be a
little rusty.  The above code works just fine, of course, but we can shorten it
up a bit, if we want to.  Here's another way to write the above:

	$KCODE = "u"          # make jcode happy (silence a warning)
	require "jcode"       # for String#each_char
	require "enumerator"  # for Enumerable#each_cons
	
	def string_similarity(str1, str2)
	  long, short = [str1, str2].sort_by { |str| str.length }
	  long.length.downto(0) do |len|
	    long.enum_for(:each_char).each_cons(len) do |substr|
	      return substr.length if short.include? substr.join
	    end
	  end
	  return 0
	end

Again, this works the same.  I try all possible substrings of the longer string,
from longest to shortest, for inclusion in the shorter string.  Since the code
works with the longest strings first, we can return the first answer we find. 
I'm not saying either method is better, but hopefully you can figure out how
they work, between the two of them.

Let's get back to Daniel's code:

	# ...
	
	def score_compression(target, start, len, alltargets)
	  score = target.length - len
	  score += 3 if len == 0
	  score += 3 if (target[start,1] =~ %r(_|\W) or
	                 target[start-1,2] =~ %r([a-z0-9][A-Z]))
	  score += 3 if (target[start+len-1,1] =~ %r(_|\W) or
	                 target[start+len-1,2] =~ %r([a-z0-9][A-Z]))
	  prebit = target[0,start]
	  postbit = target[start+len,target.length]
	  scoreminus = 0
	  alltargets.each{|s|
	    scoreminus += string_similarity(s,prebit)
	    scoreminus += string_similarity(s,postbit)
	  }
	  score - (1.0 / alltargets.length) * scoreminus
	end
	
	# ...

The above code just rates a possible replacement.  The target variable holds the
original string, start and len mark the area to be replaced with the repeat
string, and alltargets holds the other strings that need compressing.

The most interesting part starts on the third line of the method, where a couple
of checks are used to score substitutions at word boundaries higher.  Note that
the checks include punctuation boundaries and changes in case as a boundary. 
This, in my opinion, is the source of the quite readable end result.

Note that the last section of that method compares the pieces of the string that
will be left after the replacement with other strings in the result set using
the substring count method we examined earlier.  This code is there to prevent
two strings from being compressed to the same representation (though I doubt
this weighted scoring system is perfect).

Finally, here's the method that does the actual work:

	# ...
	
	class Array
	  def compress(n, repstr = '...')
	    retval = []
	    self.each { |s|
	      short_specs =
	      (s.length - n + repstr.length ..
	       s.length - n + repstr.length + 2).inject([]) { |sp,l|
	        sp + (0 .. s.length - l).map {|st| [st,l]}
	      }.select { |a| a[1] > repstr.length}
	      if (s.length <= n) then short_specs.unshift([0,0]) end
	      retval.push(
	        short_specs.inject([-999,""]) { |record, spec|
	          candidate = s.dup
	          candidate[spec[0],spec[1]] = repstr if spec[1] > 0
	          if retval.include?(candidate)
	            record
	          else
	            score = score_compression(s,spec[0],spec[1],self)
	            if score >= record[0]
	              [score, candidate]
	            else
	              record
	            end
	          end
	        }[1]
	      )
	    }
	    retval
	  end
	end
	
	# ...

This code was a little tricky for me to break down, so let me see if I can
explain it in manageable chunks.  This method works over each string in the
Array, building a compressed replacement for each one as it goes.  To build
those replacements it first constructs an Array of indices and lengths where it
could replace content with the replacement string.  It then scores each of those
replacements and selects the highest candidate as the result.

Here's how one might invoke the above:

	# ...
	
	if __FILE__ == $0
	  ARGV[1,ARGV.length].compress(ARGV[0].to_i).each {|s| puts s}
	end

Now, since Unicode has been such a hot topic lately, let's see how this code
handles using a real ellipsis character.  If I change the above code to:

	# ...
	
	if __FILE__ == $0
	  puts ARGV[1..-1].compress(ARGV[0].to_i, "…")
	end

and run the code again, here's the new output:

	users…er
	use…test
	account…
	acc…test
	bacon

Oops, I asked for 10 characters but got less than that.  The reason is that the
code we just examined is counting the byte length of our replacement string, in
this bit of code right here:

	# ...
	
	class Array
	  def compress(n, repstr = '...')
	    retval = []
	    self.each { |s|
	      short_specs =
	      (s.length - n + repstr.length ..
	       s.length - n + repstr.length + 2).inject([]) { |sp,l|
	        sp + (0 .. s.length - l).map {|st| [st,l]}
	      }.select { |a| a[1] > repstr.length}
	      
	      # ...

As a fix, I'm going to set the $KCODE variable for Unicode support, load the
jcode library for its helper methods, and change all those repstr.length calls
to repstr.jlength.  Here's a look at those changes:

	$KCODE = "u"
	require "jcode"
	
	# ...
	
	class Array
	  def compress(n, repstr = '...')
	    retval = []
	    self.each { |s|
	      short_specs =
	      (s.length - n + repstr.jlength ..
	       s.length - n + repstr.jlength + 2).inject([]) { |sp,l|
	        sp + (0 .. s.length - l).map {|st| [st,l]}
	      }.select { |a| a[1] > repstr.jlength}
	      
	      # ...

Does that fix us up?  Let's see:

	users…ller
	users…test
	account…er
	account…st
	bacon

Bingo.  Now we get the extra characters from using the shorter string.  Don't
let people tell you Ruby can't handle Unicode today.

My thanks to all who gave this quiz a shot.  I expect you all to email your
solutions as patches all the applications out there that botch the display of
tabs like this.

Tomorrow we have an easy problem for those working through Learn to Program...

In This Thread

Prev Next