TL;DR: Server-side game recording is awesome for performing scalability testing, as well as reproducing game bugs and enabling players to replay their game experiences. How to load-test game servers In anticipation of the launch of Guild Wars 2 in … [Continue reading]
Detect client disconnects using named pipes in C#
TL;DR: Solved - after several failed attempts I discovered how to detect client disconnects when using named pipes in C# -- the article below includes relevant code snippets from my CSNamedPipes GitHub project. In my spare time -- of which there's … [Continue reading]
Error handling using forever-loop
One of the biggest hassles in programming is handling error conditions. It's also one of the most important parts to get right because improperly handled errors lead to security defects and general unhappiness of your users. Error-handling code … [Continue reading]
Building Linux virtual machines on Windows
TL;DR: Want to build Linux virtual machines to run on your Windows computer? Check out linux-vm, which contains everything you'll need. Edit: The original scripts ("build-linux-vm") no longer work. I've rewritten the project and created a new GitHub … [Continue reading]
Reducing perceived latency

Before Instagram was a billion dollar company, Mike Krieger posted a presentation called Secrets to Lightning Fast Mobile Design about how his team made the Instagram photo-sharing application feel so responsive, which is one of the key reasons their … [Continue reading]