⚗️ Elixir Tip #43 - Validating options ⚗️
Ever had a typo in an option silently ignored? Keyword.validate!/2 lets you set defaults and raises if any unexpected options are passed in. Perfect for library authors!

⚗️ Elixir Tip #43 - Validating options ⚗️
Ever had a typo in an option silently ignored? Keyword.validate!/2 lets you set defaults and raises if any unexpected options are passed in. Perfect for library authors!
⚗️ Elixir Tip #42 - Unicode aware strings ⚗️
Elixir strings are UTF-8 encoded binaries and the String module is fully Unicode aware. Be careful though, the number of characters and the number of bytes are not the same thing!
⚗️ Elixir Tip #41 - Base encoding ⚗️
The Base module makes it easy to encode and decode binaries using Base16, Base32 and Base64. It even supports URL safe encoding for when your data needs to live in a URL!
What am I missing? github.com/chiroptical/... #erlang
CVE-2026-103060 - rebar3
When rebar3 downloads a package, it trusts the package's name without checking it. A malicious package can give a name that points outside the project folder, causing rebar3 to remove…
Too many irrelevant or confusing CVEs? Use stackflag.com
⚗️ Elixir Tip #40 - Hashing with :crypto ⚗️
Need to compute a hash or verify a webhook signature? No need for a 3rd party library, the Erlang :crypto module has you covered!
⚗️ Elixir Tip #39 - Working with nested data ⚗️
Deeply nested maps can be a pain to update. Luckily Elixir ships with get_in/2, put_in/2 and update_in/3 so you can reach right in and make your changes!
Today, after a long time... I released étui v2.0.0.
[Some breaking changes here]
For those who don't remember, it's a @gleam.run library for creating beautiful TUIs, whether targeting #Erlang or #JavaScript...
Yes, something like @ratatui.rs for @rust-lang.org
The BEAM Book
1st and 2nd editions
#Erlang #Elixirlang #gleam #BEAM
⚗️ Elixir Tip #38 - Counting with frequencies ⚗️
Before you reach for Enum.reduce to count occurrences of items, check out Enum.frequencies/1 and Enum.frequencies_by/2. Counting things has never been easier!
⚗️ Elixir Tip #37 - Enum chunk_every ⚗️
Need to batch up some work or compute a sliding window? Enum.chunk_every/4 has you covered. Here is a 3 period moving average in a single line!
Very nice. #Gleamlang now uses #Erlang abstract forms instead of Erlang transpiled. What this means, better debugging and build times! Gleam was already fast, but it's even faster now! 😎
Debugging is real mindful improvement. None of that line 213 on a 15 line file. 😅
⚗️ Elixir Tip #36 - Side effects with tap ⚗️
Ever wanted to log or inspect something in the middle of a pipeline without breaking the chain? Kernel.tap/2 runs your function and passes the original value right along!
⚗️ Elixir Tip #35 - Pipe anywhere with then ⚗️
The pipe operator always passes the value as the first argument. But what if you need it somewhere else? Kernel.then/2 to the rescue!
Biggest Winner Last Friday from the "Mag 7" was $TSLA 📈
Will this trend continue today or will there be a reversal? See how Tesla's returns compared with the remaining Mag 7 stocks.
⚗️ Elixir Tip #34 - Parsing options ⚗️
The Elixir standard library offers a convenient way of parsing CLI arguments and casting them to the appropriate types.
How is the "Volume King" $NVDA doing? 📈
Nvidia continues to dominate trading volume and is one of the most closely watched names in the stock market. Here’s a look at its latest candlestick action and key price moves traders are watching.
A bet on Elixir
Koushik Dasika on his first experiment putting Elixir into production.
A clip from Kodsnack 722 - listen where you get podcasts, or at kodsnack.se
#elixir #beam #erlang #podcast