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]
Choosing a game network library
Since I’ve been developing online games since 1991, many folks have asked me to recommend a 3rd-party network library for their game project. Unfortunately, I can’t! At least I can’t recommend one from personal experience because the projects I’ve … [Continue reading]