In message "Re: What's your Ruby Number? (self.to_i)" on Tue, 25 Oct 2005 11:20:28 +0900, Hal Fulton <hal9...@hypermetrics.com> writes:
|I offer this in the spirit of the old "purity test" and the |"nerdity test" that was derived therefrom. | |Don't take it *too* seriously. All point weights are strictly |my opinion and are subject to change.
|Version 1.0 follows... cut, paste, run. Or just cut and run.
> At Tue, 25 Oct 2005 11:20:28 +0900, > Hal Fulton wrote in [ruby-talk:162393]: >> I offer this in the spirit of the old "purity test" and the >> "nerdity test" that was derived therefrom.
> > At Tue, 25 Oct 2005 11:20:28 +0900, > > Hal Fulton wrote in [ruby-talk:162393]: > >> I offer this in the spirit of the old "purity test" and the > >> "nerdity test" that was derived therefrom.
Joe Van Dyk wrote: > On 10/24/05, James Edward Gray II <ja...@grayproductions.net> wrote:
>>On Oct 24, 2005, at 9:20 PM, Hal Fulton wrote:
>>>I offer this in the spirit of the old "purity test" and the >>>"nerdity test" that was derived therefrom.
>>>Don't take it *too* seriously. All point weights are strictly >>>my opinion and are subject to change.
>>>Version 1.0 follows... cut, paste, run. Or just cut and run.
>>Wow, I'm probably the lowest rated guy here:
>>"That's all... your Ruby Geek status is measured at 535. >>Have a great day, and keep coding!"
>>Well Hal, you certainly helped me fill out my list of, "I should do >>that!"s...
> phhbt.. I got 29 and I've worked on Ruby stuff about full-time for a > little over a year.
Phew, I got 48 and when I saw James' (Gray) mail complaining about his "low" 535 I was soooo sure you can't go lower than 40 something. Probably helps I get payed to write Ruby code for more than a year now :). Oh and Hal, those questions about the conferences, are not fair: RubyConf is too far away and as for Euroko, last year they changed the dates on me and this year, well as I said, I get paid to write code...;) V.-
____________________________________________________________________ http://www.freemail.gr - äùñåÜí õðçñåóßá çëåêôñïíéêïý ôá÷õäñïìåßïõ. http://www.freemail.gr - free email service for the Greek-speaking.
But that was skewed by the 120 pts I got for the Ruby presentations I have made outside Rubyconf. And the 100,000 LOC didn't help that much either. Maybe should have made it 500,000.
Hal Fulton <hal9...@hypermetrics.com> writes: > I offer this in the spirit of the old "purity test" and the > "nerdity test" that was derived therefrom.
> Don't take it *too* seriously. All point weights are strictly > my opinion and are subject to change.
puts puts "First, three background geek questions:" puts
question :compsci_degrees do puts "How many degrees in computer science do you have?" deg = answer.to_i add(deg*4) end
question :first_program_year do puts "In what year did your write your FIRST program in any language?" fp = answer.to_i div4 = ((Time.now.year - fp)/4.0).ceil add(div4*1) end
question :software_job_years do puts "How many years have you worked in a software-related job?" yrs = answer.to_i div4 = (yrs/4.0).ceil add(div4*1) end
puts "\n----------------------" puts "And now the Ruby stuff:" puts
question :started_with_ruby_year do puts "In what year did you start using Ruby? (4 digits)" yr = answer.to_i partial = Time.now.year - yr add(partial*2) end
question :started_reading_newsgroup do puts "In what year did you start reading the list or newsgroup? (4 digits)" yr = answer.to_i partial = Time.now.year - yr add(partial*4) end
question :raa_rubyforge_entries do puts "How many (non-vaporware) entries do you have in RAA and/or Rubyforge\?" raa = answer.to_i add(raa*1) end
question :rubyconf_organize do puts "How many Ruby conferences have you assisted in organizing? (US or other)" conf = answer.to_i add(conf*6) end
question :local_user_group do puts "Have you assisted in forming a local user's group\?" local = yorn add(local*2) end
question :rubyconf_presentations do puts "At how many Ruby conferences have you made presentations\?" conf = answer.to_i add(conf*6) end
question :rubyconf_attended do puts "How many Ruby conferences have you attended\?" conf = answer.to_i add(conf*4) end
puts "Now, some book questions." puts "Translations and newer editions count separately..." puts
question :ruby_books_authored do puts "How many Ruby books list you as an author\?" book = answer.to_i add(book*6) end
question :ruby_books_contributed_to do puts "How many (other) Ruby books have you contributed to\?" book = answer.to_i add(book*4) end
question :ruby_books_mention do puts "How many (other) Ruby books mention your name\?" book = answer.to_i add(book*2) end
question :ruby_books_owned do puts "How many unique Ruby books do you own\?" books = answer.to_i add(books*1) end
question :ruby_domain_name do puts "Do you own a domain name (with content) including the word 'ruby'\?" dom = yorn add(dom*2) end
question :packages_in_core_or_stdlib do puts "Approximately how many packages of yours are now in the core or stdlib\?" core = answer.to_i add(core*1) end
question :matz do puts "Is your name Yukihiro Matsumoto\?" matz = yorn add(matz*10) end
question :dave_or_guy do puts "Is your name Dave Thomas or Guy Decoux\?" dave = yorn add(dave*6) end
question :nobu_shugo_or_minero do puts "Is your name: Nobu Nokada, Shugo Maeda, or Minero Aoki\?" nobu = yorn add(nobu*4) end
question :japanese do puts "Do you know any Japanese\?" japan = yorn add(japan*2) end
question :japanese_first_language do puts "Is Japanese your first language\?" japan = yorn add(japan*3) end
question :ruby_for_pay do puts "Have you ever written Ruby for pay\?" pay = yorn add(pay*10) end
question :ruby_loc_written do puts "Estimate your total lines of Ruby code written." loc = (answer.to_i/5000.0).ceil add(loc*1) end
question :ruby_presentations do puts "How many Ruby presentations have you made (outside RubyConf)\?" nconf = answer.to_i add(nconf*4) end
question :ruby_packages_downloaded do puts "How many of your Ruby packages have been downloaded >500 times\?" over500 = answer.to_i add(over500*3) end
question :rcr_accepted do puts "Ever had an RCR accepted\?" rcr = yorn add(rcr*5) end
puts "That's all... your Ruby Geek status is measured at #@sum." puts "Have a great day, and keep coding!" puts
File.open('ruby_number.yml', 'wb') do |f| YAML::dump(@answers, f) end
=== end
Oh, and I'm a ruby newb evidenced by my as yet low score of 15 :)
:ruby_books_authored: "0" :started_with_ruby_year: "2005" :ruby_for_pay: n :ruby_domain_name: n :rubyconf_organize: "0" :first_program_year: "1982" :ruby_packages_downloaded: "0" :nobu_shugo_or_minero: n :total: 15 :packages_in_core_or_stdlib: "0" :ruby_books_contributed_to: "0" :ruby_loc_written: "10000" :local_user_group: n :rcr_accepted: n :japanese: n :ruby_books_mention: "0" :started_reading_newsgroup: "2005" :matz: n :rubyconf_presentations: "0" :software_job_years: "10" :ruby_books_owned: "0" :raa_rubyforge_entries: "0" :compsci_degrees: "0" :dave_or_guy: n :rubyconf_attended: "0" :ruby_presentations: "1" :japanese_first_language: n
> "That's all... your Ruby Geek status is measured at 535. > Have a great day, and keep coding!"
> Well Hal, you certainly helped me fill out my list of, "I should do > that!"s...
Well, obviously I screwed up the test if anyone got higher than Matz. I should have given 100 points for having that name. :)
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. ;)
<mumble>Heard about a recruiter looking for someone with 15 years of java experience...</mumble>
On Oct 25, 2005, at 12:12 PM, rubyhac...@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. ;)
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...
On Oct 25, 2005, at 12:52 PM, rubyhac...@gmail.com wrote:
> LOL, I feel better now. :) 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.