I’ve had this vague desire for yonks to (sometimes) know how long I’ve been out of the apartment. Well, OK, only when doing “exercise”; fair enough, because I’m trying to be more active, but I’m horrible at actually noticing how long I’ve been at something.
But last night it occurred to me that I could get this data for free! Because whenever I leave the apt. I already hit the “pause music” button next to the front door, and whenever I get back, I hit the “resume music” button. So I could just hook something into that, and fifteen minutes later, I had what you see at the top of this blog post.
(It works in a totally non-hacky way — hitting the buttons triggers bash scripts that record the leave/arrive times to a file, and then the screensaver that’s running on the machine in the hall (which is Emacs based, of course) notices that that file has changed (*cough* NFS attribute caching *cough*), creates an SVG file of the time period, converts to jpeg, passes it to the screensaver (for ten seconds), and Bob’s your mother’s brother.)
(HOW DARE YOU.)
Anyway.

