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/
Foolproof uniqueness validations in Phoenix with Ecto
Uniqueness validations are fundamentally different from other types of validation. They require a database connection, which makes them susceptible to race conditions.
Read the article to learn how to use Ecto’s unsafe_validate_unique in combination with unique_constraint to ensure that no invalid data gets past your changesets.
https://phoenixonrails.com/blog/foolproof-uniqueness-validations-in-phoenix-with-ecto
Elixir Streams |> Elixir 1.16 running multiple tests with line numbers ✅
Elixir 1.16 now allows us to run multiple files with line numbers. 🥳
It might seem odd, but that’s not something we could do until just now.
Check it out!
🎥 Elixir Streams |> Elixir 1.16 running multiple tests with line numbers
Tyler Young, Fantastic Hacks and Where to Find Them
Excellent talk on Elixir performance and how to avoid bottlenecks in your own work.
First edition of the Annual Elixir Survey by Curiosum
Have you heard about our latest Annual Elixir Survey release? Your experience matters to greatly benefit the Elixir community. Let’s participate in the survey here: ➡️ https://xxjwx72arn3.typeform.com/to/dk9KpEod
#annualelixirsurvey #elixirsurvey #curiosum
First edition of the Annual Elixir Survey by Curiosum
Have you heard about our latest Annual Elixir Survey release? Your experience matters to greatly benefit the Elixir community. Let’s participate in the survey here: ➡️ https://xxjwx72arn3.typeform.com/to/dk9KpEod
#annualelixirsurvey #elixirsurvey #curiosum
Next LS v0.15.0, elixir-tools.vscode v0.12.0, Tableau v0.10.0, and a new documentation site
Several releases to share!
Next LS v0.15.0:
elixir-tools.vscode v0.12.0:
Tableau v0.8.0, v0.9.0, v0.10.0:
- https://github.com/elixir-tools/tableau/releases/tag/v0.8.0
- https://github.com/elixir-tools/tableau/releases/tag/v0.9.0
- https://github.com/elixir-tools/tableau/releases/tag/v0.10.0
Also the documentation website for elixir-tools has been revamped, and Next LS is the first to make its home there!
Check it out: https://www.elixir-tools.dev/docs/next-ls/quickstart
