Article
Analysing our dependency trees to determine where we should send Open Source contributions for Hacktoberfest (8 mins read).
How we (at Deliveroo) are using GitHub Advanced Security's dependency scanning functionality to determine what our most popular dependencies are, and whether we can find any Open Source contributions for the month of Hacktoberfest.
Thu, 29 Sep 2022 13:10 by Jamie Tanna
.
#deliveroo
#open-source
#hacktoberfest .
Article
Lessons learned since posting my salary history publicly (8 mins read).
What I've learned in the year since posting my salary history publicly.
Wed, 21 Sep 2022 09:13 by Jamie Tanna
.
#salary
#job
#capital-one
#cddo
#deliveroo .
Article
Gotcha: testable examples in Go need an output comment (2 mins read).
Beware that your Go Example tests may not actually be running.
Tue, 30 Aug 2022 09:20 by Jamie Tanna
.
#go
#testing
#blogumentation .
Article
Introducing the tidied tool, to more easily check whether go mod tidy has been run (2 mins read).
Why I've created a command-line application called tidied to check go mod tidy has been run.
Thu, 18 Aug 2022 10:08 by Jamie Tanna
.
#go .
Article
Converting HTTP requests to Wiremock stubs, with Go (2 mins read).
How to take an HTTP request and convert it into a Wiremock JSON mapping, on the command-line, in Go.
Fri, 12 Aug 2022 17:17 by Jamie Tanna
.
#blogumentation
#testing
#go
#wiremock .
Article
The first script I write in a new job: gg (2 mins read).
Why writing a script to easily git clone repos is my first step as a new starter.
Fri, 12 Aug 2022 16:25 by Jamie Tanna
.
#automation
#scripting .
Article
Learning a new language, or how I gained familiarity with Go (10 mins read).
How I've eased into a new language, Go, as a Senior Software Engineer, and some initial thoughts on the language.
Fri, 12 Aug 2022 15:58 by Jamie Tanna
.
#go .
Article
Releasing a set of test cases for Content Negotiation (2 mins read).
Introducing a repo for test cases to validate how you're performing server-driven content negotiation.
Sun, 07 Aug 2022 21:13 by Jamie Tanna
.
#content-negotiation .
Article
Releasing a Go library for content-type negotiation (2 mins read).
Introducing a new Go library for performing server-driven content negotiation.
Fri, 05 Aug 2022 09:28 by Jamie Tanna
.
#go
#content-negotiation .
Article
Using generics to get a pointer to any type, in Go (1 mins read).
How to use Go generics to create a helper method for getting a pointer to any type.
Fri, 29 Jul 2022 16:21 by Jamie Tanna
.
#blogumentation
#go .
Article
Optional configuration for configuring Go code (2 mins read).
How to use optional types to allow configuring your library's Go code.
Fri, 22 Jul 2022 16:55 by Jamie Tanna
.
#blogumentation
#go .
Article
Building a Go RESTful API with design-first OpenAPI contracts (6 mins read).
How to use oapi-codegen to generate an RESTful API using design-first OpenAPI and code generation.
Tue, 12 Jul 2022 15:54 by Jamie Tanna
.
#blogumentation
#openapi
#go
#api .
Article
Pointing to a fork of a Go module (1 mins read).
How to pin your Go modules to a given fork of a repository.
Thu, 07 Jul 2022 09:51 by Jamie Tanna
.
#blogumentation
#go .
Article
Running Go tests in Parallel (2 mins read).
How to get Go tests to run in parallel for speed.
Fri, 01 Jul 2022 16:52 by Jamie Tanna
.
#blogumentation
#go
#testing .
Article
Ignoring slow-running tests in Go (1 mins read).
How to use Go's -short testing mode to avoid running slower tests.
Fri, 01 Jul 2022 16:23 by Jamie Tanna
.
#blogumentation
#go
#testing .
Article
Shipping services more quickly with design-first OpenAPI contracts (8 mins read).
How using OpenAPI has led to being able to ship a new service more effectively, by removing the need to write scaffolding, and instead focus on the business logic.
Mon, 27 Jun 2022 16:27 by Jamie Tanna
.
#deliveroo
#openapi
#go
#api .
Article
Automating boilerplate/scaffolding code with custom code generation in Go (4 mins read).
How to use Go's code generation tooling to add custom code generation to your project.
Sun, 26 Jun 2022 08:39 by Jamie Tanna
.
#blogumentation
#go .
Article
Describing a multi-value querystring parameter in OpenAPI (1 mins read).
How to define a querystring parameter that has multiple values, in OpenAPI.
Wed, 22 Jun 2022 18:24 by Jamie Tanna
.
#blogumentation
#openapi
#api
#json-patch .
Article
Stubbing out the Go http.Client to test an HTTP HandlerFunc (2 mins read).
How to write a unit test to validate your router's HTTP handlers work, by stubbing out the http.Client implementation.
Wed, 22 Jun 2022 09:27 by Jamie Tanna
.
#blogumentation
#go .
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
.
#go
#rss
#feed
#slack .
Article
Managing your Go tool versions with go.mod and a tools.go (3 mins read).
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
.
#blogumentation
#go .
Article
Setting up OpenAPI Contract Tests with a Rails and RSpec codebase (2 mins read).
How to run OpenAPI-driven contract tests against a Rails API.
Tue, 07 Jun 2022 21:43 by Jamie Tanna
.
#blogumentation
#ruby
#rails
#openapi
#testing
#contract-testing .
Article
Only testing your public API in a Go package (3 mins read).
How to test only exported parts of a package in Go.
Fri, 03 Jun 2022 13:23 by Jamie Tanna
.
#blogumentation
#go
#testing .
Article
API Design tip: use objects for similar data (1 mins read).
Why you should use objects to nest similar data in JSON responses.
Thu, 02 Jun 2022 17:21 by 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
.
#ideas
#security
#open-source .
Article
Describing JSON Patch operations with OpenAPI (2 mins read).
How to describe your JSON Patch endpoints using OpenAPI.
Sun, 29 May 2022 14:27 by Jamie Tanna
.
#blogumentation
#openapi
#api
#json-patch .
Article
Weirdness with git diff-index showing 1 file changed, 0 insertions(+), 0 deletions(-) (1 mins read).
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
.
#blogumentation
#command-line
#git .
Article
Introducing a library for OpenAPI contract testing with Go's net/http package (2 mins read).
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
.
#go
#openapi
#testing
#contract-testing .
Article
Testing Go net/http handlers (1 mins read).
How to write unit tests to validate an HTTP handler.
Sat, 21 May 2022 21:44 by 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
.
#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
.
#blogumentation
#spring-boot
#supportability
#incident-management
#production
#capital-one
#technical-leadership .
Article
Getting the fingerprint of a certificate in Go (1 mins read).
How to retrieve an X.509 thumbprint from a remote server, in Go.
Fri, 06 May 2022 21:20 by Jamie Tanna
.
#blogumentation
#go
#certificates .
Article
Getting the OpenID Connect thumbprint for AWS on the command-line with Go (2 mins read).
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
.
#blogumentation
#go
#certificates
#aws
#oidc .
Article
Setting up a Go package structure for a combined library and CLI tool (2 mins read).
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
.
#blogumentation
#go .
Article
Parsing AWS ALB/ELB access logs into SQLite (2 mins read).
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
.
#blogumentation
#sqlite
#aws .
Article
When should I use env to start a command with environment variables? (2 mins read).
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
.
#blogumentation
#command-line
#shell .
Article
Should I commit generated Go code? (1 mins read).
Answering whether go:generated code should be committed (TL;DR is yes).
Thu, 05 May 2022 09:31 by 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
.
#job
#interviewing
#recruitment
#monzo
#starling
#gitpod
#deliveroo
#atom-bank
#compensation
#negotiation
#gov.uk
#cddo .
Article
Installing Nokogiri on an M1 Mac (1 mins read).
How to get Nokogiri building on an M1 Mac, when using Bundler.
Sun, 01 May 2022 14:39 by Jamie Tanna
.
#blogumentation
#mac
#ruby .
Article
Determining if there are uncommitted changes in Git (1 mins read).
A one-liner to work out whether there are uncommitted changes in a repository.
Fri, 29 Apr 2022 16:45 by Jamie Tanna
.
#blogumentation
#command-line
#git .
Article
Building a fault-tolerant work queue for command-line executions with GNU Parallel (2 mins read).
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
.
#blogumentation
#command-line
#gnu-parallel .
Article
Extracting Podcast Addict listening history from the SQLite database (2 mins read).
How to get raw listening history from the Podcast Addict database.
Thu, 28 Apr 2022 21:04 by 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
.
#blogumentation
#command-line
#mac
#linux .
Article
I'm Joining Deliveroo (2 mins read).
Announcing my move into Deliveroo as a Senior Software Engineer.
Mon, 25 Apr 2022 08:57 by Jamie Tanna
.
#personal
#job
#announcement
#cddo
#deliveroo .
Article
Automagically setting the project version for Go projects in SonarQube (2 mins read).
How to automagically set sonar.projectVersion for Go projects, based on Git tags.
Wed, 20 Apr 2022 22:17 by Jamie Tanna
.
#blogumentation
#go
#sonarqube
#gitlab-ci .
Article
Converting a Byte Array to String from a Node.JS Buffer, in Go (1 mins read).
How to convert an array of bytes to a string using Go.
Tue, 12 Apr 2022 21:40 by Jamie Tanna
.
#blogumentation
#go
#nodejs .
Article
Prefactoring: Preparatory Refactoring (2 mins read).
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
.
#blogumentation
#git
#workflow
#refactoring
#code-review .
Article
Protecting an Architect Framework Application with OAuth2 or OpenID Connect Authentication (4 mins read).
How to set up OAuth2/OpenID Connect authentication with an Architect Framework application.
Mon, 11 Apr 2022 11:10 by Jamie Tanna
.
#blogumentation
#architect-framework
#nodejs
#aws-lambda
#oidc
#indieauth
#oauth2 .
Article
Getting node-canvas to run on AWS Lambda (3 mins read).
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
.
#blogumentation
#javascript
#nodejs
#aws-lambda .
Article
Parsing the Cookie and Set-Cookie headers with Go (2 mins read).
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
.
#blogumentation
#go
#http .