• 0 Posts
  • 169 Comments
Joined 9 months ago
cake
Cake day: July 5th, 2024

help-circle


  • Kinda. Generally the user files (including custom installed applications) are on a rw partition. Whereas the system files (OS files, root folder, etc) are on a ro partition. When updates are applied to the core system they come as complete images. No compiling from source on the fly.

    The advantages to this is that it should be near impossible to break your system. If you need to roll back to a previous version the system just/downloads/mounts the previous image. There is less flexibility in terms of changing system files. But the idea with immutable distros is that you shouldn’t be modifying system files anyways, and there are different ways to accomplish things.

    A really good example is Android. Android (non-rooted) is kinda-sorta an immutable distro. Except it uses an A/B partition method, where the active system downloads and installs to the other partition, triggers a flag, then a reboot picks up the flag and boots from the newly installed partition. If anything goes wrong, another flag is triggered and it boots from the “good” partition.

    It’s not quite the same, but at a high-level it kinda is.

    Edit: article I found about it

    https://linuxblog.io/immutable-linux-distros-are-they-right-for-you-take-the-test/











  • It has standard bash capabilities

    Well, ya. Its terminal interface, I’d expect it to have “basic” capabilities.

    also can run standard dotnet libraries.

    That’s not exactly a selling point.

    What can bash do that PowerShell can’t?

    Write succinct and easy to read commands. Interop with all the powerful tools in the Linux ecosystem (which is the point of a shell like bash).

    posix lost except insofar as it lives on in the two mainstream highly proprietary OSs.

    That’s just simply not true. Three majority of core utils you find on most Linux systems are POSIX compliant or mostly compliant. IIRC all the GNU tools are POSIX.



  • Apple is mostly idiot proof

    It sure as hell is not. Not even close. That’s just the marketing that Apple has spent countless millions on propagating. You have no idea how many people over the years have asked me to help them with “simple” things on their Apple devices.

    One example is my mother for whom I bought an iPad when she was moving across the country away from me. I thought it would simplify things for her since I couldn’t do visits to fix things when she needed help. After a couple weeks she finally called me to tell she doesn’t like it and can’t figure out anything on it. Swapped it out for an Android tablet and I haven’t helped her once since then (like 5 years ago).

    Edit: I haven’t needed to help her, it’s not like I just ignored her from then on /Edit

    I’ve also setup multiple people with Linux (including my parents) and I never get tech help calls about it. At most it’s my dad saying he can’t find his bookmarks or he forgot his email password.

    So no, the idea that Apple is easier is just a lie everyone was tricked into believing. Most people have used Apple devices for a long time or know someone who has, so the support network is generally there for the small everyday things.

    I didn’t have to show my aging parents a single thing on their Linux systems. I just setup their shortcuts for Chrome/Firefox and their documents to the same spot on the desktop as their old Windows install and they just use it.



  • Are kids people getting ADHD because they didn’t sleep well? Or is poor sleep hygiene an early indicator of ADHD?

    The research shows that poor sleep hygiene can be a trigger for ADHD related symptoms. Poor sleep hygiene is not the same as “didn’t sleep well”. Poor sleep hygiene is not going to bed at an appropriate time, going to bed at wildly different times each night, blue light exposure within 2 hours of bedtime, etc.

    The ages of 0 - 4 years are the most crucial for brain development. It’s why newborns sleep several times a day. The brain hasn’t finished forming by the time they are born. Even at the age of 3, kids are still napping mid-day. And those naps are extremely critical for healthy brain development.

    So without good sleep hygiene, it can stunt brain development in a way that results in ADHD, or ADHD like symptoms.

    Lots of people with ADHD have poor sleep hygiene, even as adults. Many will struggle with things like Delayed Sleep Phase Syndrome, because they get their biggest bursts of focus late at night when everyone else is asleep, the brain is releasing dopamine to keep them awake, and distractions are limited.

    I have ADHD and DSPS. The reason people with DSPS feel awake at night is due to an issue with melatonin production. The brain doesn’t release melatonin normally (or at all) so the natural “feeling sleepy” signal never comes. I take prescription tryptophan and I’ve never slept better in my life. My “natural” sleep time in 2/3am and waking up is 10/11am. But with tryptophan I can have a “normal” sleep schedule.

    And that’s another interesting thing. Kids diagnosed with ADHD can see improved outcomes when they are given tryptophan to help regulate sleep.

    Btw, if you’re wondering. Tryptophan is an amino acid, and you can get it in pills that have medically measured doses. Why not just take melatonin? Well tryptophan metabolizes into melatonin and serotonin. It’s a guaranteed way to get melatonin.

    Off the shelf melatonin pills aren’t regulated with dosages the same way. In fact, a pill in a 10mg melatonin bottle might only have 1mg of melatonin or even 15mg. They aren’t reliable, and the other issue is that melatonin tends to not be bioavailable enough to work reliably. Tryptophan is very bioavailable. It’s the stuff in turkey that makes people sleepy after eating it.

    Edit: grammar



  • I’ve been using (mostly) Claude to help me write an application in a language I’m not experienced with (Rust). Mostly with helping me see what I did wrong with syntax or with the borrow checker. Coming from Java, Python, and C/C++, it’s very easy to mismanage memory the exact way Rust requires it.

    That being said, any new code that generates for me I end up having to fix 9 times out of 10. So in a weird way I’ve been learning more about Rust from having to correct code that’s been generated by an LLM.

    I still think LLMs for the next while will be mostly useful as a hyper-spell checker for code, and not for generating new code. I often find that I would have saved time if I just tackled the problem myself and not tried to reply on an LLM. Although sometimes an LLM can give me an idea on how to solve a problem.


  • CeeBee_Eh@lemmy.worldtolinuxmemes@lemmy.worldLinux is not ready
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 months ago

    Yes, it’s a weird hill to die on. My statement is factually correct. Even if you try to harden your Windows installation with the amount of effort to payoff that’s equal to driving across the country to visit your next door neighbour, it’s a weird hill to die on.

    there’s nothing Linux can offer me that Windows already doesn’t.

    Well, if you really want to have that convo, I’m more than prepared for that. Aside from privacy, there’s the level of security and performance that Windows only dreams of. This isn’t an opinion, these are just facts at this point.

    I do not care what you ‘think’ about it, I KNOW that.

    I guess you’re the only person on the planet who does.

    Why are you having an aneurism over this

    Sounds like you’re the one getting worked up. I frankly don’t care what you think you know. I don’t use Windows for a whole truck load of reasons. If you want to spend hours on end modifying the OS and fighting with built-in defaults, and then convince yourself it’s secure. Then go right ahead, its no skin off my back.

    But you’re definitely the one getting defensive over Windows.