News for hackers. Stuff that matters.
Re:The brain functional connectome is robustly altered by la... by petilon on Saturday January 02, 2016 @12:11PM (#10826802)
I have had sleep issues for many years. I have seen sleep specialists regarding this issue. They basically tell you to reduce stress. But my daily life is not particularly stressful.

But my job as a software developer involves brain-intensive work, and when I come home after work, I work on hobby software development projects, which means my brain is working intensely whenever I am awake. That may be the stress leading to my sleep issues. But I can't give up my hobby.

All doctors want to do is put me on prescription pills for the rest of my life, and all of these prescription sleeping pills are addictive. So I have been avoiding prescription meds.

Then I discovered that magnesium supplements largely solves my problem. I hope this helps someone: If you have sleep issues try Magnesium L-Threonate. Magnesium fixed two issues for me: sleep and muscle stiffness.

Re:The brain functional connectome is robustly altered by la... by anotherevan on Saturday January 02, 2016 @07:54PM (#10828918)
If Magnesium doesn't work for you, you may also consider trying a Melatonin[1] supplement about an hour or so before bed.

I have also seen a big impact of turning off the electronics and reading a book[2] in bed for the last hour or so of the day before trying to go to sleep.

Lastly, if you are a loud snorer or carrying more than a bit too much weight, you might want to investigate any sleep apnoea[3] issues.

[1] https://en.wikipedia.org/wiki/Melatonin

[2] Actually, I'm usually reading ebooks, but on an e-ink display, not a light-emitting display of any sort, which is the point.

[3] https://en.wikipedia.org/wiki/Sleep_apnea

Re:The brain functional connectome is robustly altered by la... by outlace on Sunday January 03, 2016 @04:17AM (#10830017)
Melatonin is great but it shouldn't be used long term (more than a couple months). I tried it longer than that and it wasn't good, weird constitutional symptoms.. Also says so on the packaging.
Re:The brain functional connectome is robustly altered by la... by therein on Monday January 04, 2016 @06:17AM (#10834917)
I bet you took too much of it. I know it comes in 3mg-ish sizes but the correct dosage would be about 500mcg.
Re:The brain functional connectome is robustly altered by la... by outlace on Monday January 11, 2016 @04:00AM (#10879676)
Not really, I took half pills which were 1.5mg each
Re:The brain functional connectome is robustly altered by la... by twentysix on Saturday January 02, 2016 @01:59PM (#10827354)
I can second the opinion on Magnesium. Though, instead of magnesium L threonate, I used Magnesium malate. I have tried citrate and orotate forms and while they were both good, compared to malate the effect was mild. The malate form of magnesium had a better calming effect on the mind and muscles. Will try L threonate next time and see how it works.

https://examine.com/supplements/magnesium/

Re:The brain functional connectome is robustly altered by la... by redcalx on Sunday January 03, 2016 @05:55AM (#10830221)
I had a similar beneficial response from magnesium supplements. I've always had a constellation of health issues, probably genetic, and constant anxiety and was one of the most detrimental to just getting on in life, and later I had much trouble sleeping, either not being able to get to sleep or not sleeping for very long.

I researched nutrition and genetics for many years and tried a number of supplements based on testing hypotheses I would come up with. I generally used the Linus Pauling Foundation guidance on RDA as they are annotaed with a history of how RDAs came about, whether the official RDA is optimal or not, various caveats etc.

Magnesium had a profound effect after I researched bioavailability and tried some of the organic forms. The two main ones that worked were magnesium glycinate and citrate.

I've also went through a phase of having a strong beneficial effect from high dose vitamin B12 (methyl form), which initially caused what I felt was deeper sleep but also intense nightmares; this effect wore off after a while and that might be due to correction of a deficiency.

Re:The brain functional connectome is robustly altered by la... by amelius on Saturday January 02, 2016 @05:32PM (#10828314)
You could also try meditation. It helps one to find a way to turn off the brain when it is not needed.
Re:The brain functional connectome is robustly altered by la... by guiambros on Saturday January 02, 2016 @09:27PM (#10829221)
+1

I'm not an active practitioner of meditation, but I've been using some light mindful exercises [1] when going to bed, and it helped me falling asleep faster. It used to take me 30-45 minutes to shut down my brain; now I can do in 5-10.

Melatonin also helps, particularly when it's getting late and I'm too excited to sleep. I only take 300mcg, which is enough to make me want to sleep. But I use only as a last resort. It sometimes causes very vivid (and infrequently even lucid) dreams, and then my brain doesn't rest as much, and I wake up tired next morning.

[1] Nothing too fancy; just some tips from "Search Inside Yourself" [2]. Basically control your thoughts, empty your brain, focus on breathing, and consciously think on every muscle of your body. Rinse and repeat.

[2] http://smile.amazon.com/gp/product/B0070XF474/

Re:The brain functional connectome is robustly altered by la... by robotkilla on Saturday January 02, 2016 @08:38PM (#10829067)
Logged in to say the same thing I've said in other threads: mindful meditation works for me. Had some overwhelming stress over the last couple of years which lead me to learn and attempt mindful meditation - works very well for me.
Re:The brain functional connectome is robustly altered by la... by ca98am79 on Monday January 04, 2016 @08:54PM (#10840418)
I have panic disorder and have sometimes stayed up all night panicking (sucks) - I tried everything and nothing worked as well as meditation, which has basically cured this for me
Re:The brain functional connectome is robustly altered by la... by outlace on Sunday January 03, 2016 @04:18AM (#10830019)
This. Meditation has improved my life in so many ways.
Re:The brain functional connectome is robustly altered by la... by austinjp on Saturday January 02, 2016 @02:10PM (#10827408)
What sleep issues did you have exactly? There are many, and magnesium supplementation may not be suitable for all. Thanks in advance.
Re:The brain functional connectome is robustly altered by la... by petilon on Saturday January 02, 2016 @04:34PM (#10828068)
Some days I wake up after only a couple of hours of sleep. Other days my brain simply won't turn off. I try to sleep, but the brain simply won't stop thinking random stuff and staying awake.
Re:The brain functional connectome is robustly altered by la... by astrange on Sunday January 03, 2016 @02:32PM (#10831915)
Do you get enough exercise? The kind of exhaustion you get from spending all day and night programming doesn't make you tired in the right way like physical work does.

Watch out for the blue light coming from the screens, too.

Re:The brain functional connectome is robustly altered by la... by bpchaps on Saturday January 02, 2016 @12:29PM (#10826865)
Alright, you convinced me. Sounds very similar to my ongoing situation.

I've been taking clonidine and vitamin d for stress and anxiety and I'm really annoyed with the way doctors prescribe (wrote about this a couple hours ago in this thread -https://news.ycombinator.com/item?id=10824879)

Was it a drastic change, or something more subtle for you?

Re:The brain functional connectome is robustly altered by la... by petilon on Saturday January 02, 2016 @12:36PM (#10826890)
It made a big difference for me. No, not subtle.
Re:The brain functional connectome is robustly altered by la... by LordHumungous on Saturday January 02, 2016 @07:08PM (#10828711)
Oddly enough, ASMR videos work great for me (reddit.com/r/asmr)

Just make sure you turn the monitor off on your laptop, or greatly dim it (https://justgetflux.com). Bright light will keep you awake.

Re:The brain functional connectome is robustly altered by la... by orthoganol on Sunday January 03, 2016 @04:43AM (#10830068)
It's just frustrations about things that keep me up, even if they are sort of latent, suppressed frustrations which I've deferred thinking about.

I think most of us have a lot of frustrations about various things, so to me that's the first thing I would look at regarding sleep issues. The guy getting exactly what he wants sleeps well.

More specifically, I'll have trouble falling asleep and then start thinking about what's not good in my life, and I'll often sit up then and there, crack open my laptop, and take some action to at least be closer to making the thing better (writing an email to get the ball rolling, or just reflecting about ways to interpret whatever the issue). I then usually feel more satisfied and can sleep, though I may lose an hour or two doing this.

My point is take a hard look at what isn't going as well in your life as you'd hope.

Re:The brain functional connectome is robustly altered by la... by tarsinge on Sunday January 03, 2016 @06:00AM (#10830227)
I suffered from the same problem for years. I am now finally able to fall asleep in a few minutes. It's hard to explain but I let my mind unguided and coming with images and thoughts like I am already dreaming. Focused thinking completely wake up my brain (the worse being math operations)
Re:The brain functional connectome is robustly altered by la... by tarsinge on Sunday January 03, 2016 @06:04AM (#10830232)
And physical activity of course, being physically tired definitely helps
Re:The brain functional connectome is robustly altered by la... by e40 on Saturday January 02, 2016 @12:29PM (#10826867)
Instead of working on software when you get home, how about zoning out to some TV or movies? I find that after an hour of TV, it is very easy to fall asleep.

I'd give this a try, because meds always have side effects.

Re:The brain functional connectome is robustly altered by la... by biot on Saturday January 02, 2016 @02:01PM (#10827364)
Given that they said "But I can't give up my hobby" (zoning out to TV instead means giving up that hobby) and the fact that the solution they found largely solves the problem without the use of meds, why would they bother giving it a try?
Re:The brain functional connectome is robustly altered by la... by jerf on Saturday January 02, 2016 @08:43PM (#10829080)
Not "watch TV instead of programming", watch TV before bed instead of programming.

I have to do this. I've got a zone of about an hour before my usual 11pm sleep time where if I'm programming, I will not get to sleep until around 2-3am, and the next day will be at least subpar and possibly worse. Sometimes I get so into it that I just don't notice and end up blowing past it, and I pay every time.

It's actually kind of nice to have an hour where I can read for light entertainment or watch some video content or something and do so guilt-free by even the most rigorous standards of productive time use, because I don't have anything net productive I can do in that time. In fact, budgeting entertainment into that time slot is just about the most productive use of that time.

Re:The brain functional connectome is robustly altered by la... by e40 on Saturday January 02, 2016 @06:20PM (#10828517)
If the hobby is causing serious problems, then maybe changes should be seriously considered. I would never prioritize my current lifestyle + meds over changing said lifestyle without meds, especially when sleep is in the balance.
Re:The brain functional connectome is robustly altered by la... by biot on Saturday January 02, 2016 @07:58PM (#10828935)
That of course depends on whether you consider a magnesium supplement to be "meds". If one is legitimately deficient in some micronutrient, then I hardly think ensuring one gets sufficient amount of that micronutrient to be considered "medicating".
Re:The brain functional connectome is robustly altered by la... by anarazel on Saturday January 02, 2016 @02:55PM (#10827610)
For me personally TV seldomly works. Either in too bored and start thinking about/doing something else, or I start to be really awake and then can't easily stop continuing to watch.

Regularly doing sports and reading fiction (often only 15min, never less than 5) before sleeping works better for me.

But it's perfectly normal to differ here ;)

Re:The brain functional connectome is robustly altered by la... by azm1 on Saturday January 02, 2016 @02:34PM (#10827521)
I think long walk/run would be better than staring at yet another screen in this case..just my view. I find both running and walking extremely relaxing.
Re:The brain functional connectome is robustly altered by la... by e40 on Saturday January 02, 2016 @06:18PM (#10828510)
Exercise makes it pretty difficult for me to sleep, for up to 3 hours after. So, if done with the appropriate lead time, it should work.
Re:The brain functional connectome is robustly altered by la... by hjura on Saturday January 02, 2016 @06:25PM (#10828547)
Personally what I do is 30 minutes of exercise, just as a break in between the two activities(projects), after a shower it allows me to restart with better mood and more energy. Still too early to make me asleep at night time.
Re:The brain functional connectome is robustly altered by la... by hackercomplex on Sunday January 03, 2016 @12:19AM (#10829607)
"chew some valerian root and get more exercise" - Fight Club
Re:The brain functional connectome is robustly altered by la... by Scarbutt on Saturday January 02, 2016 @02:02PM (#10827371)
At what time do you take the magnesium?
Re:The brain functional connectome is robustly altered by la... by coldtea on Saturday January 02, 2016 @02:43PM (#10827562)
Shouldn't you be asking your doctor that? And also whether you, particularly, should take such a supplement?
Re:The brain functional connectome is robustly altered by la... by therein on Saturday January 02, 2016 @03:25PM (#10827738)
I know this will be an unpopular opinion but Magnesium is conventional enough of a supplement that you can easily get away with trying it on your own without consulting a physician.
Re:The brain functional connectome is robustly altered by la... by Scarbutt on Saturday January 02, 2016 @03:22PM (#10827725)
If you want to be extremely strict, sure, but that supplement is already in various foods that people take daily.
Re:The brain functional connectome is robustly altered by la... by y4mi on Saturday January 02, 2016 @03:55PM (#10827899)
do you consult your doctor before trying a different brand of coffee?
Re:The brain functional connectome is robustly altered by la... by coldtea on Saturday January 02, 2016 @04:45PM (#10828102)
If merely trying a new brand can cause a medical condition worthy of its own name or if it can have adverse effects depending on other medical issues I might have, then yes: https://en.wikipedia.org/wiki/Hypermagnesemia

Do you take all kinds of vitamins and supplements with this cavalier, throw caution to the wind, attitude, or just magnesium because you happen to know it's tame enough? Before supplements don't always bode well with existing conditions, or even with high dosages.

Re:The brain functional connectome is robustly altered by la... by y4mi on Saturday January 02, 2016 @05:29PM (#10828304)
there are instant coffee brands with extra caffeine added in as well... you can die from drinking the previous quantity of this new brand of coffee!
Re:The brain functional connectome is robustly altered by la... by coldtea on Saturday January 02, 2016 @05:49PM (#10828384)
>you can die from drinking the previous quantity of this new brand of coffee!

Obviously almost everybody knows about coffee and has already tried many brands in their life (even by going to different restaurants or coffee shops) -- including days when they've drank several times their usual intake. Plus, they've seen countless others doing the same, even before they've started drinking themselves (e.g. their parents).

With magnesium or some random supplement? Not exactly the same case.

Re:The brain functional connectome is robustly altered by la... by alphydan on Saturday January 02, 2016 @09:08PM (#10829154)
Do you ingest the daily recommended amount of magnesium? I'm not a medical doctor, so ask one ... but high magnesium levels apparently can lead to arrhythmias (they can also treat them in the right context and dosage). So just a word of caution.
Re:The brain functional connectome is robustly altered by la... by petilon on Saturday January 02, 2016 @10:11PM (#10829324)
> but high magnesium levels apparently can lead to arrhythmias

Not true. It is low levels of magnesium that can cause heart disease. See: http://content.onlinejacc.org/article.aspx?articleid=1121693

Re:The brain functional connectome is robustly altered by la... by alphydan on Sunday January 03, 2016 @08:42AM (#10830547)
I'm afraid the body is not that simple. Both too little and too much mess with the heart:

> Magnesium is also cardiotoxic and, in high concentrations, can cause bradycardia [#]. Occasionally, complete heart block and cardiac arrest may occur at levels greater than 7 mmol/L. [0]

[0] http://emedicine.medscape.com/article/246489-overview#a4

[#] a type of arrythmia

Re:The brain functional connectome is robustly altered by la... by manicdee on Monday January 04, 2016 @10:53PM (#10841027)
7mmol/L in just the blood supply, when magnesium supplements are in the order of 60mg per pill, would equate to an intake of about 1g of magnesium or 17 perfectly assimilated magnesium pills, in short enough time that the body has not started to eliminate the magnesium.

One to three pills before bed time is not going to pose any kind of risk.

Re:The brain functional connectome is robustly altered by la... by ra1n85 on Saturday January 02, 2016 @12:32PM (#10826878)
Do you experience an increased vividness to dreams when taking magnesium supplements?
Re:The brain functional connectome is robustly altered by la... by petilon on Saturday January 02, 2016 @12:38PM (#10826898)
Possibly, not sure. I don't think I dreamed much before taking magnesium.
Re:The brain functional connectome is robustly altered by la... by robotkilla on Saturday January 02, 2016 @08:37PM (#10829065)
Same boat thanks for the tips (you and everyone else in this thread).
Re:The brain functional connectome is robustly altered by la... by johnchristopher on Saturday January 02, 2016 @05:30PM (#10828305)
How many days before significant changes appeared ?