What's your Ruby Number? (self.to_i)

Hi,

···

In message "Re: What's your Ruby Number? (self.to_i)" on Wed, 26 Oct 2005 08:18:23 +0900, Jim Freeze <jim@freeze.org> writes:

Hmm, how many of you have had Matz in your car? :smiley:
Myself, Eric, some others...

Does a rental count?

Where was rental Matz available? I'd rather have one.

              matz.

Jim Freeze wrote:

···

On 10/25/05, rubyhacker@gmail.com <rubyhacker@gmail.com> wrote:

mathew wrote:

Hmm, how many of you have had Matz in your car? :smiley:
Myself, Eric, some others...

Does a rental count?

Sure, why not. And you should get a point for having a last
name that is in the core.

Hal

Jim Weirich wrote:

Hmm, how many of you have had Matz in your car? :smiley:
Myself, Eric, some others...

Hmm ... I've had Larry Wall in mine ... does that give me a negative number?

Nahh. Larry's OK. Better to have a Wall in your car
than a car in your wall.

Hal

Whew... I was thinking I must've _way_ underestimated my LOC!

   irb(main):002:0> nathaniel.to_i
   => 122

Speaking at every RubyConf helped :slight_smile:

···

On Oct 25, 2005, at 13:27 , James Edward Gray II wrote:

On Oct 25, 2005, at 12:12 PM, rubyhacker@gmail.com wrote:

What inflated your score so much? Mine was only 184.

There's no error checking, of course. You can easily tell it
you have 250 years of programming experience. Just like it
says on your resume. Just kidding. :wink:

Oops, it was exactly that error, yes. The first date question doesn't warn you to enter 4 digits and I didn't. Fixing it gives me:

"That's all... your Ruby Geek status is measured at 60.
Have a great day, and keep coding!"

And just to be clear, that does involve two not-yet-released books...

Sorry for the confusion.

--
Nathaniel Talbott

<:((><

LOL, I feel better now. :slight_smile: Except I should have made the code more
robust. But it's just a toy eh?

I liked it. It's the geeky equivelent of those getting to know you chain letters.

Can you talk about those not-yet-released books??

Sure.

one is a collection of Ruby Quizzes, right?

Yes, this is my book. Best of Ruby Quiz. I've really been pouring all my effort into this for almost a year now, so I'm really hoping you guys will like it. I've added content and code, talked about more solutions, and even completely rewrote some of my summaries. If you like following the quiz, the book is that and more, I think.

I've also contributed recipes to the Ruby Cookbook. See recent thread here for details.

James Edward Gray II

···

On Oct 25, 2005, at 12:52 PM, rubyhacker@gmail.com wrote:

Yukihiro Matsumoto wrote:

Hi,

>> Hmm, how many of you have had Matz in your car? :smiley:
>> Myself, Eric, some others...

>Does a rental count?

Where was rental Matz available? I'd rather have one.

That is the first time in weeks I have *literally* laughed
out loud at a posting. Thanks, Matz. :slight_smile:

And if you could be rented, we all would be renting you,
if we could afford it...

Hal

···

In message "Re: What's your Ruby Number? (self.to_i)" > on Wed, 26 Oct 2005 08:18:23 +0900, Jim Freeze <jim@freeze.org> writes:

Hi --

···

On Wed, 26 Oct 2005, Hal Fulton wrote:

Jim Freeze wrote:

On 10/25/05, rubyhacker@gmail.com <rubyhacker@gmail.com> wrote:

mathew wrote:

Hmm, how many of you have had Matz in your car? :smiley:
Myself, Eric, some others...

Does a rental count?

Sure, why not. And you should get a point for having a last
name that is in the core.

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

I'm still holding out for Matt Tainted? or Joe Instance_variable_get.
And if anyone legally changes his or her last name to a core method,
he or she will be admitted free of charge.

David

--
David A. Black
dblack@wobblini.net

Hm. I may have overestimated my LOC, but I got:

  austin.to_i # => 120

-austin

···

On 10/25/05, Nathaniel Talbott <nathaniel@talbott.ws> wrote:

On Oct 25, 2005, at 13:27 , James Edward Gray II wrote:
> On Oct 25, 2005, at 12:12 PM, rubyhacker@gmail.com wrote:
>> What inflated your score so much? Mine was only 184.
>> There's no error checking, of course. You can easily tell it
>> you have 250 years of programming experience. Just like it
>> says on your resume. Just kidding. :wink:
> Oops, it was exactly that error, yes. The first date question
> doesn't warn you to enter 4 digits and I didn't. Fixing it gives me:
> "That's all... your Ruby Geek status is measured at 60.
> Have a great day, and keep coding!"
>
> And just to be clear, that does involve two not-yet-released books...
>
> Sorry for the confusion.

Whew... I was thinking I must've _way_ underestimated my LOC!

   irb(main):002:0> nathaniel.to_i
   => 122

Speaking at every RubyConf helped :slight_smile:

--
Austin Ziegler * halostatue@gmail.com
               * Alternate: austin@halostatue.ca

Just don't compile your car with -Wall

martin

···

Hal Fulton <hal9000@hypermetrics.com> wrote:

Jim Weirich wrote:
>>Hmm, how many of you have had Matz in your car? :smiley:
>>Myself, Eric, some others...
>
>
> Hmm ... I've had Larry Wall in mine ... does that give me a negative number?

Nahh. Larry's OK. Better to have a Wall in your car
than a car in your wall.

David A. Black wrote:

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

I'm still holding out for Matt Tainted? or Joe Instance_variable_get.
And if anyone legally changes his or her last name to a core method,
he or she will be admitted free of charge.

Don't forget class names. Shashank Date would hate to be left out.
Pronunciation isn't relevant here.

Hal

class Object
   def fulton
     "Free admission!"
   end
end

Well, there are those who would agreed that "Tainted?" might be a good description of yours truly...

-- Matt
Nothing great was ever accomplished without _passion_

···

On Wed, 26 Oct 2005, David A. Black wrote:

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

I'm still holding out for Matt Tainted? or Joe Instance_variable_get.
And if anyone legally changes his or her last name to a core method,
he or she will be admitted free of charge.

Yeah, but #freeze belongs to the top class, Object.
Only way to beat that is to be in Kernel. Know anyone
named 'puts' or 'fail'? :slight_smile:

···

On 10/25/05, David A. Black <dblack@wobblini.net> wrote:

On Wed, 26 Oct 2005, Hal Fulton wrote:
> Sure, why not. And you should get a point for having a last
> name that is in the core.

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

--
Jim Freeze

David A. Black ha scritto:

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

I'm still holding out for Matt Tainted? or Joe Instance_variable_get.
And if anyone legally changes his or her last name to a core method,
he or she will be admitted free of charge.

David

mh.. what about second names? I am quite sure there is some joe p. smith

Hm. I may have overestimated my LOC, but I got:

  austin.to_i # => 120

So did I probably :wink: ..

  kaspar.to_i # => 93

whatever, neat the tool.

···

--
code manufacture & ruby lab at tua.ch - und andere Domains günstig und einfach online kaufen auf top-domains.ch

Hal Fulton wrote:

···

David A. Black wrote:

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

I'm still holding out for Matt Tainted? or Joe Instance_variable_get.
And if anyone legally changes his or her last name to a core method,
he or she will be admitted free of charge.

Don't forget class names. Shashank Date would hate to be left out.
Pronunciation isn't relevant here.

Hal

class Object
  def fulton
    "Free admission!"
  end
end

tdjordan.reverse.to_i => 74

···

--
"Nothing will ever be attempted, if all
possible objections must first be
overcome." - Samuel Johnson

Isn't a fulton method the opposite of a singleton?

-Ezra Zygmuntowicz
WebMaster
Yakima Herald-Republic Newspaper
ezra@yakima-herald.com
509-577-7732

···

On Oct 25, 2005, at 6:01 PM, Hal Fulton wrote:

David A. Black wrote:

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.
I'm still holding out for Matt Tainted? or Joe Instance_variable_get.
And if anyone legally changes his or her last name to a core method,
he or she will be admitted free of charge.

Don't forget class names. Shashank Date would hate to be left out.
Pronunciation isn't relevant here.

Hal

class Object
  def fulton
    "Free admission!"
  end
end

Hopefully we will never have a method called zygmuntowicz :wink:

-Ezra Zygmuntowicz
WebMaster
Yakima Herald-Republic Newspaper
ezra@yakima-herald.com
509-577-7732

···

On Oct 25, 2005, at 8:54 PM, Jim Freeze wrote:

On 10/25/05, David A. Black <dblack@wobblini.net> wrote:

On Wed, 26 Oct 2005, Hal Fulton wrote:

Sure, why not. And you should get a point for having a last
name that is in the core.

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

Yeah, but #freeze belongs to the top class, Object.
Only way to beat that is to be in Kernel. Know anyone
named 'puts' or 'fail'? :slight_smile:

--
Jim Freeze

Jim Freeze wrote:

···

On 10/25/05, David A. Black <dblack@wobblini.net> wrote:

On Wed, 26 Oct 2005, Hal Fulton wrote:

Sure, why not. And you should get a point for having a last
name that is in the core.

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

Yeah, but #freeze belongs to the top class, Object.
Only way to beat that is to be in Kernel. Know anyone
named 'puts' or 'fail'? :slight_smile:

That's it. I'm legally changing my name to <=>.

Sincerely, Mr. Spaceship.

--
      vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407

> Sure, why not. And you should get a point for having a last
> name that is in the core.

We doubled our number of core-method-named people at RubyConf this
year, thanks to the presence of Adam Keys as well as Jim Freeze.

Yeah, but #freeze belongs to the top class, Object.
Only way to beat that is to be in Kernel. Know anyone
named 'puts' or 'fail'? :slight_smile:

There are enough hits on "Mr Rand" and "Mr Trap" on google :slight_smile:
And "Mr Loop" is there, too.

+--- Kero ------------------------- kero@chello@nl ---+

all the meaningless and empty words I spoke |
                      Promises -- The Cranberries |

+--- M38c --- http://members.chello.nl/k.vangelder ---+