ElixirWeekly: The Elixir Community Newsletter, covering community news you easily miss, shared on ElixirStatus and the web, in one email every Thursday.
Let’s see how Dialyzer can help us ensure correctness of our types, by exploring how we could model an optional value of a struct field.
Using Erlangs built-in lexing and parsing libraries we can easily define restricted and safe grammars that will let your business team define simple rules in your system. Essentially offloading arbitrary business logic to the business team themselves.
In the latest episode of our Modern Talking with Elixir series, Michał explains how to create DB structure and first LiveView pages for a Messenger app.
There is an overview of Ecto schemas behind the app’s data model, and essential LiveView callbacks are explained on a practical example.
This episode is focused on LiveView’s primitives, exploring the necessary bricks to build an app with this technology. A special look at what happens behind the scenes, understanding the Life-cycle while inspecting websocket messages and DOM updates.
In this episode we’ll look at how to precompile Phoenix templates in nested directories.
Get started using ETS as a caching mechanism in your Elixir applications and pick up some useful tips and tricks.
We had a great time at the Big Elixir – check out our recap for highlights on some of our favorite talks and moments from the conference.
In this blog post I cover how to setup RabbitMQ along side Broadway to create a powerful yet simple data processing pipeline. Check out Part 1!
After 2 years of great service from HtmlSanitizeEx in Pleroma, we started to work on a faster HTML sanitization engine because people were doing things like making multi-megabyte posts which HtmlSanitizeEx has had problems handling.
The first part of this work was released for the general public today as the fast_html module, a C-Node which wraps the Myhtml library.
Elixir users may be familiar with Myhtmlex, another module which wraps the Myhtml library as a NIF or C-node, but fast_html was forked and rewritten from the ground up to be as performant a C-node as possible.
In most synthetic benchmarks, fast_html outperforms both the Myhtmlex and html5ever NIFs and uses the newer
ei library over the legacy
We use Ecto to talk to our databases, which is the de facto standard in Elixir. In this post, we’re going to focus on advanced usage of one of its features: “preloading” of the related data.
Elixir is the “new kid on the block” in Findhotel’s tech stack. I explain why we decided to use Elixir at FindHotel and how we approached its adoption.
Should it be a Multi Page App or a Single Page App?
Multi Page Apps are relatively simple, but you’re limited in what you can achieve.
Single Page Apps allow you to build a much richer UX, but you pay for it in terms of increased complexity and lower productivity.
It would be nice if there was an option that allowed you to build a rich UX, without all the complexity associated with Single Page Apps, right?
Well, that’s exactly what Phoenix LiveView offers.
Want to learn more about Phoenix LiveView?
Checkout my new screencast which provides an introduction to LiveView for web developers who don’t know Elixir. (If you do know Elixir, I think you’ll still find this video helpful)
Metaprogramming sounds scary, but in Elixir you don’t need supernatural powers to use it to great success. Read Michał’s article at Curiosum.dev to learn about how macros work & see some useful macro writing techniques.
In this episode of ElixirMix, we catch up with Eric Oestrich about his project Grapevine and his live coding online. Grapevine is open source and a great resource for people to look at. We cover the different OTP concepts employed, how it is architected, deployed, what people can learn from it, and much more!
- Show Parameter Info (⌘+P/Ctrl+P)
- Fix must specify non-empty ‘commandLine’ parameter
GeneralCommandLine’s escaping for Windows can’t handle the parentheses in a way that both works for the Windows shell and Elixir running the code the shell hands off. Removing the parentheses leaves runnable code even if it is no longer formatted.
Fixes “Unknown Version” naming for Elixir SDKs and the “Probably SDK installed in … is corrupt” dialog from appearing.