I haven’t seen a thread on this in a while. I have been going with top day for a while, but it can be hit or miss. Other sorts don’t seem to display as good in terms of balancing quality and quantity. What is your preferred sort for your main feed?

Edit: Realizing that the people who sort new commented before the hot/top/active people, haha

    • dodgy_bagel@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      0
      ·
      3 months ago

      Honestly, sorting algos are serious nerd shit. They’re for suckers and losers. If it’s not worth doing, insertion sort every day of the week. Compute is cheap. If it’s actually important, then it’s TimSort (it’s never important).

      • ralakus@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        3 months ago

        In small datasets, the speed difference is minimal; but, once you get to large datasets with hundreds of thousands to millions of entries they do make quite a difference. For example, you’re a large bank with millions of clients, and you want to get a list of the people with the most money in an account. Depending on the sorting algorithm used, the processing time could range from seconds to days. That’s also only one operation, there’s so much other useful information that could be derived from a database like that using sorting.

  • southsamurai@sh.itjust.works
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    New, always.

    No point in anything else for the way I prefer to use lemmy.

    It also means that I don’t miss much, even when I don’t check in for a day or so. Only things I miss are the ones that get removed.

  • Riskable@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    I used to use “top 24h” but these days I just sort by “hot” because it actually seems to work pretty well now: I don’t see the total garbage that gets down voted immediately like you get with “new” but I see pretty much everything else (which is what I like; I especially like finding interesting posts in obscure communities!).

    I also regularly block foreign language communities for no other reason than I can’t read them so there’s no point in them taking up space in my feed. Like, I’m sure that German meme about Elon Musk is hilarious but since I don’t know German it’s just noise 🤷

  • wieson@feddit.org
    link
    fedilink
    arrow-up
    0
    ·
    3 months ago

    Insertion Sort.

    It’s easier to remember how to program than quick sort and it’s stable (it keeps the previous order for same value data)