Topic · 5 posts
Libraries & open source
Small libraries and open-source work: parsing input, calendars, an SEO analyzer, forking a GPL library, and tests that find real bugs.
Bugs in a teaching ext2 simulator, and the tests that keep them fixed
A macro that wrote into a data block, an allocator that saw 2,048 blocks, XOR frees, and tests: fsck-style checks, fault injection, a model fuzzer.
· 9 min read
Forking a GPL library and publishing it on npm without losing upstream
Forking Yoast’s yoastseo: GPL notices, a no-change merge that makes syncs three-way, a monthly filter-repo sync, and rules that keep conflicts rare.
· 8 min read
Auditing an SEO checker against Google’s docs, and silent scoring bugs
Tracing every rule of an open-source SEO checker to Google’s guidance, what changed without a source, and score bugs that never threw an error.
· 9 min read
Parsing money the way Vietnamese people type it: 2,5tr, 500k and 1tr+500k
Units like tr and tỷ, a dot that means two things, sums typed as in Excel, a caret that stays put, and the missing + key on phone keypads.
· 8 min read
Vietnamese lunar calendar in JavaScript: why 5 test dates weren’t enough
Why a popular lunar library disagrees with the Vietnamese calendar on 3.48% of days (UTC+8 vs UTC+7), found by comparing 40,542 days instead of 5.
· 8 min read