Blog
Stuff I write to myself. Doesn’t necessarily make sense.
- June 5, 2026PostgreSQL to SQLite with PowerSync
Sync a user's data to the device, then keep access rules and schema changes under control.
- May 28, 2026Following a request end to end
Shared trace context and business IDs connect the API, workflows, and the AI service.
- May 14, 2026PostgreSQL patterns for banking workloads
Query the latest row, page with a cursor, and make retries safe in the database.
- May 14, 2026From intent routing to an agent loop
One message can contain several requests. A single-intent router stops working once users start combining tasks.
- August 28, 2025How QuintoAndar's Main monolith connects to other services
Shared business logic, a transactional outbox, and cached scheduling data keep Main's integrations manageable.
- May 30, 2021Async Javascript
- February 1, 2021Computational Geometry in C++
- January 20, 2021Quake III and the Fast Inverse Square Root
- January 7, 2021Currency Exchange and Negative Cycles
- December 18, 2020Pokemons,Birthdays and Cryptography