The technology behind GitHub’s new code search - eviltoast
  • Venat0r@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 day ago

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

    It is?

  • PushButton@lemmy.world
    link
    fedilink
    arrow-up
    23
    arrow-down
    2
    ·
    4 days ago

    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!

      • Venat0r@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        1 day ago

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

      • RonSijm@programming.dev
        link
        fedilink
        arrow-up
        6
        ·
        2 days ago

        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

  • refalo@programming.dev
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    4 days ago

    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.

    • u_tamtam@programming.dev
      link
      fedilink
      arrow-up
      1
      ·
      2 days ago

      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)

    • roadrunner_ex@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      3 days ago

      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
        link
        fedilink
        arrow-up
        4
        ·
        3 days ago

        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.