Digests » 331

this week's favorite

An unusual pomodoro timer on Elixir and Nerves

The scope of this weekend-project was to build some sort of smart desktop ornament. It should periodically display a random quote from my Kindle highlights and notes on an E Ink screen. The quote is fetched via bookworm 🪱📚. The display should refresh every 25 minutes and flash, marking the end of a time block.

Deploy Elixir Phoenix to Fly with Continuous Deployment

We’re going to go through the steps to deploy Elixir and Phoenix to Fly with Continuous Deployment using GitHub Actions.

Introducing eFlambé

eFlambé is a tool for rapidly profiling Erlang and Elixir code. It is intended to be one of the first tools you reach for when debugging a performance issue in your Elixir or Erlang application. With a single command you can visualize your code’s performance as an interactive flame graph in your flame graph viewer of choice. It’s written in Erlang and published to hex.pm.

Process communication in Elixir

The focus of this post is to explain the communication between processes in Elixir in a simple way. When you've finished reading, you'll have a basic understanding of how to create processes and how they send and receive messages.

How database transactions work in Ecto and why Elixir makes it awesome?

Today we're going to look at how Ecto, which is Elixir's first-choice database access library, addresses the issue of handling database transactions. We'll briefly introduce you to the very concept of transaction, then focus on describing the Ecto way of handling them, and explaining how it feels superior to what other languages' libraries offer us in this department.