[ANN] Programming Ruby available for pre-order

That goes without saying. "Trust" is a big part of the equation. Dave and
Andy allowing digital copies to be available is a fantastic thing. We should
all thank them, pony up our money and do are best not to abuse their
generosity.

···

-----Original Message-----
From: Peter Hickman [mailto:peter@semantico.com]
Sent: Thursday, September 16, 2004 10:50 AM
To: ruby-talk@ruby-lang.org
Subject: Re: [ANN] Programming Ruby available for pre-order

Dale Martenson wrote:

>Burn the PDF on a CD and keep this as your digital copy.
When you share the
>CD, only one person has exclusive access to it.
>
>
How long will it takes them to drag it from the CD onto their
desktop?
Very few people will have the time or inclination to photocopy a book
(outside of university students that is) so the loan of a book very
rarely results in the creation of a fresh copy. But a PDF? It
will take
no effort at all to copy and people will probably do it just
to get your
CD out of their drive and get it back to you before you start to nag
them for it.

Well,
I also just order both, the hard and soft (PDF) version, and I would
like to have my copy signed to.

So, Dave, what are you going to do???

Thanks

Victor

Dale Martenson wrote:

That goes without saying. "Trust" is a big part of the equation. Dave and
Andy allowing digital copies to be available is a fantastic thing. We should
all thank them, pony up our money and do are best not to abuse their
generosity.

That's very well spoken.

Happy rubying,

Stephan

General question - will it be OK if books shipped by Andy are signed by him, and books shipped by me are signed by me?

Cheers

Dave

···

On Sep 16, 2004, at 14:08, Victor Reyes wrote:

So, Dave, what are you going to do???

OK - here's the scoop.

We'll sign all PRE-ORDER Ruby books we ship: Andy will sign the ones he ships, I'll do the ones I ship.

Also, as of today, we're offering a new priority shipping option for our US-based customers. This will get the books to you in 2-3 days (so says the USPS) rather than a week for media mail. As a thank you to the folks in the US who have already ordered, we'll give you a free shipping upgrade from media mail to priority. For everyone thinking of ordering, the shopping cart is available at http://pragmaticprogrammer.com/shopsite_sc/store/html/index.html

Cheers

Dave

···

On Sep 16, 2004, at 14:08, Victor Reyes wrote:

So, Dave, what are you going to do???

I guess that 50% is better than 0%.

···

On Fri, 17 Sep 2004 04:13:05 +0900, Dave Thomas <dave@pragprog.com> wrote:

On Sep 16, 2004, at 14:08, Victor Reyes wrote:
> So, Dave, what are you going to do???

General question - will it be OK if books shipped by Andy are signed by
him, and books shipped by me are signed by me?

Cheers

Dave

i determined that the computer department at the college where i work
needs three of these so i've gone ahead and done what needed to be done
and i'll be picking up my fourth at the ruby conference! i'm not screwing
around anymore, everyone in this department is learning ruby!

thanks again dave and andy,
marcel

···

On Fri, Sep 17, 2004 at 11:41:25AM +0900, Dave Thomas wrote:

On Sep 16, 2004, at 14:08, Victor Reyes wrote:

>So, Dave, what are you going to do???

OK - here's the scoop.

We'll sign all PRE-ORDER Ruby books we ship: Andy will sign the ones he
ships, I'll do the ones I ship.

Also, as of today, we're offering a new priority shipping option for
our US-based customers. This will get the books to you in 2-3 days (so
says the USPS) rather than a week for media mail. As a thank you to the
folks in the US who have already ordered, we'll give you a free
shipping upgrade from media mail to priority. For everyone thinking of
ordering, the shopping cart is available at
http://pragmaticprogrammer.com/shopsite_sc/store/html/index.html

--
Marcel Molina Jr. <marcel@vernix.org>

> So, Dave, what are you going to do???

OK - here's the scoop.

We'll sign all PRE-ORDER Ruby books we ship: Andy will sign the ones he
ships, I'll do the ones I ship.

Excellent stuff, my thanks to you both for doing this.

Good Luck with the sales!

Rob

···

--
Personal responsibility is battling extinction.

Just placed my order. Thanks for the book and the wonderful support.

James Edward Gray II

···

On Sep 16, 2004, at 9:41 PM, Dave Thomas wrote:

We'll sign all PRE-ORDER Ruby books we ship: Andy will sign the ones he ships, I'll do the ones I ship.

There are two methods of creating Hash:
a = {'a'=>1}
a = Hash['a'=>1]

but I can only redefine the Hash::[] method, not {}

class Hash
   class << self
       def [] *args
          puts "foo"
       end
   end
end

Is it possible to change {}'s behavior?

Jan Molic

Hi,

···

In message "MiG <mig@1984.cz>" on Fri, 17 Sep 2004 22:40:55 +0900, nil writes:

There are two methods of creating Hash:
but I can only redefine the Hash:: method, not {}

Is it possible to change {}'s behavior?

No. See http://www.ruby-talk.com/111499

Not planned, just because changing semantics of literals are too
dangerous, as dangerous as macros for my eyes.
matz.

p.s.
I'm thinking of preserving Hash order by not re-implement it by using
Tree or something, but by saving key order information along with hash
tables.
Hal Fulton <hal9000 hypermetrics.com>

I have the same problem - I want to create ordered Hash.
Overriding literals should be dangerous, but it CAN be overriden now (not
wholly).

The only difference is that {} don't call initialize of Hash. I think it
is more dangerous when there are two Hash behavior :frowning:
I don't want to override {} to produce MyFoo, but want {} to behave the
same way as Hash::

Problem 2: I than tried to override Hash:: but don't know what to do
with it's argument. arg.inspect looks like Hash, but if I've tried
arg.each, there is no each method.

Jan Molic