Florian Arens

@farens.me

Elixir Developer 💜 Blogger. Open Source. Badminton. Coffee. 📚 My blog: farens.me 💻 GitHub: github.com/flo0807 🪄 Working on a Phoenix Admin Panel: https://github.com/naymspace/backpex

Phoenix 1.8 ships with daisyUI as the default UI library, but the generated AGENTS file says: > manually write your own tailwind-based components instead of using daisyUI for a unique, world-class design 🤔 #ElixirLang

I recently learned that the AbortController in JavaScript has built-in timeout functionality. This means that you don't need to handle timeouts manually using setTimeout and clearTimeout, but can easily create a timeout signal when fetching data, for example.

Code snippet showing AbortSignal.timeout usage with fetch API. Creates a 5-second timeout signal, makes a fetch request that converts response to blob, and handles TimeoutError in catch block.

Is there someone out there who has used Alfred on macOS and switched to Raycast who can share their experience? I use Alfred, but I'm considering looking into Raycast.

I am really looking forward to Phoenix LiveView 1.1 🔥 - Colocated Hooks - Keyed Comprehensions - New portal component (useful for dialogs) - Types for public interfaces and many more additions. The Phoenix Team cooked 👨‍🍳 #ElixirLang

Some Elixir packages provide Tailwind class merging functionality. Now that daisyUI is included by default with Phoenix 1.8, is there something out there that provides daisyUI class merging in addition to this? 🤔 #ElixirLang

Is there a good article that explains how to build a proper currency input in Phoenix LiveView? I got it to work using the Elixir money package and a masked input hook that uses IMask under the hood, but it is a bit hacky. So maybe there is a good resource out there? #ElixirLang

I don't like to use just an underscore for variables that are not meant to be used in #ElixirLang case statements, but I often end up with names like _other. I don't know which is better 🤦‍♂️

I am experimenting with the Battery Status API in JavaScript to extract my system's battery information, but Brave always returns a battery level of 100% and a charge status of true. Everything works fine in Chrome. Does anyone know why this is happening?