[#187137] DO NOT USE JAVA BECAUSE IT IS NOT OPEN SOURCE — atbusbook@...

Programing Languiges Are Ment to be free. That is why i am starting The

15 messages 2006/04/01

[#187149] ruby-dev summary 28274-28600 — APURI Furuhashi <afuru@...>

Hi all,

16 messages 2006/04/01

[#187228] Dynamic code generation — "Thiago Arrais" <thiago.arrais@...>

I have been trying to do some simple dynamic code generation in Ruby.

12 messages 2006/04/01

[#187230] %w{tomato cheese ham pineapple}.join(', ', ' and ') — Benjohn Barnes <benjohn@...>

=> 'tomato, cheese, ham and pineapple'

15 messages 2006/04/01

[#187263] Typed Parameters — "Robert Dober" <robert.dober@...>

Dear group

34 messages 2006/04/01
[#187279] Re: Typed Parameters — "Austin Ziegler" <halostatue@...> 2006/04/01

On 4/1/06, Robert Dober <robert.dober@gmail.com> wrote:> Dear group>> there was a recent thread about "Boolean" and it braught me to my> favorit thing I would love to have in Ruby2.>> *typed parameters*

[#187298] Re: Typed Parameters — "Trans" <transfire@...> 2006/04/02

<blockquote>

[#187313] Re: Typed Parameters — "Daniel Nugent" <nugend@...> 2006/04/02

Well, I think you should allowed to put a selective effect on the

[#187345] Re: Typed Parameters — "Robert Dober" <robert.dober@...> 2006/04/02

On 4/2/06, Daniel Nugent <nugend@gmail.com> wrote:

[#187371] Re: Typed Parameters — "Austin Ziegler" <halostatue@...> 2006/04/02

On 4/2/06, Robert Dober <robert.dober@gmail.com> wrote:> On 4/2/06, Daniel Nugent <nugend@gmail.com> wrote:>> Well, I think you should allowed to put a selective effect on the>> remaining arguments, but it should at least allow you to be a little>> smarter than simply checking one single Type. I'd like to see you>> able to check against multiple types as well as methods and>> combinations thereof, like>>>> def foo(arg1 : (Array and :custom_array_method) or Hash or>> :special_method)>>>> Then at least it's simply a syntactic convenience for writing>> respond_to? and kind_of? calls. And, logically, you should be able>> to assign these parameter checks to a variabe so you can reduce the>> duplication of them, although I don't have a clue as to what a good>> syntax for that would be... Maybe something like:>>>> type_check = TypeCheck.new do |var|>> case var>> when Array>> return true if var.respond_to? :custom_array_method>> when Hash>> return Hash>> else>> return true if var.respond_to? :special_method>> end>> return false>> end>>>> And, of course, you can do any checking you want in the block. You>> could then do this:>>>> def foo(arg1 : type_check)>> def bar(arg1, arg2 : type_check)

[#187567] Possible RubyQuiz idea — Hal Fulton <hal9000@...>

This might be too easy, it's JEG2's call.

17 messages 2006/04/04

[#187659] un_include and un_extend — "itsme213" <itsme213@...>

How do I un_include a module from a class/module, or un_extend a module from

13 messages 2006/04/04
[#187727] Re: un_include and un_extend — "itsme213" <itsme213@...> 2006/04/05

Thanks. Will 2.0 allow this?

[#187908] Re: un_include and un_extend — Yukihiro Matsumoto <matz@...> 2006/04/06

Hi,

[#187923] Re: un_include and un_extend — "Austin Ziegler" <halostatue@...> 2006/04/06

On 4/6/06, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:> In message "Re: un_include and un_extend"> on Wed, 5 Apr 2006 09:03:47 +0900, "itsme213" <itsme213@hotmail.com> writes:>| Thanks. Will 2.0 allow this?> No plan. Currently I have no reason to allow it.

[#187698] is GUI a weak point? — "greg.rb" <ghalsey@...>

Ruby seems pretty eash to code and understand. However, as a

43 messages 2006/04/04
[#187770] Re: is GUI a weak point? — Hidetoshi NAGAI <nagai@...> 2006/04/05

From: "greg.rb" <ghalsey@yahoo.com>

[#187776] Re: is GUI a weak point? — "Carl Woodward" <cjwoodward@...> 2006/04/05

I am thinking about this problem at the moment. There are a lot of

[#187777] Re: is GUI a weak point? — azrael@... 2006/04/05

> There are plenty of others but one thing that I would like to see/like

[#187781] Re: is GUI a weak point? — Caleb Tennis <caleb@...> 2006/04/05

[#187792] Re: is GUI a weak point? — zdennis <zdennis@...> 2006/04/05

Caleb Tennis wrote:

[#187793] Re: is GUI a weak point? — azrael@... 2006/04/05

> > Using Rails and a web interface is a nice way to present data to an end

[#187798] Re: is GUI a weak point? — Randy Kramer <rhkramer@...> 2006/04/05

On Wednesday 05 April 2006 09:40 am, azrael@cream.org wrote:

[#187802] Re: is GUI a weak point? — "Chris Alfeld" <chris.alfeld@...> 2006/04/05

Cross platform GUIs is a very serious problem today and one without

[#187764] Re: is GUI a weak point? — "Michal Suchanek" <hramrach@...> 2006/04/05

On 4/4/06, greg.rb <ghalsey@yahoo.com> wrote:> Ruby seems pretty eash to code and understand. However, as a> non-professional programmer, I find GUI the hardest part so far.

[#187786] Re: is GUI a weak point? — "Mark Volkmann" <r.mark.volkmann@...> 2006/04/05

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

[#187723] GPL v3 and Ruby License. — "Gregory Brown" <gregory.t.brown@...>

I went to MIT for the Free Software Foundation Associate members

34 messages 2006/04/04
[#187801] Re: GPL v3 and Ruby License. — "Austin Ziegler" <halostatue@...> 2006/04/05

On 4/4/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> I went to MIT for the Free Software Foundation Associate members> meeting last weekend. I asked Stallman the question of whether the> FSF planned to contact various individuals who were using dual> licenses and encourage them to participate in commenting on GPLv3.

[#187804] Re: GPL v3 and Ruby License. — "Gregory Brown" <gregory.t.brown@...> 2006/04/05

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

[#187809] Re: GPL v3 and Ruby License. — "Austin Ziegler" <halostatue@...> 2006/04/05

On 4/5/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> On 4/5/06, Austin Ziegler <halostatue@gmail.com> wrote:>> On 4/4/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:>> [...]

[#187820] Re: GPL v3 and Ruby License. — "Gregory Brown" <gregory.t.brown@...> 2006/04/05

I really didn't want to start a license flame war. I've responded

[#187829] Re: GPL v3 and Ruby License. — "Austin Ziegler" <halostatue@...> 2006/04/05

On 4/5/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> I really didn't want to start a license flame war. I've responded> below, but please keep in mind that my personal beliefs and my> pragmatic beliefs are somewhat disjointed, and that for the> community's sake, I'd always side with my pragmatic feelings.>> Meaning... when GPLv3 comes out, do we.>> a) Resist it by removing any "any later version" clauses from our> license agreements which use the license of ruby>> b) Embrace it and re-release code using GPLv3 and Matz's terms, but> make sure the FSF hears the voice of our community beforehand.>> c) Can it entirely and favor an established license such as the BSD> license.>> d) Draft up our own license, possibly with cartoon foxes.

[#187835] Re: GPL v3 and Ruby License. — "Gregory Brown" <gregory.t.brown@...> 2006/04/05

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

[#187849] Re: GPL v3 and Ruby License. — "Austin Ziegler" <halostatue@...> 2006/04/05

On 4/5/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> On 4/5/06, Austin Ziegler <halostatue@gmail.com> wrote:[...]>>> Stronger is not necessarily better, of course. Stronger also can be>>> seen as 'more restrictive' by some. However, I do believe that>>> copyleft is not coercion because you cannot coerce someone through>>> licensing terms.>> That's a common misconception. One *can* coerce through licensing>> terms. If the choice is "my way or the highway", where the highway is>> extremely difficult, it's coercion. A lot of Libertarians I know>> would disagree me on this point, but they're also of the opinion that>> coercion can only come from physical force. The verb "coerce",>> however, is defined as: "To cause to do through pressure or>> necessity, by physical, moral or intellectual means". A licence can>> be coercion.> I'm an anarcho-capitalist. I guess that puts me in the dissenting> group on things like that. I believe that strong contracts that are> freely entered into can be upheld and can be used to support various> political and ethical goals.

[#187870] Re: GPL v3 and Ruby License. — "Michal Suchanek" <hramrach@...> 2006/04/05

On 4/5/06, Austin Ziegler <halostatue@gmail.com> wrote:> On 4/5/06, Gregory Brown <gregory.t.brown@gmail.com> wrote:> > On 4/5/06, Austin Ziegler <halostatue@gmail.com> wrote:> [...]> >>> I am mostly in favor of weak copyleft, in most pragmatic> >>> applications of licenses. Protect your source, ensure it will> >>> remain free software, ensure the license can't be buried under a> >>> proprietary license, etc. As far as linking and integrating with> >>> non-free software... i'd like to be an idealist and say it's evil...> >>> but of course, I wouldn't have a job if that were the case ;)> >> Something like the MPL. The problem is, with the way that the GPL is> >> written, the MPL is incompatible with it. This will not be changing> >> under GPLv3.> > I imagine I must be the FSF's "most loving critic". I do love these> > guys and their ideas, but I don't love the vagueness and rhetoric they> > are prone to:>> Yeah. That's Stallman through and through. I was one of the ~300 or so> folks heavily involved in the discussion list about the MPL back in the> day, and I got into some arguments with Eben Moglen about the whole> thing when the FSF was trying to get Netscape to *solely* use the GNU> GPL. (I consider the day that the Mozilla Foundation relicensed> everything as MPL and GNU GPL as a net loss for quality open source.)>> The problem is entirely in the GNU GPL's wording preventing further> restrictions on the code. Here's a gedankenexperiment:>> * Create a copyleft licence patterned after the GNU GPL (make it the> GNU GPL without the propaganda). Call it the ASCL (Austin's Strong> Copyleft Licence). Add one additional term that enforces your right> to be known as the author of a work (this is *not* the advertising> clause from the original BSD, mind you). The ASCL is incompatible> with the GNU GPL.>> The GNU GPL requires that your licence have a *subset* of restrictions> that the GNU GPL provides. It is not even clear if the GNU GPL would be> compatible the ASCL even if the additional term were removed. However,> even *one* additional restriction, no matter how reasonable, renders> your licence wholly incompatible with the GNU GPL.>> It's nonsense, and it could be fixed pretty easily.>

[#187822] what are sympbols?!? — Alain <mantat@...>

Hi, simple question here but I cant figure it out after reading the Ruby

11 messages 2006/04/05

[#187851] Rake: Making "cleanup" task — Pistos Christou <jesusrubsyou.5.pistos@...>

I'm just getting my feet wet with Rake, at least as far as running unit

18 messages 2006/04/05
[#187861] Re: Rake: Making "cleanup" task — Jim Weirich <jim@...> 2006/04/05

Pistos Christou wrote:

[#187954] Re: Rake: Making "cleanup" task — Pistos Christou <jesusrubsyou.5.pistos@...> 2006/04/06

Jim Weirich wrote:

[#188027] Re: Rake: Making "cleanup" task — Eric Armstrong <Eric.Armstrong@...> 2006/04/07

> Jim Weirich wrote:

[#188130] Re: Rake: Making "cleanup" task — Pistos Christou <jesusrubsyou.5.pistos@...> 2006/04/07

Eric Armstrong wrote:

[#188143] Re: Rake: Making "cleanup" task — "Austin Ziegler" <halostatue@...> 2006/04/07

On 4/7/06, Pistos Christou <jesusrubsyou.5.pistos@geoshell.com> wrote:> Eric Armstrong wrote:> >> Jim Weirich wrote:> > >>> Is this possible? If so, how? :)> > >>>> > Rake is just executing a ruby script, right?> >> > So what's wrong with coding an END block> > at the end of the script?> > (he asked, not yet having tried it, but> > wondering why it wouldn't work)>> Could you show some example code? I've never heard of this "END block"> thing. I thought __END__ in Perl made the interpreter stop and ignore> everything below that line.

[#187853] best practices — Jean-Charles Carelli <jnchrls@...>

I'm working my way through the Pickaxe book and I have a question

15 messages 2006/04/05

[#187920] String generalization — Peter Szinek <peter@...>

Hello all,

15 messages 2006/04/06

[#188004] Re: Archive::Tar uncompress question — "Berger, Daniel" <Daniel.Berger@...>

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

2 messages 2006/04/06

[#188057] win32ole with COM method taking two out refs — Adam Gardiner <adam.gardiner@...>

Hi,

20 messages 2006/04/07

[#188061] Markov Chains (#74) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

40 messages 2006/04/07
[#188068] Re: [QUIZ] Markov Chains (#74) — Charlie Bowman <charlie@...> 2006/04/07

I'm pumped! I've been reading this mailing list for the last 3 months

[#188074] Re: [QUIZ] Markov Chains (#74) — James Edward Gray II <james@...> 2006/04/07

On Apr 7, 2006, at 8:53 AM, Charlie Bowman wrote:

[#188098] Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...>

I have a case where I'd like to delete an instance of a class I made

28 messages 2006/04/07
[#188099] Re: Simple Question About Deleting Instances — zdennis <zdennis@...> 2006/04/07

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

[#188103] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

> Some code would help. Saying: ...

[#188105] Re: Simple Question About Deleting Instances — "Mark Van Holstyn" <mvette13@...> 2006/04/07

I think you problems is in the report class. Each time you do report =

[#188108] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

Mark Van Holstyn wrote:

[#188110] Re: Simple Question About Deleting Instances — zdennis <zdennis@...> 2006/04/07

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

[#188115] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

zdennis wrote:

[#188120] Re: Simple Question About Deleting Instances — zdennis <zdennis@...> 2006/04/07

Nathan Olberding wrote:

[#188123] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

zdennis wrote:

[#188126] Re: Simple Question About Deleting Instances — zdennis <zdennis@...> 2006/04/07

Nathan Olberding wrote:

[#188131] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

zdennis wrote:

[#188137] Re: Simple Question About Deleting Instances — zdennis <zdennis@...> 2006/04/07

Nathan Olberding wrote:

[#188141] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

zdennis wrote:

[#188145] Re: Simple Question About Deleting Instances — zdennis <zdennis@...> 2006/04/07

Nathan Olberding wrote:

[#188149] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

zdennis wrote:

[#188151] Re: Simple Question About Deleting Instances — zdennis <zdennis@...> 2006/04/07

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

[#188169] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

zdennis wrote:

[#188176] Re: Simple Question About Deleting Instances — "Austin Ziegler" <halostatue@...> 2006/04/07

On 4/7/06, Nathan Olberding <nathan.olberding@gmail.com> wrote:> zdennis wrote:[...]> It's not so much that I feel strongly as much as that it perplexes me.> I guess I just wanted to make sure my meds haven't been replaced with> crazy pills.>> I thought of this, too: isn't it odd that you can define class> variables in a definition of how instances of a class should work, but> you can't define their accessors? It seems inconsistent. If it's> agreed that this is inconsistent, I'll post something to the site you> mentioned, but if it's that way for a reason, I'll just take your much> appreciated advice, learn that much more, and be that much less of a> newbie.

[#188179] Re: Simple Question About Deleting Instances — Nathan Olberding <nathan.olberding@...> 2006/04/07

Austin Ziegler wrote:

[#188190] Re: Simple Question About Deleting Instances — "Austin Ziegler" <halostatue@...> 2006/04/08

On 4/7/06, Nathan Olberding <nathan.olberding@gmail.com> wrote:> Austin Ziegler wrote:>> So using attr_accessor doesn't declare a variable; it declares a pair>> of methods that access and may instantiate a variable, but doesn't>> have to. And *that* is why doing "attr_accessor :@var" really>> wouldn't be appropriate.> I guess to put my question simply, why is there a single context in> which I can define class variables but not class methods (accessors> for these variables)? Shouldn't the two be handled in the same context> / scope / block / area-of-code?

[#188228] windows gurus i beseech you — ara.t.howard@...

12 messages 2006/04/08

[#188297] Dumb reflection problem - create object from String — Brian Parkinson <parkI@...>

Hello - I'm bashing my head against the wall - I'm sure this is a simple

9 messages 2006/04/09

[#188327] Ruby Grammar - "do" — Bihal <wmioch@...>

Hey everyone

14 messages 2006/04/10
[#188329] Re: Ruby Grammar - "do" — Eric Hodel <drbrain@...7.net> 2006/04/10

[#188330] Re: Ruby Grammar - "do" — Bihal <wmioch@...> 2006/04/10

Okay. My next question is then

[#188334] Re: Ruby Grammar - "do" — Jeff Coleman <progressions@...> 2006/04/10

Bihal wrote:

[#188335] Re: Ruby Grammar - "do" — Bihal <wmioch@...> 2006/04/10

Thanks Hal, that explains it.

[#188336] Re: Ruby Grammar - "do" — Bihal <wmioch@...> 2006/04/10

And Eric, sorry if I mislead you, by example code I meant any code I

[#188349] Adding in class attribute with a Module — kris <krisleech@...>

Is it possible to add class attributes (cattr_accessor) using a module?

26 messages 2006/04/10
[#188350] Re: Adding in class attribute with a Module — "Farrel Lifson" <farrel.lifson@...> 2006/04/10

Worked pretty much how I expected it to:

[#188355] Re: Adding in class attribute with a Module — dblack@... 2006/04/10

Hi --

[#188367] Re: Adding in class attribute with a Module — kris <krisleech@...> 2006/04/10

Thanks very much for all the examples. I think I need to clarify,

[#188386] Quick syntax question — Gregory Seidman <gsslist+ruby@...>

Consider the following three class definitions:

17 messages 2006/04/10
[#188395] Re: Quick syntax question — "Austin Ziegler" <halostatue@...> 2006/04/10

On 4/10/06, Gregory Seidman <gsslist+ruby@anthropohedron.net> wrote:> Consider the following three class definitions:>> class Foo> def self.bar> @@bar> end> def self.bar=(val)> @@bar = val> end> end>> class Foo> class << self> def bar> @@bar> end> def bar=(val)> @@bar = val> end> end> end>> class Foo> class << self> attr_accessor :bar> end> end>> Am I correct in believing that they are equivalent? If not, how do they> differ?

[#188476] Class Definition inside a method definition? — Bihal <wmioch@...>

I was under the impression that a class definition could not be inside a

24 messages 2006/04/11
[#188478] Re: Class Definition inside a method definition? — Bihal <wmioch@...> 2006/04/11

Thanks David. I'm not sure you caught sight of the line of code I was

[#188483] Re: Class Definition inside a method definition? — David Vallner <david@...> 2006/04/11

Dňa Utorok 11. Apríl 2006 02:39 Bihal napísal:

[#188486] Re: Class Definition inside a method definition? — Bihal <wmioch@...> 2006/04/11

Thanks for the explanation David, I'm sure it's close enough :P

[#188496] Re: Class Definition inside a method definition? — Bihal <wmioch@...> 2006/04/11

Hey guys,

[#188501] Re: Class Definition inside a method definition? — John Wilger <johnwilger@...> 2006/04/11

On Apr 10, 2006, at 9:46 PM, Bihal wrote:

[#188504] Re: Class Definition inside a method definition? — Bihal <wmioch@...> 2006/04/11

Sorry John, I didn't realise this was a mailing list as opposed to a

[#188615] Q about tk buttons — "Jeppe Jakobsen" <jeppe88@...>

Hi guys, I have a little problem with the buttons in tk. I want to add 1 to

12 messages 2006/04/11

[#188631] vim 7 ruby omni-complete v0.2 — Mark Guzman <segfault@...>

Thanks to some outside suggestions and contributions we now have another

17 messages 2006/04/12

[#188678] First script seems slow - What's a better way to write this? — Charlotte <c.f.curtis@...>

I've inherited a tcl script from previous co-op students, and it's a

19 messages 2006/04/12
[#188688] Re: First script seems slow - What's a better way to write this? — Peter Hickman <peter@...> 2006/04/12

As a side issue there is a tool to generate cross references in tcl

[#188696] Re: First script seems slow - What's a better way to write t — Charlotte <c.f.curtis@...> 2006/04/12

Thanks for the link. However, I forgot to mention that the reason I'm

[#188705] Re: First script seems slow - What's a better way to write t — ara.t.howard@... 2006/04/12

On Thu, 13 Apr 2006, Charlotte wrote:

[#188707] Re: First script seems slow - What's a better way to write t — Daniel Berger <Daniel.Berger@...> 2006/04/12

ara.t.howard@noaa.gov wrote:

[#188714] Re: First script seems slow - What's a better way to write t — "Mark Volkmann" <r.mark.volkmann@...> 2006/04/12

On 4/12/06, Daniel Berger <Daniel.Berger@qwest.com> wrote:

[#188791] Ruby Idioms (TextMate Bundle) — James Edward Gray II <james@...>

Just a short note here, for TextMate users. I've made my bundle of

14 messages 2006/04/13
[#188868] Re: [ANN] Ruby Idioms (TextMate Bundle) — Ezra Zygmuntowicz <ezmobius@...> 2006/04/13

[#188900] Refactoring (#75) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

9 messages 2006/04/14
[#189159] Re: [QUIZ] Refactoring (#75) — "Ilmari Heikkinen" <ilmari.heikkinen@...> 2006/04/17

On 4/14/06, Ruby Quiz <james@grayproductions.net> wrote:> The three rules of Ruby Quiz:>> 1. Please do not post any solutions or spoiler discussion for this quiz until> 48 hours have passed from the time on this message.>> 2. Support Ruby Quiz by submitting ideas as often as you can:>> http://www.rubyquiz.com/>> 3. Enjoy!>> Suggestion: A [QUIZ] in the subject of emails about the problem helps everyone> on Ruby Talk follow the discussion.>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=>> by Pat Eyler>> This week's quiz is a bit of a departure from the normal. Instead of submitting> different implementations of the same code, we'd like you to submit different> implementations of the same process -- Refactoring.>> Refactoring is the art of improving the design of existing code, without> changing it's functional behaviour. It is well documented in the book> 'Refactoring' by Martin Fowler, and on his website:>> http://www.refactoring.com>> The quiz this week is to submit refactorings of code you use -- whether your own> code, a library or application for RubyForge, or even something from the> Standard Library. Any submission should implement a refactoring from:>> http://www.refactoring.com/catalog/index.html>> or other citable sources, e.g.:>> http://kallokain.blogspot.com/2006/01/refactoring-extract-mixin.html>> Each Submission should follow this outline:>> Refactoring name (and citation if needed)> Original code> Explanation of the purpose and mechanics of the refactoring> New code> (optionally, unit tests created/used to verify the code)>> Submissions will be combined into an online catalog of Ruby Refactorings,> probably on the RubyGarden wiki.>>

[#188932] Google Summer of Code -- It's back — "Patrick Hurley" <phurley@...>

http://code.google.com/soc/

50 messages 2006/04/14
[#188934] Re: Google Summer of Code -- It's back — "pat eyler" <pat.eyler@...> 2006/04/14

On 4/14/06, Patrick Hurley <phurley@gmail.com> wrote:

[#188936] Re: Google Summer of Code -- It's back — dblack@... 2006/04/14

Hi --

[#188937] Re: Google Summer of Code -- It's back — Peter Szinek <peter@...> 2006/04/14

dblack@wobblini.net wrote:

[#189103] Re: Google Summer of Code -- It's back — Nicolas Kassis <nic.kassis@...> 2006/04/17

Peter Szinek wrote:

[#189176] Re: Google Summer of Code -- It's back — Gregory Seidman <gsslist+ruby@...> 2006/04/17

On Tue, Apr 18, 2006 at 12:34:49AM +0900, Nicolas Kassis wrote:

[#189183] Re: Google Summer of Code -- It's back — Jake McArthur <jake.mcarthur@...> 2006/04/17

I'm also eligible, and this is right up my ally. Would love to get

[#189194] Re: Google Summer of Code -- It's back — "Tanner Burson" <tanner.burson@...> 2006/04/18

On 4/17/06, Jake McArthur <jake.mcarthur@gmail.com> wrote:

[#189231] Re: Google Summer of Code -- It's back — "Patrick Hurley" <phurley@...> 2006/04/18

On 4/17/06, Tanner Burson <tanner.burson@gmail.com> wrote:

[#189232] Re: Google Summer of Code -- It's back — James Edward Gray II <james@...> 2006/04/18

On Apr 18, 2006, at 7:28 AM, Patrick Hurley wrote:

[#188935] Super-unstable Webrick on Windows 2000 — Bryan Duxbury <bryan.duxbury@...>

I'm using Ruby 1.8.4 on a Windows 2000 machine. When running anything

13 messages 2006/04/14
[#188939] Re: Super-unstable Webrick on Windows 2000 — Stephen Caudill <vox@...> 2006/04/14

Why not just use Mongrel[1]?

[#188941] Re: Super-unstable Webrick on Windows 2000 — James Britt <james_b@...> 2006/04/14

Stephen Caudill wrote:

[#188943] Re: Super-unstable Webrick on Windows 2000 — Bryan Duxbury <bryan.duxbury@...> 2006/04/15

Actually, I ran on 1.8.2 for a long time, too. The errors had exactly

[#188951] HighLine - examples for using "list" — "Sy Ali" <sy1234@...>

http://highline.rubyforge.org/doc/classes/HighLine.html

25 messages 2006/04/15
[#188959] Re: HighLine - examples for using "list" — Mike Stok <mike@...> 2006/04/15

[#188965] Re: HighLine - examples for using "list" — "Sy Ali" <sy1234@...> 2006/04/15

On 4/15/06, Mike Stok <mike@stok.ca> wrote:

[#188967] Re: HighLine - examples for using "list" — "Sy Ali" <sy1234@...> 2006/04/15

Ok, I played with it some more and it appears it won't do what I want.

[#188969] Re: HighLine - examples for using "list" — James Edward Gray II <james@...> 2006/04/15

On Apr 15, 2006, at 10:19 AM, Sy Ali wrote:

[#188971] Re: HighLine - examples for using "list" — "Sy Ali" <sy1234@...> 2006/04/15

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

[#188974] Re: HighLine - examples for using "list" — "Sy Ali" <sy1234@...> 2006/04/15

On 4/15/06, Sy Ali <sy1234@gmail.com> wrote:

[#188978] Re: HighLine - examples for using "list" — James Edward Gray II <james@...> 2006/04/15

On Apr 15, 2006, at 1:36 PM, Sy Ali wrote:

[#188984] Re: HighLine - examples for using "list" — "Sy Ali" <sy1234@...> 2006/04/15

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

[#188985] Re: HighLine - examples for using "list" — Mike Stok <mike@...> 2006/04/15

[#188987] Re: HighLine - examples for using "list" — James Edward Gray II <james@...> 2006/04/15

On Apr 15, 2006, at 5:00 PM, Mike Stok wrote:

[#189018] Re: HighLine - examples for using "list" — "Gregory Brown" <gregory.t.brown@...> 2006/04/16

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

[#189025] Re: HighLine - examples for using "list" — James Edward Gray II <james@...> 2006/04/16

On Apr 16, 2006, at 9:55 AM, Gregory Brown wrote:

[#188957] Bug: Requiring "breakpoint" causes the entire Rails framework to load. — "Alder Green" <alder.green@...>

Hi

11 messages 2006/04/15
[#188976] Re: Bug: Requiring "breakpoint" causes the entire Rails framework to load. — Florian Gro<florgro@...> 2006/04/15

Alder Green wrote:

[#188973] "Ruby for Rails" now available in PDF! — dblack@...

Hi everyone --

12 messages 2006/04/15

[#189058] Tattoo — "ruby talk" <rubytalk@...>

I want to get a tattoo of ruby code, but i just cant seem to find code

15 messages 2006/04/17

[#189118] Need to carry over application variable into RUBY script — Peter Bailey <pbailey@...>

I have an application that converts PDFs to individual EPS files. When

7 messages 2006/04/17
[#189120] Re: Need to carry over application variable into RUBY script — "Austin Ziegler" <halostatue@...> 2006/04/17

On 4/17/06, Peter Bailey <pbailey@bna.com> wrote:> I have an application that converts PDFs to individual EPS files. When> it does so, it creates a subdirectory with the same name as the original> filename and puts all of the resulting EPS files it creates into that> directory. Well, I have to do a lot of scripting and stuff on those EPS> files. To automate this, I need to know what the directory name is that> it put the files. The application provides a variable, "%2," just for> this purpose. I've gotten this %2 variable to work for me in cmd.exe.> But, I'd like it to work in RUBY. I'm sure it can be done. But, came> someone tell me how I can transfer this %2 variable from my application> to a Dir.chdir target?

[#189130] Re: Need to carry over application variable into RUBY script — Peter Bailey <pbailey@...> 2006/04/17

Austin Ziegler wrote:

[#189136] Re: Need to carry over application variable into RUBY script — "Austin Ziegler" <halostatue@...> 2006/04/17

On 4/17/06, Peter Bailey <pbailey@bna.com> wrote:> Austin Ziegler wrote:> > On 4/17/06, Peter Bailey <pbailey@bna.com> wrote:> >> I have an application that converts PDFs to individual EPS files. When> >> it does so, it creates a subdirectory with the same name as the original> >> filename and puts all of the resulting EPS files it creates into that> >> directory. Well, I have to do a lot of scripting and stuff on those EPS> >> files. To automate this, I need to know what the directory name is that> >> it put the files. The application provides a variable, "%2," just for> >> this purpose. I've gotten this %2 variable to work for me in cmd.exe.> >> But, I'd like it to work in RUBY. I'm sure it can be done. But, came> >> someone tell me how I can transfer this %2 variable from my application> >> to a Dir.chdir target?> >> > %2 is the 2nd argument on the command-line, so you just have to look> > for ARGV[2].> >> > It'd be interesting to find out what %1 is ;)> Thanks, Austin. So, do I do this?>> Dir.chdir(ARGV[2])> or this> Dir.chdir("ARGV[2]")?

[#189203] Google Summer of Code update — dblack@...

Hi --

13 messages 2006/04/18

[#189258] Is anyone doing serious dev using the one-click Ruby? — David Reynolds <dr-groups@...>

I'm getting started with Rails on Windows and really like the

8 messages 2006/04/18
[#189261] Re: Is anyone doing serious dev using the one-click Ruby? — "Austin Ziegler" <halostatue@...> 2006/04/18

On 4/18/06, David Reynolds <dr-groups@fantast.com> wrote:> I'm getting started with Rails on Windows and really like the> convenience of the one-click Ruby installer but the stable releases are> too few and far between -- only about once a year it seems -- which> means you get stuck with an old version of Ruby.> Is there an easy way to patch it while waiting between stable releases?> Or is the one-click version of Ruby just a convenient tool for newbies> on Windows and not recommended for serious Ruby development? (A few> things I've found that don't work have also given me this impression.)> If not the one-click installer, what? One of the other binaries for> Windows? Or is the problem endemic to all win32 binaries, and the best> course is to work on linux?

[#189263] ruby-ldap on Windows (built) — Chris Scharf <scharfie@...>

I have finally managed to build the ruby-ldap library for the Windows

34 messages 2006/04/18
[#189279] Re: ruby-ldap on Windows (built) — "Wilson Bilkovich" <wilsonb@...> 2006/04/18

On 4/18/06, Chris Scharf <scharfie@gmail.com> wrote:

[#189280] Re: ruby-ldap on Windows (built) — Chris Scharf <scharfie@...> 2006/04/18

Wilson Bilkovich wrote:

[#189285] Re: ruby-ldap on Windows (built) — Ian Macdonald <ian@...> 2006/04/18

Chris Scharf wrote:

[#189328] Re: ruby-ldap on Windows (built) — Ian Macdonald <ian@...> 2006/04/19

Ian Macdonald wrote:

[#189633] Re: ruby-ldap on Windows (built) — Ian Macdonald <ian@...> 2006/04/20

Ian Macdonald wrote:

[#189286] Publishing to rubyforge - is there a command line tool that accompanies the rubyforge publisher rake contrib task — "Jeff Barczewski" <jeff.barczewski@...>

I was trying to use the rake contrib task for publishing to Rubyforge, but

5 messages 2006/04/18
[#189289] Re: Publishing to rubyforge - is there a command line tool that accompanies the rubyforge publisher rake contrib task — "Austin Ziegler" <halostatue@...> 2006/04/18

On 4/18/06, Jeff Barczewski <jeff.barczewski@gmail.com> wrote:> I was trying to use the rake contrib task for publishing to Rubyforge, but> it seems to use a command line component to do the work (which I don't seem> to have :-) I believe this was contributed by Florian Gross. Does anyone> know where I get this extra piece to make this all work?>> What do people use to automate their uploads to Rubyforge? Is this publish> task the best way? I have many files to post each time.

[#189354] interested in metaprogramming? — "chiaro scuro" <kiaroskuro@...>

Hi, I have started writing a guide to metaprogramming called 'the way

19 messages 2006/04/19
[#189359] Re: interested in metaprogramming? — Mark Somerville <mark@...> 2006/04/19

On Wednesday 19 April 2006 09:37, chiaro scuro wrote:

[#189361] Re: interested in metaprogramming? — "chiaro scuro" <kiaroskuro@...> 2006/04/19

two people is already a crowd to me :-)

[#189366] Re: interested in metaprogramming? — Gregory Seidman <gsslist+ruby@...> 2006/04/19

On Wed, Apr 19, 2006 at 06:31:47PM +0900, chiaro scuro wrote:

[#189407] Is there an "in" operator in ruby ? — Dinesh Umanath <u_dinesh@...>

Hi all,

13 messages 2006/04/19

[#189423] Symbol#to_proc is just so beautiful — Daniel Schierbeck <daniel.schierbeck@...>

When is this ever getting into Ruby Core?

21 messages 2006/04/19
[#189449] Re: Symbol#to_proc is just so beautiful — Florian Gro<florgro@...> 2006/04/19

Daniel Schierbeck schrieb:

[#189500] Re: Symbol#to_proc is just so beautiful — John Johnson <johnatl@...> 2006/04/19

[#189448] Symbol#to_proc is just so beautiful — TRANS <transfire@...>

What would you think of:

20 messages 2006/04/19
[#189466] Gateway (was Re: Symbol#to_proc is just so beautiful) — Ross Bamford <rossrt@...> 2006/04/19

On Thu, 2006-04-20 at 04:02 +0900, TRANS wrote:

[#189477] Re: Gateway (was Re: Symbol#to_proc is just so beautiful) — Eric Hodel <drbrain@...7.net> 2006/04/19

On Apr 19, 2006, at 12:56 PM, Ross Bamford wrote:

[#189486] Array#each Looping Gotcha — Nathan Olberding <nathan.olberding@...>

I think I've found a gotcha. Really, it should be expected behavior, but

8 messages 2006/04/19

[#189505] Zero is true, but it isn't — John Johnson <johnatl@...>

I was wondering today, so I tried this:

12 messages 2006/04/19

[#189516] Re: Gateway (was Re: Symbol#to_proc is just so beautiful) — TRANS <transfire@...>

You guys have no sympathy for goodness sake! You want to dis the

12 messages 2006/04/20
[#189522] Re: Gateway (was Re: Symbol#to_proc is just so beautiful) — "Gregory Brown" <gregory.t.brown@...> 2006/04/20

On 4/19/06, TRANS <transfire@gmail.com> wrote:

[#189592] Converting IP range to array of IP's — Kris <krisleech@...>

I'm looking to convert an IP string (ranges, subnet masks or wild-carded

14 messages 2006/04/20

[#189703] Text Munger (#76) — Ruby Quiz <james@...>

The three rules of Ruby Quiz:

74 messages 2006/04/21
[#189708] Re: [QUIZ] Text Munger (#76) — =?ISO-8859-15?Q?Florian_Gro=DF?= <florgro@...> 2006/04/21

Ruby Quiz wrote:

[#189709] Re: [QUIZ] Text Munger (#76) — James Edward Gray II <james@...> 2006/04/21

On Apr 21, 2006, at 8:10 AM, Florian Growrote:

[#189712] Re: [QUIZ] Text Munger (#76) — "Dirk Meijer" <hawkman.gelooft@...> 2006/04/21

this quiz is probably easier than usually, as, for the first time

[#189714] Re: [QUIZ] Text Munger (#76) — Gregory Seidman <gsslist+ruby@...> 2006/04/21

On Fri, Apr 21, 2006 at 11:16:38PM +0900, Dirk Meijer wrote:

[#189753] Re: [QUIZ] Text Munger (#76) — Jake McArthur <jake.mcarthur@...> 2006/04/21

My first participation in Ruby Quiz, and it has to be easy. That

[#189756] Re: [QUIZ] Text Munger (#76) — "Ryan Leavengood" <leavengood@...> 2006/04/21

Strictly speaking, any Ruby code can be made into one line with

[#189767] Re: Text Munger (#76) — "Bill Kelly" <billk@...> 2006/04/21

From: "Andrew Johnson" <ajohnson@cpan.org>

[#189758] Newbie questoin of the day:A for loop that counts backwards? — MenDAKE <mendake_ddude@...>

How do I get a for loop to count backwards?

11 messages 2006/04/21

[#189900] How do threads and join work? — "Pat Maddox" <pergesu@...>

I'm reading the pickaxe and it says on p137 "When a Ruby program

20 messages 2006/04/23

[#189906] How to make an array from a date range? — "Marston A." <marston@...>

What is the easiest way in Ruby to make an array our of a date range?

13 messages 2006/04/23

[#189993] Ruby programs to learn from. — Jonathan uUttle <j.tuttle@4077.mash.org>

Hello,

13 messages 2006/04/23

[#190036] Squeak-like Ruby env — "Robert Feldt" <robert.feldt@...>

Hi,

23 messages 2006/04/24
[#190054] Re: Squeak-like Ruby env — "Ryan Leavengood" <leavengood@...> 2006/04/24

On 4/24/06, Robert Feldt <robert.feldt@gmail.com> wrote:

[#190080] Re: Squeak-like Ruby env — "Ilmari Heikkinen" <ilmari.heikkinen@...> 2006/04/24

Hi,

[#190144] Rake task dependeny vs. method call — TRANS <transfire@...>

In Rake, what's the signifficant difference between

19 messages 2006/04/25

[#190186] Ruby IDE — SleepJunk13 <SleepJunk13@...>

Is there a standard IDE out there that most people use? I'm looking at

40 messages 2006/04/25
[#190197] Re: Ruby IDE — "Ryan Leavengood" <leavengood@...> 2006/04/25

On 4/25/06, SleepJunk13 <SleepJunk13@gmail.com> wrote:

[#190207] Re: Ruby IDE — "John Gabriele" <jmg3000@...> 2006/04/26

On 4/25/06, Ryan Leavengood <leavengood@gmail.com> wrote:

[#190729] Re: Ruby IDE — Paul Legato <plegato@...> 2006/04/29

SleepJunk13 wrote:

[#190751] Re: Ruby & Emacs — Eric Armstrong <Eric.Armstrong@...> 2006/04/30

Hmm. The only thing that turned me off to Emacs was the

[#190311] Ruby for command line applications — Alan M <nospam@...>

Hi,

32 messages 2006/04/26
[#190312] Re: Ruby for command line applications — Jake McArthur <jake.mcarthur@...> 2006/04/26

Of course, you can expect a bias on this mailing list, but I will

[#190317] Re: Ruby for command line applications — James Edward Gray II <james@...> 2006/04/26

On Apr 26, 2006, at 4:31 PM, Jake McArthur wrote:

[#190368] from block to code (also: how to get the bindings of a block) — "chiaro scuro" <kiaroskuro@...>

Does anyone know how to convert a block to a string representation of

34 messages 2006/04/27
[#190793] Re: from block to code (also: how to get the bindings of a block) — Eric Hodel <drbrain@...7.net> 2006/04/30

On Apr 27, 2006, at 12:35 AM, chiaro scuro wrote:

[#190798] Re: from block to code (also: how to get the bindings of a block) — "chiaro scuro" <kiaroskuro@...> 2006/04/30

On 4/30/06, Eric Hodel <drbrain@segment7.net> wrote:

[#190902] Re: from block to code (also: how to get the bindings of a block) — Eric Hodel <drbrain@...7.net> 2006/05/01

On Apr 30, 2006, at 1:30 PM, chiaro scuro wrote:

[#190909] Re: from block to code (also: how to get the bindings of a block) — "chiaro scuro" <kiaroskuro@...> 2006/05/01

On 5/1/06, Eric Hodel <drbrain@segment7.net> wrote:

[#190910] Re: from block to code (also: how to get the bindings of a block) — "Jacob Fugal" <lukfugl@...> 2006/05/01

On 5/1/06, chiaro scuro <kiaroskuro@gmail.com> wrote:

[#190913] Re: from block to code (also: how to get the bindings of a block) — "chiaro scuro" <kiaroskuro@...> 2006/05/01

On 5/1/06, Jacob Fugal <lukfugl@gmail.com> wrote:

[#190948] Re: from block to code (also: how to get the bindings of a block) — Ross Bamford <rossrt@...> 2006/05/01

On Tue, 2006-05-02 at 05:11 +0900, chiaro scuro wrote:

[#190950] Re: from block to code (also: how to get the bindings of a block) — "chiaro scuro" <kiaroskuro@...> 2006/05/02

Not sure about the ATs. even if I don't mind them that much... if I unfocus

[#190955] Re: from block to code (also: how to get the bindings of a block) — Ross Bamford <rossrt@...> 2006/05/02

On Tue, 2006-05-02 at 09:27 +0900, chiaro scuro wrote:

[#190435] Integration/Antidifferentiation Program — SleepJunkie <SleepJunk13@...>

I'd like to write a program to integrate derivatives to save time on

28 messages 2006/04/27
[#192005] Re: Integration/Antidifferentiation Program — Justin Bangerter <bodanger@...> 2006/05/09

I've been thinking about doing something like this myself, just for

[#190438] OT: Vim->Ruby and back ? — Meino Christian Cramer <Meino.Cramer@...>

Hi,

12 messages 2006/04/27

[#190453] Re: Fishing in Ruby — "Brown, Warren" <warrenbrown@...>

>> But does it scale?

43 messages 2006/04/27
[#190455] Re: Fishing in Ruby — dblack@... 2006/04/27

Hi --

[#190467] Re: Fishing in Ruby — Pistos Christou <jesusrubsyou.5.pistos@...> 2006/04/27

unknown wrote:

[#190469] Re: Fishing in Ruby — Jake McArthur <jake.mcarthur@...> 2006/04/27

>>>>> But does it scale?

[#190536] Re: Fishing in Ruby — Steve Callaway <sjc2000_uk@...> 2006/04/28

For sure, there's no plaice here for them....

[#190537] Re: Fishing in Ruby — "Daniel Baird" <danielbaird@...> 2006/04/28

Surely there has been enough carping on.. we should stop baiting each

[#190551] Re: Fishing in Ruby — "Alan Fritz" <Alan.Fritz@...> 2006/04/28

Yes, I agree. This is all becoming one big flaming fugu...

[#190554] Re: Fishing in Ruby — "stuart yarus" <syarus@...> 2006/04/28

I'm floundering around, hoping there will be a reel end to this

[#190620] Re: Fishing in Ruby — "Giles Bowkett" <gilesb@...> 2006/04/28

I think it may be a while before this thread hits its fin ish.

[#190623] Re: Fishing in Ruby — "John Gabriele" <jmg3000@...> 2006/04/28

Nah. This is just a fluke. The bad puns will abait any minute now.

[#190632] Re: Fishing in Ruby — "Giles Bowkett" <gilesb@...> 2006/04/28

You're right. We've definitely passed the point where anyone else will dive in.

[#190633] Re: Fishing in Ruby — "Bill Guindon" <agorilla@...> 2006/04/28

On 4/28/06, Giles Bowkett <gilesb@gmail.com> wrote:

[#190634] Re: Fishing in Ruby — "Vlad GALU" <vladgalu@...> 2006/04/28

On 4/28/06, Bill Guindon <agorilla@gmail.com> wrote:

[#190638] Re: Fishing in Ruby — "Mike Brum" <ruby@...> 2006/04/28

Welcome, it's good to see more people getting their feet wet with Ruby!

[#190639] Re: Fishing in Ruby — "Alan Fritz" <Alan.Fritz@...> 2006/04/28

Yes we usually don't see this much carp over one thread but Welcome!

[#190640] Re: Fishing in Ruby — Charlie Bowman <charlie@...> 2006/04/28

I just followed a link earlier in this post to the ruby forum. Google

[#190457] Ruby Drops — Jake McArthur <jake.mcarthur@...>

This is the idea I am thinking of proposing for my Google Summer of

27 messages 2006/04/27
[#190529] Re: Ruby Drops — Jake McArthur <jake.mcarthur@...> 2006/04/28

Come on, it can't be that bad of an idea! Is this really going to go

[#190564] time.parse fails for year values > 2037 (time out of range) in ruby 1.8.4 — "Peter Krantz" <peter.krantz@...>

Hi!

12 messages 2006/04/28
[#190680] Re: time.parse fails for year values > 2037 (time out of range) in ruby 1.8.4 — Jim Morris <morris@...> 2006/04/29

If you don't need the time and just the date, then Date seems to have a much wider range

[#190607] how to create Class object with name determined at runtime — Bill Roberts <bill.roberts@...>

I hope someone can help with this - I am a Ruby newbie.

10 messages 2006/04/28

[#190622] how to use curly brackets vs. 'end' in Ruby — carlo <cdicelico@...>

i dislike the use of 'end' (just about the only think i *don't* like in

20 messages 2006/04/28
[#190625] Re: how to use curly brackets vs. 'end' in Ruby — "Austin Ziegler" <halostatue@...> 2006/04/28

On 4/28/06, carlo <cdicelico@earthlink.net> wrote:> i dislike the use of 'end' (just about the only think i *don't* like in> ruby). so, since everybody is saying that this is just a matter of> taste, why won't this work:

[#190689] Multiplexed I/O — "Vlad GALU" <vladgalu@...>

I'd like to use Ruby for a quite high performance networking tool.

20 messages 2006/04/29

[#190712] can a ruby script perform a chdir on win xp? — "Bill Guindon" <agorilla@...>

I want to run a ruby script, and end up in a different directory. Possible?

23 messages 2006/04/29

[#190758] Constant in Ruby. — Charlie <peckcharlie@...>

I'm new to Ruby programming and I saw this article which concerns me:

20 messages 2006/04/30
[#190761] Re: Constant in Ruby. — Mike Fletcher <lemurific+rforum@...> 2006/04/30

Charlie wrote:

[#190765] Re: Constant in Ruby. — Charlie <peckcharlie@...> 2006/04/30

Mike Fletcher wrote:

[#190770] Re: Constant in Ruby. — Daniel Schierbeck <daniel.schierbeck@...> 2006/04/30

Charlie wrote:

[#191539] Re: Constant in Ruby. — Charlie <peckcharlie@...> 2006/05/05

Thank you everyone for your input. I got this simple example to share:

[#190776] Ruby based editor — Phil Jackson <phil@...>

Hi all,

20 messages 2006/04/30
[#190806] Re: Ruby based editor — Randy Kramer <rhkramer@...> 2006/04/30

On Sunday 30 April 2006 11:00 am, Phil Jackson wrote:

[#190810] Re: Ruby based editor — Phil Jackson <phil@...> 2006/04/30

On Mon, May 01, 2006 at 07:38:40AM +0900, Randy Kramer wrote:

[#190817] Re: Ruby based editor — "John Gabriele" <jmg3000@...> 2006/05/01

On 4/30/06, Phil Jackson <phil@shellarchive.co.uk> wrote:

[#190855] Re: Ruby based editor — "Simon Strandgaard" <neoneye@...> 2006/05/01

On 5/1/06, John Gabriele <jmg3000@gmail.com> wrote:

comp.lang.ruby FAQ

From: hal9000@...
Date: 2006-04-15 17:30:08 UTC
List: ruby-talk #188970
RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby!  (Revised 2005-4-14)

This FAQ contains information for those who want to:

  1) learn more about Ruby, and want to 
  2) post to comp.lang.ruby or to the ruby-lang mail list, or want to
  3) provide anonymous feedback to help us improve Ruby.

This FAQ will be posted monthly. If you are reading this material
via the mailing list or the newsgroup, note that you can find it on 
the web at: http://rubyhacker.com/clrFAQ.html

A German version of this FAQ is maintained by Josef "Jupp" Schugt. It can be 
found at: http://oss.erdfunkstelle.de/ruby/

Note that this is *not* the Ruby language FAQ! This can be found at:
http://www.rubygarden.org/iowa/faqtotum/

TABLE OF CONTENTS

    1 About Ruby
    1.1 What is Ruby?
    1.2 Where can I find out more about Ruby?
    2 About comp.lang.ruby.
    2.1 Tell me about comp.lang.ruby.
    2.2 Tell me the posting guidelines for comp.lang.ruby.
    2.3 Tell me about the prolific Matz poster.
    2.4 How do the mailing list and newsgroup interrelate?
    2.5 What are these 6-digit message numbers?
    2.6 What is "POLS"?
    3 Anything else?

1 About Ruby

1.1 What is Ruby?

    Ruby is a very high level, fully OO programming language. Indeed,
    Ruby is one of the relatively few pure OO languages. Yet despite
    its conceptual simplicity, Ruby is still a powerful and practical
    "industrial strength" development language.  

    Ruby selectively integrates many good ideas taken from Perl,
    Python, Smalltalk, Eiffel, ADA, CLU, and LISP. Ruby combines 
    these ideas in a natural, well-coordinated system that embodies 
    the principles of least effort and least surprise to a 
    substantially greater extent than most comparable languages -- 
    i.e., you get more bang for your buck, and what you write is more
    likely to give you what you expected to get.  Ruby is thus a 
    relatively easy to learn, easy to read, and easy to maintain 
    language; yet it is very powerful and sophisticated.  

    In addition to common OO features, Ruby also has threads,
    singleton methods, mixins, fully integrated closures and
    iterators, plus proper meta-classes.   Ruby has a true
    mark-and-sweep garbage collector, which makes code more reliable
    and simplifies writing extensions.  In summary, Ruby provides a
    very powerful and very easy to deploy "standing on the shoulders
    of giants" OO scaffolding/framework so that you can more quickly
    and easily build what you want to build, to do what you want to
    do.  
    
    You will find many former (and current) Perl, Python, Java, and
    C++ users on comp.lang.ruby that can help you get up to speed in
    Ruby.

    Finally, Ruby is an "open source" development programming
    language.  

1.2 Where can I find out more about Ruby?

    If you're into IRC, check out #ruby-lang on FreeNode. There are
    also other channels -- see http://rubygarden.org/ruby?RubyOnIRC.

    There are also many web and print resources listed below:


    Ruby's home web site:
    
        http://www.ruby-lang.org/en/  (Ruby home page)

            Follow the links to documentation, downloads, the Ruby
            Application Archive, the Ruby mail list archives, and 
	    lots of other interesting information.  

    RubyForge (A major repository with hundreds of Ruby projects)

        http://rubyforge.org

    Ruby-Doc.org (A large source of Ruby documentation)
    
    RubyCentral.COM (Ruby's other major on-line docs and links site):
    
        http://www.rubycentral.com/  

    RubyCentral.ORG (Home of RubyCentral, Inc.)
    
        http://www.rubycentral.org/  

    RubyGarden (An important wiki site, very content-rich)

        http://rubygarden.org/

    Ruby FAQ: 
    
        http://www.rubygarden.org/iowa/faqtotum/

    Ruby User's Guide (introductory tutorial):

        http://www.rubyist.net/~slagell/ruby/index.html

    _Why's Poignant Guide to Ruby (A Ruby tutorial on acid, featuring 
        cartoon foxes)

        http://poignantguide.net/ruby/

    Note: The list of books below is now frozen. I don't
    want to maintain this forever. We all hope the number
    of Ruby books increases, of course.

    English language Ruby books (recent publication order):

        Programming Ruby: A Pragmatic Programmers Guide
        2nd edition. See below.

        Making Use of Ruby
	by Suresh Mahadevan
	Wiley; ISBN 0-471-21972-X (2002)

        Teach Yourself Ruby in 21 Days
        by Mark Slagell
        Sams; ISBN: 0672322528 (March, 2002)

        Ruby Developer's Guide
        by Michael Neumann, Robert Feldt, Lyle Johnson
        Publishers Group West; ISBN: 1928994644 (February, 2002)

        The Ruby Way
        by Hal Fulton
        Sams; ISBN: 0672320835 (December, 2001)

        Ruby In A Nutshell
        by Yukihiro Matsumoto
        O'Reilly & Associates; ISBN: 0596002149 (November, 2001)

        Programming Ruby: A Pragmatic Programmers Guide
        by Dave Thomas and Andrew Hunt
        Addison Wesley; ISBN: 0201710897 (2000)
        (As of Sept 2004, there is a second edition also. It is
         not open-sourced at this time.)
        Online version: http://www.rubycentral.com/book/
	(Note that this is a *legal* first edition.)
        Download: 
	  http://www.pragmaticprogrammer.com/downloads/book.html
        Errata: 
	  http://www.pragmaticprogrammer.com/ruby/errata/errata.html

    German language Ruby books (author alpha order):

        Das Einsteigerseminar Ruby. Der methodische und 
        ausf端hrliche Einstieg.
        by Dirk Engel and Klaus Spreckelsen 
        ISBN: 3826672429

        Programmieren mit Ruby
        by Armin Roehrl, Stefan Schmiedl, Clemens Wyss, et al.
        dpunkt.de; ISBN 3898641511 (February, 2002)
	Online: http://www.approximity.com/rubybuch2/node1_main.html

        Programmieren mit Ruby. Handbuch f端r den pragmatischen 
        Programmierer.
	Dave Thomas & Andy Hunt
        Addison-Wesley, 2002; ISBN: 382731965X.
        A German translation of the "Pickaxe" (Programming Ruby).

	Pickaxe translation by Juergen Katins: 
	  http://home.vr-web.de/juergen.katins/ruby/buch/

    Search past postings to comp.lang.ruby or the ruby-lang mail list
    (which have been mirrored to each other since mid-2000):

        http://groups.google.com/groups?q=comp.lang.ruby
        http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml

    Local Ruby users and groups in your area:

        http://www.pragprog.com/ruby?RubyUserGroups

2 About comp.lang.ruby

2.1 Tell me about comp.lang.ruby

    comp.lang.ruby was officially approved in early May, 2000. 
    (Conrad Schneiker, the former maintainer of this FAQ, was 
    responsible for the "net paperwork" of creating this group.)
    Here is the official charter:

        CHARTER: comp.lang.ruby

        The comp.lang.ruby newsgroup is devoted to discussions of the
        Ruby programming language and related issues.

        Examples of relevant postings include, but are not limited
        to, the following subjects:

        - Bug reports
        - Announcements of software written with Ruby
        - Examples of Ruby code
        - Suggestions for Ruby developers
        - Requests for help from new Ruby programmers

        The newsgroup is not moderated.  Binaries are prohibited
        (except the small PGP type). Advertising is prohibited (except
        for announcements of new Ruby-related products).

        END CHARTER.

2.2 Tell me the posting guidelines for comp.lang.ruby.

    (You should also follow these guidelines for the ruby-list mail
    list, since it is mirrored to comp.lang.ruby.) 

    (1) ALWAYS be friendly, considerate, tactful, and tasteful.  We
        want to keep this forum hospitable to the growing ranks of
        newbies, very young people, and their teachers, as well as
        cater to fire breathing wizards.  

    (2) Keep your content relevant and easy to follow. Try to keep
        your content brief and to the point, but also try to include
        all relevant information.

        (a) The general format guidelines (aka USENET Netiquette) are
            matters of common sense and common courtesy that make life
            easier for 3rd parties to follow along (in real time or 
            when perusing archives):

            - PLEASE NOTE! Include quoted text from previous posts
              *BEFORE* your responses. And *selectively* quote as much
              as is relevant. 
            - Use *plain* text; don't use HTML, RTF, or Word. Most
              mail or newsreader programs have an option for this; if
              yours doesn't, get a (freeware) program or use a
              web-based service that does.
            - Include examples from files as *in-line* text; don't
              use attachments.

        (b) If reporting a problem, give *all* the relevant
            information the first time; this isn't the psychic friends
            newsgroup.    When appropriate, include:

            - The version of Ruby. ("ruby -v")
            - The compiler name and version used to build Ruby.
            - The OS type and level. ("uname -a")
            - The actual error messages.
            - An example (preferably simple) that produces the
              problem.

    (3) Make the subject line maximally informative, so that people
        who should be interested will read your post and so that people
        who wouldn't be interested can easily avoid it.  

        *Usefully* describe the contents of your post:

            This is OK: 
            
                "How can I do x with y on z?"
                "Problem: did x, expected y, got z."
                "BUG: doing x with module y crashed z."

            This is *NOT* OK:

                "Please help!!!"
                "Newbie question"
                "Need Ruby guru to tell me what's wrong"

	    These prefixes have become common for subject lines:

                ANN:  (for announcements)
	        BUG:  (for bug reports)
	        OT:   (for off-topic, if you must post off-topic)
    
    (4) Finally, be considerate: don't be too lazy. If you are
        seeking information, first make a reasonable effort to look it
        up. As appropriate, check the Ruby home page, check the Ruby
	FAQ and other documentation, use google.com to search past
        comp.lang.ruby postings, and so on.  

2.3 Tell me about the prolific Matz poster.

    Matz (aka Yukihiro Matsumoto) is the wizard who created Ruby for
    us, so be nice to him. He is very busy, so be patient when asking
    questions. See the Ruby home page to find out more about him and
    his work. I (Conrad Schneiker) founded comp.lang.ruby at his 
    suggestion. Contrary to lots of skepticism, it was approved on 
    the first attempt, with 200 yes votes.

2.4 How do the mailing list and newsgroup interrelate?

    The mailing list is older. When the newsgroup was created, they
    diverged. In mid-2001, Dave Thomas created a two-way gateway 
    that would "mirror" the newsgroup to the list and vice versa.
    (This was accomplished in 200 lines of Ruby code.) It is not 
    perfect; because of variability in the news feed, sometimes 
    messages are dropped or duplicated.

    The online archive of the mailing list therefore includes most
    of the traffic on the newsgroup, excluding the posts that were
    made before the creation of the gateway.

    Note: Spam or other inappropriate messages are NOT the 
    responsibility of Dave Thomas, who maintains the gateway. He
    does everything in his power to deal with this issue. Do NOT
    report spam to his ISP merely because the messages come from
    his server.

2.5 What are these 6-digit message numbers?

    Historically, every item on the mailing list had a subject
    starting with a string like: [ruby-talk:99999]

    The message numbers were convenient since they were strictly
    serial and formed a good way to refer to a past message. But
    they interfered with threading; Matz removed them after the
    matter was put to a vote in early 2002.

    The news header still refers to this number, should anyone
    wish to retrieve it. On the mailing list this number can
    now be found in the X-Mail-Count: header.

    You can point to a specific message by appending it onto the
    ruby-talk.com URL; i.e. http://ruby-talk.com/12345 will refer
    to message 12345. (NOTE: The above was true, but is not
    currently working.)

2.6 What is "POLS"?

    POLS is an abbreviation for "Principle of Least Surprise" (also 
    called the Law of Least Astonishment).

    This term certainly did not originate in the Ruby community, but 
    it has been frequently used there -- even overused or abused at 
    times. After all, *every* language or software system seeks at 
    some level to adhere to this principle. Is any system designed 
    to be unintuitive?

    It is inappropriate to invoke POLS as a "magic word" when one's 
    individual expectations are not met. Ruby continues to evolve, 
    and Matz often makes changes based on people wishes, needs, or 
    suggestions. But he cannot be bribed or threatened. Make 
    suggestions if you wish, but think twice before mentioning POLS.


3. Anything else?

    If you are new to Ruby (or haven't previously taken the Ruby User
    Survey), please take a moment to anonymously tell us about your
    programming background and about your Ruby-related interests. The
    results will be reported back to the Ruby community from time to
    time. This helps us do a better job of helping each other, and to
    more effectively expand the Ruby community for our mutual benefit.
    The survey is at:

        http://dev.rubycentral.com/survey.html

    This FAQ was originally produced by Conrad Schneiker.
    It is now maintained by Hal Fulton (hal9000@hypermetrics.com).
    I'm interested in corrections and suggestions, but remember that
    the purpose of this FAQ is to be a brief and simple introduction
    for new comp.lang.ruby readers.  
    
    In closing, one of the reasons that Ruby was designed to be
    relatively simple, uniform, yet very powerful was to make serious
    programming (among other kinds) fun.  We hope you will help us
    keep comp.lang.ruby fun as well. Enjoy.  


In This Thread

Prev Next