Discipline and grit are perhaps the greatest predictors for success. High intelligence and the foresight to know what to work on, per Hamming, will get you much farther, but with discipline and grit alone your chances of failing completely and ending up in the poor house are much reduced.