Lyndon Codes

Welcome to Lyndon Armitage's Blog.
I mostly write about programming and technology related subjects, for more information on me see my about page.

Any posts contained are my own opinions and musings and are not representative of my employer.

Recent Posts

What is Premature Optimisation?

As programmers we’re often taught to take certain things for granted, when it comes to performance. Likewise, we often throw around the Sir Tony Hoare quote, made famous by Donald Knuth: “Premature optimisation is the root of all evil.” But what is premature optimisation?

Contine reading...

Fixing a bug in S3 Object listing in Scala

This is a quick tip from a blunder I made when writing some Scala code using the AWS S3 object listing API. Hopefully it will save someone else from making the same mistake and show how important it is to have good tests, a clear API and the literacy skills to read it.

Contine reading...

Efficiently writing to S3 in Python

Before Christmas 2023 we ran into an issue with one of our simpler data ingests at work. An AWS Lambda, written in Python that queried an API, transformed the results, and landed them in Amazon S3 as JSON (gzipped JSON Lines files to be specific), started to fail.

Contine reading...

AdventOfRust 2023

So it’s two weeks into 2023’s Advent of Code and I have a confession to make. I’ve been using it to learn Rust.

Contine reading...

AdventOfCode 2023

It’s that time of year again. Time to commit to participating in AdventOfCode 2023 only to not finish it. In seriousness, I’ve tried to finish for a few years but always find other commitments get in the way. Nevertheless, I am going to be doing Advent of Code 2023!

Contine reading...