Blog
Allan MacGregor | Elixir Engineering & Technical Leadership Elixir engineering, fintech architecture, and technical leadership insights from a CTO building regulated systems.
elixir php code development programming ai building magento patterns hhvm introduction design Latest posts Code has become cheap, but having an agent generate an app doesn't make it a product. A new series reviewing SaaS apps that launched and failed to convert, or sit abandoned — and what went wrong.
Aug 4, 2026 · Allan MacGregor How to use LLMs as part of your writing workflow.
Aug 1, 2026 · Allan MacGregor A decade of semantic versioning stability means AI agents trained on 2020 code still produce working 2026 code
Jul 13, 2026 · Allan MacGregor Python interpreter integration and ML model inference in Elixir
Jun 24, 2026 · Allan MacGregor
A code-first reference for OTP supervision in Elixir: child specs, the three strategies, restart types, restart intensity, shutdown semantics, and DynamicSupervisor.
Jun 19, 2026 · Allan MacGregor Zero-downtime deployments, secrets management, and self-hosted Elixir apps
Jun 12, 2026 · Allan MacGregor A code-first walkthrough of how I cut a multi-agent Claude Code outline workflow from ~768k to ~85k output tokens — the fan-out cap, failure isolation, the approval gate, and live token tracking, all in real workflow-script JavaScript.
Jun 5, 2026 · Allan MacGregor OpenTelemetry integration, distributed tracing, and structured logging
May 15, 2026 · Allan MacGregor When to split contexts, cross-context communication, and avoiding the god context anti-pattern
May 8, 2026 · Allan MacGregor Component design, nested live views, and handling complex state in LiveView
May 1, 2026 · Allan MacGregor Domains, resources, actions, and policies - when Ash makes sense
Apr 24, 2026 · Allan MacGregor Implementing Zero Trust Authentication with nimble_zta and identity-aware proxies
Apr 24, 2026 · Allan MacGregor Beyond example-based tests: generators, shrinking, and finding edge cases
Apr 17, 2026 · Allan MacGregor Node clustering, process groups, and handling network partitions in Elixir
Apr 3, 2026 · Allan MacGregor Code patterns that maximize AI agent success—and the anti-patterns that confuse them
Mar 27, 2026 · Allan MacGregor Immutability, pattern matching, and pure functions make Elixir ideal for AI coding agents—the data proves it
Mar 20, 2026 · Allan MacGregor
Using Instructor for structured LLM output and building AI features in Elixir
Mar 13, 2026 · Allan MacGregor How project structure, tooling, and practices evolve when AI agents are central to development
Mar 6, 2026 · Allan MacGregor Component testing strategies, mocking, and testing JS hooks
Feb 27, 2026 · Allan MacGregor Telemetry integration, charting, and handling high-frequency updates in LiveView
Feb 26, 2026 · Allan MacGregor Remote shell access, process inspection, and tracing in production safely
Feb 25, 2026 · Allan MacGregor Schema design, dataloader, subscriptions, and authentication patterns
Feb 24, 2026 · Allan MacGregor Building event stores, projections, and handling schema evolution in Elixir
Feb 23, 2026 · Allan MacGregor Introduction to the basic concepts of elixir, syntax, data structures and basic concepts
Feb 21, 2026 · Allan MacGregor Elixir functional programming programming meta programming
Feb 14, 2026 · Allan MacGregor Deep dive into supervisor strategies and designing supervision trees for real-world fault tolerance
Feb 10, 2026 · Allan MacGregor Using window functions, CTEs, and advanced SQL features through Ecto
Feb 9, 2026 · Allan MacGregor Expose BEAM process inspection, ETS exploration, and live tracing to your AI coding agent
Feb 9, 2026 · Allan MacGregor
Using native implemented functions in elixir to integrate with rust
Feb 9, 2026 · Allan MacGregor Beyond the basics: practical GenServer patterns from production systems
Feb 8, 2026 · Allan MacGregor Schema-based vs row-based multi-tenancy and query scoping strategies
Feb 8, 2026 · Allan MacGregor Process heaps, garbage collection, and memory profiling in Elixir
Feb 8, 2026 · Allan MacGregor Explaining flow based programming using elixir and its ecosystem
Feb 7, 2026 · Allan MacGregor An overview of n 1 problems with elixir and ecto and how to deal with them
Feb 5, 2026 · Allan MacGregor Simple versioning for your Elixir project with no fuzz
Dec 11, 2025 · Allan MacGregor A criticism and rebuttal of Paul Graham's Founder Mode essay -- survivorship bias, false dichotomies, and the cult of the founder
Aug 8, 2025 · Allan MacGregor Why Elixir deserves a more prominent role in fintech—it’s fast, reliable, and perfect for building financial apps that can handle massive traffic without breaking a sweat
Dec 28, 2024 · Allan MacGregor Documenting my learning journey in 2024 to become proficient and attempt to master Elixir and its ecosystem
Jan 10, 2024 · Allan MacGregor A quick introduction into Backstage.IO
Jul 28, 2023 · Allan MacGregor Using mix template and mix generator to create a phoenix blog starter template with liveview and tailwindcss
Sep 10, 2022 · Allan MacGregor A quick update of what has happened with the blog on the last 2 years
Aug 24, 2022 · Allan MacGregor Why you should start using abbreviations instead of aliases
Nov 8, 2020 · Allan MacGregor Design for failure with the circuit breaker pattern
Nov 2, 2020 · Allan MacGregor Five reasons that will make you love the Elixir language and stack if you don't already
Nov 1, 2020 · Allan MacGregor Exploring the current state of headless commerce and how to best take advantage
Nov 1, 2020 · Allan MacGregor Most developers focus a lot on technical skills but often fail to prepare for the most basic of soft skills interviews
Apr 13, 2020 · Allan MacGregor A quick introduction and overview on the ideas behind Flow-Based Programming
Oct 20, 2019 · Allan MacGregor Developing a basic contact using Ethereum
Dec 24, 2017 · Allan MacGregor An introduction to Ethereum Development
Dec 24, 2017 · Allan MacGregor Setting up a basic private test network for Ethereum development
Dec 24, 2017 · Allan MacGregor
← Prev ✦ Random Next → Visit ↗ Feed Kagi ↗