I’m doing you a favor

    • @floofloof@lemmy.ca
      link
      fedilink
      English
      3111 months ago

      Get copilot to generate bad code in quantity, then upload that to GitHub so it slowly cannibalizes itself.

      • @ox0r@jlai.lu
        link
        fedilink
        17
        edit-2
        11 months ago

        I only post upload badly written reverse shells so that copilot just turns all code in a backdoor, take that NSA!

    • kamen
      link
      fedilink
      English
      611 months ago

      Imagine Copilot using it to intentionally showcase terrible code.

    • Dandroid
      link
      fedilink
      411 months ago

      Someone did that at the company I used to work for. IIRC, no one noticed for months.

  • korstmos
    link
    fedilink
    3811 months ago

    I dont post my code to github because I would rather use gitlab

    We are not the same

    • Nato Boram
      link
      fedilink
      English
      111 months ago

      You can also use GitHub as a mirror to make your project more discoverable

    • @tool@lemmy.world
      link
      fedilink
      English
      111 months ago

      I want to start moving stuff into Gitlab, but Github Actions is just too good. Is the CI/CD stuff in Gitlab comparable?

      • Nato Boram
        link
        fedilink
        English
        211 months ago

        GitHub’s actions are so good once it clicks and you understand them. On GitLab, you start from a docker image, so it’s harder to setup some things but easier for others. If you are very good at docker and don’t mind making your own images just for CI purposes, then go ahead.

        Ideally, you should just try them both. You can mirror a project between the two and setup the CI at both places.

        • @tool@lemmy.world
          link
          fedilink
          English
          111 months ago

          On GitLab, you start from a docker image, so it’s harder to setup some things but easier for others. If you are very good at docker and don’t mind making your own images just for CI purposes, then go ahead.

          I think I’d probably consider myself at/near expert-level with Docker, but CI/CD runners instanced in containers just doesn’t work for some of our workloads.

          As an example, some of our projects have a bunch of Docker images that get built via their own Dockerfiles in the repo, are ran and discarded during the workflow, and each one is modifying the checked-out source tree in some fashion (NPM stuff, composer, whatever, etc), and then a final prod Docker image is built and tested from that source repo tree that has been modified by the Docker containers built/ran/discarded during the workflow. So in Gitlab, it sounds like we’d be running Docker in Docker for some projects.

          You ever ran Docker in Docker? It’s temperamental at the very best and there are a thousand gotchas associated with it, not to mention having to worry about how many variable scopes deep you are and keeping track of that, how to properly bind mount volumes into the nested Docker containers because the method and paths will vary depending on how nested you are, etc. It’s just an absolute nightmare to deal with all-around in that context.

          I’ll see if we have some projects I can try out on it, but the majority of ours are like what I described above.

      • korstmos
        link
        fedilink
        111 months ago

        Ive never used githubs CI/CD, but gitlab has quite a large ecosystem for its CI/CD.
        Seems to me like you could use gitlab as a one-stop-shop to host everything from your code to your artifacts and containers, if you are willing to pay for those fancy features

        Free is able to just do basic CI/CD for like 250 minutes a month, or unlimited via your own runners/build servers, thats about it

    • akari
      link
      fedilink
      3
      edit-2
      11 months ago

      codeberg, self-hosted gitlab, gitea/forgejo, sourceforge

      • @blackbrook@mander.xyz
        link
        fedilink
        411 months ago

        Didn’t sourceforge go to shit some years back with ads, embedding bloatware into downloads, and I don’t remember what else? Did it get better again?

        • Nato Boram
          link
          fedilink
          English
          411 months ago

          It did, but the interface is still dogshit for new users and it’s impossible to know how to access a project’s page or its download page. When I started using GitHub, I didn’t even realize that SourceForge was a git hub for a fucking while, yet I was still downloading stuff from there.

        • akari
          link
          fedilink
          111 months ago

          i didnt realize that but you can ignore that one

  • @Gecko@lemmy.world
    link
    fedilink
    English
    3211 months ago

    ngl, I’m annoyed whenever someone creates an application but doesn’t want to publish their code cause it looks bad. Like no one cares that your code is bad and by publishing it, you can get others to help you improve it.

  • @HiddenLayer5@lemmy.ml
    link
    fedilink
    30
    edit-2
    11 months ago

    “I don’t post my code to GitHub because it’s a proprietary platform owned by Microsoft and the antithesis to open source. We are not the same.”

  • @cipherlab@lemmy.ml
    link
    fedilink
    2011 months ago

    I don’t post code to GitHub because I get paid to code, and I’m too lazy to do more.

    And my code probably sucks.

  • @maxbossing@feddit.de
    link
    fedilink
    1911 months ago

    You don’t passt your code because you’re embarrassed by it.

    I don’t post my code to github because i don’t use proprietary garbage.

    We are not the same.

    • 𝘋𝘪𝘳𝘬
      link
      fedilink
      1411 months ago

      You don’t post your code to GitHub because you don’t use proprietary garbage.

      I don’t post my code to GitHub because I selfhost my own Forgejo instance.

      We are not the same.

      • Afghaniscran
        link
        fedilink
        3011 months ago

        You don’t post you code to GitHub because you self host you something or other

        I don’t post any code to GitHub cos I don’t code and I’m not really sure what’s going on

        Are we the same? Idk

  • @MeetInPotatoes@lemmy.ml
    link
    fedilink
    English
    1711 months ago

    User name checks out. I scrolled all the way down to make sure I can say this and still be original in this particular instance only.

    • @PretentiousDouche
      link
      English
      611 months ago

      The best part of Lemmy is the low userbase in comparison means it’s easier to be original and not try and say the same thing a hundred times.

      • @MeetInPotatoes@lemmy.ml
        link
        fedilink
        English
        511 months ago

        Amen! There’s plenty of content to doomscroll through as well. I genuinely don’t miss Reddit as that part of my brain forgets it’s not Reddit. Hell, we should call Lemmy “I can’t believe it’s not Reddit” and hire Fabio to do a commercial.

  • Scott
    link
    fedilink
    1011 months ago

    I don’t post my code to GitHub because I use GitLab. We are not the same

      • @rmuk@feddit.uk
        link
        fedilink
        English
        18
        edit-2
        11 months ago

        I don’t post to Gitea because I scrawl my code onto a piece of leather made of human flesh and venture down to the shore on a stormy night to hurl it into a raging sea as I shriek insults at God in a language known only to madmen. We are not the same.

  • ѕєχυαℓ ρσℓутσρє
    link
    911 months ago

    I’m not a professional dev. So I don’t care what anyone else thinks, it’s not gonna affect my job prospects. So I publish all my shit code for the world to see.

  • @Worthstream@lemmy.one
    link
    fedilink
    811 months ago

    Oh, that’s the next excuse i’ll use when a recruiter asks for my github page. “i’m protecting my product”.