When the Raspberry Pi Zero came out last year, my love of small computers meant that I quickly purchased one along with a Scroll pHAT despite not having a project in mind. Recently, I realised that the small size and low power requirements meant that it’d be great for displaying the day’s weather forecast.
A few years ago, I hacked together a way to updating my DNS record when my home IP changed. The script I wrote has generally been working ok, though recently I started seeing a few more errors than usual. Rather than debug them, I decided to rewrite the script using the more up-to-date python-nfsn and Requests libraries.
I’ve been teaching for nearly a full year now, and to say it’s been a massive learning curve would be just a bit of an understatement. As is probably pretty normal for a graduate, some of my ideas have worked well, some have been ok and others have fallen completely flat. I figured I might share one of the ideas that worked well, particularly since it took two attempts to get it working.