Live data from Hacker News

GitHub Code Search – Programmers' Goldmine

jakubdziworski.github.io

31–40 of 63 posts

Re: GitHub Code Search – Programmers' Goldmine

#34
post #30

Shameless plug: there’s also Debian Code Search at https://codesearch.debian.net/ . It’s based on the same idea as Google Code Search (using regular expressions sped up by a trigram index) and indexes everything that is available in Debian sid. If your search on GitHub isn’t fruitful, consider giving Debian Code Search a spin. Disclaimer: I built it. Happy to answer questions if you have any.

thanks for the project :) One query - Is it actively maintained? The reason is I see "2012-2014 Debian Code Search" on the footer. So just wanted to check!

Re: GitHub Code Search – Programmers' Goldmine

#35
It can be difficult to verify the quality of code in GitHub. Even well know products that work really well can be implemented with awful code. I suspect the vast majority of projects on GitHub are experimental and unfinished. Using this feature would be very unlike a system like Stack Overflow where there are strong incentives to provide good answers.

Still, if the user is aware of these pitfalls then it could be quite useful. Perhaps it could be improved if GitHub provided some incentive for developers to showcase their better work as 'known good' examples and let the community vote on the quality, similar to the Stack Overflow model.

Re: GitHub Code Search – Programmers' Goldmine

#36

Earlier quoted context omitted.

Have you checked out out https://sourcegraph.com/ ? It has awesome code search and navigation for github.

I am. But they don't support he languages I care about these days. Which is mostly swift I guess.

Sourcegraph CEO here. Go to https://sourcegraph.com/beta to get early access and to vote for your favorite language. We hear you and are rapidly adding support for new languages. :)

(BTW: Passionate about a language and want to help us build Sourcegraph support for it, or know someone who'd be interested? Email me at sqs@sourcegraph.com. We can sponsor you. The latest requirements for adding a new language are not yet publicly documented, so contact us before getting started.)

Re: GitHub Code Search – Programmers' Goldmine

#37
post #34
post #30

Shameless plug: there’s also Debian Code Search at https://codesearch.debian.net/ . It’s based on the same idea as Google Code Search (using regular expressions sped up by a trigram index) and indexes everything that is available in Debian sid. If your search on GitHub isn’t fruitful, consider giving Debian Code Search a spin. Disclaimer: I built it. Happy to answer questions if you have any.

thanks for the project :) One query - Is it actively maintained? The reason is I see "2012-2014 Debian Code Search" on the footer. So just wanted to check!

It is! https://github.com/Debian/dcs/commit/e1c04a3c0cfbfc11a0e8eaa...

Check out https://people.debian.org/~stapelberg//2016/08/08/debian-cod... for details on the most recent bigger change.

Re: GitHub Code Search – Programmers' Goldmine

#38
post #37
post #34

Earlier quoted context omitted.

thanks for the project :) One query - Is it actively maintained? The reason is I see "2012-2014 Debian Code Search" on the footer. So just wanted to check!

It is! https://github.com/Debian/dcs/commit/e1c04a3c0cfbfc11a0e8eaa... Check out https://people.debian.org/~stapelberg//2016/08/08/debian-cod... for details on the most recent bigger change.

thanks for the confirmation & details.

Re: GitHub Code Search – Programmers' Goldmine

#39
post #2

This is what I've been using as of late to learn new technologies. I always seem to forget to tell younger developers about using this approach to learn. Something else I would add is that you should try to find well known OSS contributors that work on projects that use tech/languages you use. If you monitor their projects you can pick up great habits from reading through their code.

Sounds like a great approach. Can you (or anyone else) recommend contributors to follow?

Re: GitHub Code Search – Programmers' Goldmine

#40

If anyone from github is reading this, I would totally pay for a much better search. Like even $20-30/month. If you deduplicate results (it sucks when you are searching for something that's appears In a popular library) and like make it integrated with my ide, I think that it would spike my productivity by like thousand percent.

Have you checked out out https://sourcegraph.com/ ? It has awesome code search and navigation for github.

Kind of expected that you would be able to search all of GitHub there but it seems to be limited to selected libraries and your own repos? Also, surprised that C is not supported.. Personally I'm using GitHub's code search to discover dumps of code and docs for random Chinese hardware (SBCs and such). I've found it much easier than trying to find SDKs on Baidu's file sharing site (Baidu Pan).
Post reply on HN