Add and subtract time from a DateTime structure in Erlang

I was trying to add times in Erlang, but couldn’t find an existing function, so I wrote my own.

December 1, 2019

Modify a config file in Erlang

Modifying an Erlang config file at runtime wasn’t as easy (or obvious) as I’d thought it’d be. So I wrote a script to hopefully make it easier.

May 16, 2019

Keep your EUnit teardown logic as simple as possible!

Ever had an EUnit test fixture fail with meck reporting it was “already_started”? Well I did, and here’s why…

March 14, 2019

Common dialyzer errors and solutions in Erlang

When dealing with a dynamically typed language, any effort to tame the beast can pay off. For Erlang, that means Dialyzer specs. The more specs added, the more helpful the tool becomes - but getting to that point can be painful. Here are some warnings I’ve seen, what they mean and how I solved them.

February 9, 2019

A few thoughts on date/time handling in Erlang

Handling date and times is a thorn in every experienced developer’s side. If you haven’t had the pleasure yet, you will. ;) Coming off a week of standardizing some datetimes across an Erlang app, here’s a few personal thoughts.

September 3, 2018

Calculate Easter and other holidays in Erlang

I wrote a small library for calculating Easter and other holidays in Erlang. Here’s how I did it and what I learned.

July 1, 2018

Getting rid of unused function errors when using timers in Erlang

Have you ever tried to execute a function at some future time in Erlang? You can, with a timer, but the compiler may complain that the function you’re calling via the timer is unused. Why is that and what can you do?

June 6, 2018

Are property accessors possible in Erlang records?

I ran into a problem in Erlang yesterday that made me think: Is there anyway to implement a property accessor on a record?

May 22, 2018

Taming the Erlang Beast

Becoming an Erlang developer has not always been easy, but over the last couple of years I’ve learned a few ways to tame the beast. It doesn’t need to become any other language, but there’s definitely room for improving the developer experience!

November 1, 2017

Concatenate Binaries and Strings in Erlang

Concatenating strings and binaries in Erlang can get ugly quick. Let’s make it easier.

September 26, 2017