This is what is required when you sit to debug/enhance a crawler that you released into the wild-wild world of internet, with all kind oh HTML criminals roaming around. You often wonder whether they made mistakes, or if those were deliberate attempts to deface the internet. You hope that these people were in jail instead of producing code =P
Then the realization dawns upon you that the world of web is infinite, and you are but a minuscule drop in the ocean of world wide web. You make peace with yourself, and indulge in a lot of philosophy. Then you write code, which is all that really matters. Inner Peace!