Live data from Hacker News

How to Program in Your Sleep

bellmar.medium.com

21–30 of 52 posts

Re: How to Program in Your Sleep

#21
post #3

So many interesting articles I'm never going to read because of the paywall. I'm curious how people who see this actually create an account to gain access? I personally don't think it's worth giving up an email address and spending the time to do so to read a blog post.

What I usually do, is I have what I call a “public” email. This is a gmail account I use to log in in any paywall website or any service that requires an account to just see some content and I don’t care who has that email, as I just ignore any email that arrived to that account.

Shout out to Anonaddy, sorry addy.io

Re: How to Program in Your Sleep

#23
post #9

I get those programming dreams but have always really disliked them, and find I wake up feeling like I didn’t actually sleep, even if I was in fact asleep all night with code flying around in my brain like tetris blocks. I’m not sure I’ve ever woken up with a great idea after one of those nights. I do find, however, that solutions to sticky problems pop into my head in the shower, during a long steady run, or after a…

Vivid dreams usually happen during REM sleep, which is the deepest phase of sleep. So if you are dreaming, you are probably getting good rest, even if it doesn’t feel like it, e.g. because you woke up suddenly during a dream, rather than after it.

Re: How to Program in Your Sleep

#24
I've been led to believe that the reason why a lot of written exams include the instruction "read all questions before starting on the problems" is due to this subconscious "cooking on the back-burner" effect. Problem solving in your sleep might be related to that strategy. I haven't read any empirical studies on the effectiveness of this testing strategy - but I suppose it should be fairly easy to set up such an experiment.

Re: How to Program in Your Sleep

#25
What a clickbait. Calling this "how to program in your sleep"? I mean, seriously? Everyone with sufficient experience knows that putting aside a problem that you're trying to solve and giving it another go some time after can be of tremendous help. What it would be nice to know or at least have some explanation is why this works most of the times.

Re: How to Program in Your Sleep

#26

What a clickbait. Calling this "how to program in your sleep"? I mean, seriously? Everyone with sufficient experience knows that putting aside a problem that you're trying to solve and giving it another go some time after can be of tremendous help. What it would be nice to know or at least have some explanation is why this works most of the times.

"Why We Sleep" by Matthew Walker covers how and why this works.

Re: How to Program in Your Sleep

#27
post #9

I get those programming dreams but have always really disliked them, and find I wake up feeling like I didn’t actually sleep, even if I was in fact asleep all night with code flying around in my brain like tetris blocks. I’m not sure I’ve ever woken up with a great idea after one of those nights. I do find, however, that solutions to sticky problems pop into my head in the shower, during a long steady run, or after a…

Vivid dreams usually happen during REM sleep, which is the deepest phase of sleep. So if you are dreaming, you are probably getting good rest, even if it doesn’t feel like it, e.g. because you woke up suddenly during a dream, rather than after it.

Is REM not the least deep sleep?

Re: How to Program in Your Sleep

#28
I expected something more insightful. As someone who don't have sleeping problems, but have family members who does, from what I seen the most effective impact happened when:

- You are going to bed only when you're tired, don't try to go to bed and hope you will become tired by just laying.

- Have at least one long walk a day (it helps my sister when she is doing it when it's still daylight, but ofcourse it depends on where you live)

- Don't drink coffee after 14:00

- Stay off social media after dinner time

- If you are reading a book using a screenreader or laptop make sure you filter the bluelight

Re: How to Program in Your Sleep

#29

So many interesting articles I'm never going to read because of the paywall. I'm curious how people who see this actually create an account to gain access? I personally don't think it's worth giving up an email address and spending the time to do so to read a blog post.

This one appears to be a member-only story, but Medium shows a paywall ad on non-member stories too. It's a bad business making money of articles that they don't own.

Re: How to Program in Your Sleep

#30

I've been led to believe that the reason why a lot of written exams include the instruction "read all questions before starting on the problems" is due to this subconscious "cooking on the back-burner" effect. Problem solving in your sleep might be related to that strategy. I haven't read any empirical studies on the effectiveness of this testing strategy - but I suppose it should be fairly easy to set up such an exp…

The reason that I have done that is so I know how long to spend on each question. If the last questions look extremely difficult then I know to spend more time on them, or I might even attempt those before the easier ones.
Post reply on HN