Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
57% Positive
Analyzed from 5692 words in the discussion.
Trending Topics
#sleep#more#magnesium#bed#don#before#car#same#someone#life
Discussion Sentiment
Analyzed from 5692 words in the discussion.
Trending Topics
Discussion (130 Comments)Read Original on HackerNews
I have seen many doctors, including sleep specialists, regarding insomnia. They all pointed to one source as the reason for the sleep issues: stress. And they all wanted to put me on prescription sleeping pills. I said no to that. Sleeping pills can cause dependence, and they often treat the symptom rather than the underlying cause. As a software developer, I am used to finding and fixing the underlying problem instead of relying on the quick fixes these doctors were offering me.
After much research, I figured out what I believe was the underlying problem, and the fix for it. The underlying problem was magnesium deficiency. As a software developer, I spend much of the day doing mentally demanding work. This is the kind of stress the doctors were talking about. Stress can increase the body's demand for magnesium and may contribute to low magnesium levels.
The cells in our body depend on minerals such as calcium and magnesium for normal function. In muscle and nerve cells, calcium helps switch the cell into an active state, while magnesium helps keep that activation under control and supports the return to a resting state. When you are low on magnesium, your muscles may remain tense and your nervous system may have a harder time settling down. That can contribute to muscle stiffness and difficulty sleeping.
The solution, in my case, was magnesium supplements. They fixed my muscle stiffness issues and my sleep issues. A special form of magnesium called magnesium L-threonate may be especially helpful for the brain because it appears to raise brain magnesium levels more effectively than some other forms.
I found gwern's take on Melatonin interesting: https://gwern.net/melatonin
A small excerpt:
> One might object that they do not wish to tamper with their natural sleep, even if melatonin is a normally-secreted hormone.
> Sad to say, I would point out to such readers that they are already profoundly tampering with their natural sleep cycle, and indeed, all of Western civilization is tampering with it; most of my readers do not even sleep multiple times during the day, as ‘Nature intends’ and as humans have usually slept through history, but rather in a single 7–9 hour long block.
> [...]
> Finally, there are multiple lines of research suggesting chronic sleep deprivation is prevalent among young adults (including historical comparisons). It is striking that unemployed adults sleep a full hour longer than the employed , and that when normal adults are placed in settings without artificial light like camping or without any time indicators, they sleep longer than before - exactly as if they were sleep deprived.
Which type, if you don't mind my asking? And how long did it take before you felt the benefits? I took it for a month once (forget which type) an hour before bed and nothing changed.
Oddly, it has the opposite effect as sleeping pills on me, it doesn't make me sleep more but I'm more rested when I wake up. It even happened a few times that I only slept 5 hours but still could focus well at work and bike intensively for an hour in the evening, without glycine that was impossible.
At 20 euro/kg I think I'll take it for the rest of my life, and it probably will add a few years to my life.
For me, avoiding high histamine foods as well as histamine liberators had helped tremendously.
The theory:
Anti-histamines like Benadryl make you sleepy by blocking histamine.
Well, instead of blocking the histamine, get rid of it in the first place by avoiding histamine foods (for example aged or preserved meats).
The Magnesium RBC Test measures magnesium inside red blood cells, providing a more accurate assessment of magnesium status than serum tests.
I also find sauna before bed is good. I have a bed chiller so I can crank up the sauna before bed and not sweat a lot. Generally if I sauna and take the aforementioned supplements I sleep well. Exercise also seems to help me out a lot. If I exercise during the day, and a 4-5 times that week in general, I tend to sleep well.
Funny how it's basically do all the things you're supposed to do - exercise, diet, stress management - then sleep is then easier.
I dont have problems normally, just cant sleep in high altitude, 3000m is already showing mild effects. Guess what, I do/did quite a bit of mountaineering, its easy to get above 5000m in himalayas, highest I've been in tent attempting to sleep before summit push was 6000m on Aconcagua. Tried both Mg and melatonin up there over multiple nights, 0 improvements. I had highest O2 blood level measured in 5500m by doctor (mandatory there) from whole group.
Physical effort makes better sleep for literally everybody, thats age old knowledge and I havent met a single exception yet.
> I dont have problems normally
A lot of things don't have effects on people that don't have the problems the thing is trying to solve.
Bro Science, HN Edition in one sentence. Nice.
They do factor in shift work as a categorical variable, and employment status as a categorical variable not taking into account occupation. But probably occupation (not a variable here) interacts with sleep status. Any job that involves a lot of flying (pilot, crew, people travelling for business) get more cosmic radiation exposure, for example, and potentially more sleep disruption. Certain operations and manufacturing jobs correlated with exposure to carcinogens also likely correlate with less regular sleep, possibly in a way that isn't corrected for by the limited shift work categories.
If others in the house prefer to sleep from 10-6 and you prefer to sleep from 12-6, but others start making noise a 6, your sleep quality in the last two hours is destroyed. Then over time, it just results in poor sleep regularity, as you cycle between exhaustion and trying to sleep according to your internal clock.
this one selected about 100k people from a dataset of around 500k. All from one country/region (UK)
furthermore they dont measure sleep but they estimate if someone was maybe asleep based data from an accelerometer. so they cannot measure what sleep state someone acheived or if they were actually really sleep or just u know staring at the ceiling in an existential crisis....
These two goals are kind of at odds with one another. We can only get insight into depth of sleep achieved if we bring you into a sleep clinic, but we can't do that for a significant sample size...
You might measure the speed of your car by putting your hand out of the window and notice that the wind force on your hand is strong when the car goes fast.
Putting your hand out of the window and then blocking the wind with a book doesn't make the car slow down.
Keyword: "associated"
EDIT: I meant to communicate that it doesn't make the car slow down as much as your hand behind and blocked by the book (feeling almost no wind), would imply.
On the other hand racing stripes have zero impact, but do correlate to the speed of the car.
But what they are saying is, it would be valuable if it was causative wiggles eyebrows
Last sentence of the abstract:
> Sleep regularity may be a simple, effective target for improving general health and survival.
But why would it NOT be? Seems stupid for us to have evolved into beings that need our sleep to be irregular.
Only if we know of an intervention that will likely slow the car down and the risks+cost of that intervention justify the benefit.
Otherwise, we worry without purpose.
EDIT: I will say that there is a philosophical question here related to "basic research" / "pure science" / "fundamental science." Usually just "knowing new things" eventually proves valuable, especially in a long timeline. So in that sense, TFA could be important.
...yes it does?
Presumably, the example missed the part where they stated the book was being held in front by an outside agent, because that is the only way it would make sense.
Nobody goes to bed and wants to wake up 2 hours later.
Perhaps someone who has a consistent schedule is hypothetically more likely to make healthier choices on average?
I would imagine that someone with a very regimented life tends to stick to a lot of healthy habits. They aren’t going out to the bar every night, then waking up at 6am for their morning routine.
I have a very consistent sleep schedule now and it is a real pleasure. I my sleep schedule has 2 or 3 3-4 hour stretches of solid sleep. I make my own schedule now so sleep is usually available when I'm ready.
Sometimes changing the correlated item, also affects the cause, through a link of causual changes.
E.g.: "Night visits to the fridge linked to high cholesterol".
Now, that's just correlation: it's not the visiting of the fridge, it's the snacking.
But if you read that and stop visiting the fridge, you likely reduce your snacking too as a side effect, and thus lower your cholesterol, without consciously trying to address the primary cause.
Maybe it's because I don't see how sleep regularity is a factor you can change as willingly as visits to the fridge, or maybe its because I don't see why people wouldn't just eat more before heading to bed.
It could also just be that I find a treatment of symptoms to be less desirable than causes.
In some cases it might be hard (e.g. insomnia), in others it might be as easy as e.g. changing your schedule, or stopping binge-watching/gaming/doomscrolling late, or some such change.
>It could also just be that I find a treatment of symptoms to be less desirable than causes.
It is more opaque.
But the point is not that it's necessarily easy. It's rather than even if X -> Y is mere correlation, by forcing yourself to fix X (even if hard), the resulting changes might also help with Y.
And technically "bad sleep" here isn't necessarily a symptom either. It can be a co-effect of the same symptom.
But I guess what might be slightly triggering is claiming that it's a "simple" target. Don't I wish I could sleep on command and better?
So a clear question is - why do people choose to sleep or why do they naturally sleep irregularly?
Because for that there must be a logical cause in the first place. They say they control for mental health and all that, but is it then that ultimately it comes down to preference in their mind? I'd think most people want to sleep in healthy way.
Basically - if they were able to control for all possible confounding variables, what exactly was the cause of irregular sleep?
Anecdotally I can say that I sleep more irregularly the more stress there is, and stress could easily affect health, but if they controlled for stress, what then?
To be clear, I apply an equal deep skepticism to most fields that aren't math (in the sense of a priority) or physics (in the sense that you aren't trying to study the entire world, but a specific set of phenomena that you can reliably control enough + repeat to run intervention on), whether the results agree with me or not. Maybe a bit of intellectual closed-mindedness. But then that means that me, personally, I can't in good faith use the criticism as a proper 'debunk' argument - at best it's a heuristic to avoid spending cycles to evaluate it (which is 'rational' behavior, as much as I hate that word, IMO).
E.g. considering some common causes like work stress - if they did the causation and compared people who did the same type of work, and they controlled for stress levels then why did one group of people have sleeping regularity issues more than compared to others?
Like there has to be some other driver then that they didn't control for, as in personality, environmental or physical difference?
Most people do want to have healthy sleep, the ones who don't usually have something causing those issues.
[0] https://en.wikipedia.org/wiki/Causal_model
[1] https://en.wikipedia.org/wiki/The_Book_of_Why
There is a whole paragraph on "Statistical analysis" that even provides five supplementary methods (S1.5, S2.2 and S2.4-6) if you want detailed information.
At least they aren’t shift workers
- two pieces of fruit per day
- two portions of vegetables per day
- half an hour of outside sunshine per day
- twice per week exercise until you sweat
- no sleep during the day
- get out of bed every morning around the same time
- no processed food!
What I did :
- LSD (microdosing + a semi dose one year ago) did absolute wonders on my anxiety (which was what kept me energetic). I would then describe myself as having a general anxiety disorder and I now describe myself as chill af. It's amazing. I'm still stressed out by things but that's normal and not my default mode anymore.
- Prolonged-release melatonin keeps me asleep for the whole night
- Took the habit of reading in the bed. I'm so tired that most evenings, I have a really hard time to read 5-10 pages, I must fight to keep my eyes open.
[1] https://www.impulsearc.com/wavelength/
[2] e.g. https://www.nature.com/articles/s41540-023-00300-w
Like, John Carmack said that he NEVER burned out, never went into a dark corner (verbatim from his interview), and everyone agrees that he works like a machine. And I don't think he actually spent a lot of mental training to achieve that stability, because, he has been like that from a young age. This is THE best thing you can have in the world, if you want to achieve something, anything. If you don't have the mental toughness, you won't be able to make through that 10,000 hours (cliche, I know). I guess that's also why many self-help book talk about being consistent -- to be consistent, is to have mental stability. And I think there is a whole difference, between someone who trains his mental to stay stable for 6 months, then collapse, from someone who actually doesn't need to train and just be stable somehow.
This also leads me to realize that good sleep is one of the fundamentals of a stable mind. As a parent, I actually don't remember when was the last time I had a good sleep, and my definition of a night of good sleep is perhaps just trivial for someone else. At the same time, I consider myself lucky, because at least I don't suffer from serious mental issues. I still have a job and a house, and that's better than many out there.
This then leads me to despise the human body. It is a machine so delicate that you have to be very lucky to be super productive, whatever your definition of being productive is. It seems to ignore the input in short term (e.g. you can eat garbage food for a month and nothing really happens, or, you can sleep 4-6 hours every day for the last 6 years and still function normally), but once the long term shows up it is very hard to reverse. And there are so many theories focused on it that we have no idea which one is best for the individual. You might as well spend years doing A/B test on yourself and still have no idea what the hell is going on. Or you need to be super rich to have some medical team monitor you 7/24 to figure out what the hell is going on.
Believable is important because you have to internally 100% without a doubt believe that what you're doing is the right thing to be doing now.
As soon as the "what ifs" starts to creep in for the big picture items or goals, that can destroy everything. I'm not talking about running into technical implementation problems along the way (those can be fun), it's more like "did I pick the right language for this?" level of questions that sit in the back of your mind.
Personally when I find something to work on that I like and will have what I think is a favorable outcome, it's easy to put in 8-10 real 100% laser focused hours into a task every day, even if it spans weeks or months. I'd like to think most people can do this too, the hard part (for me at least) is having these things to work on.
> https://x.com/ID_AA_Carmack/status/2069799283369345247
That's because he was the one burning people out while he was there living out his hobbies.
[0] https://www.amazon.com/dp/0691134952
1. The Sleep With Me podcast, especially if you struggle with racing thoughts (if you have a partner who can't stand hearing this, the Ozlo Sleepbuds are a good if imperfect solution)
2. Stellar Sleep, an app that delivers CBT-I, evidence-backed cognitive therapy for insomnia; this reset my sleep clock in about two months, which is now maintained by the other items on this list
3. Eight Sleep mattress pad to keep temperature low during sleep, especially on warmer nights
4. Manta Sleep Mask to get full light blackout
Also I've definitely just doxxed myself. But worth it to help some fellow insomniacs!
It is only natural that it takes months to years to fix a problem if you had the problem for years.
The common levers I know and that worked at least a bit for me:
- start by having a fixed waking time, and get sunlight or bright light quickly after waking up. Normally relatively fixed sleep time is supposed to follow. For me waking up is the easy part, transforming that into getting up and going outside is harder. Another option here is a strong (like, really strong) lamp on a timer, or letting the morning light in your bedroom (this one is usually not recommended I think, most people seem to be blackout curtains style, but for me it gave me a nice 6am waking time with good sleep last summer).
- melatonin. Two main ways: using it as a kind of hypnotic, so ~30 minutes before sleep, experimenting with 0.3mg to ~2mg doses ; then using it as a circadian regulator, this is a good resource https://lorienpsych.com/2020/12/20/melatonin/, search for "TO TREAT" in the page.
- app timers, for me it was mostly no twitter and no youtube, or a very low time for each.
- light, ie reduc light before sleeping. Not just blue light and not just screens, if I'm on my phone in bed I'll reduce the luminosity a lot, same with computer, same with e-reader. I also try to avoid using too much the lights in my room. More light tend to make me feel more "wired" and less ready to sleep.
- "meditation" to cut rumination, by which I mean "lay down in my bed, gently try to find sensations in the body and to stay focused on them, by gently I mean it's a very low stakes game where the goal is to find sensations in the body and give them attention, but losing focus for a while is not a big deal".
- shower in the evening, as I don't like feeling dirty when I am in my bed, but also not just before bed as sometimes I don't really want to go take a shower and this delays my bedtime
- clean bedsheets, bedroom, stuff in/on your bed
- AC in the summer, I wouldn't be able to sleep properly without it
- sleeping mask. It helps going to sleep, but it falls of my head every night so it doesn't prevent waking up with light too.
- making getting good sleep the priority of the evening. This is easy/possible for me due to my circumstances (ie low responsibilities in the evening). The way I do it is that unless something is actually important, what I'm trying to accomplish in the evening is prepare myself for sleep and get good sleep. This can look like not starting a movie at 11pm, not booting up games, not eating a super heavy meal, not drinking too much water after 6pm to avoid waking up to pee, if I have things I want to do try to do them early so they're done earlier, move some stuff I want to do every day like spaced repetition in the morning.
To me burning the midnight oil is my way of life.
In a past life, two decades plus ago, I used to write books: I'd write at night, when all is quiet. I'd go buy two or three warm "croissant" at 6:30am when the shop would open, then I'd go to bed.
And I love the hours later at night that then becomes early in the morning to get work done.
Because I'm such a night owl (not to party nor drink at all), I've got a different view on, for example, city life. Or rural area life. Things are different in the middle of the night.
Last night I had something that needed solving: went to bed at 8am.
My wife shall never ever take an appointment for me in the morning.
If it's of any comfort to you, I'm still fit and made it to 53 y/o so far and my doctor laughs at me when I go see him, saying I'm totally fine.
Anyhow seeing the old wreck my fater is at 78 y/o, I kinda came to peace with the notion that it's okay'ish if I don't make it that far.
Those with fucked up sleep schedules: you're not alone.
P.S: if I wasn't such a night owl, I'd never have met my wife... Long story but the butterfly effect: 25 years ago, coming back from my editor (who was also a night own) at something like 3am I decided to stop at a club knew but to which I'd never been, for there was some forms of life still awake too. There I met a girl, which became my girlfriend for a while. I kept in touch with her and through her I met a friend: a crazy dude. And through that crazy dude I met my wife. So had I not decided to stop at 3am at that club, I'd never have met my wife. So there's that.
Had she died at 65, I wouldn’t have even known her. Instead she was around for my entire childhood and well into adulthood.
The cortisol spikes are what get me. I can drink or not drink, exercise or not exercise, take magnesium or not take magnesium. The brain wants to tell me at 630 or 7 all the things that can go wrong or todos, instead of letting me sleep til 8. Sometimes it's much earlier than that.
I also wake up at the slightest sound or movement. It's been like this since I was a child. I'm defective, and all the bro science Youtube videos with top 10 science -based 'hacks' don't solve the problem. Know what does? Anti anxiety medication, but doctors don't prescribe benzos anymore.
Last year I did an experiment of sorts while unemployed for a time and found that if I just slept and woke when tired that my sleep time would naturally recess and eventually "flip" after about a month.
My entire life I've wondered why I feel incredibly tired and found waking up so difficult. Turns out that if you follow your bodies dominant sleep cycle it's a synch to wake up. Unfortunately, it doesn't work with modern life very well.
It sounds unbelievable but you’d have to experience it to understand. But the end result is it “fixed” the delayed sleep issue.
I’d give just about anything to be able to just sleep and keep sleeping, but on the up side now I’m an early bird with extreme regularity and quite like it.
It's it really? What if you go to bed at 6am? Will you really still wake up 30 mins later?
I discovered that it helps when I actually put in effort to fix my sleep schedule. Like getting off screen 1 hour before I sleep. Boxing bedtime to 23:00-08:00. And similar things.
It is just really difficult to fix for me but it doesn't feel impossible. I have made progress in last 6 months but trying different methods and only some portion of that progress stays permanent.
Also have the same experience fighting depression-like symptoms and anxiety. It just takes a lot of time and is difficult. Some people just don't have these problems and I do but this doesn't mean I am genetically attuned to be like this and I can't do anything. It is just difficult.
What finally worked for me were red light glasses. I wear the True Dark Twilights Classics (though I’m sure there are other brands on the market) for 2-3 hours before bed time and I’m actually sleepy. Way more effective than taking melatonin tablets ever was in my experience. And I haven’t even had to substantially change my screen usage either (though the glasses do make everything come out monochrome, which makes it difficult to use anything that’s not in color blind mode).
> Also have the same experience fighting depression-like symptoms and anxiety. It just takes a lot of time and is difficult. Some people just don't have these problems and I do but this doesn't mean I am genetically attuned to be like this and I can't do anything. It is just difficult.
Should I mention that "neurodivergence" and different sleep pattern genes have a large co-morbidity? E.g. many people with anxiety / ADHD / dyslexia / depression / etc have a very high likelihood of having delayed sleep or other genes.
Disclaimer: I made the app.
[1] https://www.impulsearc.com/wavelength/
The first couple days or week will feel pretty bad, but if you give yourself enough time then you'll shift your sleep schedule around. Now I get tired at 8:30pm and fall asleep at 9ish like clockwork. grad school me would have considered that insane considering I'm doing less work on average during the day. My day is just shifted now so that I do more stuff in the mornings and really relax in the afternoons, which is the opposite of before.
A key is actually giving yourself enough time to fall asleep. Most people think they can hop into bed and just get 8hrs, when you actually need to hop into bed around 30mins beforehand and really relax with a book or something.
I also think it's important to not stress about sleep a lot. Unless you're literally feeling miserable or have apnea, I think it's better to just let yourself relax if you wake up in the middle of the night. Sometimes I'll snap awake at 2am and just read for 2hrs, then get 2 more hours of sleep and generally feel fine.
Recalling from college neuroscience classes and subsequent reading of research, the studies show the ordinary human sleep cycle when unrestrained adds about a half hour per day, so 24.5 hours is 'natural'. Long-term studies with all time cues carefully removed ended up with subjects on a ~50 hour sleep schedule, as in awake 36-38 hours and sleeping 12-14hrs.
This is also why it is easier to travel across time zones to the west than to the east.
Some more discussion then: https://news.ycombinator.com/item?id=42022151
like "garbage collection"
ie. https://pmc.ncbi.nlm.nih.gov/articles/PMC4651462/
ADHD, for example, is correlated with both sleep cycle issues and worse outcomes in life (including higher rates of crime and participation in risky activities).