Live data from Hacker News

GitHub code search is generally available

github.blog

81–90 of 156 posts

Re: GitHub code search is generally available

#81
post #76

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 would expect them to purchase StackOverflow too. I guess it's not that essential, seems a low cost acquisition.

Why would they purchase StackOverflow ? They are partnered with the StackOverflow killer: ChatGPT.

Re: GitHub code search is generally available

#82
post #57

Earlier quoted context omitted.

> 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…

I don't think they have one today, but it is looking like they could soon have one. Especially since I believe recent reports show that Azure is starting out pace AWS in adoption? So you have .NET, Visual Studio (Code), Azure, Github, OpenAI, Windows, and I am pretty sure more I am forgetting about. I think the big one that wasn't initially mentioned was Azure.

All of that adds up to having a very significant, perhaps majority, of the market locked up. But it's also all centering around a particular sort of product and product development. Microsoft might be able to lock up that segment, but I don't think they're in a position to monopolize the larger software development space in the near or medium future.

Re: GitHub code search is generally available

#83
post #48

Earlier quoted context omitted.

Absolutely. GitHub Code Search is by far the most valuable online development tool I have used the past year. It is so much more useful than Copilot or any of the AI LLMs in my experience. With Code Search, I have: * Rewritten a CMake build system, which would have been practically impossible without access to real-world examples because of how poorly designed and documented it is; * Validated machine-generated trans…

That's really interesting, do you have any examples handy of search queries you used?

I'm not the one you asked to, but here my usages:

Searching how an API is used.

Searching how people configured something.

Searching accidental uses of an attribute:

https://github.com/dotnet/csharplang/discussions/5657#discus...

Re: GitHub code search is generally available

#84
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...

Great stuff, is there any update on searches which include code in branches? I often manually find interesting work done in development branches of cloned repos of the one I'm focused on but which never sees the light of day and not found in search. I imagine having the network also part of the search would be a good facet.

Re: GitHub code search is generally available

#85
post #70

Earlier quoted context omitted.

It seems you still need to enable the feature. Click your user icon in the top right -> choose "Feature preview" in the dropdown -> enable the "New Code Search and Code View" feature.

How that is not standard for the last 10 years is baffling.

Indexing/searching properly such massive data is not easy feat.

Re: GitHub code search is generally available

#87
post #81
post #76

Earlier quoted context omitted.

I would expect them to purchase StackOverflow too. I guess it's not that essential, seems a low cost acquisition.

Why would they purchase StackOverflow ? They are partnered with the StackOverflow killer: ChatGPT.

If StackOverflow dies, surely the developer-relevant quality of training data will suffer?

After all, the capabilities of ChatGPT are basically proportional to how well a topic is represented in the training data, which is largely the internet.

Re: GitHub code search is generally available

#89

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…

Don't forget TypeScript and npm as well which basically covers 99% of the JavaScript ecosystem if not more.

Then Dependabot for large swatches of more developers outside of the earlier mentioned ecosystems. LinkedIn for everyone's career.

Re: GitHub code search is generally available

#90

Earlier quoted context omitted.

Loving the new Code Search! Might be super specific, but is there any syntax for searching attributes in HTML elements. For example if a React Component called what's the best way to find all the buttons that are red?

Hmm, you can construct a regular expression, something like: lang:tsx / Example: https://github.com/search?q=lang%3Atsx+%2F%3CButton%5B%5E%5C...

Ooh nice, this looks great! Thanks!!
Post reply on HN