Notes on building for the web, working with spatial data, and the things that break in between.
The naive version loops every rider in Python. The version that survives production is a single spatial query with the right index behind it.
Polling every two seconds is easy to write and expensive to run. Moving rider tracking onto WebSockets changed the shape of the whole app.
My undergraduate thesis put point clouds and YOLOv8 in the same pipeline. Most of the work was not the model.