Curated content from the Elixir community
Elixir Radar logo

Elixir Radar Newsletter Issue #490

 

This issue is brought to you by Groxio ...
Master Elixir with Bruce Tate’s video course, featuring 50+ videos and the immersive "Build Blockr with Elixir" project. Tackle Elixir’s core principles hands-on through a Tetris-inspired project.
An annual Grox.io subscription is 40% off and unlocks Bruce’s entire course library, covering OTP, LiveView, LiveBook, Nerves, and more. Level up your skills with engaging, project-based learning. Last days!

 

Articles

How do you let a user download a file? Pieter Claerhout walks through using Phoenix's send_download/3. He covers both disk files and in-memory binaries, common pitfalls, why you can't use it directly from LiveView, and the alternative solution.
Modifying environment variables in tests can cause flaky tests. Noel Worden shares how he discovered and fixed that.
Most Elixir developers know Ecto.Schema and Ecto.Changeset well, but custom Ecto Types often get overlooked. Juan Azambuja shows how they can simplify simplify your code, reduce boilerplate, and make your domain models truly expressive.
AppSignal - Sponsor
In the second part of our two-part series, we'll use AppSignal for Elixir to monitor the performance of an Ecto application.
Hologram brings Elixir to the browser, and it needs your help completing its client runtime. There are 171 Erlang functions waiting to be ported. No deep Erlang knowledge needed, just follow existing patterns. AI tools are welcome.
Daniil Popov had an issue where a LiveView-based form was resending stale values to the server after reconnections. He shows how he solved it using the _mounts counter to detect reconnections and temporarily block these recovery events.

 

Videos

Christian Alexander shows how to automatically detect and pre-select a user's timezone in LiveView apps using the new colocated JavaScript hooks feature.

 

Job listings

River - Remote, anywhere
At River we are building the world’s most trusted financial institution to empower people to take ownership of their financial lives through Bitcoin, the world’s only incorruptible digital money. We believe in a future where every person will have bitcoin savings, and every business will have bitcoin on the balance sheet.

 

Want to learn OTP and leverage the power of the BEAM?
Download the free chapters from "Elixir Patterns", the book I wrote with Alex Koutmos.
As always, thanks for reading Elixir Radar!

-- Hugo
Hugo face
Sent by Hugo Baraúna @ Elixir Radar
Av Paulista, 1636, São Paulo - SP, Brazil
If you wish to unsubscribe, you can click here