Conchigliette o Lumachine in Insalata 13 May 2023

Conchigliette or Lumachine Pasta Salad

Pasta with olive, peppers and vinegar, served cold.

More

Spaghetti o Vermicelli Aglio e Olio, a Crudo 8 May 2023

Spaghetti or Vermicelli with Garlic and Oil

Cooked spaghetti tossed with garlic and olive oil (the recipe calls for a green, fruity variety, but I didn’t have one to hand).

More

Pasta Codex Introduction 8 May 2023

I recently received a copy of Vincenzo Buonassisi’s Pasta Codex. This category will attempt to document most of those recipes.

More

Bit Rot 19 Jan 2023

It’s been a while.

More

Configuring Cloudfront for use with S3 7 Apr 2019

Recently I spend some time setting preparing the ground for scown.dev (coming soon to an Internet near you). While I was at the [T-437 Safety Command] AWS console I realised that the scown.space Cloudfront Distibution was set up in a sub-optimal fashion, allowing direct read access to the underlying bucket. Having spent some time getting a better approach working, I thought I’d document it here.

More

Writing a CHIP-8 emulator in Swift - Part 2 25 Dec 2018

In part 1 I implemented a CHIP-8 in Swift. In this part I will describe the process of adding a debugger.

More

Writing a CHIP-8 emulator in Swift - Part 1 18 Nov 2018

Inspired by Tomek Rękawek’s post on writing a GameBoy emulator (https://blog.rekawek.eu/2017/02/09/coffee-gb/), I decided it sounded like a fun project. After some digging, I realised that as a precursor, it would be better to get my feet wet by writing a CHIP-8 emulator. I also decided this would be a good excuse to learn some Swift. Digging around, I found Cowgod’s technical reference, which describes how to implement it.

More

Writing a Regular Expression Engine in Scala - Part 2 13 Oct 2018

In part 1 we implemented an NFA class in Scala. In this part, we will implement compilation into a DFA, and the ability to use the DFA to match strings.

More

Writing a Regular Expression Engine in Scala - Part 1 12 Oct 2018

Having explained the theory behind Regular Expressions (see here), let’s implement a Regular Expression engine in Scala.

More

Code from a past life 22 Aug 2018

The other day I decided to dig out one of my old university assignments. In my second year we had an AI sub-module, in which the programming assignment was to solve a number of instances of the Travelling Salesman Problem.

More