Articles by Hugo Tanaka
Diff Before Opening a PR: The Habit That Reduces Review Comments
Reading your own diff before opening a PR changes what you see in the code. How and why this habit reduces review cycles and improves PR quality.
Unformatted SQL Is Technical Debt You Pay at Code Review
Poorly formatted SQL doesn't break anything — but it hides bugs, increases review time, and becomes a bad template. How to standardize without ceremony.
Decoding JWT in the Browser: Why the Secret Doesn't Matter Here
JWT is signed, not encrypted. Understand what you can inspect without any key, and when it's safe to do this client-side.
Five Regular Expressions Worth Memorizing
Email, slug, phone, hex color, and ISO dates — pasted, commented, and ready to use in your validator.
Base64 vs Hex: When Each Encoding Makes Sense
Same bytes, two encodings. Size comparison, readability, and where each one shines — with real examples.
Converting Large CSVs to JSON Without Freezing the Tab
Streams, Web Workers, and a chunking trick that keeps the converter responsive even with 200MB of data.
UUID v4 or v7: Why You Should Adopt Sortable IDs in 2026
v7 carries a timestamp and maintains compatibility. When to switch, how to migrate, and what changes in database indexes.
Hashing for Those Who Never Read the RFC: MD5, SHA-1, SHA-256
Each algorithm, its historical flaws, and when it still makes sense to use — without the heavy math.
Compound Interest: Planning a 10-Year Financial Goal
How to simulate conservative, moderate, and aggressive scenarios with monthly contributions — and why time horizon matters more than return rate.
Markdown Beyond the Basics: Tables, Footnotes and Callouts
Lesser-used Markdown features that most devs don't know — and that make technical documentation much more readable.