Address suggestions without Google
2026-11-20How Chaufr suggests Lagos streets and landmarks as riders type, using OpenStreetMap data and PostgreSQL trigrams, with nothing sent to a third party.
Engineering notes from Invariant Software: how we build, what we learn, and the decisions behind our software.
How Chaufr suggests Lagos streets and landmarks as riders type, using OpenStreetMap data and PostgreSQL trigrams, with nothing sent to a third party.
A beta rider found Chaufr's email in spam. What Gmail checks, the IPv6 gap that was easy to miss, and a misleading header we removed from our mail server.
We ran property-based tests against the real fare, settlement and earnings code of Chaufr, our chauffeur marketplace. Here is what the types guarantee, what needed properties, and what 24,000 generated cases found.
A worked example: a payment record that compiles happily into nonsense, and the OCaml types that make the nonsense impossible to write.
The fare and booking rules behind Chaufr, Invariant Software's chauffeur marketplace, and which of them OCaml's types enforce versus which need the clock.
The first post from Invariant Software: who we are, what we believe, and why we build in OCaml.
Questions, or topics you'd like us to cover? Get in touch.