Deep dives into tools,
techniques & the web.
Practical guides covering developer tools, health metrics, SEO, converters and more — written to be actually useful.
✦ AI-powered — understands natural language
The 300-Year Unbreakable Cipher That Got Broken — Vigenère, Enigma, and What Every "Unbreakable" Cipher Has in Common
Why Math.sin(45) Gives the Wrong Answer — Degrees vs Radians in Every Programming Language
Math.sin(45) doesn't error — it silently computes the sine of 45 radians (≈2578°), not 45 degrees. Every major programming language's math library uses radians by default, passing degrees produces wrong answers with no error message, and the result looks plausibly correct. Here's why radians are the natural unit for mathematics (cleaner derivatives), the conversion pattern for every major language, and why atan2's radian output also needs converting for human-readable angles.
Why Converting 10 Inches Gives 25.4 cm — Not 25.400000000000002 — and What Significant Figures Actually Mean
Converting 10 inches to centimetres gives 25.4 cm — not 25.400000000000002, which is a floating-point artifact, not additional precision. Significant figures represent the meaningful digits in a measurement, and conversion can't create precision that wasn't in the original. Here's what significant figures actually mean, why trailing zeros matter differently in different contexts, why scientific notation exists, and how many digits you should actually report at different precision levels.
The "5.11 Metres" Error and Other Height Conversion Mistakes in Medical Records — Where Precision Actually Matters
Medical records, sports statistics, and identity documents all record height in different units and formats — and conversion errors range from database inconsistencies to patient safety concerns. Here's the clinical height measurement protocol (stadiometer, Frankfort horizontal plane, three readings), the "5.11" transcription error that appears in medical records, why sports player heights differ by 1-3 cm across national databases, and conversion precision guidance for legal threshold compliance.
Why You're Taller in the Morning Than at Night, and When It Actually Matters
Adult height isn't constant throughout the day — most people are measurably 1-2cm taller in the morning than in the evening, due to overnight rehydration and daily compression of spinal discs. Here's why this happens, why it's almost always imperceptible in everyday life, but why it can genuinely matter for anyone whose height is recorded near a formal threshold, and how this differs from long-term, age-related height changes.
Purchasing Power Parity vs Market Exchange Rates: Why the Big Mac Index Exists
$50,000 a year sounds different in different countries — and the market exchange rate alone won't tell you how different, because it reflects currency trading, not local prices. Here's how the "Big Mac Index" illustrates the gap between market rates and local purchasing power, what PPP exchange rates actually measure, and why this matters for comparing salaries internationally — while market rates remain exactly right for actually converting money.
How BMR Is Actually Measured and Why the Formula on Your Calculator Has More Uncertainty Than It Appears
Harris-Benedict's 1919 formula was built from 239 mostly young white men at the University of Oregon. Mifflin-St Jeor's 1990 update is better, but still predominantly white American subjects. "Within 10% accuracy" means your 1,700 kcal BMR estimate could be anywhere from 1,530 to 1,870 — a 340-calorie range that, compounded through TDEE multipliers, explains why "the formula says I should lose weight but I'm not" is often a formula limitation, not a tracking failure.
Why Your Rotation Spins the Wrong Way: CSS, SVG, and the Clockwise-vs-Counterclockwise Coordinate Flip
A rotation calculated with standard math's counterclockwise convention can spin the wrong way in CSS, which rotates clockwise for positive angles — because screen coordinates flip the y-axis relative to standard Cartesian coordinates. Here's why this flip happens, how it affects CSS/SVG rotate(), why programming math libraries use the opposite convention from rendering APIs, and how game engines sometimes mix both conventions within a single project.
What DMARC Aggregate Reports Actually Tell You — and How to Turn Raw XML Into an Authorized Sender Inventory
DMARC aggregate reports arrive as zipped XML — effectively unreadable without tooling — and the organizations generating the most complex reports are exactly those with the most to learn from them. Here's what each field in an aggregate report actually tells you, the two-type categorization of findings (legitimate-unauthenticated vs hostile), the recommended inventory-building process before moving to p=reject, and how third-party DMARC reporting services make this data actionable.
DKIM Signatures Don't Expire — and That's the Replay Attack Problem
DKIM signatures stay valid indefinitely on unmodified messages — which means an attacker who receives a legitimately signed email can replay it to other recipients and the signature will still verify. Here's how DKIM replay attacks work, why the specification doesn't prevent them, what DMARC aggregate reports reveal about replay patterns, and the countermeasures (signing the To: header, signature expiry x= tag) that limit the attack surface.
Cron Doesn't Know What Timezone You Mean — The Server Timezone, Database Desync, and Kubernetes TimeZone Fix
A cron job at "0 9 * * *" doesn't run at 9 AM — it runs at 9 AM in whatever timezone the server is configured for, which may not match the timezone you're thinking in, your users' timezone, or your database's timestamp timezone. Here's the server timezone hidden dependency, why "send at 8 AM" is ambiguous without specifying a timezone, the database timestamp desync pattern, and the Kubernetes timeZone field that finally makes cron timezone-aware.
How Counting Characters Can Identify a Language — and Why It Gets More Reliable With Every Word
A character-counting algorithm can identify a language from a short text sample because every language has a dramatically different character frequency signature — English peaks at E (12.7%), German at E (17.4%) with distinct umlauts, Spanish with high A and the ñ character. Here's how n-gram comparison against language profiles works, why accuracy improves with text length, where language detection fails (code-switching, similar languages, proper nouns), and applications beyond language detection.
Why Pregnancy Is Counted From Before It Began — The LMP Convention, Gestational Age, and Why Your App Says You're Further Along Than You Think
Gestational age is counted from the last menstrual period — not conception — which means a "6-week pregnancy" is about 4 weeks post-conception, and "40 weeks" includes approximately 2 weeks before fertilization. Here's why different calculators give different due dates (cycle length adjustments, ultrasound overrides), what "39+4 weeks" notation means and why the days portion matters clinically, and why Naegele's 280-day rule may slightly underestimate the average first pregnancy duration.