Elixir Blog Posts

As soon as we make an effort to write asynchronous tests in a large enough application, we bump into the concept of “ownership”. What do we even need it for? And What Does NimbleOwnership Do Anyway? | Alex Martsinovich

3 Likes

Why FLAME is a compelling choice, particularly for those needing modular scaling?
Check this out: Effective Scaling Strategies for Image Processing Workloads | Curiosum

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

1 Like

This post explains how to build Phoenix components that render graphs and trees.

1 Like

Postgrex now allows to add comments to your queries, it can be used for instrumentation:

The EEF security WG just published an article on Erlang Distribution / EPMD being exposed publicly:

EPMD, essential for Erlang and RabbitMQ clustering, is often exposed online—posing hidden security risks and requiring quick mitigation steps.

https://erlef.org/blog/eef/epmd-public-exposure

2 Likes

I created a mix task that helps with pseudolocalization in development to easily spot strings that are not marked for translation.

2 Likes

A deep dive into optimizing Elixir’s Calendar module, improving datetime serialization performance through iodata and improper lists

3 Likes

A blog post on how we utilized lcnt to identify system bottlenecks

Blog - Fine Tuning the Erlang Virtual Machine

3 Likes

For comprehensions you might want also check lazy_for, the lazy comprehensions on top of Elixir streams.

2 Likes

Hello folks,
I hope you all have been having a wonderful new year so far. I’ve set myself on a journey to finally build an AI product using Elixir/Phoenix. Along the way, I wish to document my journey, the libraries, frameworks I use and how I solved any challenges along the way. I want to also be careful to not appear as spammy and self-promotional here. So, please do give me a heads-up if you feel that way about my content at any point.

Here is my first article in this series for 2025. Hopefully, more to follow:
https://medium.com/@creativefoundry/i-tried-to-build-an-ai-product-with-langchain-vue-3-svelte-5-with-phoenix-liveview-so-you-dont-134930c78342

Feedback welcome as always. Thank you.
Neya

6 Likes

I find myself more and more reaching for other languages from elixir, but do not like microservicing everything. I’m exploring a few variations on that topic here :

  • Elixir code generating <X> code
  • Embedding <X> code in Elixir
  • Elixir code that generates instructions for a program in <X> to run

As often, my experiments are a bit far-fetched at first and find their way a few months or years later as a softer, more reasonable version in my work…

2 Likes
4 Likes

Here’s a few neat, under-documented (imo!) Ecto things that might be useful for people getting into writing complex queries with Ecto

1 Like

the data structure link is broken. At least in italy

I was recently reviewing a PR that adds a French translation to Keila and ended up deep-diving into how translations in Phoenix work and specifically how you can translate Ecto changeset errors without mixing context and web concerns. Enjoy!

3 Likes