New
The latest blog posts to take off on Hacker News. 21,843 posts.
"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…
John Resig: JavaScript as a First Language
At Khan Academy we’ve been investigating teaching Computer Science to students in some new and interesting ways. The most interesting aspect of which is that we’re likely going to be teaching them JavaScript as their first language.
All Programmers Are Self-Taught
When I was a teenager I played high caliber baseball. I’m competitive to a fault and when I decide I want to be good at something, results usually follow. Now I’m a third year undergrad…
ISO C is increasingly moronic
Varnish is a powerful, flexible HTTP accelerator that speeds up web applications by caching content and optimizing delivery.
Building StatHat with Go
How StatHat uses Go, and why they chose it.
How games cheat to help players
If we’ve done our jobs right, Wind-up Knight is a fairly simple game. There are only four inputs, and only two are ever needed simultaneously. Sir Sprint, our heroic spring-loaded knight, runs forward automatically, removing the need for a classic directional pad or analog stick. The challenge is derived from careful…
The switch: Python to Node.js
In my previous post , I glossed over our team switching from Python to Node.js. I kept it brief because the switch wasn’t the focus of the post, but since I believe I am being misunderstood, I will explain it in depth:
POSIX close(2) is broken
There's just one small problem: The way POSIX has defined close(2) is completely and utterly broken.
MapReduce for the Masses: Zero to Hadoop in 5 minutes with Common Crawl
Common Crawl aims to change the big data game with our repository of over 40 terabytes of high-quality web crawl information into the Amazon cloud, the net total of 5 billion crawled pages.
Understanding lvalues and rvalues in C and C++
The terms lvalue and rvalue are not something one runs into often in C/C++ programming, but when one does, it's usually not immediately clear what they mean. The most common place to run into these terms are in compiler error & warning messages. For example, compiling the following with gcc :
Bug Prediction at Google
What's the problem? Here at Google, we have thousands of engineers working on our code base every day. In fact, as previously noted , 50%...