This Week in Elixir and Erlang #15

A few links and news shared by the Elixir and Erlang community. No more, no less. Instead of a newsletter.

Got comments?
This Week in Elixir and Erlang #15

Hello and Happy New Year! Welcome to the first edition of This Week in Elixir and Erlang for 2021. I took a one-week break to focus on finishing my book pet project. While this book is not Elixir-related, I have intentions to write a tiny one about our favorite ecosystem. Please, feel free to let me know if you think a niche topic has not been given enough attention in the form below (anonymous).

Have your say

Speaking about forms, do you recall the poll from last time? I asked you how you found 2020 as a year on a scale from 1 to 10. Thirty-five folks responded with an average result of 5.80. Not a stunning outcome, but hey, anything beyond the average for a year like 2020 is quite an achievement! Let's cross fingers for 2021.

We have a lot to cover for those two weeks, so I am moving straight to the links.


Community Voices



Papercups | Learning Elixir’s `GenServer` with a real-world example
Papercups is an open-source live chat widget. Chat with your customers to improve conversions and customer satisfaction.
Extracting LiveView Logic Into LiveComponents
Practical examples on breaking down LiveView modules into one or more LiveComponents, and how to exchange data both ways.
Use the new Enum type in Ecto 3.5
Enums are a great way to safely store user roles, record status updates, and many other things in your database. Ecto 3.5 added Ecto.Enum which allows you to store enums in your database without any other dependencies so that you can make impossible states impossible. I’ll explain why you should use…
A guide to event handling in Elixir
Learn six different ways to implement event handling in Elixir and when to use each of them.
Elixir Enum Cheatsheet
Elixir Enum Cheatsheet
Serving open street map vector tiles with elixir and phoenix
Some background on mbtiles files from mapbox/mbtiles-spec MBTiles is a specification for storing ti...
Variables In Elixir Pattern Matching - Tentamen Software Testing Blog
Variables In Elixir Pattern Matching
How To Pattern Match Lists In Elixir - Tentamen Software Testing Blog
How to pattern match lists in Elixir.
Github actions for Elixir & Phoenix app with cache
You can already find some samples on how to configure Github actions for an Elixir/Phoenix project but I couldn’t find one which shows the full picture with cached dependencies to avoid losing time…
How to become Junior Elixir Developer with no Elixir knowledge?
Many programmers and programmers-to-be dream of working on exciting projects with use of latest technologies, but reality can often be really disappointing. Either you can’t find a job or you find…
Best practices of comprehensions in Elixir
With Elixir comprehension, you have an elegant syntax, a concise form and a useful shorthand for manipulating and building collections.
A hook for handling very large lists with Phoenix Live View
We design and develop the fast, open, and privacy-respecting replacement for Windows and macOS
How to unit test the content we’re uploading
In recent times, it’s become quite popular to upload files generated by our app to various cloud providers. Since we’re all responsible developers and we unit test our apps, we should also test the content of the files we’re uploading. If we have a module responsible for… - Todd Resudek
A half-hour to learn Rust -
In order to increase fluency in a programming language, one has to read a lot of it.But how can you read a lot of it if you don’t know what it means? In this article, instead o...
Spotted the one odd man out? It's a great intro to Rust through practical snippets, however. With more Elixir developers interested in picking up the language, I thought I'd just put it here.