I search for ".2f}%'.format(100" and then send a push request to simplify the code.
See https://github.com/EdwardBetts?tab=overview&from=2016-04-19
21–30 of 63 posts
I search for ".2f}%'.format(100" and then send a push request to simplify the code.
See https://github.com/EdwardBetts?tab=overview&from=2016-04-19
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.
I've been using GitHub code search to let other Python programmers know about the % string formatter. I search for ".2f}%'.format(100" and then send a push request to simplify the code. See https://github.com/EdwardBetts?tab=overview&from=2016-04-19
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.
I've been using GitHub code search to let other Python programmers know about the % string formatter. I search for ".2f}%'.format(100" and then send a push request to simplify the code. See https://github.com/EdwardBetts?tab=overview&from=2016-04-19
And what is the simplification? I can't see it in your git repo
I've been using GitHub code search to let other Python programmers know about the % string formatter. I search for ".2f}%'.format(100" and then send a push request to simplify the code. See https://github.com/EdwardBetts?tab=overview&from=2016-04-19
And what is the simplification? I can't see it in your git repo
as great as it is to be able to search source code in github is, it is equally (if not more) frustrating. I think it works fine for simple searches mentioned in the post, but anything even slightly more advanced doesn't work very well. I also wish there was a way to search in branches other than master
> I also wish there was a way to search in branches other than master This is actually an insanely hard problem to solve, given current technology. Right now, you can either try to index a little bit of everything, which is what GitHub and others (GitLab, Bitbucket, etc.) are doing. Or you can take the approach that I'm taking, which is make it possible for the user to search any branch they want, but limit the numbe…
It's a workaround to do search in different branches on 1 repo, but works fine
Earlier quoted context omitted.
> I also wish there was a way to search in branches other than master This is actually an insanely hard problem to solve, given current technology. Right now, you can either try to index a little bit of everything, which is what GitHub and others (GitLab, Bitbucket, etc.) are doing. Or you can take the approach that I'm taking, which is make it possible for the user to search any branch they want, but limit the numbe…
Interesting Approach, we did similar in RhodeCode. You can pick search refs like Branches, Bookmarks, Tags for each repo individually. With this you can create few forks and set different search setup for them. It's a workaround to do search in different branches on 1 repo, but works fine
https://www.youtube.com/watch?v=-VQVmh0UOnU
What may not be obvious from the video is, indexing additional branches is extremely efficient and fast, since most branches usually share 90 - 99% of the same content.
My indexing technology, also introduces a "group" concept, which makes it possible for you to share indices across similar repos, which makes indexing hundreds of forked repos, quite efficient and fast.
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.