Categories
Coding Maps

Prisons with Golf Courses

I don’t really know how American prisons work, but if day release is allowed for low-risk, low-security prisoners, I can imagine that having a golf course nearby might appeal to some current and potential future Federal Prison inamates. For this one I decided to use Wikipedia for the location data for the prisons as I […]

Categories
Coding Maps

Sport in the Caribbean

Dominicans Love Baseball

Categories
Coding Maps

Cricket In the USA vs American Football in India

Cricket pitches in America is a fun map to do because I guess it mirrors the density of South Asian heritage Americans quite nicely. I figured for fun I’d do the inverse and map baseball pitches in India, but the quality of the data was wildly unreliable: there were very few pitches tagged and eyeballing […]

Categories
Coding Maps

OSM & Finland’s Saunas

Using the Overpass API, I scraped all the location data for Finland’s publically accessible Saunas. The map only gave me 254 which makes me think that there are lots missing, as that would account for only 0.01 of the alleged 2 million that exist in this country of 5 million people. In the future I’d […]

Categories
Coding Maps

Road Names in Helsinki

Map of Helsinki with the streets coloured by name

Categories
Coding Science

Is it possible to arrange 9 numbers that are 9 letters long into a magic square?

No. (sorry)

Categories
Coding Cricket Science

Cricketing Deviants

Cricket could probably do with fewer statistics. A cricketing scoreboard is a gigantic mess of numbers and tables, and even the famously beautiful Adelaide Oval scoreboard is completely impenetrable to the outsider. While simplifying the plethora of numbers that come with a cricket match is a sensible goal, this blog post is going to do […]

Categories
Coding Diary

Kadhim Shubber Markov Text Generator

Well, it’s Christmas so I’m taking on stupid self invented programming projects, much like last year with Selenabot. This year I’ve decided I’m going to create a Markov Text generator that recreates the work of a Young Kadhim Shubber (YKS). I’ve decided to scrape all Kadhim’s work on Felix that’s available in non-PDF form (for […]

Categories
Coding

Recurbot

How does an algorithm tweet a selfie? tweet = three_line_tweet_maker('main.py')api.update_status(tweet) — recurbot.py (@recurbot) December 13, 2017 A few weeks ago whilst reading a hand-wringing article about how automated content production on YouTube & social media will lead to the inevitable collapse of western civilization, my mind wondered to the idea of social media content algorithms […]

Categories
Coding Selenabot

SelenaBot boxing day update

Merry Christmas. Morning: Well on Christmas eve, the day after I wrote & blogged about SelenaBot, I tried to run it again and got a bunch of “connection error” exceptions. Having run this by some friends, we suspected that Facebook servers detected Instagram was getting scraped and then got angry about it and started blocking me. […]