Elixir Streams |> LiveView's Async Assigns
LiveView 0.20 ships with async assigns! đ„ł
I tested them and theyâre a breeze to use đ
Check out this short intro on how to use assign_async/3
Speech-to-text with Whisper: timestamping, streaming, and parallelism, oh-my! - Launch Week 2
Thanks to advancements in the overall Numerical Elixir ecosystem, Livebook v0.11 includes a highly improved integration with Whisper.
Today is about the improved integration with Whisper, using Livebookâs Neural Network Smart cell.
New features:
- Timestamping
- Streaming
- Parallelism
Validate Data in a Phoenix Application for Elixir
In the first of a two-part series, weâll explore how to avoid bad data and validate data at the boundary of a Phoenix application: https://blog.appsignal.com/2023/10/10/validate-data-in-a-phoenix-application-for-elixir.html
Permit - authorization library for Elixir, Ecto, Phoenix, LiveView
Permission-based authorization is a universal and flexible authorization model practically applicable in many applications. Permit was made out of the need to make permission management in Elixir applications more efficient and consistent. Introducing the new library from Curiosum, Michal in his latest post outlines the way the new library works and helps developers plug in resource preloading and authorization easily into Phoenix controllers and LiveViews.
Remote execution Smart cell - Livebook Launch Week 2
Our 2Âș Launch Week has just started!
Today is about our newest built-in Smart cell: Remote execution.
It comes with the following features:
- generates boilerplate code for connecting a Livebook notebook to another Elixir node
- stores the remote nodeâs cookie as a Livebook secret
- autocompletion and docs preview of the modules defined in the remote node
https://news.livebook.dev/remote-execution-smart-cellâlaunch-week-2âday-1-m3dv2
Authorize access to your Phoenix app with Permit
Introducing âPermitâ, your new best friend for smooth sailing through app authorization. đ Elevate your Phoenix development game and ensure your data remains in the right hands. Perfect for those looking to add a splash of easy-going security to their app.
https://curiosum.com/blog/authorize-access-to-your-phoenix-app-with-permit
Nerves Project Update 2023
Frank Hunleth, creator of Nerves, gives an overview of the latest updates to the Nerves project at the Nerves Meetup.
Introducing http_cache, a BEAM-native standard-compliant HTTP caching library
In this article, we explore the features of http_cache
and associated libraries released earlier last year
A quick SFTP server in Elixir
SFTP is still widely used, especially by corporations. Thankfully, incorporating an SFTP server in your development / testing setup is straight forward. Thanks to the Erlang ecosystem. A quick SFTP server in Elixir by Max Mulatz and Andreas Knöpfle shows you how.
Check it out!
Strong Arrows
đ€© I loved the blog post on strong arrows that JosĂ© recently shared. It helped clarify what they are and why theyâre needed.
I made a short video of my understanding. Hope it helps others understand them too! đ„ł
v0.13 of Next LS released
I released v0.13 of Next LS @elixir_tools, which includes local variable support for go to definition and find references. #MyElixirStatus @elixirlang
This work was done by Dmitry Biletskyy (https://biletskyy.com), heâs been killing it!
Check it out!
Thinking Elixir News 171
Episode 171 of Thinking Elixir. News includes JosĂ© Valimâs blog post about Elixirâs âstrong arrowsâ that expands on his keynote, the release of LiveView 0.20.0 with its myriad of updates and improvements, and a sneak peek into the upcoming Livebook features with a new âAuthenticationâ section. Additionally, Wojtek Mach shares a success story using beammachine.cloud for a quick Erlang check, Sundi Myint shares a tip for 404 pages in LiveView when URLs are tweaked, and Lionel Aimerie demonstrates how to integrate Chart.js into Elixir Phoenix for visual impact in LiveView. All these, along with newly released ElixirConf videos, the upcoming SpawnFest contest, and more!
Unpacking Elixir: Observability
Some of the coolest tools in the BEAM ecosystem are things you can do at runtime. They also hide behind relatively mild names. Such as tracing, observability, introspection.
This is the stuff no other runtime Iâve heard of can do.
Exploring various approaches for testing external calls in Elixir
In this article, we will summarize what we discovered and provide an overview (albeit not an exhaustive one) of various Elixir methods for testing payment API calls, ranging from the simplest to the most intricate. https://medium.com/wttj-tech/exploring-various-approaches-for-testing-external-calls-in-elixir-4f22e8c8fdae
Elixir Streams |> LiveView 0.20 HEEX Debug Annotations
LiveView 0.20 comes with a nice improvement to debug HEEX templates.
Just add config :phoenix_live_view, debug_heex_annotations: true
to your dev config, and youâll see HTML annotations in your browser inspector!
Check it out!
Announcing LangChain for Elixir
I created an Elixir LangChain library called âlangchainâ on Hex.pm. I didnât invent the idea of LangChain. In fact, it was originally created in Python and JS/TS. I wanted something similar to exist for Elixir and Phoenix applications.
This is to announce the initial release of the project and explain a bit more about it.
https://fly.io/phoenix-files/announcing-langchain-for-elixir/
How To Reduce Reductions in Elixir
In this article, weâll show how you can use Elixirâs profile.eprof mix task to evaluate and improve code performance in your Elixir application.
https://blog.appsignal.com/2023/09/28/how-to-reduce-reductions-in-elixir.html
JSON API Auth with Plug
In this episode weâll use Plug to restrict access to our JSON API unless the request includes a valid API key.
Thinking Elixir News 170
Episode 170 of Thinking Elixir. News this week includes the release of ElixirConf 2023 video playlist featuring keynote videos, a guide on Web Application Security Best Practices for BEAM languages from the EEF Security Working Group, the release of NextLS v0.12 with exciting new features, and a new library to integrate the JavaScript all-in-one toolkit, Bun with Phoenix. A new LangChain library makes it easy to integrate Elixir applications with an LLM like ChatGPT. Regarding the open source community, we discuss the major update in the Lodash JS project, the latest PostgreSQL 16 release, and a noteworthy article from ZigLang on bounties potentially damaging open source projects, and more!