Search posts

Local-first PWA sync: last-writer-wins done carefully
Exactly-once doesn’t come for free: Kafka, Flink and ClickHouse
Building an end-to-end encrypted chat app with libsodium

Collection · 4 posts, read in order

Vietnamese in software

What changes when the users are Vietnamese: money typed as 2,5tr, the lunar calendar, search without diacritics, and Vietnamese news.

  1. 01

    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

  2. 02

    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

  3. 03

    Vietnamese search in Elasticsearch: diacritics, n-grams and filter order

    Accent-insensitive Vietnamese search: asciifolding, why stopwords must come before it, n-grams for partial codes, search_after paging and rebuildable indexes.

    · 7 min read

  4. 04

    Tracking Vietnamese news trends with embeddings, HDBSCAN and an LLM

    How I group articles from ~95 Vietnamese news feeds into topics, score which ones are rising or fading, and have an LLM explain why.

    · 9 min read