Best of 2011

The blog posts Hacker News loved most in 2011. 488 posts.

Software Engineering
67

Doom engine code review

Before studying the iPhone version, it was important for me to understand how Doom engine WAS performing rendition back in 1993. After all the OpenGL port must reuse the same data from the WAD archive. Here are my notes about Doom 1993 renderer, maybe it will help someone to dive in. January 13th, 2010 : Reddit…

71

"Another World" (game) Code Review

I spent two weeks reading and reverse engineering further the source code of Another World ("Out Of This World" in North America). I based my work on Gregory Montoir's "binary to C++" initial reverse engineering from the DOS executable. I was amazed to discover an elegant system based on a virtual machine interpreting…

74

Hitchhiker's Guide to Python

I first heard about The Hitchhiker's Guide to Python at PyCodeConf a few months ago. It's a fantastic idea: open source, community-driven documentation on how to do Python right: everything from how to learn Python, to how to write idiomatic code, to how to distribute your projects, to surveys of best-of-breed open…

78

What's In A GIF

We sill start off by walking though the different parts of a GIF file. (The information on this page is primarily drawn from the W3C GIF89a specification .) A GIF file is made up of a bunch of different "blocks" of data. The following diagram shows all of the different types of blocks and where they belong in the…

84

Pipe: Infix syntax for Python

สล็อต แตก ดี เว็บ ตรง ถูกพัฒนาให้ใช้งานได้สะดวกมากขึ้นผ่านระบบออโต้ของสล็อตวอเลท ที่ช่วยให้ทุกขั้นตอนตั้งแต่การเข้าเล่นไปจนถึงการรับเงิน

90

Donut math - How donut.c works

There has been a sudden resurgence of interest in my "donut" code from 2006 , and I've had a couple requests to explain this one. It's been five years now, so it's not exactly fresh in my memory, so I will reconstruct it from scratch, in great detail, and hopefully get approximately the same result.