Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 11, 2016, 04:08:10 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Sleeping Solves Another Bug~! :D  (Read 3173 times)

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,220
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Sleeping Solves Another Bug~! :D
« on: December 12, 2012, 11:50:43 PM »
I've been working on some new stuff, and have had a bit of a rough time as things were falling apart badly. So... when all else fails... Take a snooze!

I laid down for a while, envisioned the code in my head, and just rested.

A while later, I went back to the code, started walking through it, and lo and behold, I had the answer. :D

Anyone else ever do this? Step back. Chill. Meditate. Come back and solve a critical issue?
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,550
    • View Profile
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #1 on: December 12, 2012, 11:54:56 PM »
Yep. Cryptic Answer. Examples go back to the 1700's : )
Yay Sleep!

barney

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,282
    • View Profile
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #2 on: December 13, 2012, 01:27:33 AM »
Anyone else ever do this? Step back. Chill. Meditate. Come back and solve a critical issue?

Not certain I'd call it meditation (dunno that I'd know how  :P), but otherwise that scenario is very familiar - has been a lifesaver at times.

f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,029
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #3 on: December 13, 2012, 03:38:40 AM »
I usually go for a walk rather than snooze, but it often does help taking a few steps back and letting your mind flow freely.
- carpe noctem

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,790
    • View Profile
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #4 on: December 13, 2012, 04:13:46 AM »
+1 :up:

Been doing that on both software and hardware issues: Either get some sleep or make a long car-drive (used to drive an hour from work to home, solved a lot of issues during that hour, never had traffic issues, luckily, drove on a highway ;))

phitsc

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 1,187
    • View Profile
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #5 on: December 13, 2012, 05:30:52 AM »
The privy works best for me  ;)

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,220
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #6 on: December 13, 2012, 05:49:55 AM »
The privy works best for me  ;)

Someone who truly gives a crap about their code~! ;D
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Stoic Joker

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 6,296
    • View Profile
    • www.StoicJoker.com
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #7 on: December 13, 2012, 09:02:50 AM »
Anyone else ever do this? Step back. Chill. Meditate. Come back and solve a critical issue?

Yes, sleeping/sobering up seem to have equal success rates. ;)

Even back when I was a mechanic, I'd frequently sit back smoke a cigarette and let my mind drift when at an impasse. This strangely allowed answers to (seemingly) fall from the sky. In reality I think it just a case of forcing ones self to forget where they're at so that on reassessment you have the opportunity to spot what was being messed. It's a forest/trees cure.

40hz

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 11,768
    • View Profile
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #8 on: December 13, 2012, 10:03:33 AM »
I usually go for a walk rather than snooze, but it often does help taking a few steps back and letting your mind flow freely.


+1! Waking almost always works the charm for me.

That and/or 20 minutes listening to Bach, Teleman, or Gregorian Chant.

Total brain reset.  :Thmbsup:

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,070
  • Is your software in my list?
    • View Profile
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #9 on: December 13, 2012, 12:50:10 PM »
I usually go for a walk rather than snooze, but it often does help taking a few steps back and letting your mind flow freely.


+1! Waking almost always works the charm for me.

That and/or 20 minutes listening to Bach, Teleman, or Gregorian Chant.

Total brain reset.  :Thmbsup:
mmm...yes, speaking of which, this one tends to do the trick for me:

Deozaan

  • Charter Member
  • Joined in 2006
  • ***
  • Points: 1
  • Posts: 7,725
    • View Profile
    • The Blog of Deozaan
    • Read more about this member.
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #10 on: December 13, 2012, 04:54:49 PM »
I was having a hard time wrapping my head around something specific in JavaScript a year or two ago... I just couldn't understand how it worked (and now it's been so long since I did anything with JavaScript, I can't remember what it was called). I got discouraged and stopped working with JavaScript for a few months. I was complaining to someone about the thing I was having trouble understanding, and he asked me what it was, so I went to the book I had been reading so I could show it to him and as I read through it again it all clicked!


fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,184
    • View Profile
    • Donate to Member
Re: Sleeping Solves Another Bug~! :D
« Reply #11 on: December 13, 2012, 06:07:10 PM »
Nothing new here - restart can be productive.
Well, such good results are the only thing that justifies going for smoke at work…