Updating a Secret in Kubernetes with the Java Client (3 mins read).
How to use the Kubernetes Java SDK to patch a secret through Kubernetes' secrets API.
Updating a Secret in Kubernetes with the Java Client (3 mins read).
How to use the Kubernetes Java SDK to patch a secret through Kubernetes' secrets API.
How to Undo a git push --force
(5 mins read).
How to recover from a force push with Git.
Debugging Middleman Code With Middleman's Logger (1 mins read).
How to diagnose issues in Middleman, using logging output.
Lightweight and Powerful Dependency Injection for JVM-based Applications with Dagger (7 mins read).
How and why you should be using Dagger for your dependency injection.
Week Notes 21#41 (5 mins read).
What happened in the week of 2021-10-11?
Implementing IndieAuth Server Metadata (2 mins read).
Announcing support for OAuth Server Metadata on my IndieAuth Server.
Announcing a Service for Creating an iCalendar feed for event RSVPs: rsvp-calendar.tanna.dev
(2 mins read).
Creating a shared service to allow creating iCalendar feeds for tracking what events you're attending.
"I Thought You'd Be Paid More" - What I Learnt From Posting My Salary Publicly (3 mins read).
A writeup of my lightning talk at Tech Nottingham about my salary post.
Week Notes 21#40 (3 mins read).
What happened in the week of 2021-10-04?
Week Notes 21#39 (3 mins read).
What happened in the week of 2021-09-27?
Testing Data Serialisation/Deserialization in Java (with Jackson) (4 mins read).
How to validate your JSON types correctly serialise/deserialise.
Setting up fluentd to Parse Nested JSON from Docker (2 mins read).
How to configure fluentd to parse the inner JSON from a log message as JSON, for use with structured logging.
Week Notes 21#38 (3 mins read).
What happened in the week of 2021-09-20?
Tips for Reducing Dependency Upgrade Toil with Renovate (5 mins read).
Some tips I've picked up while working with Renovate to keep my projects up-to-date.
Week Notes 21#37 (4 mins read).
What happened in the week of 2021-09-13?
Week Notes 21#36 (4 mins read).
What happened in the week of 2021-09-06?
Packaging Wiremock Extensions into the Standalone Server Runner (2 mins read).
How to use Gradle to package a standalone JAR for Wiremock, including any extensions needed.
Testing Java Callbacks with Mockito (1 mins read).
How to test invoking a real callback in a Java project, as a unit test.
Providing a Public Salary History Page (2 mins read).
Publishing my salary and compensation history for public use.
Releasing a Java Library for Gherkin Formatting (4 mins read).
Announcing the release of a Java library that can pretty-format a Gherkin feature file.
Pushing Back to Git In a Jenkins Multibranch Pipeline (1 mins read).
How to push back to a Git repo using a Jenkins multibranch pipeline.
Week Notes 21#35 (2 mins read).
What happened in the week of 2021-08-30?
Week Notes 21#34 (3 mins read).
What happened in the week of 2021-08-23?
Using Bill of Materials to Simplify Dependency Management (3 mins read).
Producing a Bill of Materials to simplify dependency management for Java projects.
Making Your Gherkin Scenarios Written Using Human-Readable Language (4 mins read).
A lukewarm take about why you should use natural language, so someone not-as-technical can read it and still derive value.
Week Notes 21#33 (3 mins read).
What happened in the week of 2021-08-16?
I'm Joining the Cabinet Office (5 mins read).
Announcing my move into the Central Digital and Data Office (CDDO) as a Tech Lead.
Week Notes 21#32 (3 mins read).
What happened in the week of 2021-08-09?
Using Abstract Test Classes To Reduce Duplication in Java (4 mins read).
How to use Java's abstract classes to reduce duplication of code across unit tests with common functionality.
Week Notes 21#31 (3 mins read).
What happened in the week of 2021-08-02?
Week Notes 21#30 (2 mins read).
What happened in the week of 2021-07-26?
Introducing a Microformats API for Books: books-mf2.fly.dev
(2 mins read).
Announcing the Microformats translation layer for book data.
Encoding Strings for Embedding in JSON with Ruby on the Command-Line (1 mins read).
How to easily convert a string to a format that can be used as a value for JSON strings.
Week Notes 21#29 (3 mins read).
What happened in the week of 2021-07-19?
Week Notes 21#28 (3 mins read).
What happened in the week of 2021-07-12?
Programatically Comparing Versions Using Chef's Versioning Schemes (1 mins read).
How to use Chef's versioning classes to determine whether a version constraint is matched.
Week Notes 21#27 (3 mins read).
What happened in the week of 2021-07-05?
Week Notes 21#26 (4 mins read).
What happened in the week of 2021-06-28?
Parsing Encoded JSON Strings on the Command-Line with Ruby (1 mins read).
How to decode an encoded JSON string.
Week Notes 21#25 (2 mins read).
What happened in the week of 2021-06-21?
Testing that your Spring Boot Application Context is Correctly Configured (2 mins read).
How to improve the tests you've got to validate that Spring Boot's context is set up correctly.
Decrypting Encrypted JSON Web Tokens (JWE) with Ruby (1 mins read).
How to use Ruby to decrypt encrypted JSON Web Token objects.
Week Notes 21#24 (2 mins read).
What happened in the week of 2021-06-14?
Week Notes 21#23 (3 mins read).
What happened in the week of 2021-06-07?
Running Multiple JDK Versions with the Gradle Toolchains Configuration (2 mins read).
How to use the Gradle's toolchain
configuration to configure multiple JDKs on your machine.
Week Notes 21#22 (2 mins read).
What happened in the week of 2021-05-31?
Testing Data Serialisation/Deserialization using JsonTest
with Spring Boot (3 mins read).
How to use the @JsonTest
test type in Spring Boot to validate your JSON types correctly serialise/deserialise.
Default Your Tests to run in Parallel (2 mins read).
Discussing the benefits you can achieve by having parallel-by-default.
Writing Better Wiremock Stubs (3 mins read).
How to improve the specificity of Wiremock tests to allow for not clobbering other scenarios, and enabling scalable test runs.
Writing Better Tests (1 mins read).
Announcing a new series of posts about improving the way we write tests.