Blog · Elixir School
Yggdrasil: Easy Pub-Sub in Elixir
When I started coding in Elixir (around 2016), I was working for a financial company. Our product aut...
Publish-Subscribe in Elixir
Publish-Subscribe is a messaging pattern that works as follows: a group of consumers subscribe to events of a given topic and are notified whenever an event of that topic arrives. When an event is published into a topic channel, the channel delivers a copy of the message to each of the output channels. The advantage of this is we can decouple the consumers from the producers. Neither party need knowledge of each other to communicate. In other words, pub-sub is a pattern used to communicate messages between different system components without the components knowing anything about each other’s identity. Let’s look at an implementation of Publish-Subscribe in Elixir. The full source code is provided below.
UPLOADING IMAGES IN PHOENIX LIVE VIEW
Imagine a web experience that’s both captivating and effortless. That’s the power of Phoenix Live View, a game-changer in web development…
Absinthe for Large Elixir Applications | AppSignal Blog
Discover how you can best use Absinthe for data-heavy Elixir applications.
What is SQL? An Comprehensive Guide - HackerRank Blog
What is SQL? In this article, we explore the history of SQL, its key features and benefits, and real-world examples of its applications.
- AI-Powered Custom Learning Plans
Migrating to Verified Routes
How to migrate from legacy Phoenix routes to the newer Verified Routes in Phoenix 1.7.
Today I Learned
TIL is an open-source project by Hashrocket that exists to catalogue the sharing & accumulation of knowledge as it happens day-to-day.
Collecting and curating material is good and we should do it more
Chronicling, plugin systems, and six other disjointed ideas combine in an argument of how to "engineerize" software more
Open-Source Elixir Alternatives to ChatGPT
Open-source Elixir alternatives to popular AI tools like ChatGPT offer benefits like better control, reduced costs, and more.
Python Async Workers on Fly Machines
Implementing async background jobs in Python on Fly Machines.
Context maintainability & guidelines in Elixir & Phoenix | Curiosum
Discover Curiosum step by step guide on Phoenix Context maintainability. This blog post unveils a strategy for optimal context organization in app development.
Dynamic forms with LiveView Streams
Learn how to use to_form/1 and LiveView Streams to create a dynamic list of forms.
C++17’s Useful Features for Embedded Systems
A community and blog for embedded software makers
Pogo - distributed supervisor for Elixir
Pogo is a distributed supervisor built on top of Erlang process groups. It abstracts away the complexity process scheduling and supervision in distributed environment.
Don't use structs, use records instead!
Structs are omnipresent in Elixir projects. And for good reasons, they're great, they have numerous...
Recursively List Files in Elixir
Quick Elixir ditty to recursively list the files at a given path (relative or absolute):
Crawling websites with elixir and crawly · Codegram
Expected performance of a Bloom filter
A hash function is a function that maps a value (such as a string) to an integer value. Typically, we want random-looking values. A Bloom filter is a standard data structure in computer science to approximate a set. Basically, you start with a large array of bits, all initialized at zero. Each time you want … Continue reading Expected performance of a Bloom filter
Ecto dynamic/0 Compile Error
Yet Another Software Engineer's Blog
010: Livebook
Simple guide to Elixir's Livebook
Editing forms with live_file_input
Approaches to edit LiveView forms that use live_file_input
Experimenting with graph databases with Memgraph and Elixir - 0x7f Inc.
0x7f Inc. is Andrei Crnkovic's tiny Elixir freelancing development company.
Tackling Performance Issues in Ecto Applications | AppSignal Blog
Let's dive into three common performance issues in Ecto applications and see how to fix them.
Concurrency in Elixir | Clivern
Concurrency is a fundamental concept in Elixir, a functional programming language built on the Erlang virtual machine (BEAM). Elixir provides powerful tools and abstractions for managing concurrent processes, making it ideal for building scalable and fault-tolerant systems. Concurrency in Elixir is achieved through lightweight processes called "Elixir processes." These processes are not operating system threads
Streaming OpenAI responses
The home for Phoenix-oriented content ranging from Ecto to LiveView and more.
Taking Control of Map Sort Order in Elixir
The home for Phoenix-oriented content ranging from Ecto to LiveView and more.
Developing after mix ecto.dump
Developing and testing our Elixir application after running `mix ecto.dump` and we don't have all the migrations anymore.
Loading a structure.sql file on Prod without mix
Getting our Elixir application deployed on Fly.io when we have a `structure.sql` file from running `mix ecto.dump` and we don't have all the migrations anymore.