Another Elixir related article from my learnings while building my own apps! This covered integrating Nebulex, a caching toolkit, to easily add catching around some query functions that are called many times a minute per user. #elixir #elixirphoenix https://blog.guzman.codes/avoid-trips-to-the-database-with-nebulex-phoenix-series
A bit of an overview of my experience solving previous advent of code events and highlights from solving day 1 of this year’s #AoC in #Elixir with Livebook.
AWS RDS supports IAM database authentication. This means that we don’t have to deal with password rotation and can instead use shortlived tokens as database passwords!
The handle_params/3 callback helps keep and restore the state in the URL of your LiveView. This is nice because you can share the URL with anyone.
#MyElixirStatus #ElixirLang #Elixir #Erlang
📘👨💻💜 The Elixir Book Club has chosen our next book!
Build a Weather Station with Elixir and Nerves: Visualize Your Sensor Data with Phoenix and Grafana
Our next meeting is December 10th, and considering the time delay in acquiring equipment for the book’s projects alongside the holiday season, this meeting will be more casual.
The December 24th meeting will be skipped.
The January 7th meeting will target Chapters 1, 2, and 3.
Join our Discord!
Episode 179 of Thinking Elixir. In the latest episode, we delve into the rapidly evolving AI ecosystem and its implications for us as Elixir developers, highlighting the potential hazards of relying on proprietary services like OpenAI and the benefits of self-hosted, open-source AI models. We touch on the Elixir LangChain library, how Elixir’s position of running our own AI models strengthens us, and the governance and financial risks of depending on a single AI provider. Tune in for why these topics matter and how they shape the future of development in the context of Elixir, plus the holiday season’s impact on our show schedule, and more!
If you are going to do Advent of Code in Elixir, I have a nifty starter template!
Focusing on Elixir programming, the new article is up on our blog. It highlights Stream’s lazy enumerable generation and contrasts it with Enum’s eager approach, suggesting the use of List Comprehensions for more concise code in certain scenarios.
Focusing on Elixir programming, the new article is up on our blog. It highlights Stream’s lazy enumerable generation and contrasts it with Enum’s eager approach, suggesting the use of List Comprehensions for more concise code in certain scenarios. https://curiosum.com/blog/elixir-streams-and-lists-comprehensions
In the dynamic landscape of web applications, effective communication with users is paramount. Sending bulk emails, such as newsletters or promotional messages, is a common practice for keeping users engaged. In this blog post, we’ll explore how to leverage Bamboo and Oban libraries to send bulk emails seamlessly from your Elixir application.
In this text, Joe Armstrong answers a message from Luke Gorrie in 2003 where he (Joe) discusses error handling in Erlang, advocating for allowing processes to crash instead of implementing extensive error-checking code. He emphasizes generating clear error messages, sticking to specifications, and using separate processes to observe and correct errors for fault tolerance. The Erlang design mirrors an idealized human organization’s structure, where different roles manage tasks, check quality, and handle errors.
An exploration Elixir tools to build CLI apps 🖥️ https://brewingelixir.com/series/cli-apps-in-elixir
Using the ecto_sql package to demonstrate a use case using unique_index with where to enforce uniqueness only for one status type and grasp a business logic, check it out! 👊
#MyElixirStatus #ElixirLang #Elixir #Erlang
Episode 178 of Thinking Elixir. In this episode, we revisit the Safe Ecto Migrations guide and get an update on improvements. We also discuss the role and importance of OpenSource AI models. We cover updates in the Elixir LangChain library, the advantages of self-hosted AI models like Mistral, and learning how to run Bumblebee on Fly.io GPUs. Tune in for an insightful blend of database best practices and the cutting-edge of AI in Elixir, plus more!
In the first of a two-part series, we’ll set up a multi-tenant Phoenix application: https://blog.appsignal.com/2023/11/21/setting-up-a-multi-tenant-phoenix-app-for-elixir.html
I knew LiveView 0.20 had shipped with a
start_async helper along with the more popular
assign_async. But I hadn’t tested it til now.
It’s sooo nice for arbitrary async tasks in LiveView that need error isolation. Lovely addition to the tool belt! 🤩
Using Phoenix Framework? Are you heavily using Phoenix Channels? It might be time to take a closer look at your memory consumption like I had. Learn how one setting saved me money. https://blog.guzman.codes/using-phoenix-channels-high-memory-usage-save-money-with-erlfullsweepafter