I say we do it. =C2=A0We should all celebrate Greg's awesomeness. =C2=A0= Wherever you
are, take 5 minutes to party wildly and think of Greg.
=E2=9E=99 cat party.rb
class Party
=C2=A0@@styles =3D [
=C2=A0 =C2=A0'Party, Greg, Party!!',
=C2=A0 =C2=A0'Dance, Greg, Dance!!',
=C2=A0 =C2=A0'Woot!!!',
=C2=A0 =C2=A0'Wild Dancing Greg Party!',
=C2=A0 =C2=A0'--< Chunky Bacon >--'
=C2=A0]
=C2=A0def for_greg
=C2=A0 =C2=A0puts @@styles.at(rand(@@styles.length))
=C2=A0end
=C2=A0def party( time )
=C2=A0 =C2=A0start =3D Time.now
=C2=A0 =C2=A0Thread.new {
=C2=A0 =C2=A0 =C2=A0loop {
=C2=A0 =C2=A0 =C2=A0 =C2=A0self.for_greg
=C2=A0 =C2=A0 =C2=A0 =C2=A0break if Time.now-start >=3D time
=C2=A0 =C2=A0 =C2=A0}
=C2=A0 =C2=A0}
=C2=A0end
end
300.times {
=C2=A0unless fork
=C2=A0 =C2=A0Party.new.party(1)
=C2=A0end
}
Process.waitall
puts %q(That's right. I'm pretty awesome. Maybe RubyTalk can throw a
party in honor of me!)