Articles

The `1ms` Lie: Why `sleep()` Breaks Real-Time Code—Resolution & Jitter Fixed

The 1ms Lie: Why sleep() Breaks Real-Time Code—Resolution & Jitter Fixed

If you’ve ever built a real-time system, a data simulator, or a game loop, you’ve tried using sleep() to control timing. And if …

Read More
Tired of Debating Code Style? Automate Your Way to Consistency

Tired of Debating Code Style? Automate Your Way to Consistency

Tired of debating code style? Learn how automated code formatters can bring consistency to your projects, reduce friction in code reviews, and speed …

Read More
Enums vs. Constants: Why Using Enums Is Safer & Smarter

Enums vs. Constants: Why Using Enums Is Safer & Smarter

Are you still using integers or strings to represent fixed categories in your code? If so, you’re at risk of introducing bugs. Enums provide …

Read More
One Dockerfile for Dev & Production? Yes, and Here's Why

One Dockerfile for Dev & Production? Yes, and Here’s Why

Want to simplify your Docker setup and keep dev and production perfectly aligned? Discover how I use Docker multi-stage builds and VS Code Dev …

Read More
The Bug I Hit When I Forgot a `return` in Python

The Bug I Hit When I Forgot a return in Python

I once hit a subtle Python bug just by forgetting the return keyword. Here’s what happened, why the function returned None, and how to avoid …

Read More
Python Learning Resources and Coding Conventions

Python Learning Resources and Coding Conventions

[Last update date: August 23, 2025]

If you’re looking to learn the Python programming language and improve your coding skills, using the right resources and following solid coding …

Read More
Setting Up and Using Rust Offline for Seamless Development: A Step-by-Step Tutorial

Setting Up and Using Rust Offline for Seamless Development: A Step-by-Step Tutorial

[Last update date: August 23, 2025]

It’s a straightforward process to set up Rust when you have internet access, but what if you’re offline? Rust is an exceptional …

Read More
Stack vs Heap in C++: Supercharge STL Performance with Preallocation

Stack vs Heap in C++: Supercharge STL Performance with Preallocation

Think you’re writing fast C++? Think again. If you’re using STL containers like std::vector or std::unordered_map without thinking about …

Read More
Tags