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

help-circle

  • Wirlocke@lemmy.blahaj.zonetolinuxmemes@lemmy.worldintimidating
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    4 days ago

    When I uninstalled Windows and switched to Linux (CachyOS (which is Arch BTW)) I also took the time to free myself from VScode to completely escape Microsoft’s fuckery.

    I learned how to use Neovim. I’ve got a configuration that I really like and I took care to make it portable enough that I can just copy over the init.lua file to set everything up on a different computer.

    However this is only earned through weeks of Lua hell. You are effectively building your own editor from almost the ground up. I only recommend Neovim if you want the first medium scale project you work on to be Neovim itself.






  • I’d argue the Monkey’s Paw is a bad example because I don’t think the Monkey’s Paw is actively malicious like a djinn.

    I think Monkey’s Paw just works off of path of least resistance. What’s the fastest way to randomly get rich? Workplace accident causing life insurance payout. What’s the least effort way to revive the dead? Just make the corpse start moving again. What’s the easiest way to give a shambling corpse peace? Undo the last wish.

    I feel like a Djinn wouldn’t let you undo the reviving wish. They’d probably just put them in a coma so your son is now in a half dead comatose state forever.








  • 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.






  • 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.


  • 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.