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

    How to Build High-Speed Rail with Money the United States Has

    The bipartisan infrastructure framework (BIF) just passed the Senate by a large margin, with money for both roads and public transportation. Unlike the 2009 Obama stimulus, the BIF has plenty of money for high-speed rail – not just $8 billion as in the 20…

    via Pedestrian Observations July 31, 2021

    Collections: The Queen’s Latin or Who Were the Romans, Part V: Saving And Losing an Empire

    This is the fifth and final part (I, II, III, IV) of our series asking the question ‘Who were the Romans?’ How did they understand themselves as a people and the idea of ‘Roman’ as an identity? Was this a homogeneous, ethnically defined group, as some ver…

    via A Collection of Unmitigated Pedantry July 30, 2021

    Songs about terrible relationships

    [Spoilers for several old musicals.] TV Tropes lists dozens of examples of the “I want” song (where the hero of a musical sings about their dream of escaping their small surroundings). After watching a bunch of musicals on maternity leave, I’m wondering h…

    via The whole sky July 17, 2021

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact