Mixed week for US stocks as tech suffers