Hey!
Welcome to my blog, where I discuss the things I'm passionate about such
as mathematics, physics, philosophy, and programming.
Latest Posts
OpenGL apps failing to launch on non-Nix OS distros? This post covers how to fix these errors using overlays in a Nix flake. 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. 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.
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.
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.