TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tell HN: my hack to beat insomnia

56 pointsby resdirectoralmost 15 years ago
Whenever I'm tired, but can't sleep, I take a cold shower. It snaps me awake. Then tiredness sets in quickly: such is the <i>rate change</i> of tiredness, I seem to go straight though the sleep barrier...usually in a few minutes (presumably).<p>It's not statistically significant yet, but it's worked about four out of four times now.

26 comments

sashthebashalmost 15 years ago
Your mind is probably thinking about too many things. You can also try this trick.<p>I read about a simple technique in a meditation book (the purpose of this was not falling asleep, but it works for me). Close your eyes and start counting with a special technique to infinity.<p>The trick is to count one number while breathing in... slowly counting in your head until you are done breathing in and when your breath out immediately switch to the next number. There should basically be no moment where you have time to think about anything else besides the numbers. The switch from i to i+1 must be instant. Because if you are leaving gaps your mind starts wandering again.<p>If you find out that you got distracted start again at 1. Don't cheat.<p>Just run this JavaScript code in your head the next time (recognize that there are no calls to mind.thinkAboutSomethingElse()!):<p>___<p>var i = 1;<p>while(!body.isSleeping()) {<p><pre><code> body.startBreathingIn('slow'); mind.thinkAbout(i++); body.startBreathingOut('slow'); mind.thinkAbout(i++); </code></pre> }<p>___
评论 #1425190 未加载
评论 #1425268 未加载
评论 #1426384 未加载
评论 #1424191 未加载
评论 #1423754 未加载
rooshdialmost 15 years ago
Yes, the shift in body temperature helps facilitate sleep. You don't necessarily even need to take a cold shower. Even a warm shower should do the trick just as well, since your body temperature will still be shifting from its natural state.
评论 #1423520 未加载
fgfalmost 15 years ago
An ice bath is one of the recommendations Tim Ferris gives in this* post.<p>A summary:<p>1. Consume 150-250 calories of low-glycemic index foods in small quantities (low glycemic load) prior to bed.<p>2. Use ice baths to provoke sleep.<p>3. Eating your meals at set times can be as important as sleeping on a schedule.<p>4. Embrace 20-minute caffeine naps and ultradian multiples.<p>5. Turn off preoccupation with afternoon closure and present-state training.<p>He says he has problems falling asleep too so what works for him may work for you.<p>*<a href="http://www.fourhourworkweek.com/blog/2008/01/27/relax-like-a-pro-5-steps-to-hacking-your-sleep/" rel="nofollow">http://www.fourhourworkweek.com/blog/2008/01/27/relax-like-a...</a>
pmjordanalmost 15 years ago
Possibly related: swimming seems to do the trick reliably for me, although extremely inconvenient, time consuming and expensive if I did it regularly... (lets me fall asleep in 2-3 minutes vs tossing &#38; turning until 2-4am)
评论 #1423448 未加载
JacobAldridgealmost 15 years ago
Yup, rate of change, the same reason hot water freezes faster than cold water ... maybe <a href="http://www.straightdope.com/columns/read/422/which-freezes-faster-hot-water-or-cold-water" rel="nofollow">http://www.straightdope.com/columns/read/422/which-freezes-f...</a>
评论 #1423875 未加载
评论 #1423560 未加载
jsulakalmost 15 years ago
I used to struggle with insomnia a lot, but for now I (knock on wood) have it under control. The trick is to have a routine. Simply having a routine is more important than the specifics, I think. Mine is:<p>- No caffeine after 3pm.<p>- Lower the lights as much as possible half an hour before bed.<p>- I have a playlist of Chopin nocturnes on my iPod I've been using for about 6 years now. I never listen to it except in bed. At this point my brain associates that music w/ sleep. Until I started doing this, I had a big problem with fast music getting stuck in my head and keeping me awake.<p>- Read in bed until I feel sleep coming on.<p>Again, routine is key. It especially helps when on the road, since your routine can help counteract the unfamiliarity of the surroundings.
评论 #1424172 未加载
jrnkntlalmost 15 years ago
It works for me, sometimes. But I hate having a wet pillow, something I can't seem to prevent. If you blow your hair afterwards the whole 'coldness/fresh up' is pretty much gone and a towel doesn't sleep that good.
评论 #1423374 未加载
评论 #1423660 未加载
评论 #1423340 未加载
评论 #1423335 未加载
barmstrongalmost 15 years ago
Not sure if anyone else has experienced this - but the bright light of the computer monitor does seem to affect it.<p>There is a good evidence for it: <a href="http://en.wikipedia.org/wiki/Light_therapy" rel="nofollow">http://en.wikipedia.org/wiki/Light_therapy</a><p>Basically, if you are using it late at night you are getting light therapy at the wrong time though.<p>I'm currently doing an experiment where I turn off the computer at 11pm to see if it makes it easier to fall asleep earlier. This is harder to stick to than it sounds at first glance though.
评论 #1425195 未加载
corin_almost 15 years ago
My insomnia is, annoyingly, pretty hard to beat. Part of it is genericly caused, and part of it is delayed sleep-phase syndrome, both of which can be helped by various well-known practises, many of which have already been mentioned here - however both my job and my life means I have days when I don't get to bed until 3/4am, which screws me up.<p>My bigger problem though, is that even if I can take care with the physical Insomnia, I also have mental insomnia. I find it impossible to clear my head, and that regularly keeps me up until a couple of hours before I wake up. I'm unable to sleep while my brain is thinking of something, regardless of how boring it is (until the point that my body is just so tired I can't stay awake, which is when I fall asleep), and if I manage to get my brain to a state when it could sleep, suddenly it instead thinks "but what about.." and returns to the topic that's interesting enough that it keeps my brain running in circles, unable to stop concentrating. Really annoying.
ollysbalmost 15 years ago
A slightly less harsh version I use is to remove my duvet and open the windows. Works in London where it's cold enough outside anyway.
erankialmost 15 years ago
I've struggled with insomnia since college... Here are the things that have worked.<p>- No computer before bed. TV shows and movies on my laptop are fine, but anything active and stimulating is really bad.<p>- No video games at all. Even if I play them hours before bed, I can correlate that with a shitty night of sleep.<p>- Cut back coffee to one cup early in the day. Even though they say caffeine stays in your system only for X hours, I find that any coffee after say 2pm will probably screw with my sleep.<p>- Exercise. Studies conflict on whether this works but I know it works for me to be in moderately good shape rather than terrible shape.<p>- Low volume music. Any kind is fine for me, I've fallen asleep to punk. The key is that it be low volume.<p>On stretches of days when I can convince myself to cut out caffeine entirely, I find that I can actually take naps, something I normally can't do.
lazyantalmost 15 years ago
I had trouble getting to sleep when I was younger and I was facing a test or something in the morning. Besides the usual no caffeine/moderate exercise/moderate eating etc good advice I came up with a "mind hack" inspired by Richard Feynman.<p>Summarizing: try to re-play or think about dreams that you had before. If you don't remember any, think of a story that looks like a dream (with impossible things happening etc).<p>The trick is that when we transition between awake and asleep we have a train of thought and suddenly there are dream-like things like surprising jumps in the thoughts, impossible occurrences etc (this is what Feynman remarked and I observed too), so I try to recreate that state.<p>It worked for me.
richardwalmost 15 years ago
I fall asleep pretty easily when I read. Obviously something not too riveting! Takes my mind of my current focus and that's usually enough.<p>Also, I have some mp3's I bought from hypnosisdownloads.com. I think they have a few too many on there now (some look flaky), but there are a couple of really good ones. I'd never considered myself a candidate for hypnosis but have found they're able to knock me out for 15-20 min during the day, even when I'm filled with coffee! Works (for me) probably about 70% of the time - invaluable when deadlines are near.<p>[edit - at least one is specifically for insomnia]
phiberoptikalmost 15 years ago
I second the good bed idea. Haing a comfy bed helps tremendously.<p>I still play hockey and come home rather late. Because I'm wide awake when I get home, I do a few things which helps me fall asleep faster than tossing and turning for hours.<p>I take fairly hot shower and do some relaxation breathing in the shower. Afterwards, I stretch out for about 20 minutes. By the time I crawl into bed, my body is already slowing down and doze off quickly.<p>I think the shower loosens my muscles, and the breathing helps relax my brain. The stretching also helps my body transition to a more relaxed state.
perlpimpalmost 15 years ago
To have deep sleep you have to lower your body temperature gradually. Use thinner blanket but not too thin.<p>Also tensing all muscles in your body for 10 seconds 3 times, will help you to get to some sort of physical equilibrium.<p>Thoughts running in your head on their own - unresolved issues from the day. Ask yourself what is in your head and visualize how you would deal with it. Just think of what you will be the next step and they will go away.<p>Failing all these things, calming overexciting nervous system - valerian root can do wonders for calming down.
harnhuaalmost 15 years ago
A good run in the evening and making a point not to think about code/sales/marketing 1-2 hours before sleep seem to work well for me.<p>The cold shower trick and its physiological effects sound really interesting. I always take cold showers at night but since temperatures always hover around 26-32C with close to 90% humidity (being 1 degree north of the Equator), that doesn't always help.
joubertalmost 15 years ago
I lie in bed, low lighting, and do a <i>crossword puzzle</i>, usually from the New York Mag. Snoozeland approaches within 15mins.
mindcrimealmost 15 years ago
Interesting stuff. I just take melatonin (<a href="http://en.wikipedia.org/wiki/Melatonin" rel="nofollow">http://en.wikipedia.org/wiki/Melatonin</a>) personally, but I might experiment with that approach sometime. Melatonin is supposedly pretty safe, but sometimes I still feel kinda groggy in the mornings after taking it.
chronomexalmost 15 years ago
Interesting that you post this at 2am Pacific. I'm falling asleep but had to write mail anyway.<p>To keep this on-topic: I (nearly) always have success with milk, cookies, quiet music, a fiction book, and a bed. Getting off the computer and into the bed can be trying at times however.
评论 #1423503 未加载
petercooperalmost 15 years ago
Nice trick! I stick an earbud in and listen to a podcast. Shuts the mental voice off due to the distraction, but isn't usually interesting enough to keep me riveted. Done this every night for a years now - I'd be surprised if I could fall asleep in silence now.. :-)
igorguealmost 15 years ago
I have no computers or books or even lights in my bedroom, that way I force myself to sleep.<p>Anyway, insomnia is like an illness, I can't sleep more than 6 hours.<p>Also, getting a super-confortable bed helped a lot!
gtzialmost 15 years ago
To me, it's just being so much tired when I go to sleep that I simply cannot afford insomnia and I instantly sleep :-)
评论 #1423390 未加载
zaph0dalmost 15 years ago
Good idea. I will try it tonight.
rokhayakebealmost 15 years ago
Sounds easy enough to give it a shot. I also found that lifting weights has that effect.
mmaunderalmost 15 years ago
Wish I'd read this 5 hours ago. (5am...)
knownalmost 15 years ago
It also works if you're depressed.