Just doing my part to add to the shitpost pile. If you like this sorta stuff, I got more comics on my website: www.victorgnarly.com

  • @[email protected]
    link
    fedilink
    English
    561 year ago

    The secret is that Lemmy is tracking karma, it just doesn’t show it. There are fields in the database that hold the total comment score and total post score.

    • Skull giver
      link
      fedilink
      English
      111 year ago

      The difficult part is that only a user’s original home server tracks karma effectively.

      While there was still a websocket API (which could bypass browser limitations) I wrote a quick script that collected the karma for an entire page of comments from each user’s home server. It worked quite well, but I can understand why the devs left it out.

      Now that the websocket API is dead, I don’t think there’s a good way to do this from the browser anymore. I could set up a small API server that would send the necessary requests for me and implement some kind of caching, but that sounds like too much effort for something only I would use anyway.

    • Victor GnarlyOP
      link
      fedilink
      English
      321 year ago

      Yeah I recognize it’s a decision from the admins here, but it’s one I approve of heavily for reasons said when I posted this to the fediverse channel. The motivation behind posting is less tainted this way.

      • @[email protected]
        link
        fedilink
        English
        81 year ago

        Nah I don’t think there is an option to show it in Lemmy. It just seems it’s there in the database either in anticipation of adding the feature, or because because of changed plans.

        • pancakes
          link
          fedilink
          English
          41 year ago

          It’s probably not being used as it’s just another thing that can bog down the servers during lemmy’s most critical time.

          • @[email protected]
            link
            fedilink
            English
            61 year ago

            All the calculations are being done already, so it wouldn’t be saving and server time. I think it’s just something they might have done because if you decide to do it later I bet it gets a lot more difficult to retroactively calculate it.

          • @[email protected]
            link
            fedilink
            English
            11 year ago

            It doesn’t seem to be accurate. It shows 20 comment karma and 1 post karma for me in wefwef, but even scrolling back thorough the comments shows way more. The database shows hundreds of each for me.

            I don’t know how wefwef calculates karma but it must be guessing.

            • @[email protected]
              link
              fedilink
              English
              21 year ago

              I noticed when I had made 4 comments, it correctly displayed the total of all my scores, which I think was like 12 at the time, but now that I’ve made a few more, that add up to like 20 something it says my total is 8.

              Maybe it’s just really shit at math?