It’s been a rough ride for tech stocks this year.