Clinton Boys bio photo

Clinton Boys

Australian software engineer and mathematician, living in London.

Email Github LinkedIn

Blog

2024

The constituencies of Israel

This project tries to simulate what the latest Israeli election would have been like under a single-member electorate system. If we use a “first-past-the-pos...

Notes on Notes on the Synthesis of Form

Notes on the Synthesis of Form is a book written by architect and design theorist Christopher Alexander and originally published in 1964. It has become highl...

The Green Chain Walk

For many years now I have been reading Craig Mod’s writings about his many long, mostly solo, walks throughout Japan, where he has lived for many years. I fi...

2023

This is your brain on ChatGPT

Imagine the not too distant future. All menial tasks have been outsourced from our brains to generative AI models like the one that powers ChatGPT. Always th...

Building iOS apps with React Native

Until quite recently I hadn’t got around to building a mobile app, but I had a vague idea about the “native” vs “web” debate. In iOS, “native” means the appl...

2022

The ubiquity of linear programming

NP-hard problems are the most interesting and important class of computational problems. In my experience (and many others’ I imagine), most hard optimizatio...

2021

The Setup

In this post I answer the interview questions from The Setup - again. This is an updated version of this post which I wrote in 2019.

The wonders of org-mode

I wrote last year about how I finally got around to building my own system of organising my notes, thoughts, writings and to-do lists based on emacs and org ...

2020

Deriving Kepler's laws from Newton's laws

I’ve always been interested in physics but somehow, despite my years of studying mathematics, I’d never really properly studied physics outside of a couple o...

Encrypting files in emacs org-mode

People who use org-mode in emacs for sensitive things like keeping a private journal, or recording their unprocessed thoughts on all manner of subjects, have...

Multilevel regression

This post is about what people usually mean when they use the term “heirarchical regression”, which is one of those confusing terms in statistics that can ha...

Getting started with emacs

I’ve been looking for a system of organising my notes, which represent a sort of “second brain” for my thoughts, for many years. I have thousands of text fil...

2019

The 2019 UK election under AV

On December 12 this year, there were parliamentary elections in the United Kingdom for the third time in five years. The country is in the middle of an unpre...

The Setup

In this post I answer the interview questions from The Setup. This is an updated version of this post which I wrote in 2016, which is itself an updated versi...

Regression

At work recently I gave a 90-minute colloquium talk on regression. We have a monthly series of talks where researchers and data scientists discuss fundamenta...

2018

2017

Fixing the Trendy scraper

My Google trends scraper is the most popular post on this site, and I’ve been getting questions about it for the last year or so, ever since Google changed t...

The Bias-Variance tradeoff

The Bias-Variance tradeoff is an extremely important concept in statistical modelling which is often misinterpreted or poorly understood. In this post I’ll g...

2016

The Setup

In this post I answer the interview questions from The Setup. This is an updated version of this post which I first wrote here in April 2015.

Call your mum

Since moving overseas away from my family and friends nearly two years ago, one problem I have had is keeping in touch with everyone. A combination of distan...

Australian federal election post-mortem

The below graph of the ALP and Coalition two-party preferred vote from the 2013 election until the eve of the 2016 election contains a massive amount of info...

2015

Lifetime flight simulator

I spent a few hours today writing a basic first draft of a data-driven text-based “game” which demonstrates just how safe air travel is. The code for the gam...

Emma Chisit

I’ve spent the last few months of my spare time writing code for a model to forecast Australian elections. I’m calling the model Emma Chisit. A very basic fi...

Sentiment analysis of Q&A tweets

For a while I’ve been keen to learn how to use the Twitter API to scrape tweets. In this post I’ll do some basic sentiment analysis on tweets I scraped durin...

The Setup

In this post I answer the interview questions from The Setup, a nice website slash newsletter featuring interviews with interesting creative and technical pe...

Pitchfork and my iTunes library

I listen to a lot of music and for more than a decade now my main source of discovering new music has been Pitchfork.com, particularly since all my friends o...

Aggregating Israeli opinion polls

The Israeli electoral system is completely different to the Australian system. 120 representatives are elected to the Knesset from a single at-large electora...

Scraping and joining Google trends searches

If you search Google trends for a term like “taylor+swift”, and set your timescale to “2004 to present”, you’ll get an interesting graph that does demonstrat...

2014

Scraping Gumtree

Gumtree.com.au is a trading post website, largely used by private sellers interacting with each other off-site to sell used goods. One particularly common us...