IEX's new "auto_reload" feature in Elixir 1.18

Elixir 1.18 adds an :auto_reload config option to IEx. But when I tried it out, it didn’t do quite what I expected.

After seeking clarification, I managed to figure it out. So I’ve written up a short post explaining everything you need to know about this nifty new feature:

https://arrowsmithlabs.com/blog/iex-configure-auto-reload

Distributed applications with Elixir, a beginners' journey

We have written a series of 3 articles about distributed applications.

It is written by beginners in the field, and is aimed at beginners. It is not a course on decentralized programming. They tell the story of our journey of discovery into the complex world of distributed applications.

(The articles are in French or English)

Olivier and Dominique

Thinking Elixir 233: LiveView 1.0 and Elixir 1.18!

Episode 233 of Thinking Elixir. News includes the long-awaited release of Phoenix LiveView 1.0, exciting enhancements in Elixir 1.18 such as built-in JSON support and improved ExUnit testing capabilities, and the unveiling of AWS Aurora DSQL, a serverless distributed PostgreSQL-compatible database service. Lars Wikman joins us to share updates about Nerves, including the latest on Nerves Hub, Nerves Cloud, and his project oswag.org where you can find official Elixir and Nerves T-shirts. All this and more!

https://www.youtube.com/watch?v=-tFmyVjBGFM

Tracing SQL Queries Back to Source: Using sqlcommenter in your Repo

🗃️ Want to track which function called your SQL query in #Elixir? I’ve just released a guide on implementing sqlcommenter with Ecto & Postgrex v0.19.3. https://dev.to/dkuku/sql-commenter-with-postgrex-2bfd

Curiosum’s Elixir Survey 2024 results are live - discover insights from 500 respondents!

Hey everyone! 🙂 I’m happy to share the results of our Elixir survey. This year, 500 Elixir enthusiasts answered 25 questions - huge thank you to everyone who participated!

🎥 Accelerating machine learning hardware development with Elixir 🎥

https://youtu.be/rXBYamvsAVQ

A talk by Isaac Yonemoto in which he talked about how Elixir was used at Positron to accelerate the process of developing machine learning hardware. The BEAM VM offered some incredible advantages in servicing ML workloads, and Isaac discussed these advantages from his perspective. Given that the current state of the art tends to use Python, he made specific comparisons to highlight the differences.

✨This talk was recorded at Code BEAM America 2024. If you’re curious about our upcoming event, check https://codebeamamerica.com

Distributed Phoenix: Deployment and Scaling

In part one of this series, we managed distributed state using GenServers. In this part, we’ll explore deployment and scaling strategies: https://blog.appsignal.com/2024/12/10/distributed-phoenix-deployment-and-scaling.html

A RAG for Elixir in Elixir

Another blog post from the bitcrowd RAG series. This time you’ll find out how you can implement a local RAG system in Elixir.

https://bitcrowd.dev/a-rag-for-elixir-in-elixir/

Thinking Elixir 232: Towering Over Errors

Episode 232 of Thinking Elixir. News includes Saša Jurić updating his project for “The Soul of Erlang and Elixir” talk with the latest technologies, the release of Phoenix LiveView RC 8 with exciting new features, ErrorTracker v0.5.0’s enhancements for Ash applications, and the introduction of the NX MLX backend for Apple Silicon, offering efficient machine learning on Mac hardware. Plus, a new VS Code plugin called “Refactorex” brings robust refactoring capabilities to Elixir. We also interview Gonzalo Rodriguez about Tower, a vendor-agnostic error tracking and reporting tool in Elixir, discussing its creation, functionality, and how it simplifies error management across various services. And more!

https://www.youtube.com/watch?v=jM8499_Jfcg

gettext_llm - automates your elixir project translations

The gettext_llm library allows you to translate all Gettext PO folders/files in your project using any LLM endpoint supported by langchain. The library provides several mix tasks that can be run directly in your Elixir/Phoenix project from the command line (ie. locally on the dev machine) or part of a CI/CD pipeline.

The library provides configurable tone/persona and style. This allows you to “shape” your resulting translations into something that is compatible with your app audience & brand.

Lambda Days 2025: Call for Talks is open

Your favourite functional programming conference is looking for speakers for 2025 Our event is one of the biggest functional programming conferences in Europe, with 2 days packed with inspiring talks, networking opportunities, and, of course, some fun().

12-13 June 2025

Kraków (Poland), in person only

https://lambdadays.org

Call for Talks deadline: 9 Feb

Ticket sale starts: 14 Feb

Special rate for Waiting List Subscribers: yes

Confirmed speakers:

Keynote: Martin Odersky

Keynote: Evan Czaplicki

Introduction to FLAME library

Why FLAME is a compelling choice, particularly for those needing modular scaling? Check this out: https://curiosum.com/blog/introduction-to-flame-library

Nerves Meetup

The next Nerves online meetup is Wednesday, December 18th! This is a social gathering to hang out with other Elixir/embedded engineers, show off your project, and get help from the community! RSVP here:

https://www.meetup.com/nerves/events/298253647

YOLO - Real-Time Object Detection Simplified

https://github.com/poeticoding/yolo_elixir

I’m thrilled to share YOLO, my first Elixir library, designed to make real-time object detection simple and accessible for Elixir developers. Built around the power of YOLOv8, this library lets you detect objects in images or videos with speed and ease.

Here’s what I’ve worked on:

  • Fast detections: Just 38ms per image on a MacBook Air M3 with EXLA.
  • Simple API: Load models and detect objects in just two steps.
  • Extensibility: Built for YOLOv8, with support for custom models on the way.
  • Rust-powered NMS: Optional Rust NIF for blazing-fast post-processing.

Why did the Elixir application keep running despite dependency shutdown?

Recently, we’ve had an incident with one of our RPC services on production. The root cause was an issue with a PgBouncer instance going down. Although PgBouncer was eventually restored and became operational, our service remained partially functional until the pods were restarted. In this article, I’ll document the root cause of the issue and how we fixed it, effectively answering the question posed in the title.

https://burakaymakci.com/why-did-the-elixir-application-keep-running-despite-dependency-shutdown/

Prevent Decision Paralysis With These Battle-tested Elixir

Instead of evaluating 15 different libraries for each function, Elixir typically offers one or two battle-tested solutions per problem domain: https://hackernoon.com/prevent-decision-paralysis-with-these-battle-tested-elixir-libraries

A complete guide to LiveView v1.0.0's new syntax

LiveView v1.0.0 is finally here! The biggest change from 0.20 is that there’s a new way to render data in HEEx: {…} is now available as an alternative to <%= … %>.

In my new post I explain everything you need to know about this new feature, including some subtler details:

https://arrowsmithlabs.com/blog/phoenix-liveview-v1.0.0-new-curly-brace-syntax

Advent of Code 2024: Solving Simple Problems in Elixir with AI Assistance

The Advent of Code 2024 is here, and it’s an exciting time for programmers worldwide to flex their problem-solving muscles. But what if you could enhance your Elixir skills by using AI tools to tackle these challenges?

https://adolfont.substack.com/p/advent-of-code-2024-solving-simple

Elixir Streams |> Using GenServer.reply/2 to synchronize the asynchronous

I was trying to explain this the other day. So, naturally, I made a video. 😄

How do we coordinate a message that runs through a GenServer’s handle_call/3 and handle_info/2 in a way that makes it seem synchronous from the caller’s perspective?

The secret: GenServer.reply/2

Check out this short video! 👇

https://www.elixirstreams.com/tips/sync-the-async-within-a-genserver

Bridging the Gap: Simplifying Live Component Invocation in Phoenix LiveView.

Enhancements in ergonomics enable a more cohesive and developer-friendly approach to invoking live components compared to function components.

https://dev.to/herminiotorres/bridging-the-gap-simplifying-live-component-invocation-in-phoenix-liveview-5boc

Previous page Next page