Claude Code, My New Coding Companion!

Overview When Claude Code was released in May, it didn’t catch my attention initially. However, it has now become an indispensable coding assistant that I can no longer live without. I would call it the most powerful coding assistant available. Unlike Copilot, Claude Code is a CLI tool—a command-line interface tool. This is great news for those who love command-line tools, but might be somewhat challenging for “point-and-click” users. Overall, CLI tools inherently have advantages over Copilot in development assistance....

August 20, 2025 · 11 min

Why Can't My OpenWrt Start PBR?

For the past six months, I’ve been following the tutorials from fernvenue’s blog posts, “Trying OpenWrt on the NX30 Pro” and “Configuring Policy-Based Routing on OpenWrt”, to set up a similar configuration at my place. This has made my internet experience smoother and my network traffic management clearer. However, I once encountered an issue where PBR wouldn’t start after reinstalling OpenWrt. The download and installation of PBR went fine, and it would even start correctly without any profiles enabled....

August 14, 2025 · 2 min

Understanding RNNs and LSTMs: What's the Deal?

What Are They? RNNs are like learners with short-term memory – they remember recent information but get fuzzy as time passes. Simply put, a Recurrent Neural Network (RNN) is like a “learner” with memory. Imagine this learner reading an article, remembering the meaning of each word temporarily before moving on to the next. While traditional neural networks treat each input independently (like starting from scratch each time), RNNs “remember” previous information (earlier words) and pass this memory to the next step, creating context for the entire sentence....

September 20, 2024 · 6 min

Understanding Cross-Entropy

What is it? In deep learning, “cross-entropy” is a function used to measure the difference between two probability distributions, typically used in classification tasks. Analogy: Guessing the Color of Candies Imagine you have a bag of candies containing red, green, and blue colors. You guess the color distribution of the candies is 50% red, 30% green, and 20% blue. However, the actual distribution is 60% red, 20% green, and 20% blue....

September 18, 2024 · 3 min

Why Did My Nix Disappear After Upgrading to macOS 15?!

What’s Going On? Yesterday, I happily upgraded my macOS to version 15. However, today when I tried to build my site with hugo, I discovered that hugo was missing?! (base) BdimMacBook-Pro:~ bdim404$ hugo -bash: hugo: command not found I thought to myself, I didn’t uninstall hugo! I installed hugo using nixpkgs, so I checked if nix was still there. (base) BdimMacBook-Pro:~ bdim404$ nix -bash: nix: command not found Oh no, nix is gone?...

September 17, 2024 · 1 min