• 0 Posts
  • 325 Comments
Joined 2 years ago
cake
Cake day: June 18th, 2023

help-circle



  • Iron Lynx@lemmy.worldtoScience Memes@mander.xyzMarge Sort
    link
    fedilink
    English
    arrow-up
    7
    ·
    6 days ago

    If you want to zipper two sorted lists, you compare the first element of each list, pick that first, take the next element of that list, rinse & repeat until one list runs out and then just chuck the entire rest of the other list in the remaining space, even if that’s just one element. Since your two initial lists are already sorted, you can trust the combined list to also be sorted.



  • Iron Lynx@lemmy.worldtoScience Memes@mander.xyzmoove on
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    8 days ago

    In NL we call it a wildrooster, which roughly translates to “wild animal grate,” but more literally could be interpreted as “venison toaster.”

    Also, its name then focuses on being for wild animals instead of cattle.

    NINJA EDIT: Looks like veerooster is an accepted other name, which specifically translates to cattle grid. I guess which one you use depends on whether you’re trying to control sheep or cows vs. boars or deer.







  • If you want the most extensive, expansive, awesome emergent story base building game out there, there’s of course Dwarf Fortress. You can download it right off the devs, where it’s free but takes a PhD to begin to make sense of the UI. Or you can buy it on Steam, where it will cost you a little bit, but thanks to massive UI improvements, it’s actually playable by regular people.