The major indexes posted gains Friday after heavy selling throughout the week. Nvidia and Palantir acted strongly on the ...