logoalt Hacker News

__mharrison__today at 1:15 AM6 repliesview on HN

Walking, showering, sleeping, and riding a bike are great ways to debug code.

It's very cool to go to sleep and wake up knowing what the solution to the problem is.

The key for incubation for me is to make sure my brain can churn without distractions (that means no listening to podcasts, music, etc while performing said action).


Replies

efskaptoday at 1:50 AM

Yup, that's the https://en.wikipedia.org/wiki/Default_mode_network

It's the daydreaming/mind-wandering state that occurs when you're not focused on an external task. With all the stimuli of the modern world, I feel like we're being starved of crucial DMN time if we don't engineer conditions like the ones you describe.

show 1 reply
Gigachadtoday at 1:29 AM

Walking with no music + not using your phone. Leaves you plenty of space to think.

show 2 replies
matsemanntoday at 8:35 AM

I remember during covid, cyclists were the ones in my town in a poll answering they missed their commute. It's such a nice way of thinking things through and then clearing your mind, then arriving home not thinking more about work.

pduggishettitoday at 10:13 AM

AI coding has killed this, I should reduce the AI dependacy. The dopamine hit was different when I would wake up to a solution.

show 1 reply
calmbonsaitoday at 1:25 AM

Truth. Nothing is a greater spurn to creativity (cyclic mental exertion) than time away focusing on cyclic bodily exertion.

crucialfelixtoday at 10:51 AM

Every time after I take a shower I write down all those brilliant Shower Thoughts.