Recent Posts

Binary Search

Back to comp-sci 101, as I'm currently re-exploring the fundamentals of programming. As others choose to hand over their hard earned programming skills to the LLM I've decided to double down. So let's take a look at the binary search algorithm.

Read more

Using git hooks locally

Git comes with the concept of "hooks" which are scripts that get executed when and event occurs. A common use case for git hooks is to run a test suite before a commit (pre-commit) is made. If the script that is executed exits with a non-zero value (error) then the commit is prevented.

Read more

Use an index when sorting

When working with a database it is a very common task to retrieve a sorted list of entities. What you might not realize is that this can be a very expensive operation.

Read more

Archive by Year

2026 - (10)

2025 - (58)

2024 - (19)