• 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:

    Pulses (Hoisted from Comments)

    Robert Jackel asked me an excellent question in comments: what is a pulse? I’ve talked about timed transfers a lot in the last almost 10 years of this blog, but I never wrote a precise definition. This is a critical tool for every public transportation op…

    via Pedestrian Observations February 23, 2021

    Collections: The Universal Warrior, Part III: The Cult of the Badass

    This is the third and final part of a discussion (I, IIa, IIb) discussion of the notion that there is a ‘universal warrior’ – a transcendent sameness about either the experience of war or ‘warrior values’ which might provide some sort of useful blueprint …

    via A Collection of Unmitigated Pedantry February 19, 2021

    The Troubling Ethics of Writing (A Speech from Ancient Sumer)

    (Translated from a transcript of an ancient Sumerian speech by Uruk's most well-respected Scriptological Ethicist) Writing is a profoundly dangerous technology: Access to writing was initially, and still remains, uneven. What's worse, the rich are m…

    via BLOG - Cullen O'Keefe February 15, 2021

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact