{"comment":{"created_at":"2011-10-25T10:16:58Z","body":"Gotcha, makes sense, I've updated the gist with the better timing. It still uses python's random.random(), but it should be possible to reimplement the PRNG from util.pl, if it's important to be consistent with the .pl. Since it's not reading .nextping anyway, I haven't bothered doing that yet.\r\n\r\nFeel free to post on the google group - I didn't know there was one, just joined now.","updated_at":"2011-10-25T10:16:58Z","url":"https://api.github.com/repos/dreeves/TagTime/issues/comments/2515276","id":2515276,"user":{"avatar_url":"https://secure.gravatar.com/avatar/729e2e675c14e09b367395fc0e62dcd0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"729e2e675c14e09b367395fc0e62dcd0","url":"https://api.github.com/users/AdamG","id":3319,"login":"AdamG"}},"action":"created","issue":{"number":6,"created_at":"2011-10-24T20:15:58Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I've written a python implementation of tagtimed, it's here:\r\n\r\nhttps://gist.github.com/1309979\r\n\r\nIt's not really fit for inclusion - it doesn't have the same behavior, and it still launches ping.pl to do the heavy lifting during each ping. Usage is \"./tagtimed.py 1800\" or \"./tagtimed.py 30m\"; it needs to be in the same directory as ping.pl.\r\n\r\nMy issue with tagtimed.pl is that I just don't see xterm launched most of the time. I don't have anything weird in my settings, and I see the pings in the output of tagtimed.pl (I keep it foregrounded), just no xterm. When it does launch, I have a bunch of RETRO entries to fix, for which I can't accurately guess what I was doing, so it cuts down on the utility a lot.\r\n\r\nI spent some time trying to figure out what was going on, but my perl-fu leaves a lot to be desired, so I just did this instead. Note that it doesn't use the same timing algo as the perl version, it just randomly picks a time now + (0 < x < interval*2).\r\n\r\nAnyway - mostly just leaving this here in case someone else has this issue.","comments":2,"title":"Python tagtimed","updated_at":"2011-10-25T10:16:58Z","url":"https://api.github.com/repos/dreeves/TagTime/issues/6","id":2037978,"assignee":null,"milestone":null,"closed_at":"2011-10-25T10:16:58Z","user":{"avatar_url":"https://secure.gravatar.com/avatar/729e2e675c14e09b367395fc0e62dcd0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"729e2e675c14e09b367395fc0e62dcd0","url":"https://api.github.com/users/AdamG","id":3319,"login":"AdamG"},"html_url":"https://github.com/dreeves/TagTime/issues/6","labels":[],"state":"closed"},"legacy":{"issue_id":2037978,"comment_id":2515276}}