The technology behind GitHub’s new code search (github.blog)
from roadrunner_ex@lemmy.ca to programming@programming.dev on 18 Sep 2024 23:55
https://lemmy.ca/post/29261233

#programming

threaded - newest

thingsiplay@beehaw.org on 19 Sep 2024 05:37 next collapse

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

roadrunner_ex@lemmy.ca on 19 Sep 2024 15:11 collapse

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

nhu@programming.dev on 20 Sep 2024 16:08 collapse

I enjoyed the article anyway. Thanks for sharing.

PushButton@lemmy.world on 19 Sep 2024 07:39 next collapse

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!

undefined@links.hackliberty.org on 19 Sep 2024 07:43 collapse

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

RonSijm@programming.dev on 21 Sep 2024 13:18 next collapse

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

undefined@links.hackliberty.org on 22 Sep 2024 04:04 collapse

I’m usually using it not to search the codebase but to search for something specific with a file.

Venat0r@lemmy.world on 21 Sep 2024 19:13 collapse

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

hector@sh.itjust.works on 19 Sep 2024 12:18 next collapse

Code search is an amazing feature on large codebases :)

refalo@programming.dev on 19 Sep 2024 12:35 next collapse

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.

roadrunner_ex@lemmy.ca on 19 Sep 2024 15:14 next collapse

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

refalo@programming.dev on 19 Sep 2024 15:51 collapse

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.

u_tamtam@programming.dev on 21 Sep 2024 10:03 collapse

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)

Venat0r@lemmy.world on 21 Sep 2024 19:11 collapse

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

It is?