Found in 1 comment on Hacker News
Read a physical book (not a computer, phone, or tablet screen) — I've been reading this monstrous tome lately, and it's been a great change from Facebook and Twitter: http://www.amazon.com/Aperture-Magazine-Anthology-Minor-1952.... A Kindle is an ok fallback (for me at least)

Get some exercise — I feel way better after running even just 1 mile. I did 3 earlier tonight, and can barely keep my eyes open right now.

Don't drink — Your sleep isn't as restful: http://time.com/3671777/drinking-sleep

Don't drink coffee after x PM — I always cut myself off from caffeine by 4pm, and try to do it by 2pm. Find out what's right for you.

Take some melatonin — It did me a lot of good when I used to have trouble sleeping.

Address the sources of anxiety in your life — A comparison of how well I sleep now vs. when I had a lot of anxiety in my life (stress from working at Microsoft, stress from trying to drag along my faltering startup, etc.) is stark. I don't fall asleep with much or any worry most nights.

Worst case scenario: ask a doctor to prescribe you Ambien or the like. Re-establish a decent sleeping pattern, and then figure out how to address everything else.

Edit: There's one thing I want to mention about exercising. I started running only two months ago after what essentially amounts to a lifetime of non-exercise. I wasn't overweight by any means—I was just plain skinny. Like, sort of the way you expect your average nerd to be skinny. After my first run of barely a mile (walking about half of it), I wondered if I was going to have a heart attack. I didn't, thankfully. And now, two months later, I can run a longer distance than my first run/walk with basically no trouble whatsoever. I feel great, have more energy, and sleep better.

You don't even have to start running. Just start walking. Here's a better story than I can offer you at the moment on the value of this: http://www.loopinsight.com/2015/06/16/apple-watch-my-most-pe... and http://www.loopinsight.com/2015/06/18/follow-up-to-how-i-los...

You don't need an Apple Watch. You don't need a health tracker. Just move. It feels better every day, and—I promise—within a month or two you'll start craving it. It's an awesome feeling.

Fresh book recommendations delivered straight to your inbox every Thursday.