Top posts
Every blog post that took off on Hacker News, ranked by the votes of its best submission. 49,291 posts.
Cognitive Biases in Programming
As developers, we’re familiar with the various problems that interfere with our productivity. But often we overlook the broad picture. Some…
The MS-DOS Showcase
2,400 MS-DOS games and programs have gone live on the Internet Archive. The full collection is here and the games-specific section (basically all of them, for now) is here. But wait before you clic…
The State of HTML5 Audio
When I started to work on my JavaScript Game Engine back in October 2009, the biggest problems I encountered were with the new HTML5 Audio Element. The Canvas Element already worked nicely in all browsers that supported it at the time, albeit some were a little slow.
Bell inequality violation finally done right
A few weeks ago, Hensen et al., of the Delft University of Technology and Barcelona, Spain, put out a paper reporting the first experiment that violates the Bell inequality in a way that closes off…
Tools I use: argparse builder
argparse builder is a web based graphical interface for quick creation of the argparse commandline switches for your python scripts.
Comet is dead, long live websockets
I've just had a chance to play with the implementation of websockets in Googles Chrome browser. This post started me off. After a small am...
Implementing ‘strlen’ using SVE
In C, the length of a string in marked by a 0 byte at the end of the string. Thus to determine the length of the string, one must scan it, looking for the 0 byte. Recent ARM processors have a powerful instruction set (SVE) that is well suited for such problems. It allows you … Continue reading Implementing ‘strlen’…
Writing docs well: why should a software engineer care?
Recently I gave a guest lecture in a graduate level software engineering course on the value of technical writing for software engineers. This post is a sort of rough transcript of my talk. I live-…
Compiler Design in C
Compiler Design in C Download a copy! My book Compiler Design in C is now, unfortunately, out of print. You can download a complete copy, with the above button (pdf 19.1Mb OCR/Searchable—thanks to Marvin Hernández for adding the OCR). If you don’t want to print it out (the book is 984 pages long), you can…
The Sad State of High Bit Depth GIMP Color Management
Back in 2014, this article was intended to draw attention to several serious problems with babl/GEGL/GIMP color management, all of which revolved around the idea of using sRGB chromaticities to edit non-sRGB images. If you peruse the GIMP developers' list and users' list for the months of October and November 2014…
Improving the performance of WAT parser
The personal blog of Pig Fang.
Is Craig Wright?
Today there has been an explosion of media interest in the claim by Craig Wright that he is the identity behind the pseudonymous creator of Bitcoin, Satoshi Nakamoto. However, his blog post is rath…
Build a CMS, no forms allowed
You may have noticed that quite a lot is happening in the Midgard land. Nowadays Midgard2 itself is a generic content repository that can be used for both desktop and web applications. Midgard MVC is a generic web framework for PHP5 that can be used with Midgard2 or without it. And then there is Midgard Create, the…
How to make sure no dynamic memory is used
How to disable heap (dynamic memory allocation) in an embedded application? This article goes into the details of linker files and how to detect dynamic memory allocation.
Dwolla Begins PayPal-Style Account Suspensions for Bitcoiners
99Bitcoins is your trusted guide to Bitcoin & crypto, offering easy tutorials, expert insights, and in-depth reviews to help you navigate the crypto world.
Is Unicode Safe?
Unicode is just too complex to ever be secure.  — Bruce Schneier, 2000 Over the last 25 years Unicode has succeeded. It hasn't displaced all other character encodings, but it's clearly on its way there. It's supported widely enough that it's a compatible choice, new projects use it, and it's becoming the…
Sorry, wrong number
Road numbering is a system with clear rules. What happens when the people responsible for numbering roads don't follow them?
R programming for those coming from other languages
Things a programmer coming from another language needs to know about R, especially those things that might be most surprising
Making all your integers positive with zigzag encoding
You sometimes feel the need to make all of your integers positive, without losing any information. That is, you want to map all of your integers from 'signed' integers (e.g., -1, 1, 3, -3) to 'unsigned integers' (e.g., 3,2,6,7). This could be useful if you have a fast function to compress integers that fails to ……
What’s New In Emacs 24
Part one of my annotated NEWS file for Emacs 24