• 0 Posts
  • 26 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.






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


  • I feel like if this was a specific character going “wait that’s not normal lol” the joke would land better. But as it is the only frame of reference we have is one representing women and one representing men.

    And it just all falls flat because women can have mental illnesses too? And yes men are forced to repress it more often but women often have their physical or mental health dismissed or ignored so it’s not much better either way.

    I’m trans so I’ll never face a period but I can’t imagine the agony of going through one in addition to a mental health crisis or other sickness. And it’s not like women get “period days off” of work or school so you’re just expected to push through it.



  • The yellow sticker usually correspond to what tote they belong in and the order they’re in for the delivery route, first thing you typically do is unpack a tote in the truck and sort them by number for ease of access.

    My brain wants to trigger this sorting mode whenever I grab my packages, and it just reminds me of that terrible job.

    Amazon has a system of desperate contractor companies that are absolutely reliant on amazon since they own the warehouses, trucks, and everything, but are also a moment away from having their contract ended, basically destroying the company. As a result you’re not really respected even if your employer tries hard to, they just can’t care for employees at risk of dissolving.









  • I already planned on my next computer being Linux Mint, but it’s getting more and more desired as time goes on.

    I was playing Elden Ring when it began stuttering, turns out Windows Defender was just constantly reading the disk (I still have a hard drive). Finally turned off maximum priority (seemingly random) scans in task scheduler when I began stuttering again. This time it was Windows Compatibility Telemetry taking up 50% of the disk, until I finally found a way to turn that off.

    It’d be so nice to have an OS that doesn’t run random unnecessary things without your permission.