[ANN] Ruby.shop

Hello, all.

In the interest of promoting Ruby, I’ve created
a little CafePress shop (aka CafeShops).

There are such items as T-shirts and bumper
stickers. All artwork, such as it is, was done
by me.

Note that 50% of the profits will go toward the
next International Ruby Conference in November
of 2003. (This is in Austin, coincidentally
where I live. I didn’t contribute to that decision,
but I support it. :))

Direct any questions/complaints/suggestions to
me.

The URL is: http://cafeshops.com/rubyshop

I’m not sure how well they serve customers outside
the USA. If you find out anything by experience or
otherwise, please let me know.

By the way: The “Ruby Core” poster is known to
be inaccurate. Feel free to send me corrections.
I’ll get around to fixing it soon.

Thanks,
Hal Fulton

By the way: The “Ruby Core” poster is known to
be inaccurate. Feel free to send me corrections.
I’ll get around to fixing it soon.

···

----- Original Message -----
From: “Hal E. Fulton” hal9000@hypermetrics.com


Well, I find the red arrows (especially the “Class --> Module --> Object -->
Class” loop) a little confusing. What is a red arrow from a' tob’
supposed to mean?

a.superclass == b
b.superclass == a
a.class == b
a.kind_of?(b)

These are all very different things! I don’t think we should confuse the
class',superclass’, and `kind_of?’ relationships. (This is what my OSCON
talk is about, btw. :slight_smile:

Chris

well done hal!

i just bought a shirt.

-a

···

On Thu, 24 Apr 2003, Hal E. Fulton wrote:

In the interest of promoting Ruby, I’ve created
a little CafePress shop (aka CafeShops).

Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ara.t.howard@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================

“Hal E. Fulton” hal9000@hypermetrics.com wrote in message
news:03d001c309ce$3b669f40$0300a8c0@austin.rr.com

Hello, all.

In the interest of promoting Ruby, I’ve created
a little CafePress shop (aka CafeShops).

There are such items as T-shirts and bumper
stickers. All artwork, such as it is, was done
by me.

Note that 50% of the profits will go toward the
next International Ruby Conference in November
of 2003. (This is in Austin, coincidentally
where I live. I didn’t contribute to that decision,
but I support it. :))

Direct any questions/complaints/suggestions to
me.

The URL is: http://cafeshops.com/rubyshop

I’m not sure how well they serve customers outside
the USA. If you find out anything by experience or
otherwise, please let me know.

By the way: The “Ruby Core” poster is known to
be inaccurate. Feel free to send me corrections.
I’ll get around to fixing it soon.

Thanks,
Hal Fulton

Rats! Just baught a Debian hat!!! : P

The URL is: http://cafeshops.com/rubyshop

When I try from konqueror to view the large pictures
it says error ?

I’m not sure how well they serve customers outside
the USA. If you find out anything by experience or
otherwise, please let me know.

I live outside USA… And I have fallen in love with
the “Ruby Core” poster. … Does this shop work for
us outsiders ??

By the way: The “Ruby Core” poster is known to
be inaccurate. Feel free to send me corrections.
I’ll get around to fixing it soon.

Does the poster show the 1.6 core or the 1.8 core ?
The last one would be nice to have :slight_smile:

···

On Thu, 24 Apr 2003 05:21:34 +0900, Hal E. Fulton wrote:


Simon Strandgaard

Not well… most of the time the webserver just gives ‘connection refused’.
Testing with telnet to port 80, occasionally I get

Server: Microsoft-IIS/5.0

which explains the problem :slight_smile:

Regards,

Brian.

···

On Thu, Apr 24, 2003 at 04:21:34AM +0900, Hal E. Fulton wrote:

I’m not sure how well they serve customers outside
the USA.

Very cool (alhtough I had to try a couple of times before it loaded). Can any
images be added with ease? I imagine you could get quite a number of
submissions of images from which you could choose the ones you like.

I have to take issue with the bumper sticker though:

honk if you.love?(Ruby)

or equivalently:
self.honk if you.love?(Ruby)

From the perspective of the sticker being on your car, Hal, for example, it
makes sense that ‘self’ is you, and ‘you’ is me. So what the sticker says is:

“you (‘self’) honk if I (‘you’) love Ruby”

Shouldn’t this be:

you.honk if you.love?(Ruby)

:stuck_out_tongue:

On the other hand, Hal, if you meant the first, honk away!

···

On Apr 24, Hal E. Fulton wrote:

Hello, all.

Direct any questions/complaints/suggestions to
me.

The URL is: http://cafeshops.com/rubyshop


---------------------------------------------- | --------------------------
Brett Williams |

Agilent Technologies brett_williams@agilent.com

damn I’ll try it soon.
I need the ruby-core poster .

My mind is now travelling in the realms of dreamed poster, kinda like
“all the classes in RAA interconnected” , “chicks, beer and ruby”,
“life is hard, use ruby” , and lots of dwarvish miners.

thank you Hal, even if my brain is gone :slight_smile:

···

il Thu, 24 Apr 2003 04:21:34 +0900, “Hal E. Fulton” hal9000@hypermetrics.com ha scritto::

I’m not sure how well they serve customers outside
the USA. If you find out anything by experience or
otherwise, please let me know.

In the interest of promoting Ruby, I’ve created
a little CafePress shop (aka CafeShops).

There are such items as T-shirts and bumper
stickers. All artwork, such as it is, was done
by me.

Cute.

Direct any questions/complaints/suggestions to
me.

The URL is: http://cafeshops.com/rubyshop

Ugh. Why "blurred ruby"s? My eyes can do a good
job of blurring on their own, they don’t need any
help with that!

By the way: The “Ruby Core” poster is known to
be inaccurate. Feel free to send me corrections.
I’ll get around to fixing it soon.

For the poster, I think it’s just confusing to use
arrows with mix-ins like Enumerable. It implies
there is something going “from” one “to” the other.
Enumerable does not “send” anything to Array, and
Array does not “send anything” to Enumerable (IMO).

I’m not sure how to do this without a goofy-looking
result, but how about having something more like a
“hand”, so it looks like Array is “reaching out and
grabbing stuff” from Comparable, etc. Like have a
little notepad of “Comparables”, and Array is tearing
off a sheet from that notepad.

It’s ideas like this which show why I’m a programmer
instead of a graphics designer…

···

At 4:21 AM +0900 4/24/03, Hal E. Fulton wrote:


Garance Alistair Drosehn = gad@gilead.netel.rpi.edu
Senior Systems Programmer or gad@freebsd.org
Rensselaer Polytechnic Institute or drosih@rpi.edu

From: “Hal E. Fulton” hal9000@hypermetrics.com

By the way: The “Ruby Core” poster is known to
be inaccurate. Feel free to send me corrections.
I’ll get around to fixing it soon.

Well, I find the red arrows (especially the “Class → Module →
Object →
Class” loop) a little confusing. What is a red arrow from a' to b’
supposed to mean?

a.superclass == b
b.superclass == a
a.class == b
a.kind_of?(b)

These are all very different things! I don’t think we should confuse the
class', superclass’, and `kind_of?’ relationships. (This is what my
OSCON
talk is about, btw. :slight_smile:

That is a good point, and I can’t reply
intelligently on an empty stomach.

I do think that ‘a.class == b’ and
‘a.is_a? b’ mean the same thing, though.
(Though you don’t mention is_a? above.)
And b.superclass==a does imply that
b.kind_of? a (though the converse is not
true).

But in this case, the arrows meant
“inherits from” or “descendant is…”
How one might formalize that is something
I will contemplate after eating.

The blue arrows, of course, mean “mixes in.”
Arguably the arrowhead should go the other
way.

···

----- Original Message -----
From: “Chris Pine” nemo@hellotree.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Wednesday, April 23, 2003 2:38 PM
Subject: Re: [ANN] Ruby.shop

----- Original Message -----

Be persistent and you’ll get through.

The shirts are a little expensive once you’ve added in postage, but I
bought one, anyway.

Ian

···

On Thu 24 Apr 2003 at 06:13:14 +0900, Brian Candler wrote:

On Thu, Apr 24, 2003 at 04:21:34AM +0900, Hal E. Fulton wrote:

I’m not sure how well they serve customers outside
the USA.

Not well… most of the time the webserver just gives ‘connection refused’.
Testing with telnet to port 80, occasionally I get

Server: Microsoft-IIS/5.0

which explains the problem :slight_smile:


Ian Macdonald | taxidermist, n.: A man who mounts animals.
System Administrator |
ian@caliban.org |
http://www.caliban.org |
>

The URL is: http://cafeshops.com/rubyshop

When I try from konqueror to view the large pictures
it says error ?

Hmm, works for me (Konqueror 3.0.3-14).

I’m not sure how well they serve customers outside
the USA. If you find out anything by experience or
otherwise, please let me know.

I live outside USA… And I have fallen in love with
the “Ruby Core” poster. … Does this shop work for
us outsiders ??

I can’t find this issue specifically addressed… but
they do have an “International” shipping option. I’d
assume that if you can pay in one of their accepted
ways, they’ll find a way to ship to you.

Does the poster show the 1.6 core or the 1.8 core ?
The last one would be nice to have :slight_smile:

It aspires to be 1.8… right now it is mostly 1.6. :slight_smile:
That’s why I say it’s inaccurate.

I’m lazy, I want help in reviewing it.

Hal

···

----- Original Message -----
From: “Simon Strandgaard” 0bz63fz3m1qt3001@sneakemail.com
Newsgroups: comp.lang.ruby
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Wednesday, April 23, 2003 4:03 PM
Subject: Re: [ANN] Ruby.shop

On Thu, 24 Apr 2003 05:21:34 +0900, Hal E. Fulton wrote:

I’m not sure how well they serve customers outside
the USA.

Not well… most of the time the webserver just gives ‘connection
refused’.
Testing with telnet to port 80, occasionally I get

Server: Microsoft-IIS/5.0

which explains the problem :slight_smile:

I would think that a site of that size
would run some form of UNIX… as do eight of
the top ten sites that sell Windows software. :slight_smile:

Hal

···

----- Original Message -----
From: “Brian Candler” B.Candler@pobox.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Wednesday, April 23, 2003 4:13 PM
Subject: Re: [ANN] Ruby.shop

On Thu, Apr 24, 2003 at 04:21:34AM +0900, Hal E. Fulton wrote:

Very cool (alhtough I had to try a couple of times before it loaded). Can
any
images be added with ease? I imagine you could get quite a number of
submissions of images from which you could choose the ones you like.

If people want to donate, that’s fine. I don’t want
to get into the business of sharing revenues that
may only be two digits anyway.

And as for the images I made, I’ll likely release
them at some point for people to use more or less
as they like.

I have to take issue with the bumper sticker though:

[snip]

:slight_smile: I flip-flopped back and forth on this one.
My first iteration was: honk if Ruby.love?
To which someone told me: No, surely that’s
not right. (I was thinking of an old .sig that
said HONK IF FORTH LOVE THEN).

This is iteration 3, and I’ll probably leave it
that way, on the theory that cute/readable
sometimes outweighs correctness. And at the end
of the day, you know what? It’s Just a Bumper
Sticker. :slight_smile:

Cheers,
Hal

···

----- Original Message -----
From: “Brett H. Williams” brett_williams@agilent.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Wednesday, April 23, 2003 5:00 PM
Subject: Re: [ANN] Ruby.shop

I’d like the following to appear somewhere:

/*
 * Ruby's Class Hierarchy Chart
···

On Thu, Apr 24, 2003 at 04:57:48AM +0900, Hal E. Fulton wrote:

But in this case, the arrows meant
“inherits from” or “descendant is…”
How one might formalize that is something
I will contemplate after eating.

The blue arrows, of course, mean “mixes in.”
Arguably the arrowhead should go the other
way.

 *
 *                           +------------------+
 *                           |                  |
 *             Object---->(Object)              |
 *              ^  ^        ^  ^                |
 *              |  |        |  |                |
 *              |  |  +-----+  +---------+      |
 *              |  |  |                  |      |
 *              |  +-----------+         |      |
 *              |     |        |         |      |
 *       +------+     |     Module--->(Module)  |
 *       |            |        ^         ^      |
 *  OtherClass-->(OtherClass)  |         |      |
 *                             |         |      |
 *                           Class---->(Class)  |
 *                             ^                |
 *                             |                |
 *                             +----------------+
 *
 *   + All metaclasses are instances of the class `Class'.
 */

Note that if I read this right Object doesn’t inherit Class but
extends it, as if we had
Object.extend Class
which of course doesn’t work since Class.class != Module.

I thus believe the loop at the top of the poster is just wrong.


_ _

__ __ | | ___ _ __ ___ __ _ _ __
'_ \ / | __/ __| '_ _ \ / ` | ’ \
) | (| | |
__ \ | | | | | (| | | | |
.__/ _,
|_|/| || ||_,|| |_|
Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

Where in the US is Linus?

He was in the “Promise Land”.
– David S. Miller davem@caip.rutgers.edu

I do think that ‘a.class == b’ and
’a.is_a? b’ mean the same thing, though.
(Though you don’t mention is_a? above.)
And b.superclass==a does imply that
b.kind_of? a (though the converse is not
true).

···

----- Original Message -----
From: “Hal E. Fulton” hal9000@hypermetrics.com


You should attend my talk if you’re going to OSCON! :slight_smile:

First off, is_a?' is aliased tokind_of?’.

Secondly, this is not the same ralationship implied by `class’:

irb(main):001:0> 5.class == Integer
=> false
irb(main):002:0> 5.kind_of? Integer
=> true

Thirdly, your last statement is false:

irb(main):001:0> Fixnum.superclass == Integer
=> true
irb(main):002:0> Fixnum.kind_of? Integer
=> false

In fact, superclass' andkind_of?’ are fairly loosely related; you can’t
call superclass' on any object, like you can withkind_of?’.

Might I make a suggestion? Draw a red line from a' tob’ if b' is ina.ancestors’. (This will make the module lines red, also. Make sure your
lines go the right way; File should point to IO, right?)

This means no red line from Object to Class; yes, Object.is_a? Class', but instances of Object don't get any methods from Class. Use blue lines to show theclass’ relationship (or, if you prefer, the is_a?' orkind_of?'
relationship, which is a superset). My point is, there’s a big difference
between the relationships “Fixnum --> Integer” and “Object --> Class”.

Chris

:slight_smile: I flip-flopped back and forth on this one.
My first iteration was: honk if Ruby.love?
To which someone told me: No, surely that’s
not right.

loves.grep(/Ruby/).each { horn.honk } # :slight_smile:

(I was thinking of an old .sig that
said HONK IF FORTH LOVE THEN).

I believe it was
FORTH LOVE IF HONK THEN
:slight_smile:

Regards,

Bill

···

From: “Hal E. Fulton” hal9000@hypermetrics.com

Awesome!

Think you could do a version of the “Ruby… for super programmers!”
shirt w/o the blue background and text? =) I know that w/o the blue it
loses it’s true Superman powers, but I personally find the big blue
block and the text to be jarring.

Hal

-Kent

···


Kent R. Spillner
“They that can give up essential liberty to obtain a little
temporary safety deserve neither liberty nor safety.”
- Benjamin Franklin

Hmm, OK. It may be wrong according to the interpretation I
gave earlier. But the arrows in this ASCII chart are the
same as the ones in my drawing. True?

Maybe I should just reverse the arrowheads? On the other
hand, the only other red arrow is IO → File. Maybe I
could reverse that one instead. :slight_smile:

Anyway, my drawing is buggy. All insights appreciated.

Hal

···

----- Original Message -----
From: “Mauricio Fernández” batsman.geo@yahoo.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Wednesday, April 23, 2003 5:04 PM
Subject: Re: [ANN] Ruby.shop

I’d like the following to appear somewhere:

/*
 * Ruby's Class Hierarchy Chart
 *
 *                           +------------------+
 *                           |                  |
 *             Object---->(Object)              |
 *              ^  ^        ^  ^                |
 *              |  |        |  |                |
 *              |  |  +-----+  +---------+      |
 *              |  |  |                  |      |
 *              |  +-----------+         |      |
 *              |     |        |         |      |
 *       +------+     |     Module--->(Module)  |
 *       |            |        ^         ^      |
 *  OtherClass-->(OtherClass)  |         |      |
 *                             |         |      |
 *                           Class---->(Class)  |
 *                             ^                |
 *                             |                |
 *                             +----------------+
 *
 *   + All metaclasses are instances of the class `Class'.
 */

Note that if I read this right Object doesn’t inherit Class but
extends it, as if we had
Object.extend Class
which of course doesn’t work since Class.class != Module.

I thus believe the loop at the top of the poster is just wrong.

You should attend my talk if you’re going to OSCON! :slight_smile:

Wish I could. :slight_smile: Will you share notes afterward? Or
a .mpg even?

First off, is_a?' is aliased to kind_of?'.

Ouch!! Of course it is.

Secondly, this is not the same ralationship implied by `class’:

irb(main):001:0> 5.class == Integer
=> false
irb(main):002:0> 5.kind_of? Integer
=> true

I was thinking (to use the term ‘thinking’ loosely)
that is-a referred to the actual class and kind-of
referred to the class or anything higher in the
hierarchy.

Silly, of course. Mea culpa. Spaniel is-a Dog is-a Mammal.

Thirdly, your last statement is false:

irb(main):001:0> Fixnum.superclass == Integer
=> true
irb(main):002:0> Fixnum.kind_of? Integer
=> false

You’ve nailed me again. Surely this puts me on
some kind of probation.

In fact, superclass' and kind_of?’ are fairly loosely related; you can’t
call superclass' on any object, like you can with kind_of?'.

Might I make a suggestion? Draw a red line from a' to b’ if b' is in a.ancestors’. (This will make the module lines red, also. Make sure
your
lines go the right way; File should point to IO, right?)

This means no red line from Object to Class; yes, Object.is_a? Class', but instances of Object don't get any methods from Class. Use blue lines to show the class’ relationship (or, if you prefer, the is_a?' or kind_of?’
relationship, which is a superset). My point is, there’s a big difference
between the relationships “Fixnum → Integer” and “Object → Class”.

I’ll have to think on this when I’m less hungry/tired/stupid.

Thanks for your comments.

Hal

···

----- Original Message -----
From: “Chris Pine” nemo@hellotree.com
To: “ruby-talk ML” ruby-talk@ruby-lang.org
Sent: Wednesday, April 23, 2003 5:18 PM
Subject: Re: [ANN] Ruby.shop