Tutorial
- Home /
- Categories /
- Tutorial

Pseudolocalization in Phoenix with gettext_pseudolocalize
Understanding Gettext in Elixir Applications
Gettext is a widely adopted internationalization (i18n) system that helps developers make their applications available in multiple languages. Originally developed for GNU projects, it has become a standard solution across many programming languages and frameworks, including Elixir and Phoenix.
Read More
Enhancements to dbg in Elixir 1.18
Elixir 1.18 added some interesting features, but one that went under the radar was extended support for dbg
. In 1.17 when you had this code:

SQL Commenter with Postgrex
A few years ago, I discovered sqlcommenter, a tool that enables adding trace context to SQL queries. This feature makes it possible to match database calls visible in PostgreSQL logs or any observability tool. At the time, I found several questions about this topic scattered across the internet, but no concrete solutions. I attempted to solve this myself and experimented with various approaches, but none of them proved viable for implementation in Elixir, particularly with Ecto.
Read More
Running Livebook as a Systemd Service for Your User
Livebook is a powerful tool for creating and sharing interactive notebooks with Elixir. To make it even more convenient, you can set it up to run as a systemd service for your user. This ensures that Livebook starts automatically whenever you log in, and runs in the background without requiring root permissions. Here’s a step-by-step guide to help you get started.
Read More
Enhancing SQL Traceability with Sqlcommenter in Elixir
This post is outdated - there is a solution now: https://dev.to/dkuku/sql-commenter-with-postgrex-2bfd
Read More
Livebook on Steam Deck
This post may be updated in the future.
Steam deck is a modern machine. I wanted to test how long it takes to generate images using stable diffusion on it. Thanks to livebook this becomes trivial. The biggest problem is to install the package. I did it using ssh but it can also be done directly on deck.
Read More
Reverse Engineer Unknown Data Format Using Elixir
I recently worked on porting the csv file converter for AdventureWorks database from ruby to elixir. This ended successful and I have all the data in my local postgresql to play with. By browsing the tables I found spatial_location
column in person.address
table and I wanted to decode it.