The xlocale blog

Work through a money decision, decode a file, or read a drink label with a guide and its companion tool.

December 1, 20263 min read

One extra payment. Which debt gets it?

A credit card and an interest-free instalment plan compete for the same $100. Compare the interest bill and the date the first balance disappears.
financedebt
December 1, 20262 min read

Why your less-sweet kopi can still get a C in Singapore

If the menu says C, does ordering siew dai change your grade? Try a 350 ml tea and see when the sugar or the creamer decides the letter.
singaporenutri-gradedrink-labels
December 1, 20263 min read

Can you afford a new laptop by next semester?

Turn a price and a deadline into a monthly deposit. Then test a cheaper model or a later purchase against what your budget actually allows.
financesaving
December 1, 20262 min read

Teh melati yang sama, kok Nutri-Level di botol B dan di kedai C?

Coba kurangi gula dalam segelas teh melati. Lihat kapan huruf di botol dan di menu kedai berubah, lalu pakai cara bacanya saat pesan es kopi susu.
indonesianutri-levelminuman
December 1, 20263 min read

Your first paycheck landed. How much can you spend?

Work out what’s free to spend after rent, the annual bills you forgot about, and something for your next goal.
financebudgeting
December 1, 20262 min read

Build an emergency fund when your shifts keep changing

Price one month of essentials, pick a first milestone and see what happens to the timeline when a quiet month interrupts it.
financesaving
July 1, 20266 min read

Decode Southeast Asian Payment QR Codes: QRIS, PayNow, DuitNow & PromptPay

QRIS, PayNow, DuitNow, PromptPay and VietQR all ride the same EMVCo envelope. Learn to read the Tag-Length-Value structure so you can debug integrations, reconcile payments, and stop guessing what's inside a QR string.
payment-qremvcoqris+3
June 20, 20266 min read

Verify Webhook Signatures Without Getting It Wrong

An unverified webhook endpoint is a public write API for anyone who knows the URL. Here is the HMAC model, the header formats the big providers use, and the three things you must get right.
webhookssecurityhmac+3
June 10, 20266 min read

Fix Mojibake: Rescue Garbled Vietnamese, Thai & Indonesian Text

Turn é, ’ and other garbled sequences back into real text. A practical guide to diagnosing mojibake and re-decoding through the correct charset chain.
encodingmojibakeutf-8+3
April 25, 20256 min read

Estimate File Sizes Instantly Before You Ship

Your editor shows one number; the network sees another. Learn how gzip and Brotli change the math, why base64 and JSON inflate payloads, and how to estimate the real on-the-wire size before you deploy.
developer-toolsperformancegzip+2
April 16, 20256 min read

Base64, Demystified: What It Is, Where It Hides, and Why It Is Not Encryption

Base64 is the plumbing behind data URIs, JWTs, and MIME email. Here is what it actually does, the 33% size tax it charges, and the one gotcha that trips up every junior dev.
base64encodingdata-uri+2