The steps to install certbot
on an Amazon Linux 2 EC2 instance are:
Using SQLite from Swift
It’s been a while since I experimented with using SQLite from Swift (like a few years). I found it painful the last time I tried, but thought I’d revisit it again. To my delight, it turns out to be straightforward.
Happy New Year 2021
It’s another year! What a weird year 2020 was. Helen and I started the year in Australia. We travelled back to the UK at the end of February thinking that we would move back to Sydney in July/August. Instead we got stuck in the UK because of the pandemic.
Limbo and Inside
This past week Helen and I have been playing “Limbo” and “Inside” by Playdead on the XBox. These are such good games! Both Limbo and Inside have tons of atmosphere. They are a moody, luscious side-scroller games. The puzzles are engaging, and you never feel like you are completely stuck. Ironically, we both thought that the hardest puzzle in “Inside” was the very first one in the farm, which you get to quite early on.
Branding the Go Build
I want to make sure that I can print out the version information from my Go builds. To do this I need to embed the current version information automatically into the application when I build it. Following the information at https://blog.alexellis.io/inject-build-time-vars-golang/ and this https://stackoverflow.com/questions/11354518/application-auto-build-versioning, I have the following boilerplate:
Replacing Evernote
I have been working on replacing Evernote. The software has just got so slow and buggy, and I dislike having my important information in third-party software. The main things that I use it for are for capturing articles that interest me online, for writing my diary, and capturing photos of receipts and letters.
I now email the URL of any interesting articles or blog posts to a custom email address. I have set up a rule to map any emails going to that email address to a special folder on my IMAP server. I have a Python script that I wrote that will process emails from that folder and extract the URL, then download the HTML at the URL and convert it to a Markdown file. This has been working pretty well. I am planning to index all these files, and I need to set up a process to regularly review the downloaded articles.
Post US Election
The U.S. election was a wild ride! It wasn’t the Democratic landslide that I was hoping. As predicted, however, the initial vote was skewed to the Republicans, and Trump tried to portray that as a Republican win. Over the course of days, the mail-in ballots were counted, and it became clear that Biden won.
The US Election
I hope Biden wins. I don’t think I can stand another 4 years of Trump.
Current State of the Pandemic in the UK
Here in the UK we have just had over 60,000 deaths from Coronavirus. Hospitalisations and deaths are ramping up again. I think that there is a very high possibility that this virus will become endemic, and our society will have to adjust to live with it. On the other hand, some countries in the Asia-Pacific region have very low case rates, and seem to be controlling the pandemic. I think that there is a definite possibility of a two-speed world economy, with much faster growth going to those countries that have managed to control the pandemic.
Recent articles I've been reading
Over the last week or so, I’ve enjoyed the following blog posts / twitter threads.