Hacker News new | past | comments | ask | show | jobs | submit login

That makes sense, maybe sleep(rand(1.0 - time_spent))



Or just sleep(1.0 - time_spent)


Or just don't short circuit ever, and do the entire computation every time.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: