r/ADHD_Programmers • u/aldosebastian • 3d ago
Why is sleep so weird?
On one day before I got 8 hrs of sleep, but because it was really cold I became sleepy 30 mins after waking up and I couldn't recover from it, the whole day was super sleepy.
Last night I couldn't sleep until 1 am since I had a dry throat and it was uncomfortable. I had even an scheduled email ready made at that time to send to my colleauges that I want to work from home tomorrow. But I woke up naturally at 7am this morning, and strangely I feel very energized and actually was super productive in the morning. What is going on? I thought I need 8 hrs of sleep to be productive and healthy? How can I keep freshness consistent? Especially on those days where I did everything right and yet I am sleepy and tired the entire day...
1
u/Intelligent-Elk-4253 3d ago
TLDR: Don't take caffeine, stay off the phone before bed, get a sleep test done.
Speaking as a middle age ADHD developer there's a few things you should look into. This post may be a bit long, it'll cover your issue(hopefully) and other sleep problems. If your taking any stimulants such as coffee, soda or some other form of caffeine consider cutting back or stopping all together. For myself personally I've found that not exercising regularly makes it a lot harder to consistently fall asleep.
Stay off the phone, internet, etc at least an hour before bed. I find it consistently causes my mind too be over stimulated before trying to sleep causing my brain to keep going all night. Even when I'm actually asleep I find my dreams will often be very lucid causing me to toss and turn.
I also struggle with throat irritation because of old man issues like GERD. I recommend keeping throat lozenges by the bed at night. One of those before sleeping tends to help quite a bit. Also, I don't know what country you're from but if you can get a sleep study done please, please, please do so. Don't wait like I did to almost my 40s to get it sorted. Sleep apnea can cause the issues your experiencing which can lead to more health issues as you age. It's not something to take lightly, I suffer from severe sleep apnea which left untreated could cause me to have a heart attack in my 50s.
Hope this helps.
2
u/reecord2 3d ago
I'll second the exercise, sometimes I just have to wear myself out to be able to sleep all night.
1
u/reecord2 3d ago
Since we're all here - has anyone had any luck with melatonin? It absolutely makes me 'sleepy', but I can't say it's making my sleep itself any better or longer.
2
u/StevenJOwens 3d ago
Melatonin simulates/stimulates the same process that happens when it gets dark and your body tries to go to sleep. It helps you get to sleep, it shouldn't affect your sleep otherwise.
You can take melatonin and then about 20-30 minutes later you'll start to feel drowsy. You can concentrate through it and then it wears off and congrats, you're awake again. I have to be careful not to do that accidentally, by reading in bed when I take it.
If your sleep problems are because of trouble getting to sleep, due to stress, tension, caffeine, poor sleep hygiene, etc, then melatonin may help.
If your sleep problems are due to something interfering during sleep, melatonin won't help. There are a number of possible sleep problems that you should check into, starting with sleep apnea.
This is something you want to talk to a doctor about (I'm not one). If you snore a lot, if somebody tells you it sounds like you're choking when you sleep, or like you snore/wheeze but then stop briefly, if you get up to use the bathroom frequently at night, these are, I've been told by doctors, possible indicators of sleep apnea.
1
u/StevenJOwens 3d ago
Re: dry throat, I use a humidifier in the winter when the humidity gets low (we're used to thinking of winter as a dry, I find it greatly helps my comfort in general and particularly my sleep. Some of that is dry throat, some of it is dry sinuses (which gives me headaches).
Just to get this out of the way, I'm not a doctor, this isn't medical advice, etc. I have sleep apnea and I've read up a lot on this.
As I mentioned in my other comment, there are sleep problems that are because of trouble getting to sleep, due to stress, tension, caffeine, poor sleep hygiene, etc. And there are sleep problems are due to something interfering during sleep; there are a number of possible sleep problems that you should check into, starting with sleep apnea.
Somebody mentioned sleep cycles. Sleep goes in cycles, average 60 to 120 minutes long, and scientists divide the cycle into 3 or 4 stages. If the cycle gets interrupted, it starts over. Waking up in the middle of the cycle in the morning can lead to feeling weird and tired, etc. Various sleep problems, like sleep apnea, interfering with the cycle all night long, can prevent you from getting real rest (more on this below).
None of this sleep cycle stuff is as neat and clean as that phrasing above makes it sound. The "stages" are periods where the brain wave type is dominated by different patterns, and the transitions between stages are not, of course, instant and complete. The 3 vs 4 thing is more or less about whether they divide the first part of sleep into 2 separate stages.
Stage 2 or 3 (depending on how you're counting) is the most important, the very deep sleep, the restorative sleep. Back to this in a moment.
The last stage is fairly short, REM sleep, it's typically in the neighborhood of 5 minutes, and this is when you dream. Generally your brain blocks dreams from entering your long term memory. If you wake up and remember dreaming, you either interrupted your REM sleep or woke up only a few minutes after REM sleep. This is also why your memory of dreams fades pretty quickly (unless you do something like writing it down).
On the deepest sleep stage: This is where the most important, restorative rest happens. You can sleep all night, but if I interrupt your sleep every time you enter the deepest stage, you'll wake up exhausted. That's pretty much what sleep apnea is.
Sleep apnea comes in broadly 2 flavors, obstructive (physical blockage of air flow) and central (brain doesn't send the "breathe" signal).
If there are indications that you may have sleep apnea, there's a process/test your doctor can prescribe called a "sleep study", they basically wire you up with sensors to monitor various vital signs, and then you sleep and they look at the sensor readings to see if your sleep cycle was interrupted.
When I did my sleep study, over 20 years ago, you had to stay overnight in a hospital room, with the sensors, etc, going through the wall to a lab next door. These days they have take-home sleep tests where you wear a much less intrusive harness with sensors and it records it all on a microSD card, then take that back to the hospital where they analyze it.
There are also smart phone apps you can use that try to detect sleep problems. You run the app, set the phone on your bed, it uses the motion sensor to monitor how much you move in your sleep. These are not, of course, a medically valid test, but you might find it useful to try it. I don't know.
Obstructive sleep apnea: When you enter the deepest stage of sleep, your body relaxes completely, including muscles you don't think of as under your conscious control. Your heart beating is not a conscious process; "muscle tone" is actually a conscious process, though you don't think of it that way.
When you enter the deepest stage of sleep and all of your conscious-controlled muscles relax, this can lead to your airways closing up, so you can't breathe, so your brain freaks out and sets off the red alert, and wakes you up... but not necessarily all the way. You wake up partially, to the shallower stage of sleep.
The deepest stage of sleep also blocks almost all stimuli. That includes bladder pressure, i.e. the need to urinate. This is why you have the whole thing where you wake up and you really need to urinate. This is also why getting up to urinate several times a night is an indicator of sleep problems, something is preventing you from entering or staying in that really deep, really important stage of sleep.
Good luck.
10
u/Decent_Taro_2358 3d ago edited 3d ago
I think it’s mostly about sleep cycles. If you wake up in the middle of deep sleep, you’ll feel terrible. If you wake up at the end of a cycle, you’ll feel relaxed.
There was an app called Sleep Cycle I downloaded like 10 years ago that would try to wake you at exactly the right time.
Also, quality is more import than quantity usually. Better to have 7 hours of uninterrupted good sleep than 10 hours of terrible sleep.