More declarative way of saying "every x minutes, give or take"
Wed Jun 15 09:22:12 UTC 2011 pix@kepibu.org
* More declarative way of saying "every x minutes, give or take"
hunk ./claki.lisp 191
+(defun plus-or-minus (x y) (+ (- x y) (random (* 2 y))))
hunk ./claki.lisp 197
- (sleep (minutes (+ 25 (random 10))))
+ (sleep (minutes (plus-or-minus 30 5)))