• tiita@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    14 hours ago

    Need to save them within porn jpg.

    That way, when mandatory face recognition for age verification comes into play, I will know who you all are! Har har har!

  • aesthelete@lemmy.world
    cake
    link
    fedilink
    arrow-up
    44
    ·
    2 days ago

    Git is so easy to host yourself and everyone went and handed over all their code to evil corp to farm on anyway.

    (Though I do understand that they were bought, but that was a while ago and it was only a matter of time before the evil seeped in.)

    • boonhet@sopuli.xyz
      link
      fedilink
      arrow-up
      9
      ·
      15 hours ago

      It’s such a simple reason tbh. Github is expected to stay online indefinitely. My VPS? As long as I pay the bill, which I may not want to at some point.

      Codeberg is a decent middle ground - open source projects only. The site itself is open source too.

    • Lena@gregtech.eu
      link
      fedilink
      English
      arrow-up
      4
      ·
      14 hours ago

      Their CI/CD minutes are very generous (unlimited!). Plus, if Microsoft wanted to scrape code, it doesn’t have to be on Github. They can scrape it off codeberg too. And I can be sure Github won’t shut down.

      If Github does decide to screw users over, switching to self-hosted forgejo would be trivial.

    • FurryMemesAccount@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      15
      arrow-down
      5
      ·
      2 days ago

      I think you may be mixing up git, which is a command line tool that’s still open source, AFAIK, with github that’s a closed source, git-based code hosting platform bought by Microsoft.

      You can use other hosting services with git, and get an almost identical experience. Gitlab does it, as well as many others.

    • 6nk06@sh.itjust.works
      link
      fedilink
      arrow-up
      15
      ·
      2 days ago

      I would love a subscription to Codeberg to be able to store private projects though. Codeberg is nice but you need an alternative for those special projects and it’s annoying.

  • jimjam5@lemmy.world
    link
    fedilink
    arrow-up
    26
    arrow-down
    1
    ·
    2 days ago

    It’s a small thing but I appreciate how you didn’t use the image of the rapper of the original meme who seems like an overall terrible person.

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

        Yeah I don’t get how he was taken so seriously for so long by so many. I get that not every rapper needs to come from a broken and messed up background, but his verses don’t hit that hard due to all the inauthenticity, as if he did grow up on hard streets lol.

    • InnerScientist@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      edit-2
      2 days ago

      And for those who don’t know: git was there first, then github offered it for code management (they are two different things, don’t confuse git with github!)

  • SkyNTP@lemmy.ml
    link
    fedilink
    arrow-up
    15
    ·
    2 days ago

    Neither. Version control and remote sync to your self hosted gitlab or gitea, or whatever (or no remote at all if you wanna go gambling with your hard drive).

    • astrsk@fedia.io
      link
      fedilink
      arrow-up
      23
      ·
      2 days ago

      Just use git. It’s what all these front ends use at their core. It’s all just git which doesn’t need any hosting at all. If all you want is tracking changes you don’t even need to set up a remote to push / pull from. Just install git on your local development machine, make a folder for you project, and run ‘git init’. Now you have a local repo which can track and commit changes and you have all of the incredibly powerful tools available that git provides with ample documentation. Wanna back it up? Just backup the folder with any standard backup application like any other folder.

      • trxxruraxvr@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        2 days ago

        But how often do you need that for your personal projects? I just have a git repo on a server that’s accessible by ssh. I only use a web frontend when I have to share with other people and then you might as well use a free third party service.

        • justme@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          5
          ·
          2 days ago

          You don’t need it on a server even. For simple versioning just use a local git repo without any bells and stuff

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

            True, I used the remote to access the code from other machines and/or as a remote backup. If you don’t need that, there’s no need for a server.

          • 404@lemmy.zip
            link
            fedilink
            English
            arrow-up
            7
            ·
            2 days ago

            One of the most useful features is rolling back from origin when you’ve borked your local repo (not that I ever have…)

            • justme@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              ·
              2 days ago

              I’m not that accustomed with it myself, so my question: how can you bork your local repo so you can’t roll back? Did you tinker in the .git folder? xD

              • 404@lemmy.zip
                link
                fedilink
                English
                arrow-up
                1
                ·
                14 hours ago

                There are many ways. Like the other user said, fucking up a merge/rebase then fucking up the merge abort.

                Or (one of my personal favorites) accidentally typing git reset --hard HEAD~11 instead of HEAD~1

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

                I’ve had colleagues who’d panic when they had merge conflicts, then fuck something up, remove the whole dir and create a new clone. If you’re competent I don’t think it should be necessary.

      • axEl7fB5@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        aint that just git tho? i upload my code on github as a backup and so others can see it?

  • danA
    link
    fedilink
    arrow-up
    12
    ·
    2 days ago

    The bottom picture should be SVN. I miss incremental revision numbers.

    • 6nk06@sh.itjust.works
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      The mixed-revisions bug was fun… Also cannot clean history or make shitty branches everywhere, it was one of my worst experience. Nowadays Jujutsu is my favorite.

    • Einar@lemmy.zip
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      2 days ago

      SVN is still great if there is a need for strict access controls and central control matters a lot. Auditing is also a bit easier with SVN.

      It caters more for a linear workflow, though. So modern large teams won’t find joy with SVN.

      • danA
        link
        fedilink
        arrow-up
        6
        ·
        edit-2
        1 day ago

        It caters more for a linear workflow, though. So modern large teams won’t find joy with SVN

        For what it’s worth, I work at a FAANG company and we don’t use branches at all. Instead, we use feature flags. Source control history is linear with no merges.

        All code changes have to go though code review before they can be committed to the main repo. Pull requests are usually not too large (we aim for ~300 lines max), contain a single commit, aren’t long-lived (often merged the same day they’re submitted unless they’re very controversial), can be stacked to handle dependencies between them (“stacked diffs”), and a whole stack can be landed together. When merged, everything is committed directly to the main branch, which all developers are working off of.

        I know that both Google and Meta take this approach, and probably other companies too.

        • boonhet@sopuli.xyz
          link
          fedilink
          arrow-up
          1
          ·
          14 hours ago

          What’s the difference between that and feature branches? Sounds like you still have PRs that get merged to main from somewhere - forked repos I guess?

          • danA
            link
            fedilink
            arrow-up
            1
            ·
            edit-2
            9 hours ago

            Usually, feature branches mean that all the work to implement a particular feature is done on that branch. That could be dozens of commits and weeks of work from several developers. The code isn’t merged until the feature is complete. It’s more common in the industry compared to trunk-based development.

            My previous employer had:

            • Feature branches for each new feature.
            • A dev/trunk branch, where features branches were merged once they were done.
            • A beta branch, branched from dev once per week.
            • A live/prod branch, branched from beta four times per year.

            This structure is very common in enterprise apps. Customers that need stability (don’t want things to change a lot, for example if they have their own training material for their staff) use the live branch, while customers that want the newest features use the beta branch.

            Bug fixes were annoying since you’d have to first do them in the live branch then port them to the beta and dev branches (or vice versa).

            On the other hand, feature flags mean that all the code goes directly into the trunk branch, but it’s turned off until it’s ready. A basic implementation of feature flags would be a static class with a bunch of booleans that get checked throughout the code, but they’re usually dynamic so a misbehaving feature can be turned off without having to redeploy the code.

            Some codebases use both feature branches and feature flags.

            • boonhet@sopuli.xyz
              link
              fedilink
              arrow-up
              1
              ·
              2 hours ago

              Ah okay, places I’ve worked have tried to keep tasks as small as possible so you don’t work on your feature branch more than a day. If it takes over a day, should’ve been an epic (and therefore multiple feature branches). Seen different approaches to the whole release thing too. Weekly deployments, 3x per year, or in my current company: deploy as soon as someone has tested it