Hey!

Welcome to my blog, where I discuss the things I'm passionate about such as mathematics, physics, philosophy, and programming.

Latest Posts

Nix: Pinning a specific package version in a flake using overlays
20/February/2025
Flake updates can sometimes break packages on specific platforms. This post walks through how to pin a package to a known working version using overlays in a Nix flake, ensuring stability across updates.
  • nix
  • dotfiles
  • technical
  • programming
  • sysadmin
  • osx
Snippet: odd Web Worker bug
25/October/2024
Snippet about an odd Vite bug ("The server responded with a non-JavaScript MIME type of "video/mp2t") I ran into while bundling a Web Worker.
  • snippet
  • frontend
  • vite
  • vue
  • web workers
Why you (almost) never want to call os.Exit or log.Fatalln
17/October/2024
This post explains why Go developers should avoid using os.Exit or log.Fatalln, as they bypass deferred functions, potentially leaving critical cleanup tasks undone. Instead, handle errors gracefully and let deferred functions run before exiting your program.
  • go
  • programming
  • technical
  • best practices
Some lessons I've learned over the years
17/October/2024
In this post, I share key programming lessons I've learned over the years, some of them specific to Go. The points discussed cover a wide range, but the focus is always on writing cleaner, more maintainable code.