I don't know that racists and chauvinists (maybe Clinton was not the right woman?) alone could have gotten him elected. Trump was able to garner support in key states where Clinton did not stage a proper defense. Perhaps if she had not acted as if she were owed the presidency and worked her ass off, she may have pulled it off. Trump, like him or not, was relentless; during those last few days he was everywhere. Where was Clinton? Taking a nap. It's her fault she lost. She failed to do what she needed to do to get her supporters to vote for her. She had every advantage (the media cheerleading for her) and yet she could not get it done. This time the turtle did not win the race.
In re the judicial nominee: yikes. He should have known all of those things; I'm sure he has an impressive resume, but he's unqualified to be a judge.