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



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


  • It’s moreso that it’s under Microsoft’s thumb. See all the tech companies are unreliable and out for you data but Microsoft also consistently fumbles on everything. They made Windows and Office then just stopped doing anything new and kept making their old products worse.

    Xbox is practically dead, they bought Minecraft and you can feel the vultures circling overhead, even the AI bubble they’re just funding OpenAI and making slight adjustments for their own versions.

    I’m planning on jumping ship to Linux when I make a new PC. Only thing Microsoft I even consider using nowadays is VScode.


  • Wirlocke@lemmy.blahaj.zonetomemes@lemmy.worldthe cold war
    link
    fedilink
    arrow-up
    54
    arrow-down
    1
    ·
    edit-2
    4 months ago

    My main criteria for a browser is not being Chrome or Chromium based.

    This leaves my only options being Firefox and it’s forks.

    Or Microsoft Edge which stifles laughter I’m not gonna do.

    Currently on Firefox but might give Librewolf a try.

    Edit: I’ve been told Edge is also Chromium based now, the Firefox ecosystem really is the last holdout huh?






  • The spark is temporary, in my experience it comes and goes in waves. But a relationship requires work, even if your bored with/frustrated at/unfulfilled by your partner, some level of effort and perseverance is where true love begins.

    There’s always a balance, don’t put effort into a sinking ship. But if you want a long term marriage your going to have to risk investing in someone who’s not currently satisfying you.

    Also get checked for anything external that could make you lose interest, like depression that fosters apathy or ADHD that fosters boredom. If it’s bad enough to end 5 marriages it may be that your brain is chemically unsatisfied.




  • Nothing you said about black holes really contradicts what they were saying? Even if a star and black hole can have the same gravity, there is still a shell of space that once you pass you cannot ever return. I’m sure Superman could go into a star and come back out, not so much with a black hole.