6 ms·
I had a very similar experience, including a very late night trying to fix a weird integration problem along with my project team. We had spent hours trying to
by spchampion2 7y ago
I had a very similar experience, including a very late night trying to fix a weird integration problem along with my project team. We had spent hours trying to find the issue, but nobody was thinking effectively and we were making stupid decisions. Everyone wanted to keep going, but I insisted that we were not thinking clearly and that sleep would help us better solve the problem. I even promised I would come back first thing in the morning to start debugging again on my own. The team begrudgingly agreed and we walked away for the night.
I slept, came back in the morning, and had the problem fixed in like 15 minutes. I learned so much about CPU design from that class, but I also learned how important sleep is to thinking clearly.
- sixothree 7y agoI woke up one day recently and "knew" what a co-worker had done wrong. He pasted steps of his issue with screenshots. Having slept on it I realized he had misspelled a server name. I have no idea how I discovered that or realized that while I was sleeping. But there it was.
- HeWhoLurksLate 7y agorelated Studio C sketch: https://www.youtube.com/watch?v=CxV0Nh10h5s https://www.youtube.com/watch?v=CxV0Nh10h5s I've done that in my high school Visual Basic class- I woke up around 2 AM, knew exactly where I was going wrong, fixed it, and kept going until I'd finished my program. By the time my dad woke up at six, I had written over six hundred lines of code, had about twelve new features, and I was so exhausted I got sick for two days. I'm still proud of that sprint.
- adrianhel 7y agoMy most absurdly productive episodes have been when I've worked through the night. I love the amount of focus I get when there is nothing to distract me!
- 52-6F-62 7y agoI've commented on a similar thing previously— I worked for a while with some older Vietnamese refugees who were largely self-taught electrical engineers. They used to tell me how they'd dream about the circuits in these high-watt lighting ballasts they were fixing. One tale specifically had them trying to find a fix over the course of a week, only to dream up the solution and come in the next morning to repair the gear in minutes. I've definitely dreamed up solutions to software bugs and architecture problems myself. I've never really dug deeply into why, but it's fascinating.
- BonesJustice 7y agoOnce you’ve solved your first programming issue in your sleep, you’re officially a Real Programmer(TM). Or at least you can feel confident that you’ve picked a good career path.
- onei 7y agoSometimes you can't see the wood for the trees. I once spent more time than I want to admit trying to fix a broken import in python that I knew existed but wouldn't import. The morning after I realised I was trying to import "connnector" and couldn't see the extra "n".
- sly010 7y agoI once asked a question from a potential airbnb host through the contact form. The host answered something totally unrelated like "Hi, good question. We have 3 kitchen towels, 4 spoons, 7 chopsticks 5 plates 5 bathroom towels etc". It was strange. I woke up in the middle of the night when I understood it in my dream.
- b_tterc_p 7y agoand what did this mean?
- sly010 7y agoHe wanted me to call him.
- b_tterc_p 7y agoI don’t think I would have gotten that. Good job.
- J-dawg 7y agoTook me a moment to get this, but the part I still don't understand is why he needed to encode the phone number like that? Does Airbnb strip contact details out of messages to prevent hosts and visitors from getting in contact directly?
- irrational 7y agoOh yes. They want all contact to go through them. They charge huge fees and they want to make sure that the hosts and clients don't try to make arrangements on their own without AirBnb getting their cut.
- jussij 7y agoThe mind is an amazing bit of kit. On several occasion during my IT career I have faced situations where the problem at hand has taken days/weeks to solve. What is most amazing is that on some occasions the solution literally just pops into my head. It's almost like there is some background thread of the mind working subconsciously on the problem, only to rise to a conscious level when a solution is found.
- ishiz 7y agoThere certainly seems to be something to it. This isn't a new phenomenon: there is a story that Archimedes around 250 BC couldn't solve a problem until he stopped working on it and took a bath. While this story may not be true, it does show that these "eureka moments" were common not just today but also thousands of years ago. I'm not a psychologist but from what I understand, "dual process theories" state that humans have two distinct thought processes. System 1 is fast, instinctive, and unconscious; it answers questions like "2+2=?" System 2 is conscious, deep thought; it answers questions like "if 2x+3=17, x=?". System 1 is the default thought process, but it can be suppressed by system 2. I would love if anyone who knows more knows how this might be connected.
- Angostura 7y agoTo be fair, the problem Archimedes was stuck on was how to measure the volume of an irregular body. Immersing his irregular body in the bath kinda gave him a clue.
- tkxxx7 7y agoMany meditation practices focus on how to objectively detach from and observe system 1 so that we can maintain control over 2
- larzang 7y agoThe absolute best coding I get done every day is during my morning shower. Letting your brain indirectly work on something is often the best approach to our kind of work.
- hbhakhra 7y agoThis reminds me of a time I pulled a near all nighter for a final. I came into the final on too little sleep and even though I knew the material, I couldn't think during the test. I took a 20 minute nap during the two hour final, woke up and aced the final.
- agrippanux 7y agoYou might want to read "Why We Sleep" by Matt Walker. It's quite fascinating what sleep actually does and how it affects memories and thinking. There is a large section devoted to debunking myths about pulling all-nighters; the super broad stroke is that the short term memory area of the brain needs sleep to offload data to the long term memory area and a lack of sleep causes the short term memories to just bounce off. Once sleep is achieved the brain can resume normal functioning which seems like "a-ha" moments but really is just your short term memory functioning with a fresh cache again.