Most cited

Posts that commenters keep linking to, ranked by how many different people have cited them in Hacker News comments. 494 posts.

Math & Algorithms
Any year
129

Quines: self-replicating programs (2005)

A “ quine ” (or “ selfrep ”) is a computer program which prints its own listing. This may sound either impossible, or trivial, or completely uninteresting, depending on your temper and your knowledge of computer science. Actually, it is possible, and there are some interesting ideas involved (in particular, writing a…

136

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.

144

The Aggregate Magic Algorithms (2015)

There are lots of people and places that create and collect algorithms of all types ( here are a few WWW sites). Unfortunately, in building systems hardware and software, we in The Aggregate often have found it necessary to do relatively obscure low-level things very efficiently. Many of the tricks we've devised or…

145

Why FTL implies time travel

In science fiction, it is pretty standard fare to introduce some form of faster-than-light communication or travel. After all, space is big, and you can't write your swashbuckling Hornblower-in-space novel if you have to wait for a generation ship to crawl painfully slowly between the nearest stars,

147

P.S.: The Best of Intentions

Operations in Lisp, Scheme, and other dynamically-typed languages typically dispatch on representational type information rather than intentional type information. Several broad classes of bugs and confusions can be traced to improper attempts to recover intentional type information from representation types.

148

The Relativistic Rocket

Thanks to Alan R. Wilson for correcting a two-word typo involving GPS satellites. Thanks to Aron Yoffe for suggesting the newtonian comparison. Thanks to Tom Fuchs for suggesting the analogy to the stone thrown upwards. Fuel numbers added by Don Koks, 2004. Updated by Phil Gibbs, 1998. Thanks to Bill Woods for…

149

Suspicious Discontinuities

If you read any personal finance forums late last year, there's a decent chance you ran across a question from someone who was desperately trying to lose money before the end of the year. There are a number of ways someone could do this; one commonly suggested scheme was to buy put options that were expected to expire…