I can vouch for wasting hours of coding due to not reading the problem thoroughly.
I'd like to say it only happened once, but, it happened again later that year... And then never again (because I pulled out code to always strip newlines after reading it in ;)
It just redirects to the advent site but I've grown to love it :)