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.
Leer el artículo →Guías breves para cada herramienta y análisis más extensos para los curiosos: cómo funcionan realmente la conversión, la validación o el procesamiento.
La ciencia y la historia detrás de una herramienta, con fuentes, para lectores 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.
Leer el artículo →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.
Leer el artículo →Why ‘ł’ becomes %C5%82, why decodeURI leaves %2F alone and why ‘+’ only sometimes means a space: the specifications behind percent-encoding, explained.
Leer el artículo →ß 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.
Leer el artículo →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.
Leer el artículo →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.
Leer el artículo →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.
Leer el artículo →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.
Leer el artículo →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.
Leer el artículo →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.
Leer el artículo →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.
Leer el artículo →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.
Leer el artículo →Respetamos tu privacidad
Nos gustaría usar cookies analíticas opcionales para entender cómo se usa el sitio y mejorarlo. No se carga nada hasta que decidas, y puedes cambiar tu decisión en cualquier momento. Política de privacidad