-
From big-endian to little-endian through unsigned integers. A tale of two ends, and Elixir shines again.
-
Elixir is known for being a language made for building distributed applications that scale, are massively concurrent, and have self-healing properties. But is Elixir good enough for the mundane scripts of this world?
-
It turns out solving chess moves with recursion and pattern matching is a lot of fun!
-
Long-lived processes are everywhere in Elixir. Let’s look at why they’re needed and how to create them!
-
When coming to a functional language, I often hear people ask, “How do I organize my code?” Let’s take a look at some ways in which data can tell us how to organize our modules and functions.
-
Structs and maps are easy to work with in Elixir, but if they are stored in the database as JSON and accessed via an Ecto Schema, it’s not as clear how to query them. We’re going to explore how to do that, and make it clear and easy.
-
You can use PostgreSQL’s JSON data types to store embedded data on Ecto models. But the way Ecto tells you to store it might not be the best way.
-
We make a small line-oriented TCP socket server to explore how sockets and some manual process management works in Elixir.
-
Testing with Bamboo is easy, and it’s still easy when the email’s content includes random data.
-
Phoenix 1.3 introduces contexts, which has been met with some resistance. I’ve developed an application using it and learned some lessons.