Tangentially-related to the article, but if you tend to get insomnia like I do, I can't recommend cognitive behavioral therapy for insomnia (CBT-i) enough.
It's really simple (sleep during a fixed window at the same time everyday; use the bed for sleeping and sex; challenge negative thoughts associated with "getting bad sleep") but has completely changed my worldview on sleep and is, so far, making my insomnia extremely manageable.
I used to take some form of sleep aid (melatonin, zzzquil, benadryl) for years before discovering this. I don't need anything to sleep now.