
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.
I was trying to add times in Erlang, but couldn’t find an existing function, so I wrote my own.
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.
Ever had an EUnit test fixture fail with meck reporting it was “already_started”? Well I did, and here’s why…
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.
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.
I wrote a small library for calculating Easter and other holidays in Erlang. Here’s how I did it and what I learned.
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?
I ran into a problem in Erlang yesterday that made me think: Is there anyway to implement a property accessor on a record?
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!
Concatenating strings and binaries in Erlang can get ugly quick. Let’s make it easier.