this post was submitted on 07 Mar 2024
390 points (94.3% liked)

linuxmemes

21173 readers
151 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] charonn0@startrek.website 3 points 8 months ago* (last edited 8 months ago) (4 children)

    Unpopular opinion: The Windows Registry, a centralized, strongly typed key:value database for application settings, is actually superior to hundreds of individual dotfiles, each one written in its own janky customized DSL, with its own idea of where it should live in the file system, etc.

    [–] nolight@lemm.ee 4 points 8 months ago

    Which is why I prefer NixOS (I use NixOS btw)

    [–] callyral@pawb.social 3 points 8 months ago (2 children)
    [–] excitingburp@lemmy.world 1 points 8 months ago

    The language itself has no type enforcement, the type checking is implemented within nixpkgs. This might seem like pedantry, but it really matters for things like LSPs (text editor autocomplete). I think that's what scares some people off: it's like OG Minecraft, you need to have the wiki/search.nixos.org open while you are doing your editing.

    That being said, the type checking goes much deeper than what the windows registry does - e.g. it won't allow you to enable conflicting services - like grub and systemd-boot - at the same time.

    [–] azthec@feddit.nl 1 points 8 months ago

    I agreee with you on the side of the concept, but the way it is organised and the potential values seem to make no intuitive sense (if they make any)

    [–] 0x4E4F@lemmy.dbzer0.com 1 points 8 months ago (1 children)

    That is true.

    But, due to the nature of how it works, it can be also used to hide data that the user "should not be aware of".

    [–] charonn0@startrek.website 1 points 8 months ago

    So can a dotfile, or any other kind of storage. There's really nothing inherently bad about the registry. Its reputation as a place to hide things in is equal parts selection bias, users' lack of technical understanding, and the marketing of "registry cleaner" apps.