It felt like there would be periods where I would be so adverse to any kind of work, and look for any possible reason to push it off or do nothing, and spend the rest of the day on Reddit or HN.
Eventually I started seeing a psychiatrist, and he diagnosed me as manic depressive, with possibly a case of ADD.
He prescribed me a combination of Lamictal and Wellbutrin (the latter of which is also prescribed occasionally for ADD), and I can honestly say that it has changed my life.
I used to think that I was just lazy, and maybe I was, but I am certainly not anymore. My job has been a lot easier to do, I don't look for excuses to spend all day on Reddit, and my life has simply been better.