Writing
Case studies and notes from building software people use all day.
- What building IATA ONE Record taught me about linked dataAir cargo is moving from messages to linked data. Lessons from serving ONE Record from a real cargo system, beyond what the spec tells you.
- Handing out air waybill numbers without handing out the same one twiceAn air waybill number is a scarce, audited resource that two people will try to take at the same second. Check digits, stock states, and the locks that keep it honest.
- mTLS and OAuth2 on the same call, step by stepSome partner APIs want a client certificate on the connection and a bearer token on the request. Every way that goes wrong, in the order it went wrong for me.
- Most waybills are the usual one3,142 air waybills used just 149 routings, and five of them covered 87%. How that one number turned a data-entry form into a learning engine, without a model.
- Designing a freight rate engine that four modes can shareAir, sea, road and rail price freight in different units by different rules. How I built one engine for all four, and the rules that kept it correct.
- Keeping PHPJasper alive for a cargo ERPKaede prints air waybills, invoices and payslips through JasperReports. The PHP wrapper everyone uses had gone quiet, so I forked it and fixed what production kept finding.
- Teaching a UI library to speak NepaliI translated Syncfusion's Essential JS 2, 64 components and over four thousand strings, into Nepali. These are the choices that made it read like Nepali and not like a dictionary.
- Integrating eSewa and Khalti in Laravel without trusting the redirectMost eSewa and Khalti tutorials stop when the success page loads. That's exactly where the fraud starts. A production pattern from a government payment page, for any Laravel app in Nepal.
- Taking money on a government websiteHow Kalimati's traders came to pay their dues from their phones through eSewa and Khalti, and the checks that keep a public payment page honest.
- One developer, one market, no adsBuilding the website and Android app for Kalimati, the market that sets vegetable prices for half of Kathmandu, on my own.
- A date that didn't fit in an integerThe year 4123 crashed Laravel's date validation on 32-bit PHP. Here's how I found it, and the four-line fix that shipped in Laravel 8.
- Finding the nearest agent among millionsA US brokerage moved from Zoho to Microsoft Dynamics. The data moved fine; the question it couldn't answer quickly was "who is closest to this lead?"
- The check that only lived in the browserHow an email field in Everest Forms trusted the browser, how I closed it, and the regression I shipped and fixed along the way.