Recent Posts
Migrating Posts From Wordpress to Hugo
After a rather long editing effort and also needing to clean up Flickr (to get into the new free tier limits), last month I completed the migration of content from Wordpress (minus the odd or deleted Flickr photo post’s) to my now not so new Hugo static site.
While part of this was scripted, by writing out the markdown files for each post from the XML export via this not so pretty, but functional script:
read more
X-Clacks-Overhead: GNU Terry Pratchett
Thanks to GNU Terry Pratchett on CloudFront by Adam O’Grady. I’ve quickly added a x-clacks-overhead HTTP header (link) to my blog using AWS Lambda@Edge.
“A man is not dead while his name is still spoken.” - Going Postal, Chapter 4 prologue
This is something I’ve wanted to do for a long time now, but something I could not achieve with my old blog hosting site.
x-clacks-overhead: GNU Terry Pratchett Now I need to turn my manual Lambda functions, into some IaC deploy via serverless and configure terraform to pick up the latest version and write to cloudfront.
read more
New Blog Hosting
This is my new static blog that’s built with Hugo (using the Ananke theme) and hosted in AWS, using Cloudfront with a private S3 bucket as the origin.
Following the ideals of being Cloudnative, all the infrastructure is built using Terraform and deployed via GitHub actions.
terraform { required_version = "~> 0.13.0" required_providers { aws = { source = "hashicorp/aws" } } So far I’m finding Hugo is really nice to use, huge plus being able to write blog posts in Markdown.
read more
How to Step up my Python programming to the next level?
This was originally published on Medium on May 7, 2016. archiving here as no longer pushing on Medium.
So I’ve been programming in Python on and off for what must be close to 15 years now. However until the start of this year it’s all been odd side projects for useful tools outside of work. Now I’m writing Python automation code for the StackStorm platform as a increasingly large part of my day job.
read more
Electrical Thing(tm)
First post in ages, last weekend we visited the National Museum of Scotland and I took the camera (and used it) for once.
Power
read more
New Blog Name and New Header Image!
So my blog now has a new domain name, gravatar and header image and after a trip down south to see Hadrian’s Wall for the first time. In the coming weeks I’m hoping to start posting some new content! This may end up not being the case, but well stranger things have happened!
read more
Python Improvement Pondering...
This was originally published on Medium on May 22, 2016. archiving here as no longer pushing on Medium.
So I think my Python is improving for sure. In the last couple of weeks I’ve used new style objects, properties, and setters to create objects to hold Orion node data. In short, applying what I read at the start of the year in Fluent Python.
However, more importantly I feel up to the challenge of addressing the lack of support for turning on SSL verification, and using Request-Mock for unit testing with the orionsdk module.
read more
Installing Ubuntu onto a MacMini1,1 is really hard!
So installing Ubuntu onto an 2006 Mac Mini (macmini1,1) is really hard, mainly down the bugs in EFI preventing booting of USB sticks or CD’s that are available for download from Ubuntu and this Mini not 64 bit CPU but 32 bit!
So things to remember:
This mac mini is x32 and not an x64 CPU! So do download the right image! Install rEFInd (this is really important) Follow these instructions to create an USB stick.
read more
Thinking about migrating from Aperture to Adobe Lightroom
So I’ve been using Apple’s Aperture photo management and editing application since just after I got an SLR in 2007. So it was with great sadness I learned last year that it would be going away and replaced with Photos (along with iPhoto).
So I need to find another photo management & editing product or just give in and use the new Photos for everything. Which I don’t really want to do as I very much like the power of Aperture to make the most of photos shoot in RAW.
read more
Something new for the Networking tool bag - Sergeant Clip
Today on Twitter I noticed that fryguy_pa posted the following yesterday.
The @sergeantclip worked nice. Was glad to finally use them. — Jeff (@fryguy_pa) January 24, 2015
This is the Sergeant Clip which looks like something really useful for the networking tool bag. In fact I’m going to order both a 6 and 12 port versions tonight.
Update 2020-11-11: Yes it did look useful, but by this point I had moved on from Networking and never used it in anger until it went in a clear out post moving last month.
read more