Switch branches/tags
Nothing to show
Commits on Mar 12, 2010
  1. Decided to make a fixed-width center column. This way, on really larg…

    …e monitors, the statuses won't get too far away from the title.
    committed Mar 12, 2010
  2. I created a syntax error by missing one spot in which 'reverse(...)' …

    …was needed, but still closing the parenthesis. This commit fixes that issue.
    committed Mar 12, 2010
  3. Using sparklines to show previous day's air status. Using progressive…

    … enhancement to show a table to users with no JS, and sparklines to those users who do have JS.
    committed Mar 12, 2010
  4. Started adding table with info on history of pollutants in Beijing. W…

    …ill use to generate graphs.
    committed Mar 12, 2010
  5. Changing to run cron job every 30 minutes to make sure that we never …

    …miss an update due to Google's cron drift or resetting the start time when re-uploading, etc. I don't really trust it.
    committed Mar 12, 2010
  6. Importing jQuery.

    committed Mar 12, 2010
  7. Changing to look at the most recent two statuses.

    Previously, we only looked at one status.  However, BeijingAir occasionally posts two statuses in quick succession, with the final one being a summary of recent air quality, rather than a new update.  If the /tasks/updateStatus cron job encountered that status, it would attempt to parse it and add it to the database, but it would miss the real update for that hour.  This typically happens at noon.
    Now that we have de-deplicating code, it's ok to just always get the most recent two statuses.  We don't have to worry about readding the previous one during the hours that only have one update, and we need to make sure we get the second-to-last update in those hours that have the summary tweet.
    committed Mar 12, 2010
  8. first commit

    Michael Daugherty committed Mar 12, 2010