• 2 Posts
  • 44 Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle




  • Ephera@lemmy.mlOPtoLinux@lemmy.mlUnderappreciated `top`
    link
    fedilink
    English
    arrow-up
    3
    ·
    14 days ago

    Yeah, I especially don’t understand it here, because it’s a graphical tool. You don’t have to keep backwards compatibility.

    Even if you’re worried about people depending on the format that’s being piped, you could keep only the piped format stable. We have the technology.


  • Ephera@lemmy.mlOPtoLinux@lemmy.mlUnderappreciated `top`
    link
    fedilink
    English
    arrow-up
    3
    ·
    14 days ago

    Yeah, I would often just grab htop because I had no idea how to read the CPU usage out of top.
    For example, for me it says:

    %Cpu(s):  0,4 us,  0,4 sy,  0,0 ni, 98,8 id,  0,0 wa,  0,3 hi,  0,0 si,  0,0 st
    

    Now that I look at it, I can guess that us and sy are supposed to be user and system time. And I guess id is supposed to be idle.
    I have no guess what the other numbers might be, though. And well, I would often like to see the CPU usage per core.
    Now I know that I can just press 1t and get effectively the same view as in htop.

    I might learn top’s filtering workflow, too. But so far, I always killed processes with ps -ef | grep <process-name> and then kill <pid>, which isn’t particularly more cumbersome, so will see…






  • I split my notes/todos into multiple files, but I wrote a small program which basically just creates a file with a randomized name in a flat directory and then opens it in my default editor.
    I just want to be able to start typing right away without worrying where to put the note or what to title it or whatever. Like, I will put a title on it and include some keywords to help me find things again, but I can do that later when I don’t need to noting things down…




  • Yeah, I’ve been using scripts to set only the parts I actually want to modify, which is already a pretty good step for reducing the amount of information and knowing what you publish without having to review the dotfiles when you back up your latest configuration changes.

    But even with that, there’s some info I do not particularly want public.
    Like, it starts with the name of my user account showing up in places. On my personal device, I just call it “main” to sidestep this whole problem, but if I want to use those scripts on my work laptop, well, the user name there is a shorthand of my real name, which I do not want to publish.

    But there’s also lots of things in between.
    Like, I make music as a hobby, which isn’t really something I care to announce to the world, but decided I don’t mind the world knowing either.
    On the other hand, I decided against sticking my RSS feeds into there for now, because I want to be able to add any RSS feed without having to think about whether I want that particular interest public.


  • Ephera@lemmy.mltoLinux@lemmy.mlUseful CLI tools like ffmpeg, ani-cli, yazi, etc.?
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    edit-2
    4 months ago

    Git: lazygit
    Docker management : lazydocker

    Well, seeing them in the list like that rubs me the wrong way. 😅

    Both of those come with a CLI, called git and docker respectively, which is the official way of using them. These CLIs might not be particularly sexy, depending on who you ask, but they’re decent enough and worth learning, even if you go the lazy* route, since online resources all just explain the official CLIs and you might find yourself one day administering remote systems where you can’t install additional software…



  • Sure, I guess, if you’ve got a distro installed on your PC and use the distro-provided packages to install the Rust compiler, then you can’t be subject to such certificate MitM attacks.

    Your comment sounded like you were primarily concerned about the shell script piping rather it just being a program which can be downloaded without going through distro packages.