Building strongly typed vectors and matrices in TypeScript Recently, I came across a problem where I had to generate primitive Pythagorean triples. Much to the wrath of several people, I’m gonna…
When ‘optimizations’ backfire: a wordle bot competition and a surprising probability lesson Discover surprising probability insights from a Wordle bot competition, where a risky optimization strategy led to unexpected lessons.
Solving for multiple variables in brute-force search Earlier, we added a few abstractions to brute-force search. Now, we add yet another abstraction and unlock a wide range of possibilities.
Finding multiples of a number using brute-force search Writing simple but powerful abstractions is a necessary skill in software. We start with a simple abstraction that solves a few problems.
Generating tickets for tambola — or bingo, or housie, or whatever Recently, I’ve been fiddling with clojure and having some fun. It has some pretty powerful abstractions that allow neatly expressing ideas…