The Dow Jones index rises Friday while the Nasdaq struggles with tech losses.