View Transitions API and Phoenix LiveView
Testing the new View Transitions API with Phoenix LiveView to easily animate DOM updates.
https://readyforproduction.dev/blog/view-transitions-api-and-phoenix-liveview
A Symphony of Innovation in the Serverless Erlang/BEAM Space
In the Serverless technology space, BEAM seemed to be outside the group. Until now. Let’s take a look at two of the main solutions in this space at BEAM. https://eigr.io/blog/spawn-and-flame-a-symphony-of-Innovation-in-the-serverless-beam-space/
Exploring the Data Analysis: From Python Certification to the Elixir Challenge
I decided to solidify my knowledge by undertaking the Data Analysis course at freeCodeCamp, aiming to achieve my first certification.
After completing the certification using Python, the idea of embracing a new challenge, I decided to tackle data analysis problems using the Elixir toolset exclusively.
Elixir Streams |> Introspecting modules at runtime
I didn’t know about Elixir’s Module.__info__/1 until recently.
It’s a super handy function to help us introspect modules at runtime. 😎 We can get info like the functions, macros, attributes, struct and more.
Check out a quick demo!
Thinking Elixir 182: Year End Review
Episode 182 of Thinking Elixir. As we close another year packed with developments in the Elixir ecosystem, we’re rolling out the red carpet for a “Year End Review” episode! Before we do that, we cover the most recent news events like the release of Supabase’s Supavisor, a connection pooler, crafted with a helping hand from Dashbit. We shed light on the partnership between Supabase and Fly.io introducing a managed Postgres option. Then, for front-end enthusiasts, we discuss the released beta of LiveView Native and more! And, if that’s not enough, we’ve got loads to unwrap from highlights of the past year’s achievements!
Using the Keyword module for options
Use the Keyword module to support options in your functions and make a better API design.
Happy holidays! 🎅🎄🍾🥂🎆
https://dev.to/herminiotorres/using-the-keyword-module-for-options-fg3
Secret Santa in Elixir
We’ve kind of hit a wall with the whole buying presents for each family member thing. Honestly, it’s been a real drain on the bank account, and it just doesn’t feel right anymore. Well, we found a solution in the dark arts of a Secret Santa.
Being crazy about Elixir, the first thing I did was open up Livebook and start implementing a way to create matches.
Benchee 1.3.0 published – oh, save the memory!
benchee 1.3.0 is out! Post includes some details about the memory savings made in this release with an example - down to 12% & others 😱 Read more in the blog post.
Mid-Level Backend Engineer @ 7Mind, Germany
Join us at 7Mind where we build mindfulness products to help people pay as much attention to their mental well-being as they do to their physical health.
Become part of an international team of professionals and help us build the future of digital mindfulness at 7Mind and do some “mindful butt-kicking”. ;)
Elixir Streams |> LiveView's lifecycle hooks
Ever want to handle a LiveView action (event, message, patch, etc.) across several LiveViews without having to duplicate the code?
LiveView’s attach_hook/4 helper is the thing for you!
It allows us to tap into these lifecycle stages:
-
handle_event, -
handle_params, -
handle_info, and -
after_render
Check out a short demo! 👀
Spice up your LiveView app with a cool loading spinner!
Learn how easy it is to add a spinner when making a long-time request on your LiveView application https://dev.to/lcezermf/spice-up-your-liveview-app-with-a-cool-loading-spinner-28bl
Careful what data you send or how to tank your performance with Task.async
I ran into an interesting problem recently where simple concurrency on the BEAM via Task.async made my application a lot slower and a lot more memory hungry. This blog post illustrates the issue with a short example, where processing 3 non-trivial actions on a list in parallel is slower than doing it sequentially, and then explains why this happens and what can or can’t be done about it.
Phoenix Component guide - reusable building blocks of modern web application
Phoenix Component is a fantastic building block in the Phoenix Framework. This article serves as an introduction to this great concept: https://curiosum.com/blog/phoenix-component
Thinking Elixir 181: FLAME with Chris McCord
Episode 181 of Thinking Elixir. In this week’s episode, we ignite the exciting world of Elixir with Chris McCord’s announcement of FLAME, showcasing a revolutionary approach to serverless with the Phoenix framework. Chris joins us to unravel the inspiration behind FLAME - Fleeting Lambda Application for Modular Execution and its promise to streamline the developer experience, significantly simplifying elastic compute. We discuss why this isn’t just another job queue solution and explore how it effortlessly scales. We cover how other backends can be implemented and learn there’s even a Kubernetes option! The FLAME pattern can be implemented in other languages and frameworks too. To avoid FOMO, tune in and ride the wave of Elixir’s evolution with us.
How to import CSV file to the Database
How to import CSV data file to the database and populate the table.
https://dev.to/herminiotorres/how-to-import-csv-file-to-the-database-578l
What's New in Elixir 1.16
Let’s explore the new features and improvements in Elixir 1.16: https://blog.appsignal.com/2023/12/19/whats-new-in-elixir-1-16.html
Learning Elixir with ELXPRO - Gustavo Oliveira
In this episode of the Professor Adolfo Neto podcast, join me, Adolfo, as we sit down with Gustavo Oliveira, creator of ELXPRO, an advanced Elixir course. We uncover Gustavo’s Elixir journey and the inspiration behind ELXPRO. Delve into the current landscape of Elixir developers as Gustavo shares market insights and dispels myths about opportunities for developers at different levels.
The spotlight then turns to ELXPRO itself. Gustavo walks us through its unique features, giving you a sneak peek into how it empowers aspiring developers to master Elixir and its associated tools.
Doggo - Unstyled collection of Phoenix components
This week, I released Doggo, a headless UI component library for Phoenix LiveView. Who’s a good boy?
How to abuse Ecto embeds to do our dirty polymorphic bidding
A simple way to implement polymorphic embeds for virtual fields.
