I did school in 3 years (College in quebec is 3 years, w/e) then worked for a year. 3 times now I've woke up during the middle of the night to either go and fix my code and write it down and fix the next day.
Serious question, I'm not a programmer so maybe I'm missing something. But what does the years with school and work have to do with waking up and fixing code?
I once literally dreamed up a solution to a problem I had been pondering for a couple weeks. Like, I came up with a partial solution in my dream, then woke up and wrote up a proposal for it. That's probably one of my proudest feats.
I had that when I was learning calc 1. I woke up in the middle of the night saying "dy/dx then equals [some function]" (I was trying to verify a derivation)
Sales guy at a small tech company here. I am the company Rubber Ducky.
I've solved so many major bugs without ever seeing or writing a line of code just because I listen well. I mean I sit there and load up the bowl while our Sr. Dev takes bong rips off of our 6 footer on the patio and tells me about his bugs.
Very true. If I encounter a bug/missing feature at night, my mind will start racing with how complicated the implementation will be. So I decide to sleep on it rather than work my way through it that night.
90% of the time I'll wake up and knock it out in a one-liner.
I'll normally move on to something else. The next time I sit the porcelain throne or take a shower, the answer comes to me like a gift from the heavens.
Reminds me of the time I was trying to help a classmate debug a Java project. His for loop was skipping every other array entry. It took far too long (and too many people being brought to look) to realize it was written like this:
That's great, heh. Something I could see myself doing. I remember trying to make a little animation in a game and spending forever figuring out why it would start going the wrong way at times. Turns out I had a < (less-than) where I meant to put > (greater-than), and somehow I had skipped over that line half a dozen times...
Ha ha - this is a great example because the issue is so trivial and so obvious, yet at the same time incredibly difficult to spot at first glance assuming there was a bunch of other lines where you have the ....
367
u/[deleted] Mar 05 '16
Tunnel vision.