• 153 Posts
  • 7.13K Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle
  • It’s kind of bad for scripts, where it can be either annoying or genuinely problematic, when your script hangs on a password prompt. You typically do want it to just fail right away, because if you have monitoring, then you’ll be able to spot it failing.

    These days, it is (largely reliably) possible to detect whether a command is being run interactively or as part of an unattended script, so you do see some commands that trigger a sudo password prompt only for interactive use, for example systemctl does this. But this adds quite a bit of complexity to each individual program, so it isn’t really something that’s going to be implemented universally.

    I also have to say that systemctl kind of gets on my tits when it does that, because it throws up a GUI dialog for grabbing the password, which is quite jarring.







  • Most developers I’ve looked at would happily just paste the curl|bash thing into the terminal.

    I mean, I typically see it used for installing applications, and so long as TLS is used for the download, I’m still not aware of a good reason why you should check the Bash script in particular in that case, since the application itself could just as well be malware.

    Of course, it’s better to check the Bash script than to not check it, but at that point we should also advise to download the source code for the application, review it and then compile it yourself.
    At some point, you just have to bite the bullet and I have not yet seen a good argument why the Bash script deserves special treatment here…

    Having said that, for cases where you’re not installing an application, yeah, reviewing the script allows you to use it, without having to trust the source to the same degree as you do for installing an application.


  • Man, I do love when Wikipedia is Just Stating Facts™ and yet reads like the sassiest gossip, because reality is just so dumb[1].

    Ivanka Trump [Trump’s daughter with his first wife] has been described as the inspiration of Mar-a-Lago face.

    Kristi Noem, Melania Trump [Trump’s third wife], and Kimberly Guilfoyle have been described as having Mar-a-Lago face.

    He does like to talk about wanting sex with Ivanka, so I guess, that tracks.

    Melissa Rein Lively, a MAGA political worker, was reported […] to reject “any idea of submission or constraint” associated with Mar-a-Lago face, and that “no one forces me to do two hours of sport a day, to go to the hairdresser every three and a half weeks, to get my nails and eyebrows done, to get Botox.”

    Blink twice, if you’re being forced to say this…? Seriously, why would you list a bunch of unpleasant aspects, if you’re trying to make the point that you don’t mind it?


    1. By the way, we do have a great word for this in German: Realsatire – when reality is so ridiculous that merely recounting it sounds like satire. ↩︎


  • One thing that will become important pretty quick if you continue making these scripts is that it’s almost always better to wrap your variables in quotes - so it becomes yt-dlp -x “$a.

    Oh man, this reminds me of the joke that any program that’s more complex than Hello World has bugs – and folks still don’t even agree how to spell “Hello, World!”.

    Of course, Bash is a particular minefield in this regard…











  • In the original blog post, it isn’t stated as a conclusion that OnlyOffice is fake open-source because they default to a proprietary file format, but rather just as a general dig at them.

    I can certainly understand the sentiment. OnlyOffice is developed by a corporation. It can be forked in theory, but in practice there is no open-source community with the knowledge or developer capacity to do so. So, users are ultimately still reliant on a corporation with a profit motive to not fuck them over.

    Also has to be said, though, that the dig is written as part of the perspective from the author of that blog post, and merely mentioned in passing, too. It is far away from an official statement by the LibreOffice community.



  • Ephera@lemmy.mltoComic Strips@lemmy.worldArtist
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    Yeah, always found that interesting, how a talent can play out in two ways:

    1. You get feedback from the outside that your talent is exceptional and you show it to everyone.
    2. Or you don’t get that feedback, you kind of just assume that everyone is as good as you are, and that your talent is not worth showing. By not showing it, you continue to not get feedback on it and may not realize for quite some time.