Live data from Hacker News

GitHub code search is generally available

github.blog

51–60 of 156 posts

Re: GitHub code search is generally available

#52
post #51

I initially thought “generally available” refers to removing the login wall. I remember when you didn’t have to sign in to search code on GitHub; I miss that.

Probably due to bot abuse. Can't have nice things on the internet.

Requiring an account makes rate limiting vs botnets easier.

Re: GitHub code search is generally available

#53
post #49
post #7

I'm Colin from GitHub's code search team, happy to answer any questions. For more info on how we built this, you can check out our technical blog post from a few months ago https://github.blog/2023-02-06-the-technology-behind-githubs...

Will this make it to GH enterprise eventually?

Yes, we're working on bringing it to GitHub enterprise right now.

Re: GitHub code search is generally available

#54
post #26

Surprised more people aren't talking about how Microsoft has a near monopoly on the developer ecosystem. They've got GitHub, OpenAI, and VS Code all working together and collecting data that strengthen each other's products while also using their embrace, extend, extinguish strategy with WSL and all of these steer people towards Azure services whenever possible. Seems like something that verges on an anti-trust situa…

I guess Steve Ballmer was right all along...

About developers?

Re: GitHub code search is generally available

#55

Earlier quoted context omitted.

Is the difference that now the basic search functionality actually works? The previous standard GitHub search I found to be remarkably bad. I would be looking at some small public repo, search for an exact string match I know exists in the code, scope the search to that repo only, and still see zero results. Even copy-pasting a line of code from a file in the repo often resulted in zero matches.

I don't get it too. Maybe one needs to enable something. The search is still useless. Locally I use git-grep.

Same experience here. Are there advertisement accounts posting here or something? Legitimately weird.

Re: GitHub code search is generally available

#56

Earlier quoted context omitted.

Is the difference that now the basic search functionality actually works? The previous standard GitHub search I found to be remarkably bad. I would be looking at some small public repo, search for an exact string match I know exists in the code, scope the search to that repo only, and still see zero results. Even copy-pasting a line of code from a file in the repo often resulted in zero matches.

I don't get it too. Maybe one needs to enable something. The search is still useless. Locally I use git-grep.

You might want to consider replacing git-grep with ripgrep.

Re: GitHub code search is generally available

#57

Surprised more people aren't talking about how Microsoft has a near monopoly on the developer ecosystem. They've got GitHub, OpenAI, and VS Code all working together and collecting data that strengthen each other's products while also using their embrace, extend, extinguish strategy with WSL and all of these steer people towards Azure services whenever possible. Seems like something that verges on an anti-trust situa…

> more people aren't talking about how Microsoft has a near monopoly on the developer ecosystem.

But do they? In my day job, outside of the occasional use of Visual Studio and developing on a Windows machine, I use no Microsoft products for development.

> credit to Microsoft for rehabbing their reputation with developers

With a fair number of younger developers, but certainly not all. Most devs I know don't think of Microsoft any more kindly now than in the past.

Re: GitHub code search is generally available

#59
post #7

I'm Colin from GitHub's code search team, happy to answer any questions. For more info on how we built this, you can check out our technical blog post from a few months ago https://github.blog/2023-02-06-the-technology-behind-githubs...

Any plans to add support for Vue SFC syntax highlighting?

Edit: correction it looks like that's been fixed since last week, nm

Post reply on HN