• Posts
  • RSS
  • ◂◂RSS
  • Contact

  • Bus Plotter IX: Listed on the MBTA's Website

    October 5th, 2010
    mbtaplot  [html]
    As of today, people who go to the mbta's apps page will see my app up to try. Checking the logs, I see a lot of people using it, and the traffic numbers are growing. This is fun.

    To deal with the increase in traffic, I've made a few changes:

    • Bus locations, which are cheap and accurate, are requested more often than bus predictions, which are expensive and only good to the nearest minute anyway
    • Caching of web requests is now using memcached, which it really should have been from the start. Before each python process had some dictionaries, but they would get too big, app engine would kill the process for being over quota, and the cache would be wasted.
    • Every 5 minutes the program automatically unchecks the "running" checkbox and turns itself off. This way if left unattended the program doesn't keep asking for updates. The user can click the box back on again if they're still watching.
    I'll probably have to make more changes if it becomes more popular, but these have helped with the initial rush.

    Recent posts on blogs I like:

    Learning Worst Industry Practices

    If I have a bad idea and you have a bad idea and we exchange them, we now have two bad ideas. But more than that. If I have a bad idea and you have a good idea and we exchange them, we should both land on your good idea – but that requires both […]

    via Pedestrian Observations September 20, 2020

    Collections: Iron, How Did They Make It? Part I, Mining

    This week we are starting a four-part look at pre-modern iron and steel production. As with our series on farming, we are going to follow the train of iron production from the mine to a finished object, be that a tool, a piece of armor, a simple nail, a w…

    via A Collection of Unmitigated Pedantry September 18, 2020

    Learning Game

    I came up with this game. In the game one person thinks of something and then gives the other person a clue. And the other person writes a guess down on a blackboard or a piece of paper. Or really anything you have that's laying around that's av…

    via Lily Wise's Blog Posts September 17, 2020

    more     (via openring)


  • Posts
  • RSS
  • ◂◂RSS
  • Contact