There are plenty of students studying out of interest. It's very common to e.g. study excess courses. Many doing their theses can work very independently and go way beyond what's required.
Highly self-driven students are a minority, but not a rarity. People do things out of being interested and enjoying learning. It shouldn't be a surprise in a website called hacker news.