Topics /

Math & Algorithms

The most popular blog posts about math & algorithms on Hacker News. 2,851 posts.

Any year
2822

Regular Expression Matching: the Virtual Machine Approach

Name the most widely used bytecode interpreter or virtual machine. Sun's JVM? Adobe's Flash? .NET and Mono? Perl? Python? PHP? These are all certainly popular, but there's one more widely used than all those combined. That bytecode interpreter is Henry Spencer's regular expression library and its many descendants.

2825

Torsors (2010)

When you first read about "torsors", they're bound to seem a bit too darn sophisticated for their own good. Mostly this is because nobody explains them very well. So, I want to convince you that they're actually very simple and natural. I'll do this by giving you three examples from physics:

2832

Viktor T. Toth

This page contains a JavaScript calculator of Hawking radiation and other parameters of a Schwarzschild black hole.

2835

On Vigna's PCG Critique

On 14 May 2018, Sebastiano Vigna added a page to his website (archived here) entitled “The wrap-up on PCG generators” that attempts to persuade readers to avoid various PCG generators. That day, he al

2838

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,

2839

Stephen Wolfram, A New Kind of Science

Attention conservation notice : Once, I was one of the authors of a paper on cellular automata . Lawyers for Wolfram Research Inc. threatened to sue me, my co-authors and our employer, because one of our citations referred to a certain mathematical proof, and they claimed the existence of this proof was a trade secret…

2841

The Patriot Missile Failure

On February 25, 1991, during the Gulf War, an American Patriot Missile battery in Dharan, Saudi Arabia, failed to track and intercept an incoming Iraqi Scud missile. The Scud struck an American Army barracks, killing 28 soldiers and injuring around 100 other people. A report of the General Accounting office…

2844

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.

2848

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…

2849

Chicago undergraduate mathematics bibliography

Somehow I became the canonical undergraduate source for bibliographical references, so I thought I would leave a list behind before I graduated. I list the books I have found useful in my wanderings through mathematics (in a few cases, those I found especially un useful), and give short descriptions and comparisons…