30 Aug 17
Overview of several approaches to rank results by an average score provided by users, and why most fail to provide a satisfying solution. Concluding with a formula that yields better results.
10 Aug 16
Notes on how to programmatically generate fictional maps that look like something you’d find at the back of fantasy novels.
13 Jan 16
03 Aug 15
09 Jun 15
07 May 15
PROBLEM: You are a web programmer. You have users. Your users rate stuff on your site. You want to put the highest-rated stuff at the top and lowest-rated at the bottom. You need some sort of “score” to sort by.
20 Jan 15
19 Jan 15
16 Jan 15
We’re not living in an algorithmic culture so much as a computational theocracy.
23 Dec 13
03 Apr 12
06 Mar 12
List of ingenious algorithms in computer science
05 Feb 12
19 Jan 12
Efficiently querying geospatial data is a considerable challenge: because the data is two-dimensional (or sometimes, more), you can’t use standard indexing techniques to query on position. Spatial indexes solve this through a variety of techniques. This post covers several - quadtrees, geohashes, and space-filling curves - and reveal how they’re all interrelated.
29 Nov 11
Notes on the following algorithms and methods:
- Levenshtein distance
- Damerau-Levenshtein distance
- Bitap algorithm with modifications by Wu and Manber
- Spell-checker method
- N-gram method
- Signature hashing method
- BK-trees
06 Oct 11
Mathematics-based programming problems
20 Sep 11
I hear algorithms-type questions come up a lot, so I would like to prepare really well as quickly as I can. What good sources would HN recommend?
12 Sep 11
02 Sep 11
Most people use this web site to get information about a particular number sequence. If you are a new visitor, then you might ask the database if it can recognize your favorite sequence, if you have one.