Skip to main content

Every problem has a solution, but do you see it?

We all have problems, or let's call them challenges, that at the moment they occur, seem insurmountable. I certainly do. While writing computer code to solve some of the world's most urgent problems (sic), I regularly encounter them. Those moments of absolute despair, when I cannot move on. I try google, the know-it-all  search engine, but that does not work. Then I try stackoverflow, the developer's paradise, but I still hit a deadlock.

At this moment, I have 2 options. The most sensible one at first glance, is to keep searching for the solution; keep googling and so on. This is a fatal error(sic). When my brain encounters such barriers, for some reason, it goes into a deadlock. Every effort I make into resolving the issue is counterproductive. I actually make zero progress.

And the second option? I leave the problem. I close the IDE (Visual studio, Eclipse etc.) and shutdown my laptop. I go make a cup of tea and watch a silly show on TV. I go for a walk, or listen to music and dance to catchy tunes. This break is important. It can last an hour, or a day or 2, depending on the perceived magnitude of the problem.

When I come back to the challenge a few days later, I look at the problem with fresh eyes. And to my consternation, the answer "reveals" itself. It seems so obvious, why did I not see it before?

Image courtesy: http://www.giftstogive.org/


Well, now that I have cracked that SQL code, I can thankfully move the project ahead, hoping that my supervisor has not lost patience with me.

And that is my 2-ndururu tactic to solve all problems that seem impossible.

Comments

Popular posts from this blog

They told us to wait

They said we should wait. The wazees were deliberating. They were discussing "important" issues of national security and interest. So, we walked out. We stood by the door. It was raining hard, and we strained to stand as close to the wall as possible, to avoid getting drenched. Inside, the air was exuberant. The wazees were laughing heartily as they imbibed to their fill with nyama choma and Tusker baridi . My stomach was grumbling. I looked around at my friend. She was shivering. "She's going to catch a cold if we don't get somewhere warm soon," I thought to myself. I could stay here and wait to see the wazees and tell them why we had come. Or I could save my skin and call it a day (or night). I chose the former. I motioned to Wanjiku to follow me. She seemed shocked. We had come so far, having walked in the wind and rain for two hours. She was heavy with child, and due any day now. We passed the Toyota VXs that had transported the wazees to

Analyzing a carry trade proposal: Short USD, go long on bitcoin

I recently completed an assignment for an International Economics Policy class which entailed designing a carry trade. A carry trade is a financial transaction that involves borrowing (short) in a low interest currency, and lending (go long) in a high interest (yield) currency. For instance from Bloomberg 's rates for bonds, this would involve borrowing in Swiss francs (rate is -0.15 percent) and lend in New Zealand dollars (rate is 2.83 percent). All else remaining equal, the carry trade would yield a rate differential of 2.83+0.15 = 2.98 percent. Note: this is an unusual case where the interest rate we are borrowing from is negative; usually, this would involve subtracting the first interest rate from the second. For instance, borrowing in Japanese yen (0.04 percent) and lending in Kiwi dollars (at 2.83 percent) would yield 2.79 percent as profit. My carry trade in this case involves borrowing in USD at a rate of 2.33 percent, and buying bitcoins. But, what, you may ask, is the

Everything is God

Nothing is too small for God Nothing is too big God is everything God is not mocked God does not mock God is Do not despise anything Do not think yourself too big for anything Do not think yourself too small for anything For you are God A true expression of what God is A child of God A part of God Therefore there's nothing to fear Whatever action you take Wherever you go Whatever you choose Whomever you choose That you have chosen And nothing else could have happened There's no other place you could have been Here you are Right here is where you are And nowhere else And yet everywhere else And therefore, nothing to fear Nothing at all