• 1 Post
  • 269 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle
  • You can always combine integer operations in smaller chunks to simulate something that’s too big to fit in a register. Python even does this transparently for you, so your integers can be as big as you want.

    The fundamental problem that led to requiring 64-bit was when we needed to start addressing more than 4 GB of RAM. It’s kind of similar to the problem of the Internet, where 4 billion unique IP addresses falls rather short of what we need. IPv6 has a host of improvements, but the massively improved address space is what gets talked about the most since that’s what is desperately needed.

    Going back to RAM though, it’s sort of interesting that at the lowest levels of accessing memory, it is done in chunks that are larger than 8 bits, and that’s been the case for a long time now. CPUs have to provide the illusion that an 8-bit byte is the smallest addressible unit of memory since software would break badly were this not the case, but it’s somewhat amusing to me that we still shouldn’t really need more than 32 bits to address RAM at the lowest levels even with the 16 GB I have in my laptop right now. I’ve worked with 32-bit microcontrollers where the byte size is > 8 bits, and yeah, you can have plenty of addressible memory in there if you wanted.










  • If I were chronically sad in the evenings, I would actually bring it up with the doctor. I wouldn’t make a special appointment for it necessarily unless its progressing towards suicidal thoughts or something, but during a regular visit I would bring it up. I’m no stranger to mood disorders, and frankly, I wish I had approached a professional sooner about it. Would have saved a lot of grief not just for me but for family members who also suffered through my episodes.

    For something that seems too minor for a doctor visit, I would suggest speaking to a pharmacist. They are readily available without appointment or long waits, and have an encyclopedic knowledge of all sorts of over-the-counter remedies that are backed up by an advanced degree in medicine. Definitely an underutilized resource. Of course they may well suggest you talk to a doctor, but in my experience at least, they give thoughtful consideration to what you have to say and make such a recommendation not out of some lazy buck-passing but rather a genuine concern for your condition. So you would do well to heed their advice, whatever it might be.



  • I’m with you on this one. There are lyrics on almost every single track for crying out loud. Throw us instrumental lovers a bone won’t you? Songs that are lyrically driven but are otherwise super-repetitive instrumentally tend to put me to sleep.

    What I love about concerts is when the band goes off script and just starts jamming. Even a 5-minute drum solo will have me grinning ear to ear, and that’s what I’ll be remembering on the way home.


  • I think I could get very nervous coding for the military, depending on what sort of application I was working on. If it were some sort of administrative database, that doesn’t sound so bad. If it were a missile guidance system, on man! A single bug and there goes a village full of civilians. Even something without direct human casualties could be nerve-wracking. Like if it were your code which bricked a billion-dollar military satellite.

    Speaking of missile guidance systems, I once met someone who worked a stint for a military contractor. He told me a story about a junior dev who discovered an egregious memory leak in a cruise missile’s software. The senior dev then told him “Yeah, I know about that one. But the memory leak would take an hour before it brings the system down and the missile’s maximum flight time is less than that, so no problem!” I think coding like that would just drive me into some OCD hell.




  • In terms of consoles, I got the most enjoyment out of Super Nintendo. I think that’s in part because my kids were still young at the time and we played a lot of coop mode games on it before they got older and their tastes started diverging from mine.

    It was the golden age of platformers I guess, and the focus was still solidly on game mechanics over production. I especially liked Bomberman. The gameplay was just perfect the way the challenge scaled naturally even as you got upgrades or added a 2nd player. Literally a blast!




  • So you’re saying the comments themselves get cached on the local instance where the user is registered before being synced with the remote community-hosting instance?

    I honestly don’t know how these things work internally, but had assumed the comments needed to go straight to the remote instance given the way you can’t comment once said instance goes down? You can still read the cached content though.


  • When I first heard the term “fediverse”, it immediately made me think of some sort of vast interplanetary network. And let’s face it: a fediverse-like model is really what you would need if you had settlements scattered throughout the solar system. A monolithic, centralized service would be awful, given the reality of communication lag and likely limited bandwidth.

    So let’s say lemmy (or more generally activitypub) were to go interplanetary. How would that work out? You set up your first instance on Mars. Any content that’s posted there will be immediately available to your fellow Martians. Earthlings who subscribe may also be able to view it as their instances cache the content, albeit after some delay.

    But the trouble starts when Earthlings want to start contributing to the discussion. If they have to wait the better part of an hour to get a single comment lodged, it’s going to get old fast.

    So you would need to allow the Earth side to branch off to some extent from what’s happening on Mars. Then eventually, something like a git merge would try to bring it all back together? I wonder if that would work?