January 23, 2024

Starting off easy: Week 1 of 48 in 24

Exercism – one of my favourite “learn to code” websites – is doing a thing where each week (ish?) there is a new challenge to solve a coding exercise in several languages. It’s called “48 in 24”. It looks like you get a bronze medal if you solve the coding exercise in some language, a silver medal if you solve it in three specific languages, and a gold medal if you solve it in any three languages in 2024. We’ll see how long this lasts, but I’m going to try to blog about my attempts to solve the exercise. To be clear, these are my attempts to solve the exercise, likely often in languages I’m not that familiar with, so the solutions might not be optimal or idiomatic. I’m also not going to explain every key word and language construct I use, I’ll only explain those things that I think you might not be able to guess by looking at the code. Read more

September 26, 2023

How Errors Compound

I was messing around with a project recently, and I thought everything was going swimmingly. My unit tests were passing, the output to stdin looked like I’d expect. And then I made one small change, and instead of the binary number I was expecting, I saw: 1010101001001020 “Ones and zeroes everywhere. And I think I saw a two!”; “It was just a dream, Bender. There’s no such thing as a two.” I added a bunch more unit tests but they didn’t seem to be finding the two. It took me quite a while to figure out what the problem was because there were in fact two problems: one with the function code, and one with the tests. Read more

September 21, 2023

Quit Lit

As twitter… I don’t even know what metaphor to reach for to describe what is happening to twitter, but all I know is that we will be calling it “doing a twitter” from now on. Anyway, as twitter does a twitter, I’ve seen people talk about several tools for archiving your social media output. This has always sort of puzzled me. I kind of don’t mind if social media is ephemeral, impermanent. I know this has a lot to do with how I use it, but for me, I don’t think I’d mind if all the nonsense I wrote on twitter just stopped being accessible. Read more

July 10, 2023

Why Paw Patrol is just the worst

I am a dad, and as a dad I watch a lot of kids TV. Some shows I think are actually pretty great (Hey Duggee, Bluey), and some shows are fine, not my thing, but inoffensive (Fireman Sam, Chuggington, Octonauts). There is, however, one show that I just really hate. Paw Patrol. It’s bad. Caveats Before we dive into all the reasons Paw Patrol is the worst, I want to lay out a few caveats. Read more

March 27, 2023

Do Submarines Swim?

By now I’m sure everyone has seen enthusiastic AI boosters being completely wowed by ChatGPT and other Large Language Models (LLM) and also AI detractors pointing out the flaws of these models. For example, here’s a big compilation of such LLM failures. I think I’m probably more on the critical side, but I think a lot of the criticisms fall flat. Or better, the examples are failures, but the conclusions people draw on the basis of those failures are flawed. (I’m going to us “AIs” and “LLMs” interchangeably, because pretty much all the examples I have in mind are LLMs). Read more

© Seamus Bradley 2021–6

Powered by Hugo & Kiss.