andrewtimberlake.com - My Blog 👋 from Andrew Timberlake

Description: Hi, I am a programmer and entrepreneur from South Africa and this is my personal blog where I share thoughts primarily on programming and business.

Example domain paragraphs

Hi, I’m Andrew, a programer and entrepreneur from South Africa, founder of Sitesure for monitoring websites, APIs, and background jobs. Thanks for visiting and reading.

Why code_change wouldn’t work on my GenServer I had a GenServer that I wanted to change the state of during a hot upgrade release, so I dutifully reached for code_change/3 as per the documentation, but no matter how hard I tried, I couldn’t get it to work. I read and re-read all the documentation I could find on releases and hot upgrades and tried and tried again but my callback was never called.

I quite like Dave Thomas’ method of splitting the API from the server implementation so my code looked something like this:

Links to andrewtimberlake.com (1)