Mycrocosm

Dev Blog

Mycrocosm scripts!

with 4 comments

Check this out. Tim, a Mycrocosm user has written a script to automate updating his graph that displays some email statistics. The script uses the twitter api to mycrocosm. Which does make me reconsider whether I need to continue working on the mycrocosm api any more – in which case i would have to deal with rate limiting and all that – or just let twitter handle that part.

I had also always hoped that the text based syntax in mycrocosm would make it easy to write this kind of stuff without me having to provide a separate api, so I take this as a good sign.

Once again here’s the link to Tim’s mycromail script

Thanks Tim!

Written by Yannick

November 13, 2008 at 3:27 pm

Posted in Uncategorized

4 Responses

Subscribe to comments with RSS.

  1. Thanks for the blog post!

    One note — Mycrocosm seems to occasionally process things sent to the Twitter API twice — I’ll see two lines with the same label and count appear in my mail chart, or also when I post things to my caffeine chart (which isn’t controlled by a script).

    tim smith

    November 23, 2008 at 4:47 pm

  2. I’m seeing the same duplication on posts. It’s worst with my script-generated posts. Here’s a timeline of a test run I just did:

    10:19 – test run script, sends 4 messages.
    10:21 – reload data set, see 1 copy of each message; delete the test data.
    ~10:30- reload data set, test data still not there.
    10:40 – reload data set, see two copies of one post. delete.
    10:41 – reload, see one new copy of a different post. delete.

    Ryan Forsythe

    December 9, 2008 at 2:49 pm

  3. @tim and ryan thanks for reporting, i wasn’t able to reproduce this before leaving (see latest post) – though i didn’t have much time to dig into it. Does it happen everytime? Sorry about this. I am going to try reducing the rate at which i check the twitter account, that may help but i cant really test how effective it will be at the moment.

    Yannick

    December 11, 2008 at 2:43 pm

  4. Yannick: it happens most of the time. It’s not regular, though — sometimes I’ll get 3 or 4 copies of a post, while another post that was sent at the same time only gets posted twice.

    Ryan Forsythe

    December 15, 2008 at 8:28 pm


Leave a Reply