randy_byers: (2010-08-15)
[personal profile] randy_byers
Yesterday I got a call pointing out a problem with one of our online reports. I looked at the SQL behind the report, and after about a half an hour I was able to see what was causing the problem. However, I had no idea how to fix it. I thought about it off and on last night (more off than on) and on the walk to work this morning, but my mind was basically going around in circles. This morning I discussed the problem with a co-worker, and we got into a frustrating box where we seemed to be talking past each other about the nature of the dataset. Then I started looking at something else completely unrelated (some news about the Boston bombing), and suddenly I thought of a new approach to the problematic SQL.

The idea seemed to come out of nowhere, but it worked when I implemented it. Even after I saw that it apparently worked, I still didn't understand *why* it worked. I discussed it with my co-worker, but we were still not on the same page. I tested the report to see if I could find any problems in the data, but everything seemed to be just fine. I went off to get some more coffee, and as I was wandering around with my coffee I suddenly realized that my solution had to do with the primary key of one of the tables involved in the query. I had been thinking about aspects of the primary key earlier, before I came up with my solution, but it hadn't been in my thoughts at all at the moment that the solution arrived to me.

The point of all this is that it seems to me that the problem-solving was happening on some level other than my conscious thinking. I have no idea where it was happening, and I suppose that's one of the reasons I get such a charge out of the process. It's often a mystery to me how I do it, and therefore it seems miraculous on some level -- a gift from the gods. Where do our ideas come from? It doesn't always seem to be a rational process, or if it *is* rational it's a deep, invisible rationality. Deep logic? It's very strange.

Date: 2013-04-16 08:48 pm (UTC)
From: [identity profile] surliminal.livejournal.com
Well if you go back to my post on creativity you'll see this is one the well documented things they noted: distract yourself rather than going on butting your head at problems and a creative solution sometimes arrives just as you say. I don't find it very surprising that creativity isnt a rational process - I have always had my best ideas in the middle of a swim or a bath or in my sleep - is this a man thing?:)

Date: 2013-04-16 09:31 pm (UTC)
From: [identity profile] randy-byers.livejournal.com
Could be, although I'm not very manly as men go. Hm, is there some kind of measurement of manliness? Wait, did I just connect measurement and manhood?! *sigh*

More seriously, I do think that an important part of the process was discussing the problem with my co-worker, even though the discussion itself was apparently fruitless and frustrating. I think it got me closer to where I needed to be, but the final step was the mysterious one.

Date: 2013-04-16 09:20 pm (UTC)
From: [identity profile] kalimac.livejournal.com
I know what you mean about the problem-solving process, even though I don't have much of an idea of what you are talking about. Databases ... that's as far as I get.

Date: 2013-04-16 09:33 pm (UTC)
From: [identity profile] randy-byers.livejournal.com
Well, I could've gone into far greater detail about the specifics of the problem, but I didn't think it would be any more enlightening for those who don't work with SQL.

Date: 2013-04-16 09:57 pm (UTC)
From: [identity profile] kalimac.livejournal.com
You're right. I've spent enough time talking with [livejournal.com profile] whumpdotcom and other masters of neepery that I know that further explanation does increasingly less good. I don't even know what SQL is.

Date: 2013-04-16 10:08 pm (UTC)
From: [identity profile] randy-byers.livejournal.com
It stands for Structured Query Language, for what it's worth. My knowledge of SQL is actually quite limited compared to some of the folks I work with, but I suppose I'm slowly learning more almost despite myself.

Date: 2013-04-17 05:37 am (UTC)
wrdnrd: (Default)
From: [personal profile] wrdnrd
I'm deeply fascinated -- AND repulsed -- by the way brains can back-burner a problem and then suddenly present a solution out of the blue like that. Fascinated because it's just so NEAT the way brains work. Repulsed because, bloody hell!, do i ever get pissed off when i look away from a problem for awhile and no solution actually presents itself. Then i feel like i've wasted time that i could have used to pick away at the problem until i've worked out a solution the hard way.

Brains!

Date: 2013-04-17 02:40 pm (UTC)
From: [identity profile] randy-byers.livejournal.com
Yeah, it can be just as maddening when the black box fails as it is ecstatic when it succeeds. Part of why I felt so jacked about it yesterday was because I had decided I didn't know how to analyze the problem so I was going to have to hand it off to someone else. Then ding-ding-ding! Surprise!

Date: 2013-04-17 07:27 am (UTC)
From: [identity profile] voidampersand.livejournal.com
The conscious mind thinks it is the whole brain.

Date: 2013-04-17 02:41 pm (UTC)
From: [identity profile] randy-byers.livejournal.com
You'd think the conscious mind would eventually figure out that it was wrong, but nooooooo.

Profile

randy_byers: (Default)
randy_byers

September 2017

S M T W T F S
     12
3456789
10 111213141516
17181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 15th, 2025 07:36 am
Powered by Dreamwidth Studios