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.
Ler o artigo →Guias curtos para cada ferramenta e análises mais longas para os curiosos — como a conversão, a validação ou o processamento realmente funcionam.
A ciência e a história por trás de uma ferramenta, com fontes — para leitores curiosos.
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.
Ler o artigo →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.
Ler o artigo →Why ‘ł’ becomes %C5%82, why decodeURI leaves %2F alone and why ‘+’ only sometimes means a space: the specifications behind percent-encoding, explained.
Ler o artigo →ß 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.
Ler o artigo →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.
Ler o artigo →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.
Ler o artigo →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.
Ler o artigo →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.
Ler o artigo →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.
Ler o artigo →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.
Ler o artigo →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.
Ler o artigo →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.
Ler o artigo →Respeitamos a sua privacidade
Gostaríamos de usar cookies de análise opcionais para entender como o site é usado e melhorá-lo. Nada é carregado até você decidir, e você pode mudar sua decisão a qualquer momento. Política de privacidade