Sign in

Cristian Álvarez

@crbelaus.com
737 followers 128 following 64 posts

I write software (mainly #ElixirLang) and I do martial arts. Sometimes I blog at crbelaus.com

PostsRepliesMedia
Cristian Álvarez @crbelaus.com · 09/11/2025
Version 0.7 of the #ElixirLang Error Tracker 🐛 is out with improved LiveView support, MariaDB fixes, better sensitive header redaction and an all-new Igniter installer. github.com/elixir-error...
github.com
Release v0.7.0 · elixir-error-tracker/error-tracker
What's Changed Igniter installer by @crbelaus in #149 Improve documentation of Error kind field by @tjarratt in #154 Require LiveView 1.0 at least by @crbelaus in #159 Require Ecto 3.13 at least b...
0121
Reposted by Cristian Álvarez
Óscar de Arriba ⚗️👨🏼‍💻 @odarriba.dev · 11/05/2025
It's official! Igniter support is coming to the next version of #ErrorTracker 🚀. It's already merged on main and will be included in the next release @zachdaniel.dev #ElixirLang
1225
Cristian Álvarez @crbelaus.com · 24/04/2025
I got a small PR merged into Plug. You could use Plug.RequestID multiple times with different options but it always set the same logger metadata, overriding the previous value with each call. This is configurable now. github.com/elixir-plug/... #myelixirstatus #elixirlang
github.com
Customize the Logger metadata key name by crbelaus · Pull Request #1267 · elixir-plug/plug
In certain scenarios we may want to use the Plug.RequestID plug multiple times with different headers or assigns. While this is possible, the issue is that every call adds a :request_id key to the ...
070
Cristian Álvarez @crbelaus.com · 06/04/2025
I wrote about embedding external resources in your #elixirlang application so the compiler can keep track of when they change. crbelaus.com/2025/03/31/e...
crbelaus.com
Embedding external resources in Elixir code | Cristian Álvarez Belaustegui
If your Elixir module reads external resources during compilation you should use the @external_resources attribute so the compiler can track those resources and recompile when they change.
071
Cristian Álvarez @crbelaus.com · 10/02/2025
My pull request has just been merged! If you use difftastic with #elixirlang (you should! it is amazing) you will notice that changes in ~H sigils are now properly highlighted. github.com/Wilfred/diff...
Difftastic can now properly highlight changes in Elixir ~H sigils.
1211
Cristian Álvarez @crbelaus.com · 10/02/2025
The #elixirlang ErrorTracker has just surpassed 40k downloads. Codebase has been slowly improving and stabilising since the initial release. We just need a logger handler and then it can be considered "done". github.com/elixir-error...
github.com
GitHub - elixir-error-tracker/error-tracker: 🐛 An Elixir-based built-in error reporting and tracking solution
🐛 An Elixir-based built-in error reporting and tracking solution - elixir-error-tracker/error-tracker
0101
Cristian Álvarez @crbelaus.com · 31/12/2024
Amazing to see how well the ErrorTracker and @ash-hq.org work together 🤝
020
Cristian Álvarez @crbelaus.com · 28/12/2024
Thread worth reading for #ElixirLang devs.
020
Cristian Álvarez @crbelaus.com · 26/12/2024
After using it daily for a few weeks I can confidently say that jj is to git what Tailwind is to CSS. I went from "I don't think this adds any value over vanilla git" to "I don't know how I ever worked without this".
120
Cristian Álvarez @crbelaus.com · 18/12/2024
TIL that you can use github.com/michallepick... to install prebuilt Erlang versions with asdf instead of compiling them from source. Much faster and less problematic.
github.com
GitHub - michallepicki/asdf-erlang-prebuilt-macos: Erlang plugin for asdf version manager, using Erlang builds by erlef/otp_builds for macOS
Erlang plugin for asdf version manager, using Erlang builds by erlef/otp_builds for macOS - michallepicki/asdf-erlang-prebuilt-macos
081
Cristian Álvarez @crbelaus.com · 17/12/2024
Just compiled my job codebase to #ElixirLang 1.18 rc.0 and it already found dead code (four unused function clauses which were the only callers of some other private functions) and a typing violation (min/2 comparison between two structs).
071
Cristian Álvarez @crbelaus.com · 12/12/2024
Over the last few months I've been in charge of deep data structure refactors on a big #ElixirLang application. I'll write a detailed blog post with the lessons learnt, but the most important takeaway is to rely on pattern match and guards as much as possible.
Screenshot showing a `deactivate/1` function. In one case it pattern matches on the `%User{}` struct so the compiler will warn us if we try to access non-existing fields. In the other case there is no pattern match, so the compiler doesn't know that we are working with a `%User{}` and we will have runtime errors instead of compilation warnings.
130
Cristian Álvarez @crbelaus.com · 09/12/2024
I’ve been diagnosed with a damaged L4-L5 disk. Doctor tells me that BJJ is not doing any good to my lower back and I’d better do pilates/swimming instead.
250
Cristian Álvarez @crbelaus.com · 28/11/2024
This entire thread is word reading if you use git. Maybe even if you don't.
141
Reposted by Cristian Álvarez
Óscar de Arriba ⚗️👨🏼‍💻 @odarriba.dev · 26/11/2024
So nice to see close collaboration between libraries 👏 Thanks @zachdaniel.dev for your awesome work on @ash-hq.org ❤️ And thanks to @crbelaus.com who is co-maintaining ErrorTracker and made the changes to support it 🧙‍♂️
032
Reposted by Cristian Álvarez
Zach Daniel @zachdaniel.dev · 26/11/2024
Awesome stuff! Great for @ash-hq.org users, but you can also get bread crumbs for your errors for free using our standalone splode library: hex.pm/packages/spl...! In anticipation of this release, I went through and added a bunch more breadcrumbs to Ash errors 😎
hex.pm
splode
Splode helps you deal with errors and exceptions in your application that are aggregatable and consistent.
1152
Cristian Álvarez @crbelaus.com · 26/11/2024
The @ash-hq.org integration would not have been possible without @zachdaniel.dev help. He is incredibly responsive and helpful. The #ElixirLang community is incredible.
083
Reposted by Cristian Álvarez
Óscar de Arriba ⚗️👨🏼‍💻 @odarriba.dev · 25/11/2024
Another milestone reached! So proud of being one of the maintainers of this little but useful library ⚗️💻 #ElixirLang
292
Reposted by Cristian Álvarez
johanna @jola.dev · 25/11/2024
I want to share something I built for the Elixir community: elixirevents.net ✨ I want to make it easier to find events like conferences and meetups, to help the community grow. Anyone can contribute, events are only visible with admin approval. For feature requests or feedback please let me know! 🙏
elixirevents.net
ElixirEvents
The Elixir event calendar
510734
Cristian Álvarez @crbelaus.com · 24/11/2024
The ErrorTracker GitHub repo has just reached 400 stars ⭐️. Nice features coming soon! #ElixirLang github.com/elixir-error...
github.com
GitHub - elixir-error-tracker/error-tracker: 🐛 An Elixir-based built-in error reporting and tracking solution
🐛 An Elixir-based built-in error reporting and tracking solution - elixir-error-tracker/error-tracker
0191
Cristian Álvarez @crbelaus.com · 17/11/2024
I've just released a new version of the @bun.sh installer for #ElixirLang. It now supports installing, updating and managing bun on Windows hosts. github.com/crbelaus/bun...
github.com
Release v1.4.0 · crbelaus/bun
This version adds support for installing Bun on Windows systems. What's Changed feat: add windows support by @deathman92 in #27 New Contributors @deathman92 made their first contribution in #27 ...
050
Cristian Álvarez @crbelaus.com · 16/11/2024
Anyone knows how to make difftastic properly detect changes in #ElixirLang HEEx sigils? github.com/Wilfred/diff...
github.com
Elixir HEEx diff doesn't highlight the changes · Issue #784 · Wilfred/difftastic
When changing code inside an embedded HEEx sigil on Elixir, difftastic is not highlighting the changes but the whole sigil. I have the following code: def render(assigns) do if assigns.count == 5 d...
100
Cristian Álvarez @crbelaus.com · 15/11/2024
I've been using Qwen2.5-Coder for #ElixirLang through Ollama and Zed. It works surprisingly well for such a small model and is very competent both at writing new code and explaining existing code.
130
Cristian Álvarez @crbelaus.com · 13/11/2024
Why did we built an Elixir-based, built-in error tracker? Here's our reasoning. crbelaus.com/2024/07/31/b...
crbelaus.com
Built-in Elixir error reporting and tracking
SaaS fatigue is real. Reliance on third-party tools is widespread. How did we get to this situation? Starting a project should not require you to sign up for five different services.
050
Cristian Álvarez @crbelaus.com · 11/11/2024
A few improvements are coming no the #ElixirLang ErrorTracker dashboard so it looks (and works) better on small screens. github.com/elixir-error...
github.com
Improve dashboard for mobile devices by crbelaus · Pull Request #108 · elixir-error-tracker/error-tracker
The error list page was not pretty on mobile. This fixes the error list on mobile and closes #105 Before After
030
Reposted by Cristian Álvarez
Óscar de Arriba ⚗️👨🏼‍💻 @odarriba.dev · 31/10/2024
Things are coming to the ErrorTracker 🔥 Stay tuned #ElixirLang
1213