michael-mccracken.net

Twitter Stats in SVG using gnuplot

Damon Cortesi just shared a handy script for grabbing your tweets and compiling some stats about when you post to twitter and who you reply to.

His script generates a list of numbers and included a Numbers template to paste them into. Since I don’t have Numbers, I’ve modified his script to write a file that can be read by gnuplot, and wrote a basic gnuplot script to output an SVG file version of the stats.

While I was at it, I changed it so it no longer counts “@someone” separately from “@someone:”.

Both scripts are right here – gnuplot_twitterstats.tgz

It uses gnuplot 4.2, which you can get on OS X with macports using port install gnuplot +no_x11'. (Or it’s a pretty easy build on its own, see the gnuplot download page )

Here are my stats: Sorry, it looks like your browser doesn’t support SVG. You’re really not missing much. Click here for a full-screen version.

Previously:
TaskPaper adds just enough to stick
November 1, 2007

TaskPaper 1.0 is a to-do list app that adds just a bit of sauce to what I was doing already, and it’s great.

read the rest.
The editing pass
October 9, 2007

Some thoughts about making an explicit editing pass on working code:

Once you get a piece of code to the point where you believe it works - it’s passing its tests - go back over it and edit it. That is, go back and edit it for clarity, flow, and style. Just as if it were an essay.

read the rest.
That Windows feeling
September 4, 2007

Uninvited dialogs popping to the front or stealing keyboard focus in OS X have been giving me that Windows feeling lately. I give a few examples in the full post.

read the rest.
« Previous PageNext Page »
Feed, Endorsements & other Links

my bookmarks

© 2005 - 2007 Michael McCracken.