• tal@lemmy.today
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      4 months ago

      There are a few utilities even on the command-line side that will require confirmation (or passing --force or something like that) but it tends to be in cases where you almost certainly don’t want to do what you’re doing.

      And there are a very few that just don’t let you do so at all.

      rm won’t normally remove a file if you don’t have permissions to do so, though if passed -f, will give you the permissions if you have the authority to do so.

      mkfs utilities (“create a new filesystem”) typically require a force flag to overwrite a filesystem that’s in use; normally when that happens, it means that someone’s typed the wrong device file name and is about to blow away the contents of their drive.

      fsck, the filesystem checking and repair utility, will refuse to modify a mounted filesystem at all (which normally could be expected to corrupt a filesystem).

      That being said, I think that there’s a serious problem on Windows dating back many years where programs throw way too many warnings up, where users constantly encounter confirmation prompts even when they are doing a pretty normal operation and in fact do want to do something. That’s not just annoying. It also trains users to just whack “confirm” anytime something comes up, which makes it impossible for software to meaningfully warn when there is a serious problem.

      I’d also add that I kind of think that GUI software would benefit from a standard “confirmation API”. It used to be the norm for software to throw a dialog box up for confirmation. Linux and Adnroid – and I assume Windows and MacOS, but I’m out of date there – have a notification API, where software can tell a notification manager that the user needs to see a message. That’s nice, because then the notification manager can handle the notification in sophisticated ways; do things like text the user the notification, auto-dismiss notifications, filter some out, play a sound, refrain from playing sounds, etc. But AFAIK – and I don’t use a lot of GUI software these days – they still use confirmation dialogs. I’d kind of prefer that they use something like the notification manager, so that one could set up the notification manager to auto-accept certain notifications, log notifications, and so forth. Another annoyance is that most dialog boxes are set up to have Enter and sometimes Space auto-accept. This is obnoxious, because one might be in the process of hitting Enter or Space when interacting with another window; if a confirmation dialog comes up, one can simply immediately inadvertently accept the confirmation. Having the notification manager handle confirmations would help avoid this. I’d personally rather have a dedicated key or key combination to confirm something that’s used only for confirming things, and I’d rather have such confirmations processed in first-in-first-out order. With software throwing dialog boxes up, a confirmation can “jump in front” of another, using last-in-first-out order. Plus, it’d let me have the confirmations auto-accepted.

    • kittenzrulz123@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      I use Trisquel GNU/Linux-libre, I’m just pointing how that it sucks that im seen as a boomer for wanting to actually use my computer rather then my computer using me.

      • Chakravanti@lemmy.ml
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        4 months ago

        Are you kidding me? I preach the matter every time I manage to get someone to listen to me.

        Doesn’t matter who you pay or how much. If you run closed source software, it isn’t “your” computer because you don’t know WTF it really does. You just take some guy’s word for it and that’s that. Free as in Freedom means that you may do as you will because FOSS does what you will it to do. Let’s not even play with trust. I don’t need to trust anyONE when I can trust the masses instead.

        • kittenzrulz123@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          3
          ·
          4 months ago

          Absolutely agreed, I never ask “why should I have access to the source code” I ask why the source code should be hidden from me. That’s why I use a Librebooted Thinkpad T440p and once RiscV laptops become powerful enough I’ll use one that’s open source.

          • Chakravanti@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 months ago

            I had a librem 13 for four years til it bit the dust…twice (3yr warranty the first at 2y in). I like X2** series. Kind of prefer the X230’s