OK, this is good developer humor. Someone at the US Embassy in Beijing creates an automated program that takes the air quality readings and tweets it.
There is an official scale used by the EPA that runs from 0 (good) to 500 (Hazardous), with various levels in between.
I would be willing to wager that no one specified what the program should do if the index is above 500. And the developer did what I would probably do:
if (level > 500) return "crazy bad";
And apparently the level exceeded 500 yesterday so people got an amusing (or scary) tweet.
Leave a comment