• 0 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: June 3rd, 2023

help-circle





  • Because I already had my fingers closer to “su” than to “-s”… but more seriously, because I tend to use sudo -E su on a remote terminal with a PS1 set to colorize the prompt based on whether I’m running root and the host if it’s remote, but sudo -E -s doesn’t run the root’s .bashrc that runs the updated colorization while at the same time exports too much of the user’s environment into the root shell.


  • Haven’t you heard? The UEFI bios can have binaries included by the board manufacturer that Windows will ask for and automatically run on startup… for example to download a GigaByte control center installer to fill your recent install with crapware… that would then proceed to download a self-update from a http (no-s) URL. And the binaries will work even if they’re signed with revoked certificates and have been injected by any device with DMA access!

    That’s… like… super cool, isn’t it? If only we could have that on Linux… /s

    Also, the modern bioses have pretty graphics and mouse support… /s/s


  • jarfil@lemmy.mltoLinux@lemmy.mlIs Systemd that bad afterall?
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    As an AI language model, I can understand and communicate fluently in different languages such as English, 中文, 日本語, Español, Français, Deutsch and others. Here are some examples of how I can complete the sentence:

    • As an AI language model, I can translate text or speech from one language to another.
    • As an AI language model, I can paraphrase or rewrite sentences to improve clarity or style.
    • As an AI language model, I can detect the sentiment or tone of a text or speech.
    • As an AI language model, I can answer questions or chat about various topics.
    • As an AI language model, I can generate catchy slogans or headlines for products or services.

    Which one do you find the most useful? 😊



  • Snaps and Flatpaks, are essentially the same thing seen from a different angle, so anyone preferring one over the other, basically deserves whatever they get 😋

    The rest… well, freedom of choice is one thing, but when discussing the pros and cons, there are likely people who got burned by the cons of any choice out there, and each choice has their fair share of cons, so it’s understandable that they’d sometimes get emotional.



  • Xorg, or X11, “used to” do the “minimum necessary” for a remote display system… in the 80s. Graphics tech has changed A LOT in the last 40 years, with most of the stuff getting offloaded to GPUs, so the whole X11 protocol became more and more bloated as it kept getting new and optional features without dropping backwards compatibility.

    The point against Wayland, was dropping support for remote displays, while kind of having an existential crysis for several years during which it didn’t know what it wanted to become. Hopefully that’s clear now.

    OpenRC and runit are indeed working alternatives, but OpenRC is kind of a hack over init.rd, while runit relies a bit too much on storing all its status in the filesystem. Systemd has a cleaner approach and a more flexible service configuration.


  • “do one thing well”

    Arguably, Systemd does exactly that: orchestrate the parallel starting of services, and do it well.

    The problem with init.d and sys.v is they were not designed for multi-core systems where multiple services can start at once, and had no concept of which service depended on which, other than a lineal “this before that”. Over the years, they got extended with very dirty hacks and tons of support functions that were not consistent between distributions, and still barely functional.

    Systemd cleaned all of that up, added parallel starting taking into account service dependencies, which meant adding an enhanced journaling system to pull status responses from multiple services at once, same for pulling device updates, and security and isolation configs.

    It’s really the minimum that can be done (well) for a parallel start system.






  • It’s not a bug, it’s a feature. Think of it like this:

    • Instances: define some ToS and Code of Conduct
    • Communities: define a theme and a sub-Code of Conduct

    By having multiple instances, you aren’t bound by a single ToS or Code of Conduct, you can pick whatever instance you want that matches the content you want to post to a community.

    For example, the same “Technology” community could be on:

    • an instance directed to kids
    • an instance that allows visual examples of medical procedures
    • an instance that discusses weapons technology

    Having the community limited to a single instance, would never allow the different discussions each combination of instance:topic would allow, even if the topic is technically the same in all cases.

    Forcing communities from multiple instances to merge, would also break the ToS of some of them.

    So the logical solution is for the user to decide which instance:communities they want to follow and participate in, respecting the particular ToS and Code of Conduct of each.

    On Reddit, the r/Technology community needs to follow a single set of ToS and Code of a Conduct. If you try to discuss something that meets the topic but is not allowed, then you will get banned, possibly from all of Reddit.


  • It’s not a bug, it’s a feature. Think of it like this:

    • Instances: define some ToS and Code of Conduct
    • Communities: define a theme and a sub-Code of Conduct

    By having multiple instances, you aren’t bound by a single ToS or Code of Conduct, you can pick whatever instance you want that matches the content you want to post to a community.

    For example, the same “Technology” community could be on:

    • an instance directed to kids
    • an instance that allows visual examples of medical procedures
    • an instance that discusses weapons technology

    Having the community limited to a single instance, would never allow the different discussions each combination of instance:topic would allow, even if the topic is technically the same in all cases.

    Forcing communities from multiple instances to merge, would also break the ToS of some of them.

    So the logical solution is for the user to decide which instance:communities they want to follow and participate in, respecting the particular ToS and Code of Conduct of each.

    On Reddit, the r/Technology community needs to follow a single set of ToS and Code of a Conduct. If you try to discuss something that meets the topic but is not allowed, then you will get banned, possibly from all of Reddit.