So I while I agree with the notion that one will become better with practice, I question the ideas that all will progress at a similar rate and that the "ceiling" for their abilities are at the same level of skill.
I think a bit of success bias is operating here. If you take the average NBA player and ask him why he made it, he'll likely cite hard work, having a winning attitude, or something to a similar effect. The fact that he is six foot six never enters into the equation. The chances of an athletically gifted giant making it to the NBA are inherently different than those of one who may have a natural tendency to programm.
To pretend like the two could switch places and, having put in a lot of practice hours, end up in the same place, is either naïveté or self-deception.
The personality traits that let you become a great writer or programmer are not innate in everybody. And for the most part you can't reshape a personality to have the right traits. It's not talent, but the right precondition to make use of the practice.
I don't have any reason to believe there exists such a thing as an identifiable "personality trait that let's you become a great writer or programmer". Perhaps a predisposition towards "being good at what you do" and "practicing and studying to become better" is such a thing, but when I speak for myself I know such tendencies can thoroughly change over time.
I believe it's easy to engage in armchair psychology, while simultaneously thinking ourselves members of a special breed.
I don't think there is such a thing as an identifiable personality trait, not in the way you mean it.
Yet I'll propose to you a simple proof of two points. The first point is that there is more going on than simply applying yourself. And the second point is that whatever that is, it has to do with your personality.
To the first point: If there was a recipe to greatness (the Amadeus, Shakespeare, Einstein, Goedel, Knuth kind) then everybody would simply do it and we'd be a race of supermen. So obviously any argument for the existence of such a recipe has to be fundamentally flawed.
This presents us with a paradox, as we do know that great people did apply themselves to become what they are, and we know that within bounds everybody is equipped with the same mental facilities. How do we reconcile this?
To the second point: Great people applied themselves over decades and tens of thousands of hours. This level of commitment can neither be forced upon you, nor can you make yourself do it with discipline. You will have to find a drive inside yourself to do it. All things being equal and your personality being fully formed as you enter your teens, the answer obviously is that how that happens is your personality.
You cannot predict how the personality of a person will interact with that persons life and goals, so there is no "identifyable". But with hindsight you can analyze a person and see what made somebody apply himself consistently for decades. And every person is different, so you cannot predict if a person will become great or not.
If all survivors did A and none did not do A, then A is likely to be at least a precondition. But more than that: the number of people that choose to spend time deliberately studying and practicing is already so small that there is room for them all to be Great. I am convinced that nearly every single person that deliberately studies and practices to become better at what he does will become Great at what he does, because 'Great' is a relative concept and most people are easily contented.
If you practiced basketball every day for the next year, and enjoyed doing that, you'd be an excellent basketball player after that year. That you couldn't make it as a pro doesn't detract anything from that.
There's a near infinite amount of things every single one of us could do if they wanted to. The only problem is that we usually do not want to. The number of things that you truly can't do because it depends on some physical characteristic is fairly limited.
You could be a physics professor, an awesome captain, an excellent stock broker or a locally successful artist. You are just not interested in any of those things.
I still run 25 years later, but just for fun. Perhaps I could run a three-hour marathon if I really cared, but that's far from great. Note that this is completely unrelated to the enjoyment you derive from the activity.
If you want to be great at something, you have to pick your battles and play to your strengths. Some people just cannot be great programmers no matter how hard they try. Most people can be great at something if they try hard enough, but most people cannot be great at programming. That was the point that you seem to miss.
I think Richard Hamming is out of his depth here, as evidenced by his use of naive anecdotes and analogies. If programming is like writing, it is like a severely restricted writing exercise, where you can only use certain grammatical structures, where you have to define a lot of words explicitly and where your stories have to explain to a machine how to achieve a slew of mundane goals.