Jamie Tanna | Software Engineer

  • /now
  • Blog
  • Popular Posts
  • Archives
  • Search
  • Salary History
  • Open Source Projects I Maintain
  • Support Me
  • Hire Me (CV/Resume)

 Article

Automagically determining feeds provided for a given URL on the command-line (1 mins read).

Creating a command-line application to discover feeds for a given URL.

Sun, 19 Jun 2022 21:21 by Jamie Tanna's profile image Jamie Tanna . #go #rss #feed #slack.

 Article

Managing your Go tool versions with go.mod and a tools.go (3 mins read).

Featured image for sharing metadata for article

Better dependency management for your tools and without needing to go install the tools before executing them.

Wed, 15 Jun 2022 22:21 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go.

 Article

Setting up OpenAPI Contract Tests with a Rails and RSpec codebase (2 mins read).

Featured image for sharing metadata for article

How to run OpenAPI-driven contract tests against a Rails API.

Tue, 07 Jun 2022 21:43 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #ruby #rails #openapi #testing #contract-testing.

 Article

Only testing your public API in a Go package (3 mins read).

Featured image for sharing metadata for article

How to test only exported parts of a package in Go.

Fri, 03 Jun 2022 13:23 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #testing.

 Article

API Design tip: use objects for similar data (1 mins read).

Featured image for sharing metadata for article

Why you should use objects to nest similar data in JSON responses.

Thu, 02 Jun 2022 17:21 by Jamie Tanna's profile image Jamie Tanna . #api.

 Article

Idea for Open Source/Startup: monetising the supply chain (2 mins read).

An idea I've had for how to better distribute support to Open Source libraries in the supply chain for your software.

Wed, 01 Jun 2022 22:06 by Jamie Tanna's profile image Jamie Tanna . #ideas #security #open-source.

 Article

Describing JSON Patch operations with OpenAPI (2 mins read).

Featured image for sharing metadata for article

How to describe your JSON Patch endpoints using OpenAPI.

Sun, 29 May 2022 14:27 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #openapi #api #json-patch.

 Article

Weirdness with git diff-index showing 1 file changed, 0 insertions(+), 0 deletions(-) (1 mins read).

Featured image for sharing metadata for article

Something weird I hit last week with git diff-index, which shows 1 file changed, but no changes.

Mon, 23 May 2022 09:11 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #command-line #git.

 Article

Introducing a library for OpenAPI contract testing with Go's net/http package (2 mins read).

Featured image for sharing metadata for article

Creating a Go library that can verify net/http handlers implement an OpenAPI contract, for use with testing.

Sun, 22 May 2022 19:00 by Jamie Tanna's profile image Jamie Tanna . #go #openapi #testing #contract-testing.

 Article

Testing Go net/http handlers (1 mins read).

Featured image for sharing metadata for article

How to write unit tests to validate an HTTP handler.

Sat, 21 May 2022 21:44 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go.

 Article

Constructing a serialised YAML string in Ruby (1 mins read).

How to convert a YAML document to a string representation, preserving escaped newlines, with Ruby.

Fri, 13 May 2022 18:19 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #command-line #ruby #yaml.

 Article

Lessons learned from modernising a lesser maintained (Spring Boot) service (16 mins read).

What I learned from taking ownership of a lesser maintained service and bringing it up to a better standard.

Thu, 12 May 2022 08:55 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #spring-boot #supportability #incident-management #production #capital-one #technical-leadership.

 Article

Getting the fingerprint of a certificate in Go (1 mins read).

Featured image for sharing metadata for article

How to retrieve an X.509 thumbprint from a remote server, in Go.

Fri, 06 May 2022 21:20 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #certificates.

 Article

Getting the OpenID Connect thumbprint for AWS on the command-line with Go (2 mins read).

Featured image for sharing metadata for article

How to automagically retrieve an OpenID Connect thumbprint for use with AWS' OpenID Connect federated identity.

Fri, 06 May 2022 21:20 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #certificates #aws #oidc.

 Article

Setting up a Go package structure for a combined library and CLI tool (2 mins read).

Featured image for sharing metadata for article

How to structure a Go repository to be both a library and command-line tool(s).

Fri, 06 May 2022 09:20 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go.

 Article

Parsing AWS ALB/ELB access logs into SQLite (2 mins read).

Featured image for sharing metadata for article

How to take a set of ALB/ELB logs and convert them to an SQLite database for further processing.

Fri, 06 May 2022 07:49 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #sqlite #aws.

 Article

When should I use env to start a command with environment variables? (2 mins read).

Featured image for sharing metadata for article

When you should use the env command to specify environment variables when executing a command on the command-line (TL;DR: always).

Thu, 05 May 2022 21:02 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #command-line #shell.

 Article

Should I commit generated Go code? (1 mins read).

Featured image for sharing metadata for article

Answering whether go:generated code should be committed (TL;DR is yes).

Thu, 05 May 2022 09:31 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go.

 Article

Lessons learned from the recent job hunt (13 mins read).

A recap of the recent interview process with several companies, what I learned, and what others should know.

Mon, 02 May 2022 16:50 by Jamie Tanna's profile image Jamie Tanna . #job #interviewing #recruitment #monzo #starling #gitpod #deliveroo #atom-bank #compensation #negotiation #gov.uk #cddo.

 Article

Installing Nokogiri on an M1 Mac (1 mins read).

Featured image for sharing metadata for article

How to get Nokogiri building on an M1 Mac, when using Bundler.

Sun, 01 May 2022 14:39 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #mac #ruby.

 Article

Determining if there are uncommitted changes in Git (1 mins read).

Featured image for sharing metadata for article

A one-liner to work out whether there are uncommitted changes in a repository.

Fri, 29 Apr 2022 16:45 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #command-line #git.

 Article

Building a fault-tolerant work queue for command-line executions with GNU Parallel (2 mins read).

Featured image for sharing metadata for article

How to use parallel to create a lightweight work queue of commands, with retry logic and a record of what's been executed.

Thu, 28 Apr 2022 21:04 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #command-line #gnu-parallel.

 Article

Extracting Podcast Addict listening history from the SQLite database (2 mins read).

Featured image for sharing metadata for article

How to get raw listening history from the Podcast Addict database.

Thu, 28 Apr 2022 21:04 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #podcast-addict #sqlite.

 Article

Removing 'smart' quotes from a file, on the command-line (2 mins read).

A one-liner with sed to replace 'smart' quotes with regular quotes.

Thu, 28 Apr 2022 13:57 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #command-line #mac #linux.

 Article

I'm Joining Deliveroo (2 mins read).

Featured image for sharing metadata for article

Announcing my move into Deliveroo as a Senior Software Engineer.

Mon, 25 Apr 2022 08:57 by Jamie Tanna's profile image Jamie Tanna . #personal #job #announcement #cddo #deliveroo.

 Article

Automagically setting the project version for Go projects in SonarQube (2 mins read).

Featured image for sharing metadata for article

How to automagically set sonar.projectVersion for Go projects, based on Git tags.

Wed, 20 Apr 2022 22:17 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #sonarqube #gitlab-ci.

 Article

Converting a Byte Array to String from a Node.JS Buffer, in Go (1 mins read).

Featured image for sharing metadata for article

How to convert an array of bytes to a string using Go.

Tue, 12 Apr 2022 21:40 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #nodejs.

 Article

Prefactoring: Preparatory Refactoring (2 mins read).

Featured image for sharing metadata for article

Why I use prefactoring as a means to perform up-front refactoring for codebases, splitting these into separate PRs/MRs where possible.

Tue, 12 Apr 2022 21:03 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #git #workflow #refactoring #code-review.

 Article

Protecting an Architect Framework Application with OAuth2 or OpenID Connect Authentication (4 mins read).

Featured image for sharing metadata for article

How to set up OAuth2/OpenID Connect authentication with an Architect Framework application.

Mon, 11 Apr 2022 11:10 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #architect-framework #nodejs #aws-lambda #oidc #indieauth #oauth2.

 Article

Getting node-canvas to run on AWS Lambda (3 mins read).

Featured image for sharing metadata for article

Some common issues that occur when using node-canvas on AWS Lambda, and how to solve them.

Fri, 08 Apr 2022 14:29 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #javascript #nodejs #aws-lambda.

 Article

Parsing the Cookie and Set-Cookie headers with Go (2 mins read).

Featured image for sharing metadata for article

How to parse the value of a Cookie or Set-Cookie header to a JSON object.

Thu, 07 Apr 2022 10:18 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #http.

 Article

Generating a Go HTTP Client from OpenAPI schemas (2 mins read).

Featured image for sharing metadata for article

How to generate a Go HTTP client really quickly and easily, with no manual work, using the oapi-codegen project.

Wed, 06 Apr 2022 14:59 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #openapi.

 Article

Generating Go structs from OpenAPI schemas (2 mins read).

Featured image for sharing metadata for article

How to generate Go structs really quickly and easily, with no manual work, using the oapi-codegen project.

Wed, 06 Apr 2022 14:32 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #openapi.

 Article

Setting up GitLab CI for Go projects (2 mins read).

Featured image for sharing metadata for article

How to set up a basic set of automated builds for Go projects on GitLab CI, for modern Go projects.

Wed, 06 Apr 2022 09:36 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #gitlab-ci.

 Article

Introducing tiktok-mf2.tanna.dev, for converting TikTok video metadata to Microformats2 (1 mins read).

Featured image for sharing metadata for article

Announcing a hosted service for converting TikTok metadata to a Microformats2 object.

Fri, 01 Apr 2022 21:28 by Jamie Tanna's profile image Jamie Tanna . #tiktok #tiktok-mf2 #indieweb #microformats2.

 Article

Adding a Non-AWS Hosted Custom Domain to an AWS API Gateway without CloudFront (2 mins read).

Featured image for sharing metadata for article

How to set up a domain name for AWS API Gateway for a domain that isn't managed through AWS Route 53.

Fri, 01 Apr 2022 15:37 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #aws.

 Article

Creating a minimal AWS S3 Bucket Policy for deploying with Hugo via hugo deploy. (1 mins read).

Featured image for sharing metadata for article

How to configure an AWS S3 Bucket for hugo deploy with the minimal access required for a role to write objects to.

Wed, 30 Mar 2022 17:17 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #aws #hugo.

 Article

Automagically deploying Architect Framework applications to AWS uisng GitLab CI (3 mins read).

Featured image for sharing metadata for article

How to use GitLab's OpenID Connect support with AWS, to allow deployment using the Architect Framework automagically on GitLab CI.

Wed, 30 Mar 2022 15:17 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #oidc #architect-framework #aws #gitlab #gitlab-ci.

 Article

Avoiding Spring context issues when parallelising @Nested Spring integration tests (3 mins read).

Featured image for sharing metadata for article

Using abstract base classes to reduce risk of Spring context overall issues with Spring (Boot) integration tests.

Tue, 22 Mar 2022 11:44 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring #spring-boot #testing #tdd.

 Article

Providing a basic implementation of Ruby's ARGF.read in Go (2 mins read).

Featured image for sharing metadata for article

Creating a Go helper method to read from stdin or a file, inspired by Ruby's ARGF.read method.

Tue, 22 Mar 2022 11:22 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #go #ruby.

 Article

Integration Testing Your Spring WebClients with Wiremock (4 mins read).

Featured image for sharing metadata for article

How to write integration tests using Wiremock, for use with WebClients.

Tue, 22 Mar 2022 10:38 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #java #spring-boot #testing #tdd.

 Article

Accessing the OpenAPI Specification for a Kubernetes Cluster (1 mins read).

Featured image for sharing metadata for article

How to get the OpenAPI specification for your Kubernetes Cluster.

Wed, 16 Mar 2022 18:26 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #kubernetes #openapi.

 Article

Solving ConnectExceptions with the Kubernetes Java ApiClient (1 mins read).

Featured image for sharing metadata for article

How I solved ConnectExceptions in my Kubernetes Java client usage, by moving to cluster mode.

Wed, 16 Mar 2022 17:51 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #kubernetes #java.

 Article

Automagically Auditing GitHub (Actions) Security using OpenSSF Scorecards (6 mins read).

Featured image for sharing metadata for article

How to use the OpenSSF Scorecards GitHub Action to audit your GitHub and GitHub Actions configuration, and a breakdown of some of the issues raised by it.

Tue, 15 Mar 2022 15:03 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #github #github-actions #security.

 Article

Introducing opengraph-mf2 a library, and service opengraph-mf2.tanna.dev, for converting OpenGraph metadata to Microformats2 (3 mins read).

Featured image for sharing metadata for article

Announcing an NPM package and a hosted service for converting OpenGraph metadata to a Microformats2 object.

Mon, 14 Mar 2022 19:20 by Jamie Tanna's profile image Jamie Tanna . #opengraph #opengraph-mf2 #indieweb #microformats2.

 Article

How to fix Failed to load ApplicationContext in Spring (Boot) applications (6 mins read).

Featured image for sharing metadata for article

Some common issues with Spring dependency injection and how to fix them.

Thu, 10 Mar 2022 16:04 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #spring #spring-boot.

 Article

Converting an x5c from a JSON Web Key to a PEM with Node.JS (1 mins read).

Featured image for sharing metadata for article

How to convert a JWK's x5c to a PEM-formatted certificate with Node.JS.

Sun, 06 Mar 2022 11:33 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #nodejs #jwks #jwk #certificates #pem #x509.

 Article

Extracting x5cs from a JSON Web Key Set (JWKS) to PEM files with Node.js (1 mins read).

Featured image for sharing metadata for article

How to extract the full chain of certificates from a JWKS' x5c parameter to files.

Sun, 06 Mar 2022 11:33 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #nodejs #jwks #jwk #certificates #pem #x509.

 Article

Generate a running mock server from an OpenAPI specification using Prism (3 mins read).

Featured image for sharing metadata for article

Using Stoplight's prism tool to run a stubbed server from an OpenAPI specification, for better testing.

Fri, 04 Mar 2022 17:52 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #swagger #openapi.

 Article

Gotcha: checked and unchecked exception handling from Spring WebFlux WebClient (2 mins read).

Featured image for sharing metadata for article

How checked and unchecked exceptions may appear when testing your WebClient code.

Fri, 04 Mar 2022 17:06 by Jamie Tanna's profile image Jamie Tanna . #blogumentation #spring #spring-boot #java #testing.

You're currently viewing page 6 of 17, of 833 posts.

Go to the previous page

Go to the next page

Other links that may be of interest:

  • /slashes
  • Follow This Blog (i.e. via RSS feed)
  • Talks
  • Blogroll
  • Why is my site www.jvt.me?
  • Archives
  • Post Visualisation
  • Manual of Me
  • Typography
  • My name and pronounciation
  • RSVPs
  • Links
  • Post by Kind

This site is part of an IndieWeb Webring πŸ•ΈπŸ’

  • Previous site
  • Next site

Want to get in touch? Drop me an email at  hi@jamietanna.co.uk. I try to get back to everything, if I don't reply in a couple of weeks, feel free to give me a nudge!

You can also check out a list of all the places /elsewhere you can find me.

© 2025 Jamie Tanna. Post content and code snippets licensing is detailed on respective pages, otherwise default to Creative Commons Attribution Non Commercial Share Alike 4.0 International and Apache License 2.0.
Site design released under the MIT License.
Proudly hosted on AWS using S3 + CloudFront, deployed by GitLab CI, and generated by 4a2feb8ddf on Sat, 18 Apr 2020 14:40:29 +0100..