• drkt
    link
    fedilink
    English
    arrow-up
    29
    arrow-down
    6
    ·
    2 days ago

    Yeah let’s instead install a massive bloated shit project that the original developers left years ago and the maintainers don’t know heads from tails of the codebase because it’s too massive to maintain, with enough dependencies to make even a small child think he’s independent by comparison.

    All so that we can, uh, synchronize a markdown text file across 3 computers.

    These projects exist so that we don’t all have to re-invent the wheel every single time we need something simple. They have a purpose, even if they’re not pushing the envelope. I’ve developed a bunch of software to do extremely simple things for myself because all the existing options are massive and bloated and do a million more things than I need.

    I’m sure your projects look impressive on your resumé, though.

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

      Yeah let’s instead install a massive bloated shit project that the original developers left years ago and the maintainers don’t know heads from tails of the code base because it’s too massive to maintain

      So much this. I recently had OneDev recommended to me as a forgejo alternative. I was told that it was “very lightweight.” Intrigued I tried it out. It fuckin’ runs java and is resource heavy as fuck. Just sitting idle it consumes almost 13% of VPS RAM: http://i.xno.dev/u/SGXxO2.png

      • jonathan@lemmy.zip
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        1
        ·
        2 days ago

        I don’t know what you’re running there mate, Forgejo is a golang app.

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

          Forejo isn’t an “app.” It’s a for-profit fork of Gitea… It’s a hosted git solution. Quite a bit more than “an app.”

          • jonathan@lemmy.zip
            link
            fedilink
            English
            arrow-up
            17
            arrow-down
            1
            ·
            2 days ago

            The fuck is Forejo. I’m running a personal Forgejo instance and have contributed to the project. It is not for-profit.

      • enumerator4829@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        2
        ·
        2 days ago

        Not to be that guy, but 12% of 8G isn’t even close to ”heavy as fuck” for a CI/CD and collaboration suite that seems aimed at enterprise users.

        You can also tweak how much memory you’d like the jvm to grab with ’-Xms100m’. Any defaults are most likely aimed at much larger deployments than yours.

        But yes, Java is a disease.

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

          Not to be that guy, but 12% of 8G isn’t even close to ”heavy as fuck” […] CI/CD and collaboration suite that seems aimed at enterprise users.

          It’s not being used for CI/CD, so it’s a webui for git. It absolutely is heavy as fuck for just sitting there.

          • enumerator4829@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            4
            arrow-down
            4
            ·
            2 days ago

            Just going off the marketing here:

            Git server with CI/CD, kanban, and packages.

            From the looks of it, they also seem to bundle the vscode server and a bunch of other stuff. I’m actually kinda surprised they do it with only 1G of RAM.

      • ZeroOne@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I suggest Fossil as an alternative to Forgejo. Reminder it’s an alternative to git itself (If you wish to use it)

      • BlueBockser@programming.dev
        link
        fedilink
        English
        arrow-up
        6
        arrow-down
        5
        ·
        edit-2
        1 day ago

        You still have 63% RAM available in that screenshot, there are zero problems with Java using 13% RAM. It’s the same as the tired old trope of “ChRoMe Is EaTiNg My MeMoRy”. Unused memory is wasted memory if it can be used for caching instead, so unless you’re running out of available memory, there is no problem.

        Also, the JVM has a lot of options for configuring its various caches as well as when it allocates or releases memory. Maybe take a look at that first.

        Edit: Apparently people don’t want to hear this but don’t have any actual arguments to reply with. Sorry to ruin your “JaVa BaD” party.

        • TrumpetX@programming.dev
          link
          fedilink
          English
          arrow-up
          5
          ·
          edit-2
          1 day ago

          Sad that you’re downvoted for being right.

          Java apps can be memory hogs, but anything else can be too. The jvm is exceptionally performant for persistently running apps.

        • Opeth@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          Yeah. Why have RAM when you’re not gonna use it? The JVM is pretty efficient

    • monogram@feddit.nl
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      2
      ·
      edit-2
      2 days ago

      I don’t know if you’ve looked at the code but it is written in plain js with express.

      That node_modules folder is running donuts around your argument at this point.

      Were it written in rust or golang it would have been a different story

      • drkt
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        2
        ·
        2 days ago

        I only looked at dumpdrop and it seemed fine, to me. Compared to other similar projects which are 10 times as large and provide essentially the same functionality. The world of web-based file-uploading solutions is fucked.

    • just_another_person@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      14
      ·
      2 days ago

      And there’s a difference between utilitarian and idiotic as well. The fact you can’t tell the difference is a “you” problem, friend.