Elixir Streams |> ⚡️ Stream Server Logs to Console!
If you recently upgraded to phoenix_live_reload
1.5 without looking at the changelog you may have missed an awesome update.
With a small change to two files, we can stream our server logs directly to our browser’s console!
Direct File Uploads to Amazon S3 with Phoenix LiveView
Let’s explore how you can upload from Phoenix LiveView directly to Amazon S3: https://blog.appsignal.com/2024/03/19/direct-file-uploads-to-amazon-s3-with-phoenix-liveview.html
Fundamentals of Object Storage in Elixir
After my previous livestream I went ahead and made a text version of what we covered. If you want to learn about S3-compatible Object Storage and cool things you can do to it with Elixir, read on. Basics as well as presigning, chunked uploads and range requests. https://underjord.io/fundamentals-of-object-storage.html
Exploring Erlang, Elixir and Beyond: A Conversation with Professor Laura Castro
In this episode of the Professor Adolfo Neto podcast, join me, Adolfo, as we sit down with Laura Castro.
Laura is a distinguished professor at Universidade da Coruña (UDC), Spain, and the chair of Cátedra CICAS, a collaborative project aimed at advancing Open Science through Software. She is involved in the BEAM (Erlang and Elixir) community and is a member of the Erlang Ecosystem Foundation.
During our conversation, Laura shares her journey into Erlang and Elixir, her role at the University of A Coruña, and her involvement in the BEAM community and the Erlang Ecosystem Foundation. We also delve into the topic of gender diversity in computing and Laura’s thoughts on knowledge sharing within the field. A big thank you to Laura for sharing her expertise with us.
YouTube: https://www.youtube.com/watch?v=m1RgrdTF5B8
Audio platforms: https://podcasters.spotify.com/pod/show/adolfont/episodes/Exploring-Erlang–Elixir-and-Beyond-A-Conversation-with-Professor-Laura-Castro-e2h8btk
Adding OpenTelemetry and custom traces
I’m using OpenTelemetry to get custom data about FIT file decoding in a LiveView app. Includes a custom sampler to drop some redundant traces.
https://arathunku.com/b/2024/notes-on-adding-opentelemetry-to-an-elixir-app/
Idempotent seeds in Elixir
Agathe went on a journey to explore how to “run your database seeds a million times with deterministic UUIDs in Elixir” 🌱
Spoiler: there’s a fun path and a short path 🪧
Elixir Streams |> 🔄 Refactoring an anti-pattern: complex extractions in function heads
I use pattern matching in function heads for logic flows OR extracting data. Not both at the same time! ❌
Doing both makes it difficult to follow the code 🤔 🔀
Elixir’s docs call it the “complex extraction in clauses” anti pattern. 👇
🎥 Elixir Streams |> 🔄 Refactoring an anti-pattern: complex extractions in function heads
Operational Elixir: Observing the Midsize Madness
Episode 193 of Thinking Elixir. In this engaging third episode of our series, Dave Lucia returns to delve into the various systems that support small and medium-sized teams and companies for their Elixir systems. Dave shares insights gained from a range of situations including working at startups on up to Series C and D sized companies, with a particular focus on the critical role of observability tools. Drawing on his extensive experience, Dave discusses how these tools can greatly enhance a team’s ability to monitor and troubleshoot applications, ensuring high performance and reliability. Tune in for a comprehensive look at the essential systems and tools that can make a tangible difference in the day-to-day operations of Elixir-powered organizations, and more!
`Keyword.get` Considered Harmful
Keyword.get/3
is often used to fetch named optional arguments in functions. However, this introduces the possibility of a specific class of bugs. There’s a neat way to solve this with Keyword.pop/3
- see examples in the the blog post.
https://lakret.net/blog/2024-03-05-keyword-get-considered-harmful
Andrés Alejos, My First Year with Elixir: Livebook, Machine Learning, and Open Source
Great talk from Andrés on getting started in the Elixir community.
Powerful Caching in Elixir with Cachex
Improve the performance of your Elixir application with Cachex, a powerful caching library: https://blog.appsignal.com/2024/03/05/powerful-caching-in-elixir-with-cachex.html
Elixir Streams |> 🛠️ Fix your modal dialog with 2 LiveView helpers!
I love learning things from Phoenix generators. I recently came across a couple of really cool things! 👇
2 🤩 tips on how to make your modals better
-
Use
<.focus_wrap/>
-
JS.focus_first
Check it out!
🎥 Elixir Streams |> 🛠️ Fix your modal dialog with 2 LiveView helpers!
Operational Elixir - Scrappy Startups Edition
Episode 192 of Thinking Elixir. In this second installment of our series, we’re joined by Philip Brown, who returns to share his insights on running lean startups in the Elixir ecosystem. We dive into the art of supporting Elixir systems on a shoestring budget. Philip will walk us through his must-haves for MVPs, offering practical advice on how to leverage cost-effective solutions without sacrificing functionality. We’ll discuss the balancing act between delivering a product and managing expenses, and highlight the essential tools that keep a scrappy startup’s Elixir system robust yet affordable. Tune in for a candid look at making the most of limited resources, insights into Prise.com, ElixirMerge.com strategies, and more for the aspiring bootstrapper!
Absinthe with Phoenix Framework
Learn more about using GraphQL in your Elixir projects with our step-by-step guide on Absinthe and Phoenix Framework.
An interview with Sophie DeBenedetto at Code BEAM America 2022
In this episode of the Professor Adolfo Neto podcast, Adolfo interviews Sophie DeBenedetto, one of the authors of the “Programming Phoenix LiveView” book and a Board Member of the Erlang Ecosystem Foundation
Links to watch and/or listen: Elixir & Erlang substack
Safer Error Systems in Elixir
I wrote an article to try to raise awareness on how error states can be approached in our applications.
https://learn-elixir.dev/blogs/safer-error-systems-in-elixir
Scenic Goes To Cairo (Nerves Meetup)
Jon Ringle, lead embedded software engineer at GridPoint, shows how the Cairo graphics library is transforming Scenic to deliver high performance graphics to Nerves devices.
Doctest Formatter
Format your doctests with this new formatter plugin: https://github.com/angelikatyborska/doctest_formatter
Dashbit and Oban Pro join as corporate sponsors of Next LS and elixir-tools
I want to give a heartwarming welcome to the two latest corporate sponsors of @elixir_tools…
@dashbit and Oban Pro!
The support by companies in the @elixirlang community has been wonderful! #MyElixirStatus
Security Vendors and Elixir Support
A summary of Elixir support from security vendors by Paraxial.io.