Saturday, January 31, 2009

Ruby sleep fail

Dear Ruby, why this weirdness?

behe:~ 16:34:52> irb
>> sleep 0.9999994
=> 1
>> sleep 0.9999995
Errno::EINVAL: Invalid argument - sleep
from (irb):2:in `sleep'
from (irb):2
>>

Twitter Updates

Johan Lind's shared items