Archive for September, 2006

MsgWaitForMultipleObjectsEx

Truly, this function name could only exist in the Win32 API. Apparently the documentation for this function is inaccurate. According to this sample by Raymond Chen, you can call MsgWaitForMultipleObjectsEx with an empty list of handles. Presumably, the object that the function is waiting on becomes the current thread (considering how he is using the function), [...]

Nethack is 16:9

I just downloaded nethack again and came to the startling realization that nethack was meant to be played widescreen. You think I’m joking, don’t you? Well it’s true. If you’re playing in windowed character-mode (as opposed to playing it with those sissy sprites), you’ll notice that the screen is much wider than it is high. Which is perfect, [...]

DRM, encryption, obfuscation, and open source

There’s a fundamental problem with DRM. DRM is just a sleek marketing word for “Obfuscation”. In order to understand why this is the case, you need to have a basic understanding of cryptosystems. A “cryptosystem” is any system designed to ensure secrecy of a piece of data. In security jargon, the data to be encrypted [...]

DRM in reverse

A while ago I wrote a flamebaitish entry where I said that your privacy should never depend on the trustworthiness of another person or company. After thinking about it a little, it occured to me that in essence, what we’re looking for is DRM, but in reverse.