Bus Plotter III: Client Side Extrapolation and Snap to Path

September 25th, 2010
mbta, mbtaplot, programming, python, tech, transport
The bus plotter now "snaps" estimated positions to the appropriate route if they are close enough. I also added checkboxes so you can control whether estimation and snapping are on (this also allows visual inspection of how well they are doing). I wrote all of these in python on the server side first because I know python better and it was easier, but I just finished moving them to the browser. This dramatically decreases the number of requests for bus locations.

Here it is: mbtaplot

Comment via: substack

Recent posts on blogs I like:

Parenting standards and the village

Cartoons Hate Her has written about the village nobody wants. In principle, parents usually want a community to help take care of their kids: someone to bring meals when they get sick, keep an eye on their children while they play, and talk to about paren…

via Thing of Things December 19, 2025

Opinionated takes on parenting

This post is a collection of parenting takes that sometimes go through my head, based on my experience raising our two boys (5 and 2 years old). All of this is based on my experience and might not apply to others (see the law of equal and opposite advice)…

via Victoria Krakovna December 16, 2025

How to Make a Christmas Wreath

Yesterday, I made a Christmas wreath. Here's how to make one. First, find an evergreen tree near your house. Clip off a few branches from the tree. Try to have as many leaves or needles on the branches as possible. Next, bring them home. What I usu…

via Anna Wise's Blog Posts December 6, 2025

more     (via openring)