::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact

Ambient Bus Times

December 4th, 2014
bus, transit, tech  [html]
My commute home consists of a subway and a bus. The subway is frequent enough that I don't worry about it, but the bus runs every 20 minutes at best, sometimes longer. Plus there are sometimes delays, and it's good to know about these before I leave work. I can check the online bus predictions, but this takes some overhead. What if I could have an ambient reminder of this?

I made a little script that pulls down the realtime predictions for when my bus will leave the station, parses out the "minutes" field, color codes it by whether I probably have time to catch it, and prints it to my terminal. I leave it running on a terminal in the corner of my desktop and it looks like:
Thursday 2014-12-04 06:06 pm   23   29   47   70   90
The color coding is so buses I can probably catch are yellow, buses I can very likely catch are green, and buses I don't need to leave for yet are blue.

I haven't used this yet, but I think it will be helpful and make me more relaxed around leaving.

Comment via: google plus, facebook

Recent posts on blogs I like:

Live the questions now

Here’s some advice that my Godmother, Lynne Caldwell, gave me a few years ago. I found it again the other day and it struck me that at least I understand its wisdom now. She really did get my problem. It feels like he’s speaking directly to me. It’s from …

via Holly Elmore January 23, 2020

International Links: a Revision

In 2011, I wrote a post arguing that international links underperform. I gave examples, using many links nearly all of which have rotted in the 8.5 years since, showing that the ridership on various air and rail city pairs was lower if they were in two di…

via Pedestrian Observations January 22, 2020

Algorithms interviews: theory vs. practice

When I ask people at trendy big tech companies why algorithms quizzes are mandatory, the most common answer I get is something like "we have so much scale, we can't afford to have someone accidentally write an O(n^2) algorithm and bring the site d…

via Posts on Dan Luu January 5, 2020

more     (via openring)

More Posts:


  ::  Posts  ::  RSS  ::  ◂◂RSS  ::  Contact