Curated content from the Elixir community
Elixir Radar logo

Elixir Radar Newsletter Issue #535

This issue is brought to you by bitcrowd ...

Semantic search is more complex then you might think on first glace. Most discussions evolve around the right model. But how do you test?

If you are tired of clicking through your own search interface, here are some tips from bitcrowd

Articles

Bots used Charlie Forêt’s newsletter to send unwanted email to strangers. His LiveView confirmed sign-ups in mount/3, so mail scanners subscribed people just by opening a link. Charlie shares how he changed his LiveView and what other defenses he added.

A more precise type can catch bugs, but it can also make a function signature harder to read. José Valim uses examples from Elixir to explore how to balance simplicity and expressiveness in a type system.

DNSimple’s name servers were using more CPU each week, even though traffic was flat. Nelson Vides follows a query through their Erlang server and shows how changing an ETS lookup helped cut CPU use by a third.

Elixir Patterns book - Sponsor

Learn practical Elixir/OTP patterns and make better use of the BEAM. Get the 50% discount now. 👈

Popcorn runs Elixir in the browser. Kuba Gonet shows how compiling the VM for size and stripping unused chunks from BEAM files helped cut its uncompressed assets from 25.9 MB to 10.7 MB. He also explains how pooling Web Workers speeds up boot.

Peter Ullrich, Jonatan Männchen, and Eric Meadows-Jönsson explain how they contained the Hex.pm breach. They found no evidence of package tampering, and since account data may have been exposed, Hex asks users to change their passwords and reset 2FA.

Videos

I liked how Zarar Siddiqi explains loop engineering. You give an agent a ticket and get the work back. But what counts as done depends on how your team ships software. No loop knows that out of the box, so he walks you through building your own, step by step.

Events

April 22-23, 2027 / Lisbon, Portugal & Virtual

Learn how to leverage OTP and the power of the BEAM.

Download the free chapters from "Elixir Patterns", the book I wrote with Alex Koutmos.

As always, thanks for reading Elixir Radar!

-- Hugo
Hugo face
Sent by Hugo Baraúna @ Elixir Radar
Av Paulista, 1636, São Paulo - SP, Brazil
If you wish to unsubscribe, you can click here