On Fri, May 16, 2008 at 5:24 PM, Matthew Moss <matthew.moss / gmail.com> wrote:
> For your task this week, I ask that you make your own signature such that
> displays your email address when run through the Ruby interpreter. The
> signature must fit within four lines of no more than 80 characters per line.
> (If you still want to avoid outputting an email address, your script may
> produce something else: a phone number, a funny quote, vCard, a poem to your
> love, whatever...)

Hi,

This is my solution. I just converted each letter in my email address
into the binary
representation of its ASCII value. The solution just reverts that process:

puts ("01101010011001110110000101100010011100100110100101100101011011000111100"+
"1011001110110000101101100011000010110111001000000011001110110110101100001011"+
"010010110110000101110011000110110111101101101").
scan(/.{8}/).map{|x| x.to_i(2).chr}.join

I planned to compress the string using run-length, but I don't the
time right now.

Jesus.