18 Sep 25

Rendezvous hashing is an algorithm to solve the distributed hash table problem - a common and general pattern in distributed systems.

by mlb 4 months ago saved 2 times

19 Feb 25

Overview of Relaxed Radix Balanced Trees, a data structure that allows for efficient merging of Persistent Vectors.

by mlb 11 months ago

03 Sep 22

An introduction to bitmaps, what they’re used for, and what Roaring bitmaps solve that traditional bitmaps don’t.

by mlb 3 years ago

28 Jan 22

Python notebook detailing how to get the daily Wordle on the first try using the obfuscated replay results that are shared on twitter and other social media platforms.

by mlb 4 years ago

19 Aug 21

26 Mar 21

Author discusses how he accidentally wrote a parser with quadratic complexity.

by mlb 4 years ago

04 Jan 21

Introduction to the technique (known as “dithering”) used for the graphics of the game: “Return of the Obra Dinn”.

by mlb 5 years ago saved 8 times

08 Dec 20

This guide covers various ways to make hexagonal grids, the relationships between different approaches, and common formulas and algorithms. Most parts of this page are interactive.

by mlb 5 years ago saved 5 times

27 Nov 20

Introduction to shuffle-sharding and how it’s used in AWS to deliver multi-tenant services that give each customer a single-tenant experience.

by mlb 5 years ago

05 Oct 20

This article discusses a relatively unknown data structure, the suffix tree, and shows how its characteristics can be used to attack difficult string matching problems.

by mlb 5 years ago

22 Sep 18

Article that describes the steps to generate the code in MS Excelwithout using any Visual Basic or other scripting.

by mlb 7 years ago

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.

by mlb 8 years ago saved 2 times

10 Aug 16

Notes on how to programmatically generate fictional maps that look like something you’d find at the back of fantasy novels.

by mlb 9 years ago saved 2 times

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.

by mlb 14 years ago

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
by mlb 14 years ago saved 2 times

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.

by mlb 14 years ago saved 2 times