Hugo Baraúna
@hugobarauna.com
1.1K followers 130 following 250 posts
Dev advocate at Dashbit (livebook.dev / tidewave.ai) - Also, curator @elixir-radar.com - Past: founder at Plataformatec (acquired by Nubank)
Posts Media Videos Starter Packs
Reposted by Hugo Baraúna
Elixir project dependencies compilation with Elixir 1.19.0-rc.1 measured on my MacBook Pro M1 Max (10 cores) is 2.3x faster than with 1.18.4. Crazy! 🤯🚀⚡
#ElixirLang
You're welcome! 🙌😊
Reposted by Hugo Baraúna
New MDEx (Markdown for Elixir) version is 🔥

👇
You can also use the handle_continue/2 callback. When the genserver process is started, it will not block the caller and can continue to do its work in the background:

hexdocs.pm/elixir/GenSe...

Example of how we used that in the Elixir Patterns book: gist.github.com/hugobarauna/...
GenServer — Elixir v1.18.4
hexdocs.pm
Even some notes in a notebook! 👏
Reposted by Hugo Baraúna
Want to disable all unmocked HTTP calls from Req at once during #ElixirLang tests?

Simply add this to test/test_helper.exs:

Req.default_options(
adapter: fn req ->
raise "Unmocked call to #{req.url}"
end
)

(replace `raise` with a log warning if that's more useful)
Most coding agents wait for you to bring them the error.

Tidewave catches the exception in your running app and asks: "fix this?"

You don't have to explain what went wrong because it's already watching your app, not just reading static files.

Here's how it works.

#ElixirLang
The way I use the AI-generated texts/doc/code is like I use code generators is general. They give me a start that I can work on top.

I don't usually get what AI gives me and ship it as is. (unless I'm vibe coding a toy project for myself 😅).
That specific doc in the screenshots is just an example, but based on a real-world feature we've been working for Livebook.

It's a feature to allow Livebook app servers connected to a Teams organization to open notebooks from a Git repo associated with a Teams org.
Perhaps I didn't communicate well.

The problem it solved for me was to document the sequence of actions users need to take in the UI of my app, so they can learn how to use a feature.

The other way is me doing all the actions to check how it works, then writing it down myself (kinda doing "twice")
And, it generated the docs! 🎉
Second, I completed the actions the user would need to do and instructed Tidewave to see what I did and generate the documents accordingly.
One of my tasks is to write docs.

And, some parts of it are kinda "robotic"

So I thought: "Tidewave can help me with that!"

And it did!

Here's how 🧵

#ElixirLang
Did you know you can connect a Livebook notebook to a running Phoenix app?

Apparently, many of us don't.

Useful for:
- internal tools
- runbooks
- and engineering support

Here's how you can do it. 👇

#ElixirLang
Reposted by Hugo Baraúna
Elixir Radar issue 486 is out! 📣

You can read it here: buff.ly/2UM7hp6

This issue comes with content from @shahryar-tbiz.bsky.social @katafrakt.bsky.social @maennchen.dev @elixircasts.io , Matt Savoia and Yatender Singh . Thank you!

#ElixirLang
Elixir Radar 486
buff.ly
Reposted by Hugo Baraúna
A shout-out to WyeWorks for being one of our sponsors! 🙌
Parabéns @lucasvegi.bsky.social 👏👏👏
Lucas Vegi acaba de ganhar o prêmio de Melhor Tese de Doutorado em Engenharia de Software em 2024 no @cbsoft.bsky.social

O tema foi Code Smells e Refatorações em #ElixirLang
Reposted by Hugo Baraúna
In case folks aren't aware, @christhekeele.social has GitHub sponsors set up: github.com/sponsors/chr...

Chris is one of many prolific #ElixirLang developers who works hard to improve the community, and he's easily in the top 60 most helpful users on the forum IMO: elixirforum.com/u/christheke...
Chris Keele's GitHub sponsors page.
Reposted by Hugo Baraúna
Elixir Radar issue 485 is out! 📣

You can read it here: buff.ly/HGjAeCB

This issue comes with content from @dreamingechoes.bsky.social @ievgenpyrogov.com @yellowduck.be @lawik.bsky.social @elixircasts.io and Masatoshi Nishiguchi. Thank you!

#ElixirLang #MyElixirStatus
Elixir Radar 485
buff.ly
Reposted by Hugo Baraúna
Hey Elixir family, process spawners, fault-tolerant friends! 😉

My ElixirConf talk just dropped! See how Hologram is pushing the boundaries of what's possible with Elixir!

Check it out: www.youtube.com/watch?v=TVs2...

#Hologram #Elixir #ElixirLang #BEAM #WebDev #ElixirConf
Hologram Building Rich UIs with Elixir Running in the Browser - Bart Blast | ElixirConf EU 2025
YouTube video by Code Sync
www.youtube.com