Erlang Fundamentals for Debugging Elixir
This talk by Lorena Mireles was recorded at Code BEAM America 2024
In this talk we will explore the fundamentals behind the magic of some of the debugging tools in Elixir and their benefits to debug borderline conditions and find hard to reproduce bugs in live Erlang systems 🔮🪄
Elixir has a very powerful set of debugging tools not everyone is aware of. They bring the community benefits inherited from the need to debug borderline conditions and find hard to reproduce bugs in live Erlang systems. In this talk, we’ll explore the foundations behind Elixir wrappers like Rexbug, using examples to explain the fundamentals which give us all this magic.
Elixir CI: Testing, Publishing, and Containerization with GitHub Actions
This article is about setting up a CI pipeline for an Elixir application using GitHub Actions. We’ll cover installing dependencies, running tests, and checking code formatting, as well as publishing hex packages and building Docker images as part of the pipeline.
https://farens.me/blog/elixir-ci-testing-publishing-and-containerization-with-github-actions
Thinking Elixir 215: Bob gets busy and Google's in trouble
Episode 215 of Thinking Elixir. News includes a new video by German Velasco explaining quote
and unquote
in Elixir macros, updates on the Hex.pm “Bob” project for pre-built Elixir and Erlang binaries, Sonic Pi sponsorships and support from Dashbit, the release of ElixirLS v0.23.0, and Google’s recent antitrust ruling. We also cover new developments with the Error Tracker library, Florian Arens’ guide to building a Phoenix HEEx component, and upcoming events at ElixirConf 2024, and more!
Umbrella? Poncho? Go Naked!
Run a Phoenix web-based UI directly within a Nerves firmware project. No umbrella, no poncho.
ErrorTracker v0.2.0 has been released
We have just released a new version of ErrorTracker, the Elixir based built-in error tracker. This version adds a few key improvements:
- SQLite 3 compatibility - including a better way to track database schema versions
- Telemetry events - can be used to integrate your own notifications
- UI improvements - more refined styles and UX
- A better test suite - including testing in both RDBMS and different Elixir/Erlang versions in the CI
Take a look at the GitHub repository and the Hex.pm package for the detailed release notes and documentation.
What language modeling is all about?
How does AI “speak” and “understand”? Check our latest blog to learn all about language modeling—the technology behind how AI interprets and generates human language.
State (Machine) of Enlightenment [Nerves Meetup]
Ben Murphy explores how Erlang OTP’s :gen_statem can outperform GenServer in managing complex, unpredictable systems. Learn how this state-machine-based approach offers cleaner transitions and more powerful directives, simplifying even the toughest system designs.
Bun 1.3.1 released
This new version of the Bun installer fixes a problem with the bun run
command and allows you to replace the default Phoenix frontend stack (esbuild + tailwind packages) with just Bun.
Take a look at the GitHub repository and the Hex.pm package for detailed release notes and documentation.
Building analytics systems with Elixir | Code BEAM Europe 2023 recording
🎥 https://www.youtube.com/watch?v=1eYIo55dgf0
This is a case study and discussion about state of the art for developing analytical systems with Elixir. Multiple years we are working on Process Mining products with Elixir, using and experimenting with different technologies (Clickhouse, MariaDB column storage, DuckDB, KDB+, Polars). This talk is about problems, design decisions and challenges on the way, like developing in-house ecto-like framework, explaining what you can’t achieve with SQL and why you might look into lower-level technology like Polars & KDB+, ending with trying to show-case some example functionalities on top of Elixir Explorer and comparing them with Python.
This talk by Dmitry Russ was recorded at Code BEAM Europe - The Erlang and Elixir Conference 🎥 https://www.youtube.com/watch?v=1eYIo55dgf0
Sam McDavid, Machine Learning for Stock Trading in Elixir
Sam McDavid, Machine Learning for Stock Trading in Elixir
Thinking Elixir 214: Stack Overflow Results
Episode 214 of Thinking Elixir. News includes the latest Stack Overflow survey highlighting Elixir and Phoenix as highly admired technologies, a Reddit discussion on what makes Phoenix and Elixir so revered, the release of Lexical LSP 0.7.0, and Gleam v1.4.0-rc1 available for testing. Additionally, there’s a spotlight on a new library called LiveScript for local script development with code-reloading, a new website showcasing projects built with Phoenix, and more!
Multitenancy in Elixir
How to efficiently manage multiple clients within a single application? Or how to keep different users’ data isolated while still leveraging shared resources? Enter multi-tenancy!
Custom Instrumentation for a Phoenix App in Elixir with AppSignal
In the second part of this two-part series, we’ll set up custom instrumentation for a Phoenix application using AppSignal: https://blog.appsignal.com/2024/08/06/custom-instrumentation-for-a-phoenix-app-in-elixir-with-appsignal.html
So you want to develop a product with Nerves...
Learn key strategies for developing Nerves firmware products, from architecture to team resourcing. Discover tools, storage solutions, and hiring tips for success.
https://redwirelabs.com/blog/so-you-want-to-develop-a-product-with-nerves
How to update multiple records with different values in Ecto.Repo.update_all
The article shows how to use PostgreSQL unnest() to update multiple records with different values in Ecto.Repo.update_all/2
https://geekmonkey.org/updating-multiple-records-with-different-values-in-ecto-repo-update_all/
Building a Table of Contents Component for a Phoenix Blog
The article shows how to parse MDEx-generated HTML into a nested data structure that can be used to build a table of contents component for a Phoenix blog.
https://farens.me/blog/building-a-table-of-contents-component-for-a-phoenix-blog
Building Multiplayer Tetris from scratch with OTP, Elixir, and Phoenix
Let’s play Tetris together! - Building Multiplayer Tetris from scratch with OTP, Elixir, and Phoenix - a talk by Merlin Webster https://youtu.be/87iFws4c78s
✨This talk was recorded at Code BEAM Europe 2023. Early Bird tickets for Code BEAM Europe 2024 are still available: https://codebeameurope.com ✨
Drag-and-Drop with Phoenix LiveView
In this episode, we’ll learn how to implement a drag-and-drop feature that uses Phoenix LiveView. When elements are dragged between lists we’ll update their properties to match the new list.
ErrorTracker: an Elixir-based built-in error tracking
Announcing ErrorTracker, an Elixir-based built-in error tracking solution.
Features
- Basic, free, built-in error tracking solution. Tracking errors in your application should be a requirement for almost any project and it helps to improve quality and maintenance.
-
Easy to set up. Includes plug-and-play integrations that work automatically such as:
- Plug integration
- Phoenix integration
- Oban integration
- Minimalistic. You just need a relational database to store errors. It can be your application’s database or a separate one.
- Web UI. Includes a LiveView dashboard that allows you to search, manage and resolve recorded errors.
- Extra context. Recorded errors include additional context such as the request path or the LiveView event for the Phoenix integration and the job ID and parameters for the Oban integration. You can also add your additional context.