Ben North's blog.

Covering various topics, usually of a vaguely nerdy nature.

12 September 2016

Literate programming with git

As a follow-up to the previous post on git dendrify, I've been experimenting with using git to present the development of a piece of software in a more human-readable way. The hierarchical organisation described in the git dendrify README allows the history to be rendered into a structured and interactive document explaining the code's development. […]

15 June 2016

git-dendrify — a tool for transforming git histories

I've been working with git for a while now, and have been experimenting with it as a way to present the history of a piece of code in a way which makes it easier for a human reader to understand. One way I think git can help with this is by adding structure to the […]

14 May 2016

(Some of) Colossus on an FPGA

An implementation, on an FPGA, of the parts of the Colossus code-breaking computer needed to replicate the Chi-wheel-setting worked example of the previous post.

12 April 2016

Replicating Colossus's Chi-wheel setting

A worked example of one part of the cryptanalysis performed by the Colossus computer at Bletchley Park during World War II.

23 February 2016

Bike Game in Scratch

Just over a year ago, my son (then 6) wanted to create a computer game where you drive a bike round a world. I helped him with this, and we've worked intermittently but fairly often on it since then. There were quite a few details to get right, but he worked through them a bit […]

13 September 2015

Flying over a trampoline

Origin of idea A couple of months ago, Sally (5) was bouncing around on the trampoline at my in-laws' house, and said something very close to: 'Dad, you should take lots of pictures of me jumping in the air, and put them together into a video, then it will look like I'm flying'. I thought […]

05 August 2015

Mono Lake alkali flies in JavaScript

We recently went on a fantastic family camping trip to California, travelling round various National and State Parks. One of the places we saw was Mono Lake. There are lots of interesting aspects to Mono Lake, but this post concentrates on one of them: the vast numbers of alkali flies which live on the waterline. […]

26 July 2015

Guess Poo: An application of nearly-orthogonal fractional factorial design

We have the game ‘Guess Who’, which comes with a selection of sheets to play variants of the original game. In a flash of comedy inspiration, my eldest, Meg, and I thought it would be excellent if there was a game called 'Guess Poo'. In Guess Poo, instead of trying to identify faces, you have […]

08 June 2015

Faint amusement from arrows

In logic, we talk about propositions, giving them names, say p or q. For example, p might be the proposition 'it is raining', and q the proposition 'I will get wet'. Then to represent the proposition 'if it is raining then I will get wet', we can say 'p IMPLIES q', which is often written […]

08 April 2015

A game of multiples and divisors

I saw an interesting number-based game at the 2015 Young Scientist show. This post derives, using brute force, a winning strategy for the game and implements it as a 'human vs computer' setting.