gg
Home › Blog › Data & Spreadsheets

Data & Spreadsheets

Cleaning, checking and querying a file before you trust what it tells you.

All postsMoney & Finance (58)Home & Renting (7)Work & Business (39)Security & Privacy (24)Law & Life Admin (13)Everyday Maths (92)Health & Fitness Numbers (27)Building for the Web (24)Dates & Time (8)Benefits & Support (4)Data & Spreadsheets (22)Care & Communication (10)Bereavement & Preparedness (5)Home, Pets & Family (22)Shared Living & Splitting Up Costs (5)The Tools (36)
What the Luhn check can and cannot tell you
2026-08-28 · 4 min read

Luhn is a checksum for catching typos. It says a string of digits is internally consistent — not that an account exists, and not that anyone owns it.

securitydataweb
401 and 403 are not the same refusal
2026-08-28 · 4 min read

The first digit of an HTTP status tells you whose problem it is. The pairs that get confused — 401 against 403, 301 against 302 — are where the debugging time goes.

webdatasecurity
Why a one-line insert makes a whole diff look changed
2026-08-28 · 4 min read

A diff is supposed to find the smallest set of changes between two texts. Line endings, trailing spaces and one inserted line are the three things that bury the real one.

datawebsecurity
Escaping is not one thing: it depends on the context
2026-08-28 · 4 min read

The same string needs three different treatments in a path, a query value and a form body. Here is one string escaped all three ways, with the reasoning.

webdatasecurity
Escape HTML on the way out, not filter on the way in
2026-08-28 · 4 min read

Why the four characters that break markup have to be escaped before user text reaches a page, and why escaping for text and for an attribute are not the same job.

websecuritydata
Repeated query-string keys have no agreed meaning
2026-08-28 · 3 min read

A query string is text with conventions, not a data structure. Here is what ?a=1&a=2 means, why frameworks disagree, and why splitting before decoding is the one order that works.

webdatasecurity
Decoding Base64 is not the same as trusting it
2026-08-28 · 4 min read

What padding is for, what a decoder will and will not accept, and why decoded content is still untrusted input that has to be escaped for wherever it lands.

datawebsecurity
Mean, median and mode are three different averages
2026-08-28 · 4 min read

One skewed set can have an average of 17.78 and an average of 5 at the same time, both correct. Here is how to tell which one you have been handed.

mathdataeveryday
Weighted averages, and why averaging averages fails
2026-08-28 · 3 min read

Two group averages of 80 and 50 do not make 65 if the groups are different sizes. Here is the worked example where the two methods disagree by nine points.

mathdataeveryday
What a standard deviation actually tells you
2026-08-28 · 4 min read

It is roughly the typical distance from the mean. Here is how to compute one by hand, why there are two divisors, and why the number means nothing on its own.

mathdataeveryday
← Newer Page 2 of 2