Open-source Deep Dive: Broadway
Open-source Deep Dive is a series I started this year where I analyse an open-source project and share my findings about it. In this installment, Broadway - an Elixir library for building data processing pipelines for data sources like message queues - takes center stage!
The article is split into two parts. Part one talks about the general concepts in Broadway like message queues and the architecture of a pipeline. Part two dives into the implementation of various features like rate limiting.
Thank you and happy reading!
Crypto trading in Elixir - 15th episode - Track workers with Elixir Registry -
Hello,
I just released the 15th video in the series dedicated to creating a cryptocurrency trading bot in Elixir - this time we will focus on refactoring the data warehouse, naive, and streamer applications to leverage the Elixir Registry. What we will end up with is a very slim layer of implementation on top of the Registry module as well as we won’t need to use thousands of atoms for names and run out of memory(as atoms are not garbage collected by Erlang VM!).
Link: https://www.youtube.com/watch?v=5xH2Yals1FU&list=PLxsE19GnjC5Nv1CbeKOiS5YqGqw35aZFJ&index=15
Don’t forget to smash that like button if you like it ;)
Enjoy <3
Lumen - Statically compiled Erlang for x86
I’m a big enthusiast of the efforts of the Lumen project (and mildly involved). I wanted to help people get enthusiastic and try it out. This gets you started.
https://underjord.io/lumen-statically-compiled-erlang-for-x86.html
Parser Combinators in Elixir
Learn what parser combinators are, what they are made of, and how to make your own CSV parser using NimbleParsec, a parser combinator library written in Elixir.
ThinkingElixir 042: LiveView Autocomplete and Blogging with Velina Petrova
In episode 42 of Thinking Elixir, we talk with Velina Petrova about a blog post she wrote showing how a “designer dreamed up” feature was delivered using LiveView and Alpine.js. She shares how she added the feature to a non-LiveView page demonstrating a great strategy for slowly moving a project in the direction you want to go without stopping to re-write. We also talk about blogging, the value of sharing and putting yourself out there. We all share some tips we’ve found helpful when creating content.
HOTP and TOTP algorithms in Erlang
I’ve published an Erlang implementation of the HOTP and the TOTP algorithms. It can be useful for everyone who needs to provides 2FA to their users.
My experience with Elixir and Phoenix after 2 years
After two years on a commercial project, I wrote about my experience with Elixir.
New Course "Elixir: The Big Picture" on Pluralsight
Recently released “Elixir: The Big Picture” on Pluralsight, focusing on what makes Elixir different and why companies should embrace it. All Pluralsight courses are free this month.
Elixir lib "Machinist" with a DSL to write state machines
In these last days I’ve been writing this tiny Elixir lib https://github.com/norbajunior/machinist with a DSL to implement state machines.
Upcoming Elixir Wizards |> Conference!
We’re excited to announce our first-ever Elixir Wizards conference! If you have an idea for a presentation, let us know–submissions for speakers and panelists are open through 4/18: https://smartlogic.io/about/community/elixir-wizards-conference/
ThinkingElixir 041: Secure IoT Systems using Ockam with Mrinal Wadhwa
In episode 41 of Thinking Elixir, we talk with Mrinal Wadhwa about Ockam.io, both the project and the company. They are taking on the ambitious goal of building an open protocol through Elixir and Rust libraries to enable secure and trusted IoT platforms. We learn about recurring problems that the IoT industry faces and how they are seeking to solve them differently. A very informative and interesting discussion!
Introductory Phoenix LiveView course
I’ve just published the first three episodes of an Introductory LiveView course. These episodes are standalone and free extracts from the larger course.
Association Defaults in Ecto 📀
This little-known Ecto feature, that we’ve been using in production at Slab for over a year now, can help you design secure and scalable multi-tenant applications in Elixir:
Association Defaults in Ecto →
phx_component_helpers - Easier live_components coding
PhxComponentHelpers are helper functions meant to be used within Phoenix LiveView live_components to make your components more configurable and extensible from templates.
The Beauty Of [Functional Programming]
Programming languages that are not functional can get messy with lots of if-else statements especially if you are a beginner. With functional programming languages that practice is not followed, let’s dive in with a simple example with the Elixir programming language.
Advanced Ecto.Multi Usage by Eric Oestrich
Latest blog post is out today! Check it out here: https://blog.smartlogic.io/advanced-ecto-multi-usage/
