Hacker News new | ask | show | jobs
by kreetx 2045 days ago
The benefit of people throwing their code up on github is that it now can also be searched through. So if there is a configuration variable or a function you are wondering about - you can now find what others are doing. (And https://grep.app/ has a fast UI for this)
2 comments

Can I just rant about how atrociously terrible and primitive GitHub's search features are?

It's quite common for me to search for something and get tens of thousands of identical results which GitHub forces me to scroll through one page at a time.

It would be so much better if GitHub just showed me one single result for all those thousand which are exactly the same, and let me expand that result if I wanted to see one of the other identical matches.

Also helpful would be a way to filter out filenames (or, even better patterns.. better still regexes) which I don't want.

That would make their search results actually useful.

As it is, unless you're searching for something exceptionally rare, they're next to useless.

Came here to say this. I mean, just trying to figure out how to use a particular Emacs function, I can search GitHub for that function and find hundreds of examples of people using it. So incredibly useful.