• 36 Posts
  • 1.51K Comments
Joined 5 years ago
cake
Cake day: May 31st, 2020

help-circle


  • Ephera@lemmy.mlOPtoLinux@lemmy.mlUnderappreciated `top`
    link
    fedilink
    English
    arrow-up
    10
    ·
    9 hours 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
    8
    ·
    13 hours 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…










  • Ephera@lemmy.mltoProgrammer Humor@lemmy.mlCareer Advice
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 days ago

    Last year, money was running out in our project and the guy who had trained me decided he’d take the L and move to another project, so we could continue in the project. And yeah, suddenly I was in the role of the lead developer.

    Like, don’t get me wrong, I would’ve been the one to be moved to another project, if I wasn’t up for the task. It’s not like I was a complete dumbass.
    But it did still feel more like “I guess, we doin’ lead development now” rather than something I had intentionally worked towards.



  • I can’t really sell this as a solution, as it requires quite a lot more involvement than a simple configuration file should, but I use Nix Home Manager with Plasma Manager for this.

    This is part of the tooling you’d use on NixOS, but you can use it on other distros, too, and it generally works fine (although I’m not sure, if the current version of Plasma Manager still supports Plasma 5, in case you’re still on a distro with that).

    Basically, it allows you to define e.g. keyboard shortcuts like this:

        shortcuts = {
          ksmserver = {
            "Lock Session" = [
              "Screensaver"
              "Meta+Ctrl+Alt+L"
            ];
          };
    
          kwin = {
            "Expose" = "Meta+,";
            "Switch Window Down" = "Meta+J";
            "Switch Window Left" = "Meta+H";
            "Switch Window Right" = "Meta+L";
            "Switch Window Up" = "Meta+K";
          };
        };
    

    It then fucks up the formatting, so that it looks like KDE expects, and throws it into ~/.config/kglobalshortcutsrc.
    (KDE does actually have a text-based config, it’s just borderline unusable.)

    Well, and you can do this with lots of other Plasma options, too. Here’s their official example: https://github.com/nix-community/plasma-manager/blob/trunk/examples/home.nix


  • die [rechtspopulistische] PVV das Bündnis nach knapp einem Jahr an einem Streit über eine noch rigidere Asylpolitik scheitern ließ. […]

    Hinzu kommt, dass nach zwei verschenkten Jahren, geprägt von internen Querelen in der Regierung und deren obsessivem Fokus auf die vermeintlich strengste Zuwanderungspolitik Europas, das Land tief gespalten und das Vertrauen in die Politik zugleich angeschlagen ist. […]

    Auch keine andere etablierte Partei will sich nach den jüngsten Erfahrungen auf eine Koalition mit der PVV einlassen.

    Kann man nur hoffen, dass die für so eine Grütze auch tatsächlich abgestraft werden. Da hast du eine Regierungsbeteiligung und könntest Probleme angehen. Stattdessen stänkerst du nur rum, dass es unbedingt deine menschenrechtswidrige “”“Lösung”“” sein muss, sonst spielst du nicht mit.


  • Ephera@lemmy.mltoScience Memes@mander.xyzFictional
    link
    fedilink
    English
    arrow-up
    22
    ·
    5 days ago

    As I understand, the speed of light in vacuum is bound by the speed of causality. So, light would go at infinite speed, if it could (it being massless means any acceleration should result in infinite speed), but instead it goes as fast as the universe allows, which is the speed of causality.