Gangnam Stats

At time of writing, Gangnam style has 2,082,054,675 views. About 2 billion, for a 4 minute long video. That seems really big, but I can't really understand that number. In total, 4 minutes * 2 billion is 133 million hours or 15,220 years. If people live about…

In defense of sillyness

A few weeks ago I was reading some XKCD comic about ninja turtles: I won't embed the comic itself the content isn't terribly important - he presented some wikipedia pages which could be sung to the tune of the teenage mutant ninja turtles theme song. Ok, cute. Sure.. But it…

Boilerplate Compiler

I want to finish my boilerplate CPU, but the simulator and editing environment are way too slow to handle big machines. The simulator currently floodfills from every engine every tick, and I'm currently rendering using canvas. Both are fine answers for trivial machines, but my little macbook air gets about…

Replicate your database to the client

Every time I read about the CAP theorum, I feel like we're missing something. We've gone to an awful lot of effort to make our database cluster consistent and reliable. We have proofs around how we expect it to behave, and we test the crap out of any claims our…

Stories from our software past

I'm leaving my job late this year. I'd love to do an honest retrospective, but its super hard to do that publically without pissing anybody off. Its not that I don't have great things to say (I do). I just hate the faded, corporate approved google blog posts which seem…

Deploying with private NPM and Docker

When you want to deploy your nodejs webapp to a production environment, it can still be a right pain to handle dependencies! Let NPM handle it The simplest way to manage dependencies is to run npm install on your production server when you deploy. There's a bunch of problems with…