3 liens privés
An Elixir Devcontainer for Phoenix, Claude Code, and Tidewave
If you’re running a Phoenix LiveView application and your iOS Safari users are experiencing frozen pages, slow reconnects, or 10+ second hangs after returning from sleep this article is for you.
I’ve been running a production Phoenix LiveView application. The app worked great on desktop, but iPhone users kept reporting the same thing: the page would freeze or hang for several seconds after switching back from another app or unlocking their phone. Sometimes the page would never recover at all.
Here’s what was actually happening and how I fixed it.
Tidewave
Tidewave is the coding agent for full-stack web app development, deeply integrated with Phoenix, from the database to the UI. See our website for more information.
A recent study by Tencent showed that Elixir had the highest completion rate across models when compared among 20 different programming languages. When combining the results of all 30+ evaluated models, 97.5% of Elixir problems were solved by at least one model, the highest among all languages:
Markdown for Elixir _
Fast. Extensible. Phoenix-native. AI-ready.
An Elixir program consist of a large number of lightweight, concurrent processes communicating with each other via asynchronous messages. A process receives and handles incoming messages, transforming its internal state in a functional way. Inside a process, all code is sequential. The VM running Elixir, BEAM, normally utilizes all cores of a modern CPU and schedules processes for execution. By running many concurrent processes you can maximize the performance of current hardware.
Your Python Stack Can’t Do This
Free link here
The AI industry has a “Python Problem.”
While Python dominates model development, it’s catastrophically unsuited for agent orchestration. If you’re building an “Agent Swarm” with LangChain or AutoGPT on a Python backend, you’re fighting the Global Interpreter Lock (GIL), memory bloat, zombie processes, and concurrency nightmares.
I built a platform that actually scales. Using Elixir and the BEAM VM, I orchestrated millions of stateful, autonomous agents on a single cluster, with sub-millisecond message passing, automatic fault recovery, and zero external message queues.
Hot code upgrades for Elixir and Phoenix apps
BEAM OTP: Why Everyone Keeps Reinventing It
What makes BEAM and OTP different from async/await, threads, and actors. Process isolation, supervisors, and why Erlang's model keeps winning 40 years later.
Introduction
So you want to deploy your Phoenix app. You head to the docs, and in typical Elixir fashion you find a number of thorough and well-written guides. Unfortunately, they're all guides for deploying to cloud PaaS platforms. Well, there is a Releases guide, but it only teaches you how to build a release. Not how to deploy it!
But what if you want to deploy to an actual server? Maybe you want to avoid vendor lock-in, or maybe you just want to manage your own system. You know, like the good old days. This is an opinionated guide for deploying an Elixir/Phoenix app to an actual server. VPS, bare metal - it doesn't matter. Just a server.
Nothing here is novel, but there aren't really any guides that spell it out.
I am going to spell it out.
TermUI
Hex.pm Docs License
A direct-mode Terminal UI framework for Elixir/BEAM, inspired by BubbleTea (Go) and Ratatui (Rust).
TermUI leverages BEAM's unique strengths—fault tolerance, actor model, hot code reloading—to build robust terminal applications using The Elm Architecture.
I work with Elixir daily, and while it has great libraries like Ecto and Phoenix Framework, one thing kept bothering me: there wasn’t a library that felt like Zod. Elixir has alternatives for data validation, but none gave me the same ergonomics. This article walks through that gap, how Zoi came to be, and where it fits.
What is Zod?
Zod is a TypeScript-first schema declaration and validation library that allows developers to define schemas for their data and validate them at runtime. It also provides type inference, which means that the types of the data are automatically inferred from the schema. Zod also provides a way to generate JSON Schema from the defined schemas, making it easier to integrate with other tools and libraries such as OpenAPI which is widely used for API documentation.
Deep dive into the Elixir Logger module
A high-performance Model Context Protocol (MCP) implementation in Elixir.
Overview
Anubis MCP is a comprehensive Elixir SDK for the Model Context Protocol, providing complete client and server implementations with Elixir's exceptional concurrency model and fault tolerance.
Generate API Documentation Effortlessly from your Phoenix/Elixir code – Part1
Build powerful data tables that scale to millions of records
A Phoenix LiveView library for creating responsive, sortable, filterable tables with real-time updates and enterprise-grade performance.
🐥 Making your Phoenix flash messages disappear automatically
How to fix "(Mix) Unknown package in lockfile"
2021-12-08
When you get an error ** (Mix) Unknown package foobar in lockfile on mix deps.get, you can fix it with deleting the cache file.
Dialyzer (DIscrepancy AnaLYZer for ERlang programs) is a powerful static analysis tool that helps developers identify potential issues in their Elixir code without executing it. It excels at finding type mismatches, unreachable code, and unnecessary functions through sophisticated flow analysis.