lixir-streams-and-lists-comprehensions
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
Reliable e-mail delivery in Elixir with Bamboo + Oban
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.
https://maheepk.net/posts/reliable-email-delivery-in-elixir-with-bamboo-and-oban/
The “let it crash” error handling strategy of Erlang, by Joe Armstrong
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.
https://dev.to/adolfont/the-let-it-crash-error-handling-strategy-of-erlang-by-joe-armstrong-25hf
CLI apps in Elixir series
An exploration Elixir tools to build CLI apps 🖥️ https://brewingelixir.com/series/cli-apps-in-elixir
How to use unique_index wisely to grasp our business logic
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
https://dev.to/herminiotorres/how-to-use-uniqueindex-wisely-to-grasp-our-business-logic-109m
Thinking Elixir 178: Safe Ecto Migrations and AI Updates
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!
Setting Up a Multi-tenant Phoenix App for Elixir
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
Elixir Streams |> LiveView's start_async helper for arbitrary async operations
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! 🤩
Check it out! 👉 Elixir Streams |> LiveView’s start_async helper for arbitrary async operations
Using Phoenix Channels? High Memory Usage? Save Money With This One Change.
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
Comparing Elixir and Python when working with Simple Neural Networks - Adolfo Neto @adolfont & L. C. Tavano
The video discusses the prominence of Python in the machine learning domain due to libraries like TensorFlow, NumPy, Pandas, and Keras. In February 2021, José Valim and Sean Moriarity introduced Numerical Elixir (Nx), a tensor operations library in Elixir, with the goal of establishing Elixir as a suitable choice for GPU-intensive tasks. The talk aims to compare Python and Elixir in training convolutional neural networks using MNIST and CIFAR-10 datasets, evaluating development experience and performance differences.
Elixir Streams |> How is `:page_title` updated?
I always wondered, how is :page_title
the only assign that gets updated in the layout? What does LiveView do to make it special? 🤔
So, I did a bit of code spelunking 🤿 in this short video!
Unpacking Elixir: The Actor Model
Trying to explain The Actor Model. Which Erlang and Elixir either has no trace of or fully embodies. Depending on how you squint at it. Processes, message passing and concurrency. Here we go!
Exploring LiveView start_async
In this episode we’ll explore a way to get lower level control of asynchronous operations in Phoenix LiveView with start_async.
Elixir Security Roadmap: A CTO Level Guide
This document is to help you prevent a data breach due to your Elixir web application being hacked. It covers strategic and technical work that is the most relevant for organizations using Elixir and Phoenix.
Thinking Elixir News 177
Episode 177 of Thinking Elixir. This week’s news highlights Discord’s deep-dive into how they’ve scaled their servers to support millions of concurrent users, leveraging Elixir’s power. We cover how the Oban notifier has evolved to include Phoenix.PubSub and Redis integration, allowing more flexibility for your job processing needs. LiveView Native’s tutorial experience looks promising to make mobile development smoother and more intuitive. Plus, we cover the Livebook PR merge upgrading to the Bandit library and more!
Thinking Elixir News 177
Episode 177 of Thinking Elixir. This week’s news highlights Discord’s deep-dive into how they’ve scaled their servers to support millions of concurrent users, leveraging Elixir’s power. We cover how the Oban notifier has evolved to include Phoenix.PubSub and Redis integration, allowing more flexibility for your job processing needs. LiveView Native’s tutorial experience looks promising to make mobile development smoother and more intuitive. Plus, we cover the Livebook PR merge upgrading to the Bandit library and more!
Elixir Security: a Business and Technical Perspective
As Elixir adoption increases, companies have questions about the security of software developed in Elixir. Is it safe? Is Elixir more or less secure than other languages? This talk shows why Elixir is an excellent choice for developing secure software.
Michael Lubas, ElixirConf 2023
Don’t fight your external problems, laugh at them
We will embark on a journey to address common challenges faced by software engineers when dealing with external services using the Elixir programming language.
Unlocking the power of Elixir’s Enumerables
Explore how the Elixir’s standard library organizes enumerables and related modules to provide a clean and extensible batteries-included solution to work with collections.
https://brewingelixir.com/unlocking-the-power-of-elixirs-enumerables
Abusing LiveView's new Async Assigns Feature
Dive into the robust world of Phoenix LiveView’s new async operations with this latest blog post! We put these features to the test, not just for typical use cases, but in more atypical scenarios, showing they’re not just for fetching data on mount. Chris McCord’s ElixirConf 2023 keynote introduced these updates, and now we’re venturing from the happy path. See how they perform when we tackle advanced async tasks, with full code provided in a gist. Come along for an in-depth journey beyond the ordinary!
https://fly.io/phoenix-files/abusing-liveview-new-async-assigns-feature/