Partitioning an IEnumerable

IEnumerable’s are finicky things, you have to tickle them just right to get the most out of them.


The .Net framework does not have a MaAddress type, so here’s one:

A fast implementation of the Levenshtein algorithm in C#

Have you ever wanted to enumerate through all the permutations of a set in C#?


I am obsessed with code performance, and calculating the performance of long-running algorithms entails – a lot of the times – calculating averages.

Giving presentations

Recently, I and a colleague were asked to prepare a presentation for a sales pitch.