FA Cup Final

On Thursday, a friend offered me two unwanted corporate tickets for the FA Cup Final at Wembley. I gleefully accepted and offloaded the second ticket within minutes. Saturday dawned cloudy and overcast. I realised I’d planned the journey for a traditional 3pm kick-off. I had the tickets in my hand although it was a bit weird for something so valuable and sought after to be printed out on my mate’s cheap inkjet printer. No holograms, no watermark - just plain A4 paper from WH Smiths. ...

May 23, 2016

optimising Emacs and elfeed

I recently had to re-install my work laptop with Oracle Linux 7. With backups, it didn’t take too long to reinstall. The most time consuming task was compiling Emacs 24.5 from source. Emacs 24.5 is required for the excellent Prelude starter kit I have recently adopted. There are a lot of pre-requisite packages for Emacs that are available (but not included) in Oracle Linux 7. As part of the ‘Emacs for Everything’ experiment, I have also started to use an Emacs package called ‘elfeed’ to read RSS feeds and while it worked in my new, shiny environment, I noticed it ran much slower then previously. I tracked this degradation to the fact that OL7 ships with a dated version of ‘GnuTLS’ (3.3.8 released in September 2014) whereas the latest version is 3.4.9 (released in February 2016). ...

April 28, 2016

Code highlight example

This is the famous ‘Hello world’ program written in Python in colour using Markdown. #!/usr/bin/env python import sys def hello(name='world'): greeting = "hello " + name print(greeting) if __name__ == "__main__": hello(*sys.argv[1:]) This took me a long time to get working.

April 1, 2016

how mu4e changed my life

Getting email No mail. In three whole days. Weird. I wonder if it’s Thanksgiving over in the States. Not even any football related banter. Is this thing even on ? Then I realised precisely why I was sitting alone in an island of blissful isolation, devoid of all email communications and staring at an Inbox in a perpetual state of ‘Zero’. I had forgotten to configure inbound email. When I was testing, I used mbsync to synchronise emails from my ISP which worked well (fast, reliable, well documented) with bi-directional sync between IMAP and my local Maildir. ...

March 23, 2016

AWS security

Aka ‘DARK WEB HACKER COST ME $1600 SHOCK HORROR !’ After I set up my Jekyll site and uploaded the content to Amazon S3 using ‘s3website’, I remember thinking ‘I must re-read that section about securing the configuration file with AWS credentials in plain text’. If the source code of your website is publicly available, ensure that the s3website.yml file is in the list of ignored files. For git users this means that the file .gitignore should mention the s3website.yml file. ...

March 9, 2016