• varnia@lemm.ee
    link
    fedilink
    arrow-up
    3
    ·
    7 hours ago

    Good thing I moved all my repos from git[lab|hub] to Codeberg recently.

  • Lv_InSaNe_vL@lemmy.world
    link
    fedilink
    arrow-up
    38
    arrow-down
    4
    ·
    edit-2
    22 hours ago

    I honestly don’t really see the problem here. This seems to mostly be targeting scrapers.

    For unauthenticated users you are limited to public data only and 60 requests per hour, or 30k if you’re using Git LFS. And for authenticated users it’s 60k/hr.

    What could you possibly be doing besides scraping that would hit those limits?

    • MangoPenguin@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      8
      ·
      10 hours ago

      60 requests per hour per IP could easily be hit from say, uBlock origin updating filter lists in a household with 5-10 devices.

    • chaospatterns@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      23
      arrow-down
      2
      ·
      edit-2
      20 hours ago

      You might behind a shared IP with NAT or CG-NAT that shares that limit with others, or might be fetching files from raw.githubusercontent.com as part of an update system that doesn’t have access to browser credentials, or Git cloning over https:// to avoid having to unlock your SSH key every time, or cloning a Git repo with submodules that separately issue requests. An hour is a long time. Imagine if you let uBlock Origin update filter lists, then you git clone something with a few modules, and so does your coworker and now you’re blocked for an entire hour.

    • Disregard3145@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      19 hours ago

      I hit those many times when signed out just scrolling through the code. The front end must be sending off tonnes of background requests

  • onlinepersona@programming.dev
    link
    fedilink
    arrow-up
    41
    arrow-down
    4
    ·
    1 day ago

    I see the “just create an account” and “just login” crowd have joined the discussion. Some people will defend a monopolist no matter what. If github introduced ID checks à la Google or required a Microsoft account to login, they’d just shrug and go “create a Microsoft account then, stop bitching”. They don’t realise they are being boiled and don’t care. Consoomer behaviour.

    Anti Commercial-AI license

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      1
      ·
      2 hours ago

      Or we just realize that GitHub without logging in is a service we are getting for free. And when there’s something free, there’s someone trying to exploit it. Using GitHub while logged in is also free and has none of these limits, while allowing them to much easier block exploiters.

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        2 hours ago

        I would like to remind you that you are arguing for a monopolist. I’d agree with you if it were for a startup or mid-sized company that had lots of competition and was providing a good product being abused by competitors or users. But Github has a quasi-monopoly, is owned by a monopolist that is part of the reason other websites are being bombarded by requests (aka, they are part of the problem), and you are sitting here arguing that more people should join the monopoly because of an issue they created.

        Can you see the flaws in reasoning in your statements?

        Anti Commercial-AI license

        • calcopiritus@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          31 minutes ago

          No. I cannot find the flaws in my reasoning. Because you are not attacking my reasoning, you are saying that i am on the side of the bad people, and the bad people are bad, and you are opposed to the bad people, therefore you are right.

          The world is more than black or white. GitHub rate-limiting non-logged-in users makes sense, and is the expected result in the age of web scrapping LLM training.

          Yes, the parent company of GitHub also does web scrapped for the purpose of training LLMs. I don’t see what that has to do with defending themselves from other scrappers.

  • daniskarma@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    16
    arrow-down
    3
    ·
    1 day ago

    Open source repositories should rely on p2p. Torrenting repos is the way I think.

    Not only for this. At any point m$ could take down your repo if they or their investors don’t like it.

    I wonder if it would already exist and if it could work with git?

    • thenextguy@lemmy.world
      link
      fedilink
      arrow-up
      13
      arrow-down
      1
      ·
      1 day ago

      Git is p2p and distributed from day 1. Github is just a convenient website. If Microsoft takes down your repo, just upload to another system. Nothing but convenience will be lost.

    • samc@feddit.uk
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      1 day ago

      The project’s official repo should probably exist in a single location so that there is an authoritative version. At that point p2p is only necessary if traffic for the source code is getting too expensive for the project.

      Personally I think the source hut model is closest to the ideal set up for OSS projects. Though I use Codeberg for my personal stuff because I’m cheap and lazy

      • daniskarma@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        4
        ·
        1 day ago

        I’m wary of external dependencies. They are cool now, but will they be cool in the future? Will they even exist?

        One thing I think p2p excels is resiliance. People be still using eDonkey even if it’s abandoned.

        A repo signature should deal with “fake copies”. It’s true we have the problem that BitTorrent protocol is not though for updating files, so a different protocol would be needed. I don’t even know how possible/practical it is. It’s true that any big project should probably host their own remote repo, and copy it on other platforms as needed. Github only repos was always a dangerous practice.

        • Revan343
          link
          fedilink
          arrow-up
          3
          ·
          20 hours ago

          It’s true we have the problem that BitTorrent protocol is not though for updating files

          Bittorrent v2 has updatable torrents

        • samc@feddit.uk
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          If you’re able to easily migrate issues etc to a new instance, then you don’t need to worry about a particular service providers getting shitty. At which point your main concern is temporary outages.

          Perhaps this is more of a concern for some projects (e.g. anything that angers Nintendo’s lawyers). But for most, I imagine that the added complexity of distributed p2p hosting would outweigh the upsides.

          Not saying it’s a bad idea, in fact I like it a lot, but I can see why it’s not a high priority for most OSS devs

    • Kuinox@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      Torrenting doesn’t deal well with updating files.
      And you have another problem: how do you handle bad actors spamming the download ?
      That’s probably why github does that.

      • daniskarma@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        edit-2
        1 day ago

        That’s true. I didn’t think of that.

        IPFS supposedly works fine with updating shares. But I don’t want to get closer to that project as they had fallen into cryptoscam territory.

        I’m currently reading about “radicle” let’s see what the propose.

        I don’t get the bad actors spamming the download. Like downloading too much? Torrent leechers?

        EDIT: Just finished by search sbout radicle. They of course have relations with a cryptomscam. Obviously… ;_; why this keep happening?

        • Jakeroxs@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          10 hours ago

          There’s literally nothing about crypto in radicle from my reading, cryptography and crypto currency are not synonymous.

          Ah because they also have a different project for a crypto payment platform for funding open source development.

          Edit again: it seems pretty nifty actually, why do you think it’s a scam? Just because crypto?

      • daniskarma@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        1 day ago

        I’ve been reading about it. But at some point I found that the parent organization run a crypto scam. Supposedly is not embedded into the protocol but they also said that the token is used to give rewards withing the protocol. That just made me wary of them.

        Though the protocol did seen interesting. It’s MIT licensed I think so I suppose it could just be forked into something crypto free.

        • onlinepersona@programming.dev
          link
          fedilink
          arrow-up
          2
          arrow-down
          2
          ·
          edit-2
          23 hours ago

          There’s nothing crypto in the radicle protocol. What I think you’re referring to are “drips” which uses crypto to fund opensource development (I know how terrible). It’s its own protocol built on top of ethereum and is not built into the radicle protocol.

          This comes up every time someone mentions radicle and I think it happens because there’s a RAD crypto token and a radicle protocol. Beyond the similar names, it’s like mistaking bees for wasps because they look similar and not bothering to have a closer look.

          Drips are funding the development of gitoxide, BTW, which is a Rust reimplementation of git. I wouldn’t start getting suspicious of gitoxide sneaking in a crypto protocol just because it’s funded by crypto. If we attacked everything funded by the things we consider evil, well everything opensource made by GAFAM would have to go: modern video streaming (HLS by Apple), Android (bought by Google), LSPs (popularised and developed by Microsoft), OBS (sponsored by Google through YouTube and by Amazon through Twitch), and much much more.

          Anti Commercial-AI license

          • daniskarma@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            4
            ·
            edit-2
            23 hours ago

            The thing is that the purpose of such a system is to run away from enshitificacion.

            If they are so crypto adjacent is like a enshitificacion speedrun.

            If I’m going to stay in a platform that just care for the money I might as well stay in corpo platforms. I’m not going to the trouble of changing platform and using new systems to keep getting being used so others can enrich.

            Git itself doesn’t have crypto around it. This shouldn’t have either.

            And this is not even against crypto as a concept, which is fine by me. It’s against using crypto as a scam to get a quick buck out of people who doesn’t know better.

            • onlinepersona@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              21 hours ago

              If I’m going to stay in a platform that just care for the money

              Where are you getting this information from? How is radicle just caring about money?

              I’m not going to the trouble of changing platform and using new systems to keep getting being used so others can enrich.

              Who is getting rich and how?

              Anti Commercial-AI license

              • daniskarma@lemmy.dbzer0.com
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                21 hours ago

                Answer to both questions is the crypto scheme they have created. There is no logical explanation to it. We have seen it happen countless times before.

                They could ask for crypto donations and that would be totally fine. But they are building a crypto scheme. And crypto schemes are build as pyramid schemes to get money out of vulnerable people. Anyone who make such a thing is not trustable.

    • henfredemars@infosec.pub
      link
      fedilink
      English
      arrow-up
      30
      arrow-down
      2
      ·
      2 days ago

      I came here looking for this comment. They bought the service to destroy it. It’s kind of their thing.

          • lolcatnip@reddthat.com
            link
            fedilink
            English
            arrow-up
            4
            ·
            20 hours ago

            What has Microsoft extinguished lately? I’m not a fan of Microsoft, but I think EEE is a silly thing to reference because it’s a strategy that worked for a little while in the 90s that Microsoft gave up on a long time ago because it doesn’t work anymore.

            Like, what would be the purpose of them buying GitHub just to destroy it? And if that was their goal, why haven’t they done it already? Microsoft is interested in one thing: making money. They’ll do evil things to make money, just like any other big corporation, but they don’t do evil things just for the sake of being evil. It’s very much in their business interest to be seen as trustworthy, and being overly evil runs counter to that need.

      • adarza
        link
        fedilink
        English
        arrow-up
        13
        ·
        2 days ago

        we could have had bob or clippy instead of ‘cortana’ or ‘copilot’

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    53
    arrow-down
    1
    ·
    2 days ago

    60 req/hour for unauthenticated users

    That’s low enough that it may cause problems for a lot of infrastructure. Like, I’m pretty sure that the MELPA emacs package repository builds out of git, and a lot of that is on github.

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      31
      ·
      edit-2
      2 days ago

      That’s low enough that it may cause problems for a lot of infrastructure.

      Likely the point. If you need more, get an API key.

      • lolcatnip@reddthat.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        20 hours ago

        Or just make authenticated requests. I’d expect that to be well within with capabilities of anyone using MELPA, and 5000 requests per hour shouldn’t pose any difficulty considering MELPA only has about 6000 total packages.

        • Xanza@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          16 hours ago

          This is my opinion on it, too. Everyone is crying about the death of Github when they’re just cutting back on unauthenticated requests to curb abuse… lol seems pretty standard practice to me.

    • NotSteve_
      link
      fedilink
      arrow-up
      15
      arrow-down
      3
      ·
      2 days ago

      Do you think any infrastructure is pulling that often while unauthenticated? It seems like an easy fix either way (in my admittedly non devops opinion)

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        12
        ·
        1 day ago

        It’s gonna be problematic in particular for organisations with larger offices. If you’ve got hundreds of devs/sysadmins under the same public IP address, those 60 requests/hour are shared between them.

        Basically, I expect unauthenticated pulls to not anymore be possible at my day job, which means repos hosted on GitHub become a pain.

        • timbuck2themoon@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          Quite frankly, companies shouldn’t be pulling Willy nilly from github or npm, etc anyway. It’s trivial to set up something to cache repos or artifacts, etc. Plus it guards against being down when github is down, etc.

          • Ephera@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            14 hours ago

            It’s easy to set up a cache, but what’s hard is convincing your devs to use it.

            Mainly because, well, it generally works without configuring the cache in your build pipeline, as you’ll almost always need some solution for accessing the internet anyways.

            But there’s other reasons, too. You need authentication or a VPN for accessing a cache like that. Authentications means you have to deal with credentials, which is a pain. VPN means it’s likely slower than downloading directly from the internet, at least while you’re working from home.

            Well, and it’s also just yet another moving part in your build pipeline. If that cache is ever down or broken or inaccessible from certain build infrastructure, chances are it will get removed from affected build pipelines and those devs are unlikely to come back.


            Having said that, of course, GitHub is promoting caches quite heavily here. This might make it actually worth using for the individual devs.

        • NotSteve_
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          Ah yeah that’s right, I didn’t consider large offices. I can definitely see how that’d be a problem

      • Boomer Humor Doomergod@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 days ago

        If I’m using Ansible or something to pull images it might get that high.

        Of course the fix is to pull it once and copy the files over, but I could see this breaking prod for folks who didn’t write it that way in the first place

    • Xanza@lemm.ee
      link
      fedilink
      English
      arrow-up
      26
      arrow-down
      8
      ·
      2 days ago

      Until there will be.

      I think people are grossly underestimating the sheer size and significance of the issue at hand. Forgejo will very likely eventually get to the same point Github is at right now, and will have to employ some of the same safeguards.

        • Xanza@lemm.ee
          link
          fedilink
          English
          arrow-up
          14
          arrow-down
          6
          ·
          1 day ago

          That’s a very accurate statement which has absolutely nothing to do with what I’ve said. Fact of the matter stands, is that those who generally seek to use a Github alternative do so because they dislike Microsoft or closed source platforms. Which is great, but those platforms with hosted instances see an overwhelmingly significant portion of users who visit because they choose not to selfhost. It’s a lifecycle.

          1. Create cool software for free
          2. Cool software gets popular
          3. Release new features and improve free software
          4. Lots of users use your cool software
          5. Running software becomes expensive, monetize
          6. Software becomes even more popular, single stream monetization no longer possible
          7. Monetize more
          8. Get more popular
          9. Monetize more

          By step 30 you’re selling everyone’s data and pushing resource restrictions because it’s expensive to run a popular service that’s generally free. That doesn’t change simply because people can selfhost if they want.

          • FlexibleToast@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            2
            ·
            1 day ago

            To me, this reads strongly like someone who is confidently incorrect. Your starting premise is incorrect. You are claiming Forgejo will do this. Forgejo is nothing but an open source project designed to self host. If you were making this claim about Codeberg, the project’s hosted version, then your starting premise would be correct. Obviously, they monetize Codeberg because they’re providing a service. That monetization feeds Forgejo development. They could also sell official support for people hosting their own instances of Forgejo. This is a very common thing that open source companies do…

            • Xanza@lemm.ee
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              16 hours ago

              Obviously, they monetize Codeberg because they’re providing a service. That monetization feeds Forgejo development. They could also sell official support for people hosting their own instances of Forgejo. This is a very common thing that open source companies do…

              This is literally what I said in my original post. Free products must monetize, as they get larger they have to continue to monetize more and more because development and infrastructure costs continue to climb…and you budged in as if this somehow doesn’t apply to Forgejo and then literally listed examples of why it does. I mean, Jesus my guy.

              You are claiming Forgejo will do this.

              I’m claiming that it is a virtual certainty of the age of technology that we live in that popular free products (like Github) eventually balloon into sizes which are unmanageable while maintaining a completely free model (especially without restriction), which then proceed to get even more popular at which time they have to find new revenue streams or die.

              It’s what’s happened with Microsoft, Apple, Netflix, Hulu, Amazon Prime, Amazon Prime Video, Discord, Reddit, Emby, MongoDB, just about any CMS CRM or forum software, and is currently happening to Plex, I mean the list is quite literally endless. You could list any large software company that provides a free or mostly free product and you’ll find a commercial product that they use to fund future development because their products become so popular and so difficult/costly to maintain they were forced into a monetization model to continue development.

              Why you think Forgejo is the only exception to this natural evolution is beyond my understanding.

              I’m fully aware of the difference between Codeberg and Forgejo. And Forgejo is a product and its exceptionally costly to build and maintain. Costs which will continue to rise as it has to change over time to suit more and more user needs. People seem to heavily imply that free products cost nothing to build, which is just insane.

              I’ve been a FOSS developer for 25 years and a tech PM for almost 20. I speak with a little bit of authority here because it’s my literal wheelhouse.

              • FlexibleToast@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                12 hours ago

                That’s a huge wall of text to still entirely miss the point. Forgejo is NOT a free service. It is an open-source project that you can host yourself. Do you know what will happen if Forgejo ends up enshitifying? They’ll get forked. Why do I expect that? Because that’s literally how Forgejo was created. It forked Gitea. Why don’t I think that will happen any time soon? It has massive community buy-in, including the Fedora Project. You being a PM explains a lot about being confidently incorrect.

            • lolcatnip@reddthat.com
              link
              fedilink
              English
              arrow-up
              2
              arrow-down
              1
              ·
              20 hours ago

              It just sounds like they didn’t understand the relationship between Forgejo and Codeberg. I didn’t either into I looked it up just now. IMHO their comment is best interpreted as being about Codeberg. People running their own instances of Forgejo are tangential to the topic at hand.

              • FlexibleToast@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                arrow-down
                1
                ·
                19 hours ago

                Either way, their comment is out of place. A Codeberg comment when the original comment was pointing people to Forgejo.

  • John Richard@lemmy.world
    link
    fedilink
    English
    arrow-up
    31
    arrow-down
    4
    ·
    1 day ago

    Crazy how many people think this is okay, yet left Reddit cause of their API shenanigans. GitHub is already halfway to requiring signing in to view anything like Twitter (X).

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 hours ago

      It’s not the same making API costs unbearable for a social media user and limiting the rate non-logged-in users.

      You can still use GitHub without being logged in. You can still use GitHub without almost any limit on a free account.

      You cannot even use reddit on a third party app with an account with reddit gold.