Edit:

Since theres been some confusion with dates

In 2016 github made site side searching login only and hid the search bar if you werent logged in. This didnt include searching within a repository so that could still be done, just not all repositories

This year was the change being referred to in this link which made repository level searching require logging in

Blog post: https://github.blog/changelog/2023-06-07-code-search-now-requires-login/

  • SamsonSeinfelder@feddit.de
    link
    fedilink
    arrow-up
    156
    arrow-down
    7
    ·
    1 year ago

    Hey Guys, Microsoft is cool now, they really care for Open Source now, they changed.

    How do people always forget, how often they get fucked by that company in the last 20 years, that they think anything changed? They still abuse their monopoly, they still buy up the work of others and they still will then dilute it down for their bottom line and restrict it to force you to use a login to harvest data on your profile (see also Windows).

    Everyone who said it’s cool that MS bought Github, because they are now Pro-Open-Source: Can we please have a round table every 2 years and talk. Because I think you guys are victims of the Stockholm syndrome and do not even notice.

    • takeda@lemmy.world
      link
      fedilink
      arrow-up
      44
      arrow-down
      3
      ·
      1 year ago

      Yeah, fuck Microsoft. They haven’t changed at all.

      For example I remember when they held monopoly in a browser market and purposely broke their sites for other browsers.

      Now the IE is gone, they have Chrome based Edge and are doing it again, if for example you try to use their office and make Teams call in Firefox it will refuse saying you should use Edge or Chrome. I’m guessing they are now trying again to claim they support another browser in case of antitrust, but Edge and Chrome is essentially the same thing. They just want to kill Firefox.

      • agilob@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        6
        ·
        1 year ago

        Yeah, fuck Microsoft. They haven’t changed at all.

        GitHub changed that a few months before acquisitions talks even started lol

    • TechNom (nobody)@programming.dev
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      1 year ago

      Apparently, this change was in 2016 - before MS bought them. However, I agree with your point. But the proof of that isn’t in restricting search to logged in users. It’s in how they ripped off FOSS code (esp GPL code) for training copilot. They did something that fundamentally damaged the roots of FOSS activity.

    • Jaysyn@kbin.social
      link
      fedilink
      arrow-up
      2
      arrow-down
      25
      ·
      edit-2
      1 year ago

      restrict it to force you to use a login to harvest data on your profile (see also Windows).

      FYI, there is no forcing here. Heavy suggestions, but no forcing. I’ve never used a MS or Hotmail account to log into Windows 10 or 11.

      • stifle867@programming.dev
        link
        fedilink
        arrow-up
        24
        arrow-down
        2
        ·
        edit-2
        1 year ago

        On new installs it does force you. I had to do it today (Windows 10). There are workaround such as attempting to log into a banned account, or other weird hacks involving disconnecting the internet and know the right combinations of hidden menus to navigate.

          • CosmicTurtle@lemmy.world
            link
            fedilink
            English
            arrow-up
            15
            ·
            1 year ago

            It shouldn’t have to be that way is the point. I shouldn’t have to take all these steps to opt out of getting a Microsoft account. Just like I shouldn’t have to click 3-5 times to deny cookies.

            It should be as simple as it used to be: Do you want to log in with your Microsoft account?

            User clicks “No thanks. I’ll log in locally.”

            • KirbyProton@feddit.uk
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              I agree it’s absolutely stupid, nothing I said was in support of it, I was just pointing out it wasn’t difficult to get around

      • agilob@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        6
        ·
        1 year ago

        Heres the blog post about the change dated in June this year

        Half year too late for that outrage anyway :)

    • burliman@lemm.ee
      link
      fedilink
      arrow-up
      36
      arrow-down
      6
      ·
      1 year ago

      I’m getting so exhausted with the constant outrage in every goddamn feed in my life.

    • The Hobbyist@lemmy.zip
      link
      fedilink
      arrow-up
      24
      ·
      1 year ago

      I have been able to search logged out within a repository, up to this year. I think what you are referring to is search across all repositories. That was indeed disables a while ago. But things did change this year, unfortunately. So yes there is a legitimate and new issue… Once more.

    • eronth@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      2
      ·
      1 year ago

      Oh is that why I can’t seem to figure out where the damn search function is anymore? That’s legit been driving me nuts for a few years.

    • mark@programming.dev
      link
      fedilink
      arrow-up
      3
      arrow-down
      2
      ·
      edit-2
      1 year ago

      This is helpful. Thanks. Didnt even realize it. No need to use something to point out how its not a good look. It’s still good to bring more awareness around how sites like Github are becoming a more of walled gardens. I agree with everything else you said though.

    • rifugee@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      16
      ·
      1 year ago

      What are you saying? We’re not supposed to form ignorant mobs with pitchforks?

  • lysdexic@programming.dev
    link
    fedilink
    English
    arrow-up
    38
    arrow-down
    12
    ·
    1 year ago

    The biggest news to me is that GitHub allows users to search code. Every single time I tried to search something in GitHub, search results were next to completely useless, and always a sure-fire waste of time and effort.

    There’s hope, I guess.

      • lysdexic@programming.dev
        link
        fedilink
        English
        arrow-up
        17
        arrow-down
        6
        ·
        1 year ago

        must have been a half ass attempt

        How hard do you need to try to use a feature for it to be considered decent? Do you expect something as basic as a search to put up a fight?

          • SpaceNoodle@lemmy.world
            link
            fedilink
            arrow-up
            4
            ·
            1 year ago

            GitHub search simply won’t find search terms that I know are there (because I can grep them in my local repo). It also fails to search all branches. There’s also insufficient filtering for filetypes or paths.

            Maybe I’m just spoiled from having used OpenGrok, as well as knowing how to use basic tools like find and grep, all of which I find substantially more useful.

        • grue@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          1
          ·
          edit-2
          1 year ago

          Do you expect something as basic as a search to put up a fight?

          Increasingly, you should be. Search algorithms from Amazon to Google are getting deliberately enshittified in order to force you to see what they want you to see instead of finding what you were actually looking for. For example, things like quotation marks and the minus operator no longer work. I would be supremely unsurprised to learn of Microsoft following suit.

          • nous@programming.dev
            link
            fedilink
            English
            arrow-up
            10
            arrow-down
            2
            ·
            edit-2
            1 year ago

            Just use the search bar… the only one they have that is on every page at the top right. That takes you to the results which defaults to code, but you can change it on the side to show repos, issues, prs, etc. You can even limit it to single repos or whole organisations.

              • Kuinox@lemmy.world
                link
                fedilink
                arrow-up
                6
                arrow-down
                2
                ·
                edit-2
                1 year ago

                You used the wrong search bar, you just used the one for the file list.
                There is a search icon on the top right.

                • lysdexic@programming.dev
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  arrow-down
                  1
                  ·
                  1 year ago

                  You used the wrong search bar, you just used the one for the file list.

                  The fact that one of the excuses for GitHub search results being subpar is that there is a right and a wrong search bar is already telling.

        • MajorHavoc@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          This is news to me. I’ve been cloning and searching for years because web search was useless. And by useless I mean - I know the word I’m looking for appears in exactly four places, formatted and capitalized exactly this way - and GitHub web search still doesn’t find it.

          It wouldn’t surprise me if it’s gotten massively better - but only in the way that choosing to ride a bicycle to work is a massive improvement over sitting on a random rock.

      • NotSteve_@lemmy.ca
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        1 year ago

        I don’t find the search too bad but what does make it difficult is digging through a million forks of a library. Sometimes I want to find how other people used an obscure library method and I end up having to wade through endless forks with the same repeated bit of code.

        This is more a complaint of people using forking as a like button but I do wish there was an option to exclude them from search.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 year ago

    Honestly, I can’t wait for Forgejo to implement federation. Gitlab might do so too after Forgejo shows that it’s possible and gets a major following. They already are letting one external dude implement it after having slept on it for a good decade.

    • MajorHavoc@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      Yeah. Right now GitHub is the only choice for my work to be seen; but someone is going to fix that by adopting activity Pub.

      I’ll run my own instance once that’s an option.

      Someone please correct me if it’s already in play and I’ve just missed it.

  • farcaller@fstab.sh
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    1 year ago

    FWIW Sourcegraph chrome extension adds a neat “open in Sourcegraph” to github pages and SG is just superior. Why would you use Github’s mediocre search either way ¯\_(ツ)_/¯

  • Free Palestine 🇵🇸@sh.itjust.works
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    2023, the year of Big Tech companies restricting their users in every single possible way. But why is 2023 not the year of users finally waking up and switching away from this proprietary garbage?

    • TechNom (nobody)@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 year ago

      The last part is happening. A lot of people switched to gogs/gitea/forgejo instances like codeberg when GH pulled a copilot on them. Lemmy went from being an obscure platform to a good one with lots of new users, better codebase and loads of clients when Reddit screwed its users. Mastodon was already healthy, but ballooned in size when twitter was trashed by Musk. YouTube is the only platform standing without a viable alternative, but people are trying after their adblock shenanigans.

      Are the big proprietary platforms dead yet? No. Did they lose the audience - only a little bit. But it has made the alternative open platforms healthy and stronger. We are no longer in a condition where big platforms can just screw their users knowing that nothing will happen to them. Each transgression will cause more and more people to migrate. That’s a good thing.

    • m_r_butts@kbin.social
      link
      fedilink
      arrow-up
      1
      arrow-down
      2
      ·
      1 year ago

      Because for them, it’s exhausting. If you’re a regular person who thinks of a computer as an appliance and you’ve learned how to use it by memorizing steps (click here, click that, that makes The Excel open) instead of understanding the system as a whole, you’re starting from so far behind the curve it would be like asking them to take a few semesters of night classes at a community college just to understand how this shit even works, let alone what to do about it. Fuck, I get tired of it, and I’m at least literate in the domain.

      Imagine trying to teach any exhausted mom or pop what a “cookie” even is at the end of a workday. Or to explain to someone why the social site they use to share pictures of their kids is evil. Or how that same social site puts an invisible dot on your computer that spies on you. Or why it’s really not in their best interest to have ads show them stuff they genuinely like. You’ll sound crazy! Absolutely paranoid. Facebook hasn’t come to my house with guns! Jesus! Now let me get back to the “news” here about how the other political party drinks blood from children.

      Even if you got them to wake up, so to speak, what are they going to do? Are the same kind of people that loved the cute purple gorilla Bonzi Buddy and thought it was normal to have 17 toolbars in Internet Explorer – are they really going to be just fine moving to Ubuntu? They’ll throw the whole machine in the trash the first time they need to call their ISP and get told “we don’t officially support Linux”. They’ll return it to the store as broken when their new printer doesn’t automatically work. (What the fuck is CUPS?)

      Throwing it all in the trash Ron Swanson-style is the other option – maybe a better one – except it isn’t an option at all. Because the web is so integral to doing any kind of business or banking now that you can’t just go full Walden Pond and function in society.

  • ParetoOptimalDev@lemmy.today
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    Microsoft sucks for this, outlook, “open source vscode”, and many other reasons.

    That said my current workaround is to use sourcegraph.

    • m_r_butts@kbin.social
      link
      fedilink
      arrow-up
      19
      arrow-down
      4
      ·
      1 year ago

      This ain’t enshittification.

      Sure it is. The fact it happened in 2016 doesn’t make it less shitty.

      • towerful@programming.dev
        link
        fedilink
        arrow-up
        4
        arrow-down
        9
        ·
        1 year ago

        I don’t know that “requiring a free account” is enshitification.
        Enshitification is the pursuit of profits at the expense of users and core experience.

        Sure, it’s annoying. Especially if I’m checking something on a random computer that I don’t want to log into GitHub with.
        But worst case, I can search on my phone then navigate to the file.

        • m_r_butts@kbin.social
          link
          fedilink
          arrow-up
          10
          arrow-down
          1
          ·
          1 year ago

          pursuit of profits

          What non-profit motive do you think they have for requiring a login?

          • towerful@programming.dev
            link
            fedilink
            arrow-up
            2
            arrow-down
            1
            ·
            edit-2
            1 year ago

            Right, and at the expense of who?
            You can’t just quote a small section of what I say, and “gotcha” me.
            How is this at the expense of users or core experience ?

            • m_r_butts@kbin.social
              link
              fedilink
              arrow-up
              4
              ·
              1 year ago

              I’ll do one drastic, but not unthinkable, example. The Signal messenger source is on GitHub. You can’t imagine a single oppressive government out there that would be keenly interested knowing who in their country is interacting with it? Or maybe you haven’t noticed that there are a lot of countries not too keen on encryption, trying to backdoor everything or just straight-up outlaw encryption. This isn’t just about a single login box. “Who’s looking at what” is the kind of surveillance that blacklists thrive on.

              And please don’t come back with “then use a fake email”. Once you’re that far gone, you’re definitely breaking a user’s “core experience”.

              • towerful@programming.dev
                link
                fedilink
                arrow-up
                1
                ·
                1 year ago

                I’m clearly using GitHub wrong if the search feature is that important.
                Just download the code. You don’t have to be logged in for that (that would be more of an example of enshitification). Then you can search it however you want.

            • averyminya@beehaw.org
              link
              fedilink
              arrow-up
              1
              ·
              1 year ago

              Well for the experience of users, cookies/tracking/having to log in.

              Personally, I’m annoyed when I’m trying to do a basic function and am forced to log in. I’m not affected by this particular case with GitHub, but as a user where this happens elsewhere it is annoying.

              I’d be interested in the rationale behind the decision, asking your same question to them. Why do they need account login to search repositories?