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.

  Dec 1, 2019 (rev. Sep 16, 2025) ·  2 min

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 (rev. Sep 16, 2025) ·  4 min

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…

  Mar 14, 2019 (rev. Sep 16, 2025) ·  6 min

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.

  Feb 9, 2019 (rev. Sep 16, 2025) ·  11 min

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.

  Sep 3, 2018 (rev. Sep 16, 2025) ·  5 min

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.

  Jul 1, 2018 (rev. Sep 16, 2025) ·  3 min

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?

  Jun 6, 2018 (rev. Sep 16, 2025) ·  3 min

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 (rev. Sep 16, 2025) ·  8 min

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!

  Nov 1, 2017 (rev. Sep 16, 2025) ·  9 min

Concatenate Binaries and Strings in Erlang

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

  Sep 26, 2017 (rev. Sep 16, 2025) ·  2 min