craigbeck.lab67.me

Wednesday, March 18, 2026

Intro to Elixir Applications on Kubernetes

Explore how Elixir developers can leverage Kubernetes to enhance application availability and reliability, implementing K8s tools in ways that integrate well with Elixir/OTP and Phoenix applications.

A good intro to running Elixir on Kubernetes that addresses the natural question: why bother with K8s when the BEAM already gives you fault tolerance and distribution? The walkthrough covers key K8s concepts and gets you running locally with Docker Desktop, which makes it easy to experiment without a cloud account. Part of a larger series on Brewing Elixir worth following if you’re heading down this path.

How to Async Tests in Elixir

Proper, robust asynchronous tests solve slow and flaky test suites through horizontal scaling and process isolation.

Andrea Leopardi digs into why async testing gets hard in Elixir as apps grow — singletons and shared state are the usual culprits. The practical advice here is solid: think like a library author, avoid hardcoded singletons, and leverage tools like ProcessTree and nimble_ownership for resource isolation. A great reference if your test suite is getting slow or flaky.

Wednesday, March 11, 2026

Five CLIs Walk Into a Context Window

A technical analysis comparing how five different AI coding CLIs manage token usage and context windows when using the same language model to solve an identical debugging task.

Great breakdown of the hidden costs behind AI coding assistants. The differences in tool definition overhead alone are wild — Claude Code sends 62,600 characters of tool definitions per turn while Aider sends zero. Worth reading if you’re thinking about which CLI tools you’re reaching for and what you’re actually paying for under the hood.

Friday, March 6, 2026

georgeguimaraes/arcana

Embeddable RAG library for Elixir/Phoenix with agentic pipelines and dashboard.

This looks like a really well-thought-out approach to adding RAG capabilities to Phoenix apps. The three-function API (ingest, search, ask) keeps things simple, but it also supports more advanced agentic pipelines with query expansion, multi-hop reasoning, and self-correction, with built-in LiveDashboard integration and swappable backends (pgvector, Bumblebee for local embeddings)

Effection: Structured Concurrency for JavaScript

Structured Concurrency and Effects for JavaScript. Stop worrying about asynchronous bugs and memory leaks. Effection gives you leak-proof, composable operations with the structured concurrency guarantees you didn’t know you needed.

Effection takes a different angle on async JavaScript – instead of bolting cleanup and cancellation onto promises after the fact, it bakes structured concurrency in from the ground up. Every operation automatically cleans up after itself, including all child operations it spawned, so resource leaks become a thing of the past. The API feels familiar too – just regular let, const, try/catch/finally – no exotic abstractions to learn. Dependency-free and under 5KB gzipped, with first-class TypeScript support. The GitHub repo is worth a look.

Also see their post The Hearbreaking Inadequacy of AbortController for a great explianer of the type of problem Effection is solving.