Since the 1960s, long hair on guys has become more common among the general population, but there's still a tendency to associate it with a few particular subcultures. The four I've found the most common occurrences are with geeks, folkies, metalheads, and political radicals.
In some way or another, I happen to be all four.