Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I see the same issue on GitHub too. Recently searched for a Windows API call and neither Google nor DuckDuckGo nor GitHub returned any result.

Cloned a git repo where I thought I remembered seeing the function and 500 MB of downloading later grep confirms that I remembered correctly and that the exact keyword I had been searching for is present multiple times in the source code.

My hunch is that since coders use an ad blocker anyway, it's not financially viable to operate source code search on the public internet.




I had this exact thing happen to me yesterday. I copied a function header from GitHub and searched in GitHub search for it to find the declaration. No results. Clonsed the repo, and clicked "Go to declaration" in my IDE bum "you have reached your destination". Wtf?


Yeah, GitHub's search is next to useless to me because I can't trust it. I search for a string, maybe get some results, but I can't be confident that those are all the occurences of the string I searched for.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: