News for hackers. Stuff that matters.
Re:Stateless, fault-tolerant scheduling using randomness by moe on Sunday January 31, 2010 @06:46AM (#1090398)
While this is an interesting hack it seems like a very strange approach to the problem at hand.

If you don't care how often your function runs then why not just rely on the system clock and maintain a "lastrun"-variable?

Re:Stateless, fault-tolerant scheduling using randomness by instcode on Sunday January 31, 2010 @10:00AM (#1090519)
Also, how does he guarantee his function to be called at least once a day? Perhaps he needs a quantum machine to run his code or he should use a "predictable-random-generator" (http://goo.gl/jsYC) which "would violate his 'stateless' requirement".
Re:Stateless, fault-tolerant scheduling using randomness by headsling on Sunday January 31, 2010 @06:53AM (#1090402)
because that would violate his 'stateless' requirement
Re:Stateless, fault-tolerant scheduling using randomness by moe on Sunday January 31, 2010 @07:20AM (#1090414)
True, I should've had my coffee first.