Blog posts

2024

Ard Ri in Rust, Part 2: Minmax and Our First Engine

13 minute read

Published:

Last time, we implemented the widely unknown tafl game Ard Ri in Rust. Today, we start work on an engine that analyzes Ard Ri positions. We will develop our engine incrementally. Our first goal is a simple minimax engine that evaluates a position and proposes a best move. Future improvements will include

Ard Ri in Rust, Part 1

23 minute read

Published:

Question. Whether an Ard Ri engine can be written in Rust?

2023

AI Interpretations of Jane Eyre’s Paintings

5 minute read

Published:

In chapter XIII of Jane Eyre, Mr. Rochester asks to see Jane’s painting portfolio. In an act of 19th century negging, Mr. Rochester identifies three of her paintings as most worthy:

Ranking Kate Bush Songs With Svelte (and ChatGPT)

19 minute read

Published:

Kate Bush has (roughly) 29 singles that charted in the U.K. The count is a little foggy because it’s not clear what should and shouldn’t be called a single. For example, Running Up That Hill charted three times: once in 1985, supporting the Hounds of Love Album; again in 2012 as a remixed version played for the 2012 London Olympic Games; and once again in 2022 after it was used in a Stranger Things episode. So I made some executive decisions and ended up with a list of 29.

2022

Advent of Code 2022 Days 11-15 in Rust and Haskell

5 minute read

Published:

I’ve given up following the narrative. There’s some kind of receiver and some beacons and maybe still some monkeys? I don’t know. The puzzles have gotten more challenging, more interesting, and more time-consuming.

Advent of Code 2022 Days 6-10 in Rust and Haskell

5 minute read

Published:

The elves are on their expedition. They’re building tree houses and tossing people into rivers. A computer was involved somehow. We approached this with both Rust and Haskell.

Advent of Code 2022 Days 1-5 in Rust and Haskell

3 minute read

Published:

The elves are preparing for their expedition and we’re using coding to help them do it. I’m using this year’s Advent of Code to acquire/sharpen skills in Rust and Haskell programming and the purpose of this post is to summarize my thoughts on the first five days.

Analyzing a broken GPS watch with pandas

4 minute read

Published:

The GPS watch I bought last November was broken. Industry standard GPS watches make a recording once every second and log it to a .gpx file, but mine wasn’t doing that. Sometimes it was logging every second, sometimes it wasn’t. In this post, I explore and visualize the data logged by my failing GPS device.