• 0 Posts
  • 110 Comments
Joined 3 years ago
cake
Cake day: June 30th, 2023

help-circle

  • Guess I’m one of the few. No idea what to expect, watched it because it was Hal. Then some guys make fun of his disabled son and he walks out of the store while his wife is hoping he’d do something, and I thought “ah, shit, this won’t be any good, Hal is a coward in this one”. And then he walks through the front door and punches them out, and they hooked me with that scene because Hal was a badass. And he kept being a badass, to the point where I didn’t even really care about the morality (first viewing at least, I hated him the second viewing, though he’s still entertaining to watch) and just wanted to watch Hal take over or burn down the world. It’s a wild ride, even after multiple viewings.

    Better Call Saul is even better, though I found that one dragged a bit at the start and it took a couple tries to get into it.




  • Buddahriffic@lemmy.worldto196@lemmy.blahaj.zoneLinux Rules
    link
    fedilink
    English
    arrow-up
    1
    ·
    15 days ago

    What you said is accurate but it implied systems with an OS don’t run machine code directly. They still do, just the CPU has ways of automatically interacting with the OS when it needs to (and those features are enabled), mostly via interrupt handlers. Things like address translation happens transparently, either via a lookup table for recently used addresses or the CPU will throw a TLB miss interrupt if it’s not ready to go and needs the OS to give it a mapping (or maybe even load the page from disk before it can proceed).

    CPU architecture is pretty interesting and doesn’t require programs run through a translation layer like Java, Python, or JavaScript. The translation layers themselves are programs running as machine code at the user level.

    Edit: I see now that you meant the directly as in the microcontroller runs the ARM uarch. I’ll leave this up in case anyone reads it like I did initially, but sorry for the misunderstanding on my end.


  • Our whole nervous system is a big neural network that extends through the entire body. There’s additional networks at each of our organs and muscle groups. They are already known to contribute to finer control of the organs, eg the brain doesn’t need to send signals to each individual heart muscle for each beat, the heart’s “brain” can handle that on its own. Reflexes and muscle memory can be handled more locally, too. Same with stress level, your liver might decide you’re irritable because of all the alcohol it needs to process.

    But at the end of the day, it’s just a massive self-learning neural net that can encode other things. If you play a music instrument, maybe your finger neurons store more of the memory of how to play specific songs than you’d expect. So if you’re an expert piano player and lose your hands but replace them with prosthetics that can easily outperform normal hands, you might not be able to play the songs you could expertly do before. Hell, maybe even foot tapping along with a beat means that part of the experience in hearing or remembering some or all songs involves neurons in your legs.

    You’d still feel like you, but parts would be missing. It’s not very well understood to what extent, but it does look like there is an extent, and not just for the gut “brain”.




  • Buddahriffic@lemmy.worldto196@lemmy.blahaj.zoneBASIC rule
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Goto was risky and it was one big name on some BBS back in the day that pushed for a “never use goto” dogma, rather than figuring out rules for when it should or shouldn’t be used. And a whole bunch of people just jumped on that bandwagon, but not everyone.

    The main rule for using goto that I’m aware of is to never use it to jump into the middle of a scope. Jumping around in the same scope is fine, jumping out of a scope is fine (assuming you handle unwinding the stack correctly, which I think the C compiler tries to do, at least, but there are other constructs that can save/restore stack contexts to do the same thing as a goto but safer).

    Though programming language contstructs can also help eliminate the cases where using goto gives better code. Breaking out of nested loops is the main good case for goto that I’m aware of. Without a goto, you need to set up an exit flag and check it before starting a new iteration for each loop level you want to escape from. Unless your language supports labelled breaks/continues, in which case the compiler knows which loop the break/continue refers to instead of needing to always assume it means the deepest level.

    C/C++ is my favourite language, but I’ve used an enhanced C++ with labeled loops and it was nice.


  • That’s what I would do with shower heads, since landlords typically just go with cheap ones that check off “has shower” but otherwise generally suck. They just screw off, I stick the crappy one in the cabinet under the sink, and install another one that I bought.

    Frustrating part is that it doesn’t even cost much to get a decent one instead of the cheapest possible. It’s like landlords and developers go out of their way to save a tiny amount on hardware and appliances that are significantly worse than what you can get for not that much more.




  • I have been preparing for this for a while (yeah, that’s why I spent so much time on this…)

    Some of my favourites (includes mangwa):

    Dan-da-dan (ongoing) (just note that the early part makes it look like it’s going to be very sexual but that’s not the tone of the whole thing. I’d call it pretty wholesome overall tbh)

    Hunter x Hunter (hiatus) (unfortunately it went in hiatus in the middle of an arc, but the whole thing is peak, each arc is like its own complete story of a slightly different genre)

    Surviving the Academy (hiatus though season ended) (person gets dropped into a video game setting, it’s a harem one but the characters have depth and it’s done well instead of a cringy self-insert fantasy. It’s actually a rare one like this that doesn’t have a “system” with video game-like levelling)

    Webtoon Character Na Kang Lim (ended) (found this one in comments on Surviving the Academy suggesting it to people commenting on it being a harem story that actually didn’t suck. This one is guy who reads a webtoon makes a comment about the oblivious MC who doesn’t see the characters throwing themselves at him and then ends up in the story himself as a regressor)

    Omniscient Reader’s Perspective (ongoing) (this one is amazing, story is MC was the only one who read a webnovel all the way to the end, some 3k chapters, then, on the subway gets a message from the author thanking him for sticking with it, this copy of the story might come in handy because the paywall is going up, good luck! And then the story starts with him in it. And it’s so good, between trying to help/manipulate/not get killed by/befriend the psychopath regressor MC that is already tired of everyone’s shit and use his knowledge from the massive overwritten book to get strong himself while avoiding the suspicion of very powerful entities)

    My Dress Up Darling (ended) (completely different pace from the others, this is a romance about a couple of high school students, one an aspiring hina doll maker, the other an aspiring cosplayer, he helps her make costumes and it’s funny and cute af)

    Others I like but won’t go into a long description for:

    Dragon Ball Super, Re: Zero (this one splits the segments into different named projects), Stein’s Gate, One Punch Man, The Knight Who Only Lives Today, Hero Killer, Pick Me Up, Solo Leveling (and ragnarok), I’m Going To Wipe Out This Country, 'tis Time for “Torture” Princess

    And one if you like the idea of 400+ chapters of a romance with characters so frustrating a decent portion of readers commenting where I see that they don’t even want them to end up together (myself included): Rent-a-Girlfriend

    Haha kinda related but the subreddit for Rent-a-Girlfriend is one of the must obviously bot-driven boards because it went from about 50/50 people upset with the author vs happy with it a few months ago to people mostly writing long comments repeating the same general statements optimistic about how it’s going, sometimes in Spanish (with people replying in English as if that was completely normal). It was sad to see, it just feels like an advertisement now instead of a discussion.