TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Debugging In My Sleep

12 点作者 muriithi大约 17 年前

6 条评论

bfioca大约 17 年前
This is exactly why you should rest a day before you push a big release to your app/site. After a marathon coding session there are bound to be bugs that will pop up in your dreams, and you'll catch them in time.
bdfh42大约 17 年前
Happens to me on a regular basis. I wake up in the night with a solution to a bug I am chasing or some difficult interface that remained unfinished.<p>Sometimes it comes right out of the blue. Last week I awoke in the night with the realisation that there was an "edge case" bug in some code I was due to deliver the next day - and I certainly had not consciously been thinking about that code after I had finished with it - almost the opposite as I had been happy with the run of tests I had applied.<p>The brain is a wondrous organ.
TheTarquin大约 17 年前
I wish this happened to me. I do often do the "subconcious solves the problems" thing, but "sleeping on it" rarely seems to help, and it usually happens somewhere where I'm a long way away from anything to code on (computer, paper, or otherwise.)<p>Result: I've turned into an obsessive carrier of pens and paper. I've basically come to the realization that my muse strikes unpredictably, without warning, and almost ALWAYS at the least convenient time.
Hexstream大约 17 年前
I deliberately load the code I want to improve in my head before going to sleep to maximize my chances of having a productive night ;)
rrival大约 17 年前
Used to happen to me a lot when I hacked in C. Not so much in PHP. I'm not sure if it's memory handling abstraction or experience. Lately this sort of thing has crept into subtle flaws in business models and ideas.
cstejerean大约 17 年前
often times I find solutions to complicated problems while I sleep. But I usually don't spot bugs while I sleep (unless I've been thinking about some particular known issue the day before).