Performing AND
conditionals in HAProxy (1 mins read).
How to string multiple conditions together in HAProxy to perform an AND
.
Performing AND
conditionals in HAProxy (1 mins read).
How to string multiple conditions together in HAProxy to perform an AND
.
Creating a JSON Patch endpoint in Go (2 mins read).
How to create a server-side JSON Patch API endpoint in Go.
Week Notes 22#44 (4 mins read).
What happened in the week of 2022-10-31?
Extracting the dependency tree from Renovate for given repositories (4 mins read).
Creating a (hacky) solution to retrieve the dependency graph from Renovate for a set of repositories.
Week Notes 22#43 (2 mins read).
What happened in the week of 2022-10-24?
Listing all GitHub repositories in a GitHub Organisation (3 mins read).
How to use the GraphQL API to list all the repositories that can be found in a given GitHub organisation.
Week Notes 22#42 (2 mins read).
What happened in the week of 2022-10-17?
'Should I be able to learn how to be more productive at work?' (3 mins read).
Looking at whether learning how to be more productive, during work hours, is a reasonable thing to do.
Does the tech industry thrive on free work? (6 mins read).
Thinking about how there are subtle expectations to work on your career outside of tech, and how it's not necessarily great.
Retrofitting OpenAPI documentation to your Rails codebase (12 mins read).
How to take a Rails codebase and introduce OpenAPI documentation and contract tests, in a test-driven manner.
Week Notes 22#41 (3 mins read).
What happened in the week of 2022-10-10?
Phew, that's a lot of traffic π What happens when a blog post goes viral? (5 mins read).
Looking at some of the things that happen when my posts have gone viral, from how much traffic it brings, to the various sources of traffic.
Week Notes 22#40 (3 mins read).
What happened in the week of 2022-10-03?
I've got ADHD (4 mins read).
Announcing my recent diagnosis with ADHD Inattentive Type.
Week Notes 22#39 (3 mins read).
What happened in the week of 2022-09-26?
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.
Week Notes 22#38 (4 mins read).
What happened in the week of 2022-09-19?
Lessons learned since posting my salary history publicly (8 mins read).
What I've learned in the year since posting my salary history publicly.
Week Notes 22#37 (3 mins read).
What happened in the week of 2022-09-12?
Week Notes 22#36 (4 mins read).
What happened in the week of 2022-09-05?
Week Notes 22#35 (5 mins read).
What happened in the week of 2022-08-29?
Gotcha: testable examples in Go need an output
comment (2 mins read).
Beware that your Go Example
tests may not actually be running.
Week Notes 22#34 (4 mins read).
What happened in the week of 2022-08-22?
Week Notes 22#33 (4 mins read).
What happened in the week of 2022-08-15?
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.
Week Notes 22#32 (2 mins read).
What happened in the week of 2022-08-08?
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.
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.
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.
Week Notes 22#31 (4 mins read).
What happened in the week of 2022-08-01?
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.
Releasing a Go library for content-type negotiation (2 mins read).
Introducing a new Go library for performing server-driven content negotiation.
Week Notes 22#30 (4 mins read).
What happened in the week of 2022-07-25?
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.
Week Notes 22#29 (2 mins read).
What happened in the week of 2022-07-18?
Optional configuration for configuring Go code (2 mins read).
How to use optional types to allow configuring your library's Go code.
Week Notes 22#28 (4 mins read).
What happened in the week of 2022-07-11?
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.
Week Notes 22#27 (3 mins read).
What happened in the week of 2022-07-04?
Pointing to a fork of a Go module (1 mins read).
How to pin your Go modules to a given fork of a repository.
Week Notes 22#26 (3 mins read).
What happened in the week of 2022-06-27?
Running Go tests in Parallel (2 mins read).
How to get Go tests to run in parallel for speed.
Ignoring slow-running tests in Go (1 mins read).
How to use Go's -short
testing mode to avoid running slower tests.
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.
Week Notes 22#25 (2 mins read).
What happened in the week of 2022-06-20?
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.
Describing a multi-value querystring parameter in OpenAPI (1 mins read).
How to define a querystring parameter that has multiple values, in OpenAPI.
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.
Week Notes 22#24 (3 mins read).
What happened in the week of 2022-06-13?
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.