• 0 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: July 20th, 2023

help-circle
  • As someone who’s written pipelines who do exactly that on Windows, macOS, Linux across x86_64, aarch64, and MIPS, with optimized, unoptimized, instrumented for ASAN, instrumented for TSAN, and instrumented for coverage, and does it all in a distributed containerized workflow… It’s not as easy as it sounds. Honestly macOS is way more of a hassle to deal with than Linux.

    Unless you need ROS. ROS is utter garbage. ROS is popular in robots. ROS is, unlike its name, not actually an operating system but rather a system of tools and utilities which do not follow any standards and certainly not the OS standards. I literally hate ROS. I would burn that shit to the ground and rebuild-the-world if I had the time to.


  • I have had to un-teach dumb things that people learn from Windows.

    A menu item to run a GUI program as root it is indeed a rather absurd scenario. It suggests that you want to violate the admin/user barrier which is intended to be difficult to surpass except in certain circumstances.

    There can be a lot of things under the hood that are necessary to run a GUI program as root depending on whether you’re using X11 or Wayland or something more esoteric. It’s doable though.

    But instead of doing that, why not just learn how to use the command line? Every administrative task can be done via the command line, but not every administrative task has a GUI counterpart. So you’re going to need to learn to use the command line sooner or later.


  • inetknght@lemmy.mltoLinux@lemmy.mlXZ backdoor in a nutshell
    link
    fedilink
    arrow-up
    18
    arrow-down
    1
    ·
    8 months ago

    and would not include it in the main repo

    Tests that verify behavior at run time belong elsewhere

    The test blobs belong in whatever repository they’re used.

    It’s comically dumb to think that a repository won’t include tests. So binary blobs like this absolutely do belong in the repository.



  • Disabling a systemd service won’t prevent it from starting. For example, if another service depends on it then it will start anyway.

    You have to mask the service which redirects the service files to /dev/null so that the service effectively has zero directives.

    systemctl mask --now snapd

    It also means that anything which depends on snapd will likely fail. That is absolutely an improvement since we obviously don’t want anything that depends on snaps.



  • I was running Fedora. Something like 27 or so. I needed drivers. I don’t remember if it was AMD or Nvidia, but they were only available on RedHat.

    So I downloaded the RedHat drivers for the GPU and forced it to install. It worked! It was great.

    Then when I updated the distro to the next release… everything failed. It was dropping into grub, but no video was output. Ooof.

    So I ended up enabling a terminal console and connecting to it via a serial port to debug. I had to completely uninstall that RPM and I was never happy that it was properly gone. So a few months later I ended up reinstalling the whole OS.

    On the plus side, I learned a lot about grub and serial consoles. Worth it.













  • AFAIK there has never been an actual evidence-based study for how long and how often you should brush and floss.

    The National Institute of Health has a ton of public-paid studies. Did you even bother to search it before making your astounding claim? https://www.nih.gov

    Just one search for nih brush time shows several studies. Let me just link the top two…

    https://pubmed.ncbi.nlm.nih.gov/19723429/ -> “This study was undertaken to measure plaque removal during untutored brushing over timed periods between 30 and 180 seconds with”

    https://pubmed.ncbi.nlm.nih.gov/16355646/ -> “This review shows that there is consensus in the literature that (meticulous) tooth brushing once per day is sufficient to maintain oral health and to prevent caries and periodontal diseases. Tooth brushing is also regarded as an important vehicle for application of anti-caries agents, such as fluorides. However, most patients are not able to achieve sufficient plaque removal by performing oral hygiene measures at home. Therefore, tooth brushing twice daily is recommended by most of the dentists in order to improve plaque control.”

    OP poses one question with two parts. The first study answers the time (2-3 minutes) part. The second link answers the other part (twice daily).