There was time when being a software developer was not a particularly prestigious or well-paying job in corporations, or maybe a weird hobby of developing games for the toy 8-bit entertainment computers of the day. It was mostly attracting people who enjoyed interacting with computers, were highly curious, etc.
Then there was a glorious time when the profession of software engineering was growing in importance by the day, hackers became heroes, some made fortunes (see e.g. Carmack or, well, Zuckerberg). But this very wave was the harbinger of the demise: the field became a magnet for people who primarily wanted money. These people definitely can be competent engineers! But the structure of their motivation is different, so the culture was shifting, too. Now programming is a well-paid skilled trade, like being a carpenter or a nurse.
If you want hacker ethos again, look for an obscure field which is considered weird, is not particularly well-paid, but attracts you.