Why uniq Misses Duplicates, and What Makes Two Lines the Same
Why uniq leaves repeats behind, how sort -u and order-preserving deduplication differ, and why Unicode forms, case and invisible characters decide when two lines match.
Läs artikeln →Korta guider för varje verktyg och längre fördjupningar för den nyfikne — hur konvertering, validering eller bearbetning faktiskt fungerar.
Vetenskapen och historien bakom ett verktyg, med källor — för den nyfikne läsaren.
Why uniq leaves repeats behind, how sort -u and order-preserving deduplication differ, and why Unicode forms, case and invisible characters decide when two lines match.
Läs artikeln →Suetonius records Caesar's shift of 3 (D for A) and Augustus's B for A with AA for X. How shifted text is read without the key, where mod 26 came from, and why ROT13 undoes itself.
Läs artikeln →Why ‘ł’ becomes %C5%82, why decodeURI leaves %2F alone and why ‘+’ only sometimes means a space: the specifications behind percent-encoding, explained.
Läs artikeln →ß becomes SS, Σ has two lowercase forms and Turkish has a dotted and a dotless i. A look at the Unicode rules, style guides and code conventions behind letter case.
Läs artikeln →A JSON formatter parses your text and writes it out again. Here is what that round trip keeps and loses, from 2^53 and duplicate keys to escapes, key order and error positions.
Läs artikeln →Every version 4 UUID has six fixed bits and 122 random ones. What those bits mean, how unlikely a collision really is, and where random IDs become a cost.
Läs artikeln →A signed JWT's header and payload are Base64URL-encoded JSON that anyone can read. Here is what the signature covers, and why the token choosing its own algorithm led to attacks.
Läs artikeln →How MD5, SHA-1 and SHA-2 turn any input into a fixed-size digest, what the famous collision attacks actually broke, and why a 'broken' hash still cannot be reversed.
Läs artikeln →A URL has an IETF grammar and a browser parser, but neither says where it stops in a sentence, so every link extractor guesses whether a closing bracket or full stop belongs to it.
Läs artikeln →No image standard defines "quality 80". What the setting changes inside JPEG, PNG, WebP and AVIF, where blocking and colour smear come from, and why size is not linear.
Läs artikeln →Why JavaScript answers "cat" where grep answers "category", how automaton and backtracking engines run the same pattern, and why some patterns freeze a tab while others run in microseconds.
Läs artikeln →A Unix timestamp works like a calendar label more than a stopwatch. That explains dates stuck in 1970, the 27 missing leap seconds, the 2038 wrap and why an ISO date-time without Z can shift.
Läs artikeln →Vi värnar om din integritet
Vi vill gärna använda valfria analyscookies för att förstå hur webbplatsen används och förbättra den. Ingenting laddas in förrän du väljer, och du kan ändra ditt beslut när som helst. Integritetspolicy