• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle










  • Captain Janeway@lemmy.worldtolinuxmemes@lemmy.worldHtop too
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    5 months ago

    Is there a perfect scheduler that is non-optimal in the Big(O) sense but is optimal if you’re looking at maximizing hardware utilization? In other words, scheduler that takes a long time to determine CPU utilization for each process, but provides an optimal total CPU utilization? I realize that it would not be ideal since we’d essentially have these “sudden stops” as it recalculates the schedule. I’m just more interested in the theory.



  • Vi is meant for old school and modern terminals. Ctrl+S or Ctrl+C had very particular purposes in software control flow. With Vi you can communicate via SSH on almost any unix file system. It’s basically a universal editor that doesn’t require a mouse or a lot of keys on a keyboard. You can get away with just a subset of the ASCII set.

    So for one, it’s kind of like having a backwards compatible piece of software that exists on almost any system you might need to remotely control via a keyboard with no GUI.

    For two, once you do learn how to use Vi/Vim/Emacs, you’ll be far faster at typing. It has several useful tricks for automating typing (faster copy/paste, copy/paste n-times, jump around lines/chars, go-to lines, search via Regex, etc.) which are particularly useful in a programming context.

    Generally, it’s worth a developer spending at least a day or a week typing only in Vi for programming. Yes, you’ll be slow and clunky. But the moment you have to SSH into a server and make meaningful changes to a file, you’ll be happy you spent the time.


  • I’ve had no major issues with my Ubuntu distro. Snap updates work without closing any software - as far as I know. I just tested a snap refresh, but I didn’t have any out-of-date software.

    I would argue I push the boundaries of common Ubuntu usage as well. I have 8TB of mixed HDD and SSD storage which I use for gaming, Unity development, Blender, Plex server, and random programming projects (e.g. k8s cluster work). I don’t have any major issues.

    People complain a lot about Ubuntu and I just don’t get it. It’s a good software for the average consumer, in my opinion. My wife uses it for her computer and has pretty much no issues.

    I do want to switch to Linux Mint someday since people are adamant that it’s better than Ubuntu but I think I’ll stick with Ubuntu since I’ve setup so many things on this machine and I don’t want to redo this work.