2 ms·
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 jus
by moe 17y ago
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?
- headsling 17y agobecause that would violate his 'stateless' requirement
- moe 17y agoTrue, I should've had my coffee first.
- instcode 17y agoAlso, 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 http://goo.gl/jsYC) which "would violate his 'stateless' requirement".