• 0 Posts
  • 59 Comments
Joined 3 years ago
cake
Cake day: July 1st, 2023

help-circle



  • I’ve moved away from Classes in general unless it truly makes code more streamlined. The main language I was taught in highschool was Java and it’s just so liberating not needing to turn everything into an object.

    But recently I’ve used a Class specifically for Inheritance. I’m making an extension to Pytorch and almost everything in Pytorch uses Tensors as a medium. I made a new kind of tensor that inherits the Tensor class to add specific restrictions on how it behaves. Because of this, this new tensor object can be used with any of the preexisting pytorch functions while also validating the results, reverting to a Tensor if it becomes invalid.

    Even in this situation though, all my programming logic rests in it’s own static functions, and the class contains functions that call the static version. The only actual logic the inherited object handles is validating the data.

    Because of this, I feel like inheritance is most useful when you’re inheriting someone else’s code to make it compatible with their library. I don’t think I’ll ever inherit my own objects because that’s how you end up with Java.


  • Wirlocke@lemmy.blahaj.zoneto196@lemmy.blahaj.zoneRule
    link
    fedilink
    English
    arrow-up
    5
    ·
    1 month ago

    I’m not so worried about how tiny we are as much as I’m worried how small the max speed of mass is (speed of light). If space warping drives end up impossible then the vast majority of what you can see at any position in the universe is already unreachable for that observer. Viewing eternity through onesided glass.










  • I’m not sure what you mean, I don’t think I’ve seen a single isekai protag try to go back to Earth unless you count the “trapped in VR” ones.

    I’m always a little disappointed by how quickly the regular world becomes irrelevant in the story. The intrigue is from how a person from a modern nonmagical culture interacts with a medieval magical culture.

    But from the isekais I’ve seen, I’d say you could replace half of them with a person with amnesia and nothing would change.


  • Wirlocke@lemmy.blahaj.zoneto196@lemmy.blahaj.zoneJar opener rule
    link
    fedilink
    English
    arrow-up
    58
    arrow-down
    2
    ·
    2 months ago

    I’m assuming they are a trans girl, so the mom saying she needs “a man’s help” was misgendering her. OP basically affirmed that because they are not a man they cannot help and gave back the jar unopened. Given the pettyness one can assume that the mom misgendering OP is a frequent occurrence.


  • The data has more direct consequences when it comes to machine learning algorithms to keep you on the website and funnel you into a personalized echo chamber.

    The epitome of this is TikTok, it’s algorithm was the only thing that set it apart from other short video apps. Youtube is a video host with an integrated recommendation algorithm, Tiktok is a recommendation algorithm with integrated video hosting.


  • Wirlocke@lemmy.blahaj.zoneto196@lemmy.blahaj.zoneRule 34 😳
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 months ago

    The other replies are close but not quite. This is an elementary cellular automaton, the simplest form of cellular automaton. For every pixel in the last layer, it determines if the pixel in the next layer should be 0(white) or 1(black) based on the last layer’s pixel and it’s neighbors.

    The game of life is also a cellular automaton but it’s 2 dimensional, elementary cellular automaton are 1 dimensional resulting in a maximum of 256 variations called “rules”. The rules are represented by 8 binary digits which also represent a number between 0 and 255.

    What you see here is rule 00100010, or in other words rule 34.


  • Fundamentally due to it’s design, LLMs are digital duct tape.

    The entire history of computer science has been making compromises between efficient machine code and human readable language. LLM’s solve this in a beautifully janky way, like duct tape.

    But it’s ultimately still a compromise, you’ll never get machine accuracy from an LLM because it’s sole purpose is to fulfill the “human readable” part of that deal. So it’s applications are revolutionary in the same way as “how did you put together this car engine with only duct tape?” kind of way.