Memory analysis of a Spring Boot application in docker - lessons learnt

I have a Spring Boot application running an embedded TomCat server, pretty basic... It's running inside a Docker container. If I was to $ docker run the image (without memory restrictions), this is what it looks like: docker ps ~677mb container for a fairly simple Spring Boot app?! Surely I'm not…

Read this article

How functional programming helped me recognise patterns and concepts in mathematics

I've never been strong at mathematics, and to this day I don't believe you need to be a skilled mathematician to be a good developer, but as time has gone on I've found more and more value in being able to understand and implement algorithms and expressions, which are fundamentally…

Read this article

Modelling simple finite state machines in F#

State machines are found everywhere, whether they are fleshed out initially as such is a different matter. In an application it's common to see different states being represented as an enum, and the transitions replace the current state with the next based upon some logic. If we take an email…

Read this article

Elixir Connect4

elixirConnect4 repository At work, we use Connect4 as our technical test, which we send out to possible candidates. The candidate must write a working implementation of Connect4 as a console application. So there is no real focus on graphics, and to limit complexity (and the time it takes to build)…

Read this article

Code we talk and code we walk

Talking about code is hard. I genuinely find it much harder to persuade fellow peers of my approach to a problem than to actually write it. I'm sure there are the opposing types too - People who can talk about code much more proficiently than write it. I guess this…

Read this article

A functional choice

To begin a story, a while back, I wanted to learn a functional programming language. I wanted to find out just how different the functional paradigm is to the imperative paradigm. Previously the closest I got to functional programming came from JavaScript, and I’ve always found it so much…

Read this article