{"id":106,"date":"2005-10-17T23:11:04","date_gmt":"2005-10-17T13:11:04","guid":{"rendered":"http:\/\/www.somethinkodd.com\/oddthinking\/?p=106"},"modified":"2005-11-19T09:51:37","modified_gmt":"2005-11-18T23:51:37","slug":"bug-report-brain-dereferences-uninitialised-pointer","status":"publish","type":"post","link":"https:\/\/www.somethinkodd.com\/oddthinking\/2005\/10\/17\/bug-report-brain-dereferences-uninitialised-pointer\/","title":{"rendered":"Bug Report: Brain dereferences uninitialised  pointer"},"content":{"rendered":"<p><!-- UnMarkedDown_2_01132526440--><\/p>\n<p>Programmers who have passed through their <a href=\"http:\/\/retep.org\/dictionary.do?word=larval-stage\">larval stage<\/a>, talk knowingly about &#8220;The Zone&#8221; &#8211; a sustained period of focussed attention on a problem. The upside is a remarkably high-level of productivity. The downside is a loss of awareness of time, tiredness and hunger &#8211; and a general unpredictability about whether you will find the way into the zone and what inevitable distraction will bring you out again.<\/p>\n<p>Of course, it is not limited to programmers &#8211; it is experienced by many people attempting endeavours that require focus, from artists to artisans, athletes to aesthetes.  Some refer to it as <a href=\"http:\/\/en.wikipedia.org\/wiki\/Flow_(psychology)\" title=\"Wikipedia definition of Flow_(psychology)\" class=\"wikipedia\">pschological state<\/a>, others link it to spiritualism and mysticism.<\/p>\n<p>I have been noticing an odd phenomenon when I am in the zone; I am interested if it is just me, or others notice the same thing.<\/p>\n<p>Occasionally, while I am deep in the zone, a random memory flashes in my mind.<\/p>\n<p>It&#8217;s not a case of &#8220;Oh, this reminds me of the time&#8230;&#8221; &#8211; the memory is totally unrelated to the work I am doing, or the thoughts I was having.<\/p>\n<p>It&#8217;s not a case of d\u00c3\u00a9j\u00c3\u00a0 vu &#8211; I don&#8217;t feel like I am reliving it.<\/p>\n<p>It&#8217;s not a case of a flashback to some emotional situation &#8211; the memory is often mundane, and something I haven&#8217;t thought about for a while.  That time I bought a pair of shoes. That strip of off-coloured carpet at the place I rented 9 years ago. Nothing special.<\/p>\n<p>It just flashes in my mind, and I am left thinking &#8220;What&#8217;s that got to do with the <a href=\"http:\/\/www.phrases.org.uk\/bulletin_board\/20\/messages\/146.html\">price of fish<\/a>?&#8221; even as I continue typing.<\/p>\n<p>It doesn&#8217;t seem to happen when I am not in the zone &#8211; in fact, when it happened to me last weekend, it triggered the realisation that I was actually <em>in<\/em> the zone &#8211; I was surprised I had achieved that level of focus on something that seemed to me to be rather mundane!<\/p>\n<p>I recently began to suspect that it occurs when there is a piece of mundane work to do in the middle of a more complex task (e.g. reindenting a large block while refactoring code) but I haven&#8217;t gathered enough evidence yet.<\/p>\n<p>My theory is that I have a corruption in my brain software &#8211; when I get near the top of my mental stack, my brain tries to derefence a corrupted pointer, that references a random memory location. That&#8217;s why I am trying to reproduce the problem in other brains. Does this happen to you?<\/p>\n<p>I am waiting for the inevitable &#8211; I&#8217;ll be in the zone, when a sudden memory will spring to mind &#8211; an image of that time, back in 1998, when I was in the zone and a sudden memory sprung into my mind.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been noticing an odd phenomenon when I am in the zone&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"","footnotes":""},"categories":[23,31,21],"tags":[],"class_list":["post-106","post","type-post","status-publish","format-standard","hentry","category-based-on-a-true-story","category-geek","category-observation"],"_links":{"self":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts\/106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/comments?post=106"}],"version-history":[{"count":0,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/posts\/106\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/media?parent=106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/categories?post=106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.somethinkodd.com\/oddthinking\/wp-json\/wp\/v2\/tags?post=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}