• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Bus Plotter II: Linear Extrapolation

    September 24th, 2010
    mbta, mbtaplot, programming, python, tech, transport  [html]
    I've modified the bus plotter so that it will estimate bus locations based on simple linear extrapolation from it's last two reported locations. One downside is this often makes buses go off the route, so I think I'm going to make buses "snap" to their routes when within some distance. Even smarter would be to either do my own predictions or figure out some way to use the nextbus predictions. Unfortunately, it appears nextbus's webservice only has a command to request predictions by stop, not by bus. Bother.

    This is what it looks like on the 77 route (which is an unfairly flattering example because the route is pretty straight).

    Recent posts on blogs I like:

    Not Everything is Like Rail Transport

    Sometimes, when I write about cost comparisons or public-sector incompetence, I see people make analogies to other fields. and sometimes these analogies are really strained. So I want to make this clear that I am talking about things that are specific to …

    via Pedestrian Observations April 30, 2021

    Collections: Teaching Paradox, Europa Universalis IV, Part I: State of Play

    This is the first post in a series that will be examining the historical assumptions of Paradox Interactive’s grand strategy computer game set in the early modern period, Europa Universalis IV. And this series will in turn be part of a larger series looki…

    via A Collection of Unmitigated Pedantry April 30, 2021

    Books and websites on babies

    Several people I know are expecting a first baby soon, and I wrote up notes for one of them. Might as well share here too: Medical:Scott Alexander’s Biodeterminist’s Guide to Parenting is an interesting read, and some parts are actionable.  If you live in…

    via The whole sky April 14, 2021

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact