New
The latest blog posts to take off on Hacker News. 14,544 posts.
First actual computer bug was found today, 66 years ago
On the 9th September, 1947, operators of the Mark II Aiken Relay Computer being tested at Harvard University, found a bug. And, in so doing, made history.
Message threading (1997-2002)
In this document, I describe what is, in my humble but correct opinion, the best known algorithm for threading messages (that is, grouping messages together in parent/child relationships based on which messages are replies to which others.) This is the threading algorithm that was used in Netscape Mail and News 2.0…
Trampolines in JavaScript
A trampoline is a loop that iteratively invokes thunk -returning functions ( continuation-passing style ). A single trampoline is sufficient to express all control transfers of a program; a program so expressed is trampolined, or in trampolined style; converting a program to trampolined style is trampolining…
It ain't about the callbacks, it's about the flow control
It's just a programming style, not a big deal usually, but it becomes an issue when a platform forces you to use only the callback style. I'm talking about you, JavaScript.
Speed Up Git Pull
Note: Results may vary, depending on distance from your Git servers. In my completely unscientific benchmarks using time, after the following steps, …
Things You Should Never Do, Part I (2000)
Netscape 6.0 is finally going into its first public beta. There never was a version 5.0. The last major release, version 4.0, was released almost three years ago. Three years is an awfully long tim…
Brilliant or insane code?
I came upon a very interesting and cryptic snippet of code somewhere nameless , and I can’t decide if it is brilliant or completely insane. It is a very obscure way of accomplishing the required task, but it’s around four times faster than the alternatives I’ve tried, so I have to admit that it’s not completely…
The Rest of the Lenna Story
Home Page for Charles Rosenberg
Basics of Neural Networks with example codes and illustrations
I began with inanimate objects living in a world of forces, and I gave them desires, autonomy, and the ability to take action according to a system of
Understanding the FFT Algorithm
The Fast Fourier Transform (FFT) is one of the most important algorithms in signal processing and data analysis. I've used it for years, but having no formal computer science background, It occurred to me this week that I've never thought to ask how the FFT computes the discrete Fourier transform so quickly. I dusted…
What Programming a Game in 48 Hours Taught Me About Programming Games
I participated in Ludum Dare 27 this weekend, programming a complete game, Spacetime Adventure, in 48 hours. I make games for a living but I’d never done that before. It was fun.
Why do RET instructions have a REPZ prepended on x86?
Recently, we began work on a binary static analysis tool. While reading some disassembly, we came across a weird-looking instruction, that was present in most everything we gave objdump .
On the Cleverness of Compilers
The “Sufficiently Clever Compiler” has become something of a trope in the Lisp community: the mythical beast that promises language and interface designers near-unlimited freedom, and leaves their output in a performance lurch by its non-appearance. A few years ago, I was young enough to join a research project to…
Light Table 0.5.0
This release was about simplifying the experience of Light Table, making it far more robust, and making sure it’s fast enough to handle whatever you throw at it. We’ve made big strides in each of these areas, from removing some of the UI elements that didn’t add anything (the left vertical menu), to reaching the point…
Average Income per Programming Language
Update 8/21: I’ve gotten a lot of feedback about issues with these rankings from comments, and have tried to address some of them here. The data there has been updated to include confidence…
Git Tips
Aditya Bhargava's personal blog.
Beautiful Native Libraries
A guide on writing beautiful native libraries in C or C++ that compile to native code.
PostgreSQL Basics by Example
Connecting to a database 1 2 $ psql postgres # the default database $ psql database_name Connecting as a specific user 1 2 $ psql postgres john $ …