Displaying articles with tag

FizzBuzz: The Ultimate Programmer Weed Out

Posted by hank, Tue Feb 27 19:56:00 UTC 2007

My solution to this problem:

(1..100).each do |i|
  puts i%3==0 && i%5==0 ? "FizzBuzz" : i%5==0 ? "Buzz" : i%3==0 ? "Fizz" : i
end

This should be trivial for just about any programmer. Took me 40 seconds or so.

Tags:

New Ruby Website

Posted by hardwarehank, Wed Aug 23 20:11:06 UTC 2006

Well, there’s a new ruby website in the works. Someone spilled the proverbial beans.

Oooooh… Awesome. Also, you can get Ubuntu Stickers:

Flippin’ Sweet! Get your next laptop here!

Hmm. In other news, I changed the name of my blog from Porkchop Sandwiches to Relentless Pineapple. I have big plans. I posted my resume all over the place today. You can find it here, or in text form. I decided to do it in RDoc because I wanted an HTML version and a Text version, and I can do that easily this way.

Tags: