Updates to Programming Ruby: Request for Help

Folks:

I’ve been wondering how much it’s going to take to get Programming Ruby
up to date wrt Ruby 1.8. I’ll be working the changelog and news files,
but at the same time it’s easy to miss stuff. So, I’m asking for help.

I’ve created a set of pages starting at

http://www.rubygarden.org/ruby?ProgrammingRubyTwo

where we can start listing out the changes that need making.

Here’s my cry for help. Could folks get in the habit of noting changes
between Ruby 1.6.1 (on which the book is based) and Ruby 1.8 in these
pages? I’m looking just for the factual stuff: methods, classes, modules
that have been added or removed, syntax that’s changed, all that kind of
stuff. There’s a separate page (ChangesToProgrammingRuby) where you can
vent on the style, explanations, and other stuff.

Does this mean there’s a second edition coming? No - not necessarily.
But before any decision gets made, we need to have a feel for how big
the job is.

Thanks in advance for your help

Cheers

Dave

Dave –

I’ve started modifying the BuiltInClassesAndMethods (my “pet”
portion of this).

I’ve touched Array and Dir so far. Let me know if you think
this is acceptable. I’m just pasting from features-ruby18.txt
(rev 1.28) inside “pre” tags.

Also: I’m trying to locate that file that lists all the changes.
You know, the file that has the colons on the lefthand side.

What is that file called and where is it??

Hal

···

----- Original Message -----
From: “Dave Thomas” dave@pragprog.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Friday, January 24, 2003 5:13 PM
Subject: Updates to Programming Ruby: Request for Help

I’ve been wondering how much it’s going to take to get Programming Ruby
up to date wrt Ruby 1.8. I’ll be working the changelog and news files,
but at the same time it’s easy to miss stuff. So, I’m asking for help.

I’ve created a set of pages starting at

http://www.rubygarden.org/ruby?ProgrammingRubyTwo

where we can start listing out the changes that need making.

The shim module (1.8 functionality running on 1.6) may be the single
greatest source of information. Throw in the changelog for
syntax/built-in stuff for completeness, and the job sounds managable.

I’m no expert in this, but I’ll help where I can. Just thought I’d
mention the shim module in case you hadn’t thought of it.

Now for a quick opinion. When 1.8 is release, hopefully all of the
classes it comes with will be documented in the source code and
extracted by RDoc. This means everyone should be able to view “class
reference” kind of documentation. On the one hand, this would help
you update the Pickaxe. On the other, that may become less necessary.
The core value of the book is teaching people Ruby, and thankfully
that doesn’t require much change.

Gavin

···

On Saturday, January 25, 2003, 10:13:38 AM, Dave wrote:

Folks:

I’ve been wondering how much it’s going to take to get Programming Ruby
up to date wrt Ruby 1.8. I’ll be working the changelog and news files,
but at the same time it’s easy to miss stuff. So, I’m asking for help.

Dave,
How about a updated version of the Pragmatic Programmer too?
But this time less the C++ and Java and more Ruby, esp. all the answers
for the exercises.

I believe PragProg was written before THE enlightenment (i.e. before you
and Andy discovered Ruby)?

Also tell the world why you’ve chosen Ruby as your primary development
platform and how Ruby helps to being a good pragmatic programmer.

OBTW, to appease your publisher, I’ll buy both the 2nd editions of
PragProg AND PickAxe. :wink:

Dave Thomas wrote:

···

Folks:

I’ve been wondering how much it’s going to take to get Programming Ruby
up to date wrt Ruby 1.8. I’ll be working the changelog and news files,
but at the same time it’s easy to miss stuff. So, I’m asking for help.

I’ve created a set of pages starting at

http://www.rubygarden.org/ruby?ProgrammingRubyTwo

where we can start listing out the changes that need making.

Here’s my cry for help. Could folks get in the habit of noting changes
between Ruby 1.6.1 (on which the book is based) and Ruby 1.8 in these
pages? I’m looking just for the factual stuff: methods, classes, modules
that have been added or removed, syntax that’s changed, all that kind of
stuff. There’s a separate page (ChangesToProgrammingRuby) where you can
vent on the style, explanations, and other stuff.

Does this mean there’s a second edition coming? No - not necessarily.
But before any decision gets made, we need to have a feel for how big
the job is.

Thanks in advance for your help

Cheers

Dave


Wai-Sun “Squidster” Chia
Techinical Consultant
Consulting & Integration
“Just Another Ruby Miner”

Dave, did you see patches I’ve sent to you which update ProgrammingRuby
source code to be compiled with Ruby 1.8 and upcoming teTeX 2.0?

···

On Sat, Jan 25, 2003 at 08:13:38AM +0900, Dave Thomas wrote:

Folks:

I’ve been wondering how much it’s going to take to get Programming Ruby
up to date wrt Ruby 1.8. I’ll be working the changelog and news files,
but at the same time it’s easy to miss stuff. So, I’m asking for help.

/ Alexander Bokovoy


Failure to adjust for daylight savings time.

I’ve touched Array and Dir so far. Let me know if you think
this is acceptable. I’m just pasting from features-ruby18.txt
(rev 1.28) inside “pre” tags.

Hal:

Many thanks (although I don’t see any changes to Dir – did you save?)

Also: I’m trying to locate that file that lists all the changes.
You know, the file that has the colons on the lefthand side.

Do you mean doc/NEWS - I don’t think it’s complete.

Cheers

Dave

I’m attaching updated patch in and send it to ruby-talk@ in case if
others want to work with updated source too.

···

On Mon, Jan 27, 2003 at 07:30:48PM +0900, Alexander Bokovoy wrote:

On Sat, Jan 25, 2003 at 08:13:38AM +0900, Dave Thomas wrote:

Folks:

I’ve been wondering how much it’s going to take to get Programming Ruby
up to date wrt Ruby 1.8. I’ll be working the changelog and news files,
but at the same time it’s easy to miss stuff. So, I’m asking for help.
Dave, did you see patches I’ve sent to you which update ProgrammingRuby
source code to be compiled with Ruby 1.8 and upcoming teTeX 2.0?

/ Alexander Bokovoy


Life’s the same, except for the shoes.

  • The Cars

Attached this time.

ProgrammingRuby-1.7.3.patch.gz (20.2 KB)

···

On Mon, Jan 27, 2003 at 07:45:45PM +0900, Alexander Bokovoy wrote:

On Mon, Jan 27, 2003 at 07:30:48PM +0900, Alexander Bokovoy wrote:

On Sat, Jan 25, 2003 at 08:13:38AM +0900, Dave Thomas wrote:

Folks:

I’ve been wondering how much it’s going to take to get Programming Ruby
up to date wrt Ruby 1.8. I’ll be working the changelog and news files,
but at the same time it’s easy to miss stuff. So, I’m asking for help.
Dave, did you see patches I’ve sent to you which update ProgrammingRuby
source code to be compiled with Ruby 1.8 and upcoming teTeX 2.0?
I’m attaching updated patch in and send it to ruby-talk@ in case if
others want to work with updated source too.


/ Alexander Bokovoy

But Officer, I stopped for the last one, and it was green!

Alexander Bokovoy wrote:

I’m attaching updated patch in and send it to ruby-talk@ in case if
others want to work with updated source too.

Thanks - I’ll have a look at it.

Cheers

Dave