An In-Game Timer for Stellaris

I made my first mod for the game Stellaris. Stellaris is a notoriously “sticky” game—i.e. one where you’ll find yourself up at 2AM still playing when you have work the next day—so for years I’ve wanted a feature that tells you you’ve been playing too long. Of course I could set an alarm on my phone, but what I really wanted was an in-game timer. “It’s been five in-game years” or whatever. So finally I learned how Stellaris mods work and implemented it. (You can also see the source code.)

(Stellaris is a game that supports mods explicitly; this isn’t a feat of reverse engineering.)

Review: Paranoia Agent

Ostensibly, Paranoia Agent is a show about a series of attacks from a kid on roller blades wielding a metal bat, with two detectives trying to find the culprit. In practice, Paranoia Agent made me think of the opening line of Tolstoy’s Anna Karenina:

All happy families are alike; each unhappy family is unhappy in its own way.

Shallow Git Repositories

The current leading revision control system for source code, git, supports a feature called shallow repositories that doesn’t seem to be well-documented or well-understood. I try to clarify things on my programming blog.