• 2 Posts
  • 141 Comments
Joined 3 months ago
cake
Cake day: January 9th, 2026

help-circle



  • Congratz on liberating your computer and yourself.

    Just a little advice on using the AUR: It is an user driven repository of software, meaning anyone can upload stuff to it. Usually you are adviced to read the AUR script before installing it (most don’t, especially newcomers). So you should be very careful and only install from trusted AUR scripts. Maybe install from Flatpak instead from AUR if you can, but that depends on many factors.



  • I personally don’t think this service as a license changing of an existing project. If it reads and implements the same thing from scratch, then its a new implementation with a new license. I see it similar to how reverse engineering is done in example. And with the approach of two different agents I think this is okay, as it is a new implementation. I mean this is something humans could do themselves too. The only thing is, can they actually proof that both agents aren’t trained on the data they are reading and re-implementing it again (for the clean room implementation)?

    The biggest problem to me is, using Ai tools in general, because of what and how they are trained on. But that is a different topic for another day.



  • The developers of systemd said they will never support that, so I think its safe for now. Also why do you think systemd would “require” a government id check? systemd is just providing the functionality; it is the distribution / operating system that implements all the functionality. So if an operating system does implement it, I might find a different operating system, regardless of if it uses systemd or not. That is true for any other component too, not just systemd.



  • If you have to ask this, then its probably good idea to stick to systemd. I don’t see any reason to change, other than to protest. In the process doing so you will probably encounter issues. People switch away from systemd for various reasons, but not for performance. In example they don’t like who develops and controls systemd. And they don’t like that it does more than just initializing the system, as bunch of other tasks are bundled into it. If all of that does not bother you, stay with systemd in my opinion.

    And if you really want to switch to systemd, then I recommend to use a dedicated operating system (a distro) with that in mind. Don’t forget, that systemd has many features and services, that its expected as a standard. You do not just change an init system, but replace all other components too.






  • Aliases themselves do not take arguments. You can write Bash function for that case. Here is a “simple” example. I leave the comments there explaining the command too:

    treegrep
    treegrep() {
        # grep:
        #   --recursive             like --directories=recurse
        #   --files-with-match      print only names of FILEs with selected lines
        # tree:
        #   --fromfile              Reads paths from files (.=stdin)
        #   -F                      Appends '/', '=', '*', '@', '|' or '>' as per ls -F.
    
        grep --recursive --files-with-match "${@}" |
            tree --fromfile -F
    }
    
    yesno

    You can also set variables to be local to the function, meaning they do not leak to outside or do not get confused with variables from outside the function:

    # usage: yesno [prompt]
    # example:
    #   yesno && echo yes
    #   yesno Continue? && echo yes || echo no
    yesno() {
        local prompt
        local answer
        if [[ "${#}" -gt 0 ]]; then
            prompt="${*} "
        fi
        read -rp "${prompt}[y/n]: " answer
        case "${answer}" in
        [Yy0]*) return 0 ;;
        [Nn1]*) return 1 ;;
        *) return 2 ;;
        esac
    }
    

  • I do write scripts and commands (and Bash aliases or functions) all the time. The scripts live in ~/.local/bin and are executable like any other program, as that directory is in my PATH variable. I have a projects directory where I archive them, and some of them are uploaded to my Github account. Some of them are later rewritten in Python and get a life on its own.

    1. yt-dlp-lemon: Simple wrapper to yt-dlp with only a subset of options.
    2. unwrap: Wrapper to marry GNU Parallel and 7-Zip for archive extraction.
    3. biggest: List biggest files and folders.
    4. ?: cheat .sh - The only cheat sheet you need. (Note, commands name is just ?)
    5. woman: Preview list for man documents.

    Besides my more simple scripts and aliases and functions.

    6. system update and all updates:
    alias update='eos-update --yay'
    alias updates='eos-update --yay ;
      flatpak update ; 
      flatpak uninstall --unused ; 
      rustup self update ; 
      rustup update'
    
    7. Or a recent script to convert files to mp3 format: tomp3
    #!/usr/bin/env bash
    
    for file in "${@}"; do
        output="${file%.*}.mp3"
        if [[ -f "${output}" ]]; then
            continue
        fi
        ffmpeg -i "${file}" -b:a 320k "${output}"
    done
    



  • thingsiplay@lemmy.mltoLinux@lemmy.mlRTFM
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    9 days ago

    “They”. That’s one sort of people who does RTFM the wrong way in my opinion. If I do RTFM, even for obvious simple ones, I most likely point to where to look at, ideally with a link. I do not RTFM literally, but saying there is some documentation and pointing to it usually. To me just saying RTFM (literally with this acronym) is rude, especially if someone already struggles and asks basic questions. Not everyone is “they”.


  • thingsiplay@lemmy.mltoLinux@lemmy.mlRTFM
    link
    fedilink
    arrow-up
    14
    ·
    10 days ago

    The idea of RTFM is that if you have questions, then we are all on same page with basic information found in the manual. I mean you expect others explain what is already said in the manual. Its like asking how to use your microwave oven, even if you have the manual right at your hand. Now, if the manual is unclear or difficult to understand, that is a different story. Then you can at least say you didn’t understand it. The point is, that you did something before (your homework) and looked at the obvious places like the manual (and maybe further websearch).

    People don’t like others being lazy and asking the questions that doesn’t need to be asked. That’s why RTFM exist. As much as you might take the “RTFM” as an offending answer, those people think of you question as offending too. Now there are people who use this term loosely in places when it is not appropriate. Also it depends on the audience. If your grandma tries to use a browser to watch funny cat videos, and asks how to use it, then it would be inappropriate to say RTFM. But if you have a Linux user who asks about how to use grep, then I think it is an appropriate reply.