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

help-circle

  • 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.


  • 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…



  • Ephera@lemmy.mltoMemes@lemmy.mlAI advice
    link
    fedilink
    English
    arrow-up
    42
    ·
    2 days ago

    Man, I really hate how much they waffle. The only valid response is “You have to drive, because you need your car at the car wash in order to wash it”.

    I don’t need an explanation what kind of problem it is, nor a breakdown of the options. I don’t need a bulletpoint list of arguments. I don’t need pros and cons. And I definitely don’t need a verdict.




  • Well, you don’t really need to announce anything, if the AI-generated submissions were super helpful anyways.

    But yeah, I guess, all I can say is that I really don’t believe your theory. Especially Widelands could’ve done so many other things in the past, if they cared so much for attention.

    But I have also been in the maintainer role, having to deal with generated submissions, and it really isn’t fun. I’m talking specifically about fun, because these are community-driven projects, so you need volunteers to have fun for anything to happen.
    In theory, a generated code submission could bring useful changes to the project, but it still isn’t fun to review, because there isn’t a human on the other side that you can teach. Even worse, you’re effectively just talking to an LLM through a middleman. If I wanted to use an LLM, I’d use it directly.




  • Yet more suggestions which you didn’t ask for:

    1. GitNote might be up your alley. Its UI is not as slick as QuillPad, nor does it have as many features, but it does faithfully keep the folder structure.
      Somewhat of a deal-breaker for me personally: It can’t do reminders.

    2. Embrace the chaos. 😅 I have a little program for managing my notes on desktop and it just dumps them all in one folder, too. If I need to find something again, I’ve got a little text search, which is basically the equivalent of grep -iR. I just make sure to mention enough keywords in each note, so that I can find it again.
      Personally, I much prefer this workflow, because you can start typing (and hitting Ctrl+S) and then later ensure that it has all the right metadata, rather than having to select a folder upfront where it will be saved.

    I actually tried QuillPad not too long ago and couldn’t make it work for me, but being able to save as normal files seems to be a recent addition, so maybe that’s what I was missing.
    I’ll probably try setting it up to work with my desktop note system then…




  • To be honest, what I’m most mad about isn’t the typoes, it’s that someone generated this image and figured, yeah alright, that will clear things up.

    On some level you want to believe that even if someone does not come up with a proper concept for a visualization, that they still check what the AI shat out, so that it’s at the very least not conceptually wrong and not confusing.

    This image isn’t just shitty, it’s actively worse than having no visualization. They could’ve generated that, chuckled, and not used it. Just how do you blunder your perception check so badly that you decide to include it anyways?




  • Ephera@lemmy.mltoLinux@lemmy.mlKDE Plasma 6.6 released
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    Yeah, I’ve done that occasionally, too, but it adds a load of friction for moving windows between screens, in particular also when un-/replugging the screen, so it’s still painful enough that I don’t bother with a second screen.

    I guess, it also plays a role that I do use lots of workspaces, so it’s 1) extra painful and 2) I don’t have as big of a need for a second screen, since I can just switch out what first screen displays very quickly.


  • Ephera@lemmy.mltoLinux@lemmy.mlKDE Plasma 6.6 released
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 days ago

    Oh boy, feature freeze for Ubuntu 26.04 is on Thursday. Hopefully, they still include this update.

    My work laptop unfortunately comes with Kubuntu LTS and I desperately want the virtual-desktops-only-on-the-primary-screen feature on there. Currently, I’m the guy that actively disables all but one screen, because my workflow does not work at all with the secondary screen switching in sync with the primary screen.


  • Ephera@lemmy.mltoLinux@lemmy.mlKDE Plasma 6.6 released
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    I still wouldn’t assume it to actually go further than that. It’s a limitation of the EWMH standard, which is used for controlling the placement of windows.

    I don’t have in-depth knowledge of the standard, but I assume, it can only represent 1 desktop as the active desktop and stuff like that.
    Maybe you could try to be clever by e.g. always reporting the active desktop of the active screen and stuff like that, but yeah, no idea if you can do that for all aspects of the standard, and whether applications will still behave as expected.