Introduction to FLAME library
Why FLAME is a compelling choice, particularly for those needing modular scaling? Check this out: https://curiosum.com/blog/introduction-to-flame-library
Nerves Meetup
The next Nerves online meetup is Wednesday, December 18th! This is a social gathering to hang out with other Elixir/embedded engineers, show off your project, and get help from the community! RSVP here:
YOLO - Real-Time Object Detection Simplified
https://github.com/poeticoding/yolo_elixir
I’m thrilled to share YOLO, my first Elixir library, designed to make real-time object detection simple and accessible for Elixir developers. Built around the power of YOLOv8, this library lets you detect objects in images or videos with speed and ease.
Here’s what I’ve worked on:
- Fast detections: Just 38ms per image on a MacBook Air M3 with EXLA.
- Simple API: Load models and detect objects in just two steps.
- Extensibility: Built for YOLOv8, with support for custom models on the way.
- Rust-powered NMS: Optional Rust NIF for blazing-fast post-processing.
Why did the Elixir application keep running despite dependency shutdown?
Recently, we’ve had an incident with one of our RPC services on production. The root cause was an issue with a PgBouncer instance going down. Although PgBouncer was eventually restored and became operational, our service remained partially functional until the pods were restarted. In this article, I’ll document the root cause of the issue and how we fixed it, effectively answering the question posed in the title.
https://burakaymakci.com/why-did-the-elixir-application-keep-running-despite-dependency-shutdown/
Prevent Decision Paralysis With These Battle-tested Elixir
Instead of evaluating 15 different libraries for each function, Elixir typically offers one or two battle-tested solutions per problem domain: https://hackernoon.com/prevent-decision-paralysis-with-these-battle-tested-elixir-libraries
A complete guide to LiveView v1.0.0's new syntax
LiveView v1.0.0 is finally here! The biggest change from 0.20 is that there’s a new way to render data in HEEx: {…}
is now available as an alternative to <%= … %>
.
In my new post I explain everything you need to know about this new feature, including some subtler details:
https://arrowsmithlabs.com/blog/phoenix-liveview-v1.0.0-new-curly-brace-syntax
Advent of Code 2024: Solving Simple Problems in Elixir with AI Assistance
The Advent of Code 2024 is here, and it’s an exciting time for programmers worldwide to flex their problem-solving muscles. But what if you could enhance your Elixir skills by using AI tools to tackle these challenges?
https://adolfont.substack.com/p/advent-of-code-2024-solving-simple
Elixir Streams |> Using GenServer.reply/2 to synchronize the asynchronous
I was trying to explain this the other day. So, naturally, I made a video. 😄
How do we coordinate a message that runs through a GenServer’s handle_call/3
and handle_info/2
in a way that makes it seem synchronous from the caller’s perspective?
The secret: GenServer.reply/2
Check out this short video! 👇
https://www.elixirstreams.com/tips/sync-the-async-within-a-genserver
Bridging the Gap: Simplifying Live Component Invocation in Phoenix LiveView.
Enhancements in ergonomics enable a more cohesive and developer-friendly approach to invoking live components
compared to function components
.
Thinking Elixir 231: Pretty Error and OTP Raw Mode
Episode 231 of Thinking Elixir. News includes Dave Lucia’s PR making Elixir’s protocol errors more readable, OTP 28 introducing a “raw mode” for immediate CLI input processing, Saša Jurić’s “Against the Grain” talk on YouTube about a bespoke Kafka client, Johanna Larsson’s new site listing Elixir events, DockYard’s official acceptance of native application contracts highlighting the readiness of their LiveView Native library, and Brian Cardarella’s teased Motion.dev wrapper enhancing animations in LiveView, and more!
JSONPathEx: A New Elixir Library for Parsing and Evaluating JSONPath Expressions
JSONPathEx is an Elixir library designed for parsing and evaluating JSONPath expressions. It provides tools to transform JSONPath syntax into an Abstract Syntax Tree (AST) and evaluate these expressions against JSON data.
The library supports a variety of JSONPath features, including root selectors, recursive descent, array slicing, filters, and functions like length()
, sum()
, min()
, and max()
. Built with NimbleParsec, JSONPathEx is modular, making it easy to extend or customize.
The project is open source and available on GitHub and Hex.pm. Contributions, feedback, and suggestions are welcome!
A Fast, Secure and Reliable Terraform Backend
I recently released a stable release of Lynx https://github.com/Clivern/Lynx
Upcoming Conferences and Calls for Talks
🗓️ Code Sync updates 🗓️
-
early bird tickets are available
-
diversity & inclusion programme is open
-
call for volunteers is open
-
early bird tickets are available
-
diversity & inclusion programme is open
-
call for volunteers is open
https://elixirconf.eu call for talks is open
https://lambdadays.org (FP conference): call for talks opens this week
https://codebeamstockholm.com: call for talks opens next week
Fast Nerves builds, low price
I’ve discovered an overlooked computer great at building Nerves firmware, under $1000.
Beeps and Ports [Nerves Meetup]
Joseph Stewart’s talk on Beeps and Ports: Creating an audio synthesizer with Elixir and Nerves
Elixir, Erlang, and the Quest for AI Justice: Building Unbiased ML Systems
Discover how Elixir and Erlang rise as champions of AI justice, illuminating the shadows of algorithmic bias and discrimination with astonishing statistics! https://youtu.be/eYKrJvz4n3Y
✨This talk was recorded at Code BEAM America 2024. Check out our next event: https://codebeamamerica.com ✨
Effortless Video Sharing with Phoenix LiveView and FLAME
Article: https://www.poeticoding.com/effortless-video-sharing-with-phoenix-liveview-and-flame/
GitHub: https://github.com/poeticoding/circle-demo
I recently tackled a problem I often face: sharing videos with friends, fellow developers, or online communities without the hassle of trimming, resizing, or worrying about platform limits. The result is a simple, customizable video uploader built with Phoenix LiveView and FLAME, which lets you upload and share videos seamlessly.
Elixir & Nerves on FLOSS Weekly
I did my best to cover Elixir so I could cover Nerves as one of you had suggested me as a guest for FLOSS Weekly.
Listen and then share it if I did good :) https://hackaday.com/2024/11/27/floss-weekly-episode-811-elixir-nerves-real-embedded-linux/
Voice Activity Detection in Elixir with Membrane
Building on other people’s work I bashed things together and suddenly I can know when someone is speaking using Elixir and Membrane.
https://underjord.io/voice-activity-detection-elixir-membrane.html
Thinking Elixir 230: Hot k8s Takes and Self-Hosting
Episode 230 of Thinking Elixir. News includes episodes now available on YouTube, Parker Selbert’s experience transitioning an app from the cloud to self-hosted, Gleam v1.6.0 release with context-aware features, José Valim’s hot-take on Kubernetes vs. Elixir, and more!