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.
Lire l’article →Des guides courts pour chaque outil et des analyses plus longues pour les curieux — comment fonctionnent réellement la conversion, la validation ou le traitement.
La science et l’histoire derrière un outil, avec sources — pour les lecteurs curieux.
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.
Lire l’article →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.
Lire l’article →Why ‘ł’ becomes %C5%82, why decodeURI leaves %2F alone and why ‘+’ only sometimes means a space: the specifications behind percent-encoding, explained.
Lire l’article →ß 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.
Lire l’article →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.
Lire l’article →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.
Lire l’article →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.
Lire l’article →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.
Lire l’article →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.
Lire l’article →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.
Lire l’article →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.
Lire l’article →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.
Lire l’article →Nous respectons votre vie privée
Nous souhaitons utiliser des cookies de mesure d'audience facultatifs pour comprendre l'utilisation du site et l'améliorer. Rien n'est chargé tant que vous n'avez pas choisi, et vous pouvez modifier votre décision à tout moment. Politique de confidentialité