The technology behind GitHub’s new code search

roadrunner_ex@lemmy.ca to Programming@programming.dev – 41 points –
The technology behind GitHub’s new code search
github.blog
14

The new technology is: show a message saying "Whoaa! You have busted your limit!" on every search.

I didn't do a search for 6 months, but whhooaaa! Calm down with your searches!

I always found the code search more distracting than helpful. Just let me use the browser native Command + F ffs.

That doesn't really work all the time, because large files or large commits are lazy loaded on scroll, so what you're searching might not have loaded yet

The code search does a server side search

I think it's referring to when you're searching the entire code base(s), as opposed to individual pull requests.

Article is from February 6, 2023. I thought its something "new".

Oh, whoops! I didn’t notice its timestamp when I read it 😅

I enjoyed the article anyway. Thanks for sharing.

I wish they didn't switch to requiring a login to search code... seems like a big privacy issue cause you just know they're saving all those searches and associating it with your account.

That’s a fair point. I’ve always assumed it was a form of rate-limiting, but you’re right, that’ll be part of their analytics at least

I can see the argument from both sides... and maybe both is true. I think the same could be said about twitter... having to login to read tweets means they can easily track who looks at what... which is very valuable information to a lot of people with money.

This is Microsoft enshittifying the platform they acquired to squeeze more revenue. But this is totally fine, because as user hostile and evil as the Microsoft corporation measurably is, they made a cute jpg few years ago about loving opensource or something (yeah, I know, those are different things, but I'm calling out their PR bullshit and the usual bootlickers)

... we haven’t had a lot of luck using general text search products to power code search. The user experience is poor, ...

It is?