NanToo Blog

RSS feed

Clear explanations of the ideas behind NanToo tools, web development, design, and practical everyday technology.

HTTP Status Codes Explained: The Five Classes, 418, 451, and 402
DDEVELOPER
Developer9 min read

HTTP Status Codes Explained: The Five Classes, 418, 451, and 402

Trace HTTP status codes from early HTTP and 1992 design notes to RFC 9110, including the five classes, unknown-code handling, 418, 451, 402, and 103.

UUID v1 vs. v4 vs. v7: A Practical RFC 9562 Guide
DDEVELOPER
Developer8 min read

UUID v1 vs. v4 vs. v7: A Practical RFC 9562 Guide

Compare UUID v1, v4, and v7 under RFC 9562: bit layouts, collision probability, time ordering, database locality, privacy, and safe ID design.

IP Addresses and CIDR Explained: From Classful Networks to /24
DDEVELOPER
Developer10 min read

IP Addresses and CIDR Explained: From Classful Networks to /24

Understand IPv4 subnetting, why /24 means 24 prefix bits, how classful A/B/C addressing gave way to CIDR, and where /31 and /32 are special.

Regex Lookahead and Lookbehind: A Practical JavaScript Guide
DDEVELOPER
Developer8 min read

Regex Lookahead and Lookbehind: A Practical JavaScript Guide

Learn positive and negative lookahead and lookbehind in JavaScript regex, with tested extraction, exclusion, AND-condition, and number-formatting examples.

Why 0.1 + 0.2 Is Not 0.3: IEEE 754 Floating Point, Bit by Bit
DDEVELOPER
Developer11 min read

Why 0.1 + 0.2 Is Not 0.3: IEEE 754 Floating Point, Bit by Bit

Why does 0.1 + 0.2 produce 0.30000000000000004 in JavaScript and many binary64 environments? Follow the repeating binary fraction, IEEE 754 bit layout, rounding, comparisons, and safe numeric design.

Why A4 Paper Uses √2: ISO 216, Lichtenberg, B Sizes, and Letter
NGENERAL
General9 min read

Why A4 Paper Uses √2: ISO 216, Lichtenberg, B Sizes, and Letter

Why does halving A4 produce A5? Explore the square-root-of-two geometry behind ISO 216, Lichtenberg's 1786 letter, DIN 476, A and B sizes, envelopes, and US Letter paper.

Huffman Coding (1952): The Optimal Prefix Code Born from an MIT Assignment
DDEVELOPER
Developer10 min read

Huffman Coding (1952): The Optimal Prefix Code Born from an MIT Assignment

How did David Huffman's 1952 method become part of DEFLATE, baseline JPEG, MP3, HPACK, and Zstandard? Learn the greedy tree algorithm, its optimality, entropy limits, and where specifications actually use it.

Equal Temperament vs Just Intonation: Why a Piano C Major Chord Is Slightly Off
EENTERTAINMENT
Entertainment9 min read

Equal Temperament vs Just Intonation: Why a Piano C Major Chord Is Slightly Off

Compare a theoretical 12-tone equal-tempered C major chord with 4:5:6 just intonation. Calculate cents, beats, commas, historical temperaments, and real piano stretch tuning.

WebP vs. AVIF vs. JPEG: A Practical Image Format Guide for 2026
GDESIGN
Design8 min read

WebP vs. AVIF vs. JPEG: A Practical Image Format Guide for 2026

Newer is not automatically better when choosing a web image format. Compare browser support, compression, encoding cost, fallbacks, and practical choices for photos, transparency, animation, and Core Web Vitals.

DPI vs PPI: Calculate Resolution for Screens and Print
GDESIGN
Design7 min read

DPI vs PPI: Calculate Resolution for Screens and Print

Learn the difference between image PPI and printer DPI, calculate pixels from print dimensions, and understand 300 ppi, CSS's 96 px per inch, viewing distance, and resolution metadata.

Mbps vs MB/s: Bits, Bytes, and Binary Prefixes Explained
LLIFESTYLE
Lifestyle8 min read

Mbps vs MB/s: Bits, Bytes, and Binary Prefixes Explained

Why does a 1 Gbps connection translate to 125 MB/s? Learn the difference between bits and bytes, decimal and binary prefixes, and why a 1 TB drive may appear as about 931 GiB.

Cents, Equal Temperament, and Just Intonation
EENTERTAINMENT
Entertainment7 min read

Cents, Equal Temperament, and Just Intonation

The cent is a logarithmic unit for comparing musical intervals. Learn its formula, the mathematical difference between 12-tone equal temperament and just intonation, and practical tuning examples based on A4 = 440 Hz.

Image Scaling Algorithms: Nearest, Bilinear, Bicubic, and Lanczos
GDESIGN
Design10 min read

Image Scaling Algorithms: Nearest, Bilinear, Bicubic, and Lanczos

Why do enlarged images look blocky and reduced images lose fine lines? Learn how nearest-neighbour, bilinear, bicubic, Mitchell–Netravali, and Lanczos filters reconstruct and resample images.

A History of Voxel Art: From Comanche to Minecraft and MagicaVoxel
EENTERTAINMENT
Entertainment10 min read

A History of Voxel Art: From Comanche to Minecraft and MagicaVoxel

Trace voxels from scientific volume data to Comanche's terrain, Minecraft's editable block worlds, MagicaVoxel's .vox format, greedy meshing, and modern glTF delivery.