An end-to-end ES/CQRS example with EventStoreDB and Phoenix/LiveView
Programming
Advanced Dependency Injection in Elixir with Rewire | AppSignal Blog
Dependency injection can prove useful in Elixir. In this second part of a two-part series, we'll look at some basic concepts, core principles, and types of dependency injection.
Common Anti-Patterns in Elixir Projects and How to Avoid Them | Curiosum
Learn practical strategies to enhance your code quality, safeguard your applications, and ensure your Elixir projects are efficient, secure, and maintainable.
Early Returns in Elixir – Clivern
Early returns is often employed to exit a function as soon as an exceptional or negative condition is met. It won't take much time when learning elixir to figure out that early returns are missing!
Managing Key/Value Pairs in PostgreSQL
Let’s say that you’ve been following the latest research in key/value data storage and are interested in managing such data in a PostgreSQL database. You want to have functions to store and retrieve pairs, but there is no natural way to represent pairs in SQL. Many languages have hashes or or data dictionaries to fulfill this role, and you can pass them to functional interfaces. SQL’s got nothin’. In PostgreSQL, have two options: use nested arrays (simple, fast) or use a custom composite data type (sugary, legible).
Using Arrays in PostgreSQL: A Guide | Built In
With the array, PostgreSQL allows columns of a table to be defined as variable-length multidimensional arrays.
Automated accessibility testing for Elixir web applications | Angelika.me
Integrate Axe into your Elixir browser tests with my new library, A11yAudit.
How To Create a Python GUI To Write Data to a File With PyQt5
This tutorial teaches you how to create a Python GUI with PyQT5 that accepts user input and appends it to a text file.
Improving upserts in Ecto and PostgreSQL | katafrakt's garden
With a little bit of a secret database sauce we managed to get the information about what our upsert did without resorting to tricks like comparing automatic timestamps.
Do you think Microsoft left any security gaps in the Recall database? Shall we find out.
Reduce Anti-Patterns | Jonathan Palardy's Blog
Jonathan Palardy's blog about technology
Protecting sensitive data in Elixir GenServers
Rust to WebAssembly the hard way — surma.dev
What follows is a brain dump of everything I know about compiling Rust to WebAssembly. Enjoy.
How To Build With GraalVM Inside GitHub Actions
Set up CI/CD pipelines to build your Java applications for macOS, Linux or Windows with GraalVM.
fnands - Parsing PNG images in Mojo
Simple OBS Client in Elixir
Let's write a simple module to control OBS using websockets.
OBS already have a websocket server which can accept many command to control its features. We're going to use that websocket server to make some actions like:
Change scene Apply source filters Many other things Basic configuration First we need to install a websocket client, fresh is a easy to use client that works on top on mint.
Let's add the following code to our mix.
Elixir MediaWiki client — mediawiki_client v0.4.7
wikidata-taxonomy
command line tool to extract taxonomies from Wikidata. Latest version: 0.6.7, last published: 5 years ago. Start using wikidata-taxonomy in your project by running `npm i wikidata-taxonomy`. There are no other projects in the npm registry using wikidata-taxonomy.
Picture This: Open Source AI for Image Description
Nolan builds a proof of concept for a screen-reader plugin that uses Ollama and PocketBase to get a large language model to describe images.
Boilerplate Busting in Functional Languages
This is the story of how I solved a problem (ugly, cumbersome boilerplate code) that I ran into while writing a program in a functional language (Elixir). Functional programming languages often pride themselves on expressiveness and elegance; but occasionally they are not amenable to the most obvious solutions to the problems we wish to solve. In this case, the simplest solution to my problem would have been to have a global mutable variable.
What I mean when I say that machine learning in Elixir is production-ready
My ElixirConf EU 2024 keynote "Ship it! A roadmap for putting Nx into production" is up on youtube. I'm hoping it will help folks gain the confidence to go o...
Building Elixir Applications: mix with nix — part 1
A lot of our services are written in Elixir, and one of the major issues we had with deploying Elixir services were the CI build times…
Ansible is a Lisp
More specifically, Ansible is homoiconic and has syntactic macros
Box Is a Unique Type
About better aliasing semantics for `Box`
Naming your Daemons - Erlang Solutions
Discover the power of naming your programming daemons and how to effectively label your Elixir processes for clearer code.
Programming Ada: Packages And Command Line Applications
In the previous installment in this series we looked at how to set up an Ada development environment, and how to compile and run a simple Ada application. Building upon this foundation, we will now…
BloomSite · Phoenix Framework
The Erlangelist - To spawn, or not to spawn?
Exploring the Enigma of Database Vacuuming
Before we discuss what VACUUM does and its implications, we need to understand how data is actually stored on disk. What happens when a tuple is inserted, updated, or deleted? Understanding this will help us understand what VACUUM does, why it’s needed, and its implications.
SQLDoc: generate database schema documentation | Wilson Husin
Stop digging in your migrations and get the current database state written in markdown.