<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>K’loger</title><link>https://blog.keithmarston.me.uk/</link><description>Recent content on K’loger</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Tue, 24 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://blog.keithmarston.me.uk/index.xml" rel="self" type="application/rss+xml"/><item><title>Terraform or OpenTofu for the home lab?</title><link>https://blog.keithmarston.me.uk/posts/tofu-or-terraform/</link><pubDate>Tue, 24 Nov 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/tofu-or-terraform/</guid><description>&lt;p&gt;I&amp;rsquo;ve been using Infrastructure as Code increasingly heavily in my home lab. Between Proxmox, cloud resources, networking and configuration handed off to Ansible, the obvious question is: Terraform or OpenTofu?&lt;/p&gt;</description></item><item><title>Hugo project - design and deployment</title><link>https://blog.keithmarston.me.uk/posts/hugo-deployment/</link><pubDate>Mon, 23 Nov 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/hugo-deployment/</guid><description>&lt;h1 id="objectives"&gt;Objectives&lt;/h1&gt;&#10;&lt;h2 id="sprint-1"&gt;Sprint 1&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Make a personal blog site.&lt;/li&gt;&#10;&lt;li&gt;Build a repeatable CI/CD pipeline.&lt;/li&gt;&#10;&lt;li&gt;Validate Hugo content before publishing.&lt;/li&gt;&#10;&lt;li&gt;Deploy each successful &lt;code&gt;main&lt;/code&gt; commit automatically.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="sprint-2"&gt;Sprint 2&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Use AWS rather than GitHub Pages for the production origin.&lt;/li&gt;&#10;&lt;li&gt;Manage the S3, CloudFront, ACM, Route 53 and deployment-role resources with Terraform.&lt;/li&gt;&#10;&lt;li&gt;Keep long-lived AWS credentials out of GitHub Actions.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="backlog"&gt;Backlog&lt;/h2&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Review commenting and feedback options.&lt;/li&gt;&#10;&lt;li&gt;Allow other projects to contribute articles and trigger a new blog deployment.&lt;/li&gt;&#10;&lt;li&gt;Add an AI-assisted editorial process with a clear human review boundary.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h1 id="production-deployment"&gt;Production deployment&lt;/h1&gt;&#10;&lt;p&gt;The intended production path is deliberately small:&lt;/p&gt;</description></item><item><title>Hugo rendering test: diagrams, images and technical markup</title><link>https://blog.keithmarston.me.uk/posts/hugo-rendering-test/</link><pubDate>Mon, 23 Nov 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/hugo-rendering-test/</guid><description>&lt;p&gt;This is a permanent rendering fixture rather than a normal editorial article. It exercises the Markdown, Hugo and theme-dependent components likely to appear in future K’loger posts.&lt;/p&gt;&#10;&lt;h2 id="mermaid-flowchart"&gt;Mermaid flowchart&lt;/h2&gt;&#10;&lt;figure class="diagram mermaid-diagram"&gt;&#10; &lt;pre class="mermaid" data-mermaid-id="mermaid-544d121d4bc3858fad193e5899ef6eee"&gt;flowchart LR&#10; Router[&amp;#34;Internet router&amp;#34;] --&amp;gt; Firewall[&amp;#34;edge-01&amp;#34;]&#10; Firewall --&amp;gt; Switch[&amp;#34;core-01&amp;#34;]&#10; Switch --&amp;gt; Proxmox[&amp;#34;proxmox-01&amp;#34;]&#10; Switch --&amp;gt; Console[&amp;#34;console-pi&amp;#34;]&#10; Proxmox --&amp;gt;|VM traffic| HomeAssistant[&amp;#34;Home Assistant&amp;#34;]&#10; Proxmox --&amp;gt;|ISO storage| NAS[&amp;#34;nas-01&amp;#34;]&lt;/pre&gt;&#10; &lt;noscript&gt;&lt;figcaption&gt;Enable JavaScript to render this diagram. The source remains below.&lt;/figcaption&gt;&lt;/noscript&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;&lt;em&gt;Figure 1: A simple home-lab flowchart. Switch between Light and Orange to rerender the diagram with the active palette.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Blog TODOs and future article ideas</title><link>https://blog.keithmarston.me.uk/posts/todos/</link><pubDate>Sun, 22 Nov 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/todos/</guid><description>&lt;h1 id="todos"&gt;TODOs&lt;/h1&gt;&#10;&lt;p&gt;Little quick things to blog on in the future:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;a href="https://blog.keithmarston.me.uk/posts/python-libs/#array"&gt;Python arrays&lt;/a&gt; - Test array memory and speed over lists&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;&lt;a href="https://blog.keithmarston.me.uk/posts/pyweb/"&gt;Python web front ends&lt;/a&gt; - Ways to build front ends for users and developers&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Add static search to blog: &lt;a href="https://snipcart.com/blog/pelican-blog-tutorial-search-comments#4-adding-the-tipue-search-plugin"&gt;tipue&lt;/a&gt;&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Building a sensible GitHub Actions deployment pipeline</title><link>https://blog.keithmarston.me.uk/posts/github-actions-pipeline/</link><pubDate>Wed, 18 Nov 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/github-actions-pipeline/</guid><description>&lt;p&gt;A useful deployment pipeline should be boring in the best possible way. It should catch mistakes early, explain what it is doing, and make the release step easy to inspect.&lt;/p&gt;</description></item><item><title>Fixing a noisy APC Smart-UPS 2200</title><link>https://blog.keithmarston.me.uk/posts/apc-ups-noise/</link><pubDate>Thu, 12 Nov 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/apc-ups-noise/</guid><description>&lt;p&gt;A suddenly loud UPS is an alarm you can hear, but not all noise means the same thing. I started with the battery age, load, event log and room temperature before reaching for a screwdriver.&lt;/p&gt;</description></item><item><title>Running Home Assistant without creating another full-time job</title><link>https://blog.keithmarston.me.uk/posts/home-assistant-operations/</link><pubDate>Fri, 06 Nov 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/home-assistant-operations/</guid><description>&lt;p&gt;Home automation is only useful if the house remains dependable while you are elsewhere. My rule is to treat each automation as a small service with an owner, a failure mode and a boring recovery path.&lt;/p&gt;</description></item><item><title>Notes on Proxmox networking</title><link>https://blog.keithmarston.me.uk/posts/proxmox-networking-notes/</link><pubDate>Thu, 29 Oct 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/proxmox-networking-notes/</guid><description>&lt;p&gt;Proxmox networking is straightforward until several bridges, VLANs and a new switch configuration meet the host’s management address. A one-page diagram is worth more than assumptions made at the rack.&lt;/p&gt;</description></item><item><title>Things I wish Netplan had told me</title><link>https://blog.keithmarston.me.uk/posts/netplan-route-prefix/</link><pubDate>Sat, 17 Oct 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/netplan-route-prefix/</guid><description>&lt;p&gt;Netplan can accept a configuration that describes a route without expressing the route you intended. The useful check is always the rendered network configuration and the kernel routing table.&lt;/p&gt;</description></item><item><title>Building an 8-port Raspberry Pi serial console</title><link>https://blog.keithmarston.me.uk/posts/pi-serial-console/</link><pubDate>Sat, 03 Oct 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/pi-serial-console/</guid><description>&lt;p&gt;A console port becomes valuable at exactly the moment the network is unavailable. An inexpensive Raspberry Pi and a set of labelled USB adapters can provide a dependable eight-port console shelf.&lt;/p&gt;</description></item><item><title>MeshCore, LoRa and building a mesh that is actually useful</title><link>https://blog.keithmarston.me.uk/posts/meshcore-building-a-useful-mesh/</link><pubDate>Tue, 01 Sep 2026 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/meshcore-building-a-useful-mesh/</guid><description>&lt;p&gt;I recently gave a Breaking Bread Boards session on &lt;strong&gt;MeshCore&lt;/strong&gt;, partly because I had fallen rather further down the LoRa rabbit hole than originally intended.&lt;/p&gt;&#10;&lt;p&gt;The starting point was much less ambitious. I wanted to collect data from my allotment and get it roughly &lt;strong&gt;1 km to my daughter&amp;rsquo;s flat or 2.5 km back home in Hove&lt;/strong&gt;. That led through LoRaWAN, the apparently rather quiet local Things Network, Meshtastic and eventually MeshCore.&lt;/p&gt;</description></item><item><title>Ansible date-time variables</title><link>https://blog.keithmarston.me.uk/posts/ansible/</link><pubDate>Sun, 17 Mar 2024 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/ansible/</guid><description>&lt;h1 id="datetime"&gt;datetime&lt;/h1&gt;&#10;&lt;p&gt;The &lt;code&gt;ansible_date_time&lt;/code&gt; Variable&lt;/p&gt;&#10;&lt;p&gt;&lt;a href="https://ansiblepilot.medium.com/how-to-use-date-time-and-timestamp-in-ansible-playbook-e9073ba63f68"&gt;https://ansiblepilot.medium.com/how-to-use-date-time-and-timestamp-in-ansible-playbook-e9073ba63f68&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Python libraries of interest</title><link>https://blog.keithmarston.me.uk/posts/python-libs/</link><pubDate>Sun, 17 Mar 2024 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/python-libs/</guid><description>&lt;h1 id="python-libraries"&gt;Python libraries&lt;/h1&gt;&#10;&lt;p&gt;A collection I libraries I have seen that maybe useful in the future, or have used or just sound cool etc.&lt;/p&gt;&#10;&lt;h2 id="mqtt"&gt;MQTT&lt;/h2&gt;&#10;&lt;p&gt;This is one of the &amp;ldquo;main&amp;rdquo; Python client libraries for MQTT&#10;&lt;a href="https://pypi.org/project/paho-mqtt"&gt;https://pypi.org/project/paho-mqtt&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Sparkplug and MQTT inter-process communication</title><link>https://blog.keithmarston.me.uk/posts/sparkplug/</link><pubDate>Sun, 17 Mar 2024 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/sparkplug/</guid><description>&lt;h1 id="sparkplug"&gt;Sparkplug&lt;/h1&gt;&#10;&lt;h1 id="sparkplug-k"&gt;Sparkplug-K&lt;/h1&gt;&#10;&lt;p&gt;My &amp;ldquo;own&amp;rdquo; implementation without Protbuf&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;a. make it simpler&lt;/li&gt;&#10;&lt;li&gt;b. run on uPython devices&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Python web front-end options</title><link>https://blog.keithmarston.me.uk/posts/pyweb/</link><pubDate>Sat, 17 Jun 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/pyweb/</guid><description>&lt;h1 id="python-web-options"&gt;Python web options&lt;/h1&gt;&#10;&lt;p&gt;I have been starting to look at dash to make React front ends to some of my Python utilities.&lt;br&gt;&#10;I have not partiicuarly done much with it and have found it comberson and fussy to get working. Managing state also seems rather annoying.&lt;/p&gt;</description></item><item><title>Asterisk MixMonitor: recording and speech checks</title><link>https://blog.keithmarston.me.uk/posts/asterisk-mixmonitor/</link><pubDate>Thu, 15 Jun 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/asterisk-mixmonitor/</guid><description>&lt;h1 id="the-original-problem"&gt;The original problem&lt;/h1&gt;&#10;&lt;p&gt;At work we wanted to know if a message been played to a SIP endpoint was been played correctly. These are spoken word &amp;ldquo;announcments&amp;rdquo; rather than any music etc. Initially setting up a Voice Mail box to receive the call and then compare the received audio with the source audio was going to be the approach.&lt;br&gt;&#10;I then had the light bulb moment of this is spoken word so we can potentially check it by doing an audio to text conversion and seeing that we get the expected output. 30 minutes later and an article or two on Stack Overflow and I have 6 lines of Python that will do all the heavy lifting. Not only that but gives the option of about 8 different backend APIs to &amp;ldquo;actually&amp;rdquo; do the work. I will explain more about why this is particiuarly interesting for a later use case&amp;hellip;.&lt;/p&gt;</description></item><item><title>Microservices: patterns and discussion</title><link>https://blog.keithmarston.me.uk/posts/microservices/</link><pubDate>Wed, 14 Jun 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/microservices/</guid><description>&lt;h1 id="microservices-general-discussion"&gt;Microservices General discussion&lt;/h1&gt;&#10;&lt;p&gt;Initial info stolen from &lt;a href="https://levelup.gitconnected.com/12-microservices-pattern-i-wish-i-knew-before-the-system-design-interview-5c35919f16a2"&gt;https://levelup.gitconnected.com/12-microservices-pattern-i-wish-i-knew-before-the-system-design-interview-5c35919f16a2&lt;/a&gt;&lt;/p&gt;&#10;&lt;h2 id="api-gateway-pattern-your-one-stop-shop-for-microservices"&gt;API Gateway Pattern: Your One-Stop-Shop for Microservices&lt;/h2&gt;&#10;&lt;p&gt;Are you tired of managing multiple entry points for your microservices? The API Gateway pattern is here to save the day! Acting as a single entry point for all client requests, the API Gateway simplifies access to your microservices, offering seamless communication between clients and services.&lt;/p&gt;</description></item><item><title>Packaging Python with Poetry and GitLab CI</title><link>https://blog.keithmarston.me.uk/posts/pythonandgitlab/</link><pubDate>Sun, 11 Jun 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/pythonandgitlab/</guid><description>&lt;h1 id="package-a-dist"&gt;Package a dist&lt;/h1&gt;&#10;&lt;p&gt;At the simplest point we want some source code to get made into a package we can then distribute.&lt;/p&gt;&#10;&lt;figure class="diagram mermaid-diagram"&gt;&#10; &lt;pre class="mermaid" data-mermaid-id="mermaid-fcbd96afb036575d4b73aa7a04db0388"&gt;flowchart LR&#10; source&#10; pyproject.toml --&amp;gt; poetry.lock&#10; poetry.lock --&amp;gt; libs&#10; source ----&amp;gt; dist[dist\nwhl - &amp;#39;compiled&amp;#39;\ntar.gz - source]&#10; libs --&amp;gt; dist&#10; meta[Other assets\nREADME.md\nfiles, images\nicons etc.] ----&amp;gt; dist&lt;/pre&gt;&#10; &lt;noscript&gt;&lt;figcaption&gt;Enable JavaScript to render this diagram. The source remains below.&lt;/figcaption&gt;&lt;/noscript&gt;&#10;&lt;/figure&gt;&#10;&lt;p&gt;Simple layout:&lt;/p&gt;</description></item><item><title>What an early ChatGPT summary said about my career</title><link>https://blog.keithmarston.me.uk/posts/summary-fromchatgpt/</link><pubDate>Sat, 13 May 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/summary-fromchatgpt/</guid><description>&lt;h1 id="what-chatgpt-thinks"&gt;What ChatGPT thinks&lt;/h1&gt;&#10;&lt;p&gt;So I copied and pasted a rough draft of my CV into Chat GPT and this is what is had to say:&lt;/p&gt;&#10;&lt;p&gt;Based on the information you provided, it seems that you have a solid technical background and experience in various IT areas, including configuration management, Linux administration, GitLab, Python programming, and cloud computing. You have also worked with ITIL, Agile methodologies, and DevOps practices.&lt;/p&gt;</description></item><item><title>Clean code notes</title><link>https://blog.keithmarston.me.uk/posts/cleancode/</link><pubDate>Mon, 01 May 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/cleancode/</guid><description>&lt;h1 id="todo-rewrite-to-be-more-pythonic"&gt;TODO: Rewrite to be more Pythonic!&lt;/h1&gt;&#10;&lt;p&gt;&lt;a href="https://medium.com/@shubhadeepchat/best-practices-for-clean-code-aaba4a4832bc"&gt;https://medium.com/@shubhadeepchat/best-practices-for-clean-code-aaba4a4832bc&lt;/a&gt;&#10;Benefits of Clean Code:&lt;/p&gt;&#10;&lt;h2 id="readability"&gt;Readability&lt;/h2&gt;&#10;&lt;p&gt;Clean code is easy to read and understand, making it easier to maintain, debug, and update. When code is well-organized and well-structured, it is more accessible to other developers who may need to work on the same codebase.&lt;/p&gt;</description></item><item><title>Docker and Dash</title><link>https://blog.keithmarston.me.uk/posts/dockerhello2/</link><pubDate>Mon, 01 May 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/dockerhello2/</guid><description>&lt;h1 id="hello-world-in-dash-with-dockerfile"&gt;Hello world in Dash with Dockerfile&lt;/h1&gt;&#10;&lt;p&gt;A basic Dash app with a nice plotty graph also taken from &lt;a href="https://github.com/plotly/dash-hello-world"&gt;here&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Docker and Dash hello world</title><link>https://blog.keithmarston.me.uk/posts/dockerhello/</link><pubDate>Mon, 01 May 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/dockerhello/</guid><description>&lt;h1 id="the-plan"&gt;The plan&lt;/h1&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Make a quick Dash &amp;ldquo;hello world&amp;rdquo; app&lt;/li&gt;&#10;&lt;li&gt;a Dockerfile to make an image with the app in it&lt;/li&gt;&#10;&lt;li&gt;Put it on Docker hub&lt;/li&gt;&#10;&lt;li&gt;Deploy it&lt;/li&gt;&#10;&lt;/ul&gt;</description></item><item><title>Docker notes and best practices</title><link>https://blog.keithmarston.me.uk/posts/dockernotes/</link><pubDate>Mon, 01 May 2023 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/posts/dockernotes/</guid><description>&lt;h1 id="docker-notes-and-best-pratice"&gt;Docker notes and best pratice&lt;/h1&gt;&#10;&lt;h2 id="create-ephemeral-containers"&gt;Create ephemeral containers&lt;/h2&gt;&#10;&lt;p&gt;The image defined by your Dockerfile should generate containers that are as ephemeral as possible. Ephemeral means that the container can be stopped and destroyed, then rebuilt and replaced with an absolute minimum set up and configuration.&lt;/p&gt;</description></item><item><title>About K’loger</title><link>https://blog.keithmarston.me.uk/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/about/</guid><description>&lt;p&gt;K’loger is Keith Marston’s technical notebook: a place for useful Linux notes, home-lab experiments, automation, security, infrastructure and whatever else is currently spread across the workbench.&lt;/p&gt;&#10;&lt;p&gt;The aim is practical writing with enough detail to reproduce the result later. Not every experiment works first time. Those are usually the more useful notes.&lt;/p&gt;</description></item><item><title>Keith Marston</title><link>https://blog.keithmarston.me.uk/cv/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://blog.keithmarston.me.uk/cv/</guid><description>&lt;p class="eyebrow"&gt;Curriculum vitae / Professional profile&lt;/p&gt;&#10;&lt;h2 id="senior-ot--linux-infrastructure-engineer"&gt;Senior OT / Linux Infrastructure Engineer&lt;/h2&gt;&#10;&lt;p&gt;Infrastructure engineer specialising in Linux-based operational technology, industrial networking, automation and cybersecurity for utility-scale energy systems. I work where software, infrastructure and physical plant meet, with a focus on making complex operational systems dependable, observable, secure and repeatable to deploy.&lt;/p&gt;</description></item></channel></rss>