Reiterating austennailred, despite being miles way from ESR or Linus, the "curse of the gifted" is 100% real, but I think it can actually be beneficial in the long run for a certain type of "gifted".
There is one on hand the "gifted" who runs on his own fumes with no other form of external effort. Much like @austennailred notes about his efforts in high school mathematics, this type of "gifted" often suffers from something similar to the Dunning-Kruger effect in the long run --> in other words, a sense of superiority can potentially drive you into believing you are better than you actually are.
This, I believe, can happen when people attempt to pursue things which do not particularly satisfy their innate curiosity or their genuine interests. Sure you can be great at math naturally, but your view of how good you are limited by the population size of those you compare yourself against can leave you damagingly unprepared when you realize that you actually aren't as great as you thought you were.
What makes the "curse of the gifted" the "blessing of the gifted" on the other hand, is when that moment where you realize your own fallibility seems to provide a moment of illumination rather than a sense of dejection.
For me, my first attempts at genuine college level discrete mathematics versus having used basic counting, permutations, probability, number theory principles in the past showed that computer science or at least the mathematics of computer science can be difficult. I had a similar issue in chemistry as well. The difference was even though I was always a strong math and science student, approaching college level chemistry made me just feel inferior and made me drop it. On the other hand, when faced with adversity in mathematics/CS I tended to take the difficulty as a challenge. Rather than drop it, realizing that perhaps there were others who could be better at mathematics, CS in this new environment drove me to pushing myself to a place of intense focus I had had before.
Now this is where I think passion crosses with the concept of the "curse of the gifted" to make it more of a blessing than a curse. When you love something and you know what it feels like to be best, realizing your own shortcomings can sometimes cause you to miss that feeling. Now in order to get back to a place where you "feel gifted" you have to be in love with the work to get there over "the idea of being gifted" and this I think can happen to those who are put in a position where the feeling of "being gifted" is compromised.
Anyway, just my view, first "longer" post I've written on HN but I thought austennailred had a great point and just wanted to comment.
Great piece by both Eric and Linus and crazy to think how 14 years later, we have Git.