• 0 Posts
  • 25 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
    ·
    8 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.



  • I was comparing it to civil or mechanical engineering. I agree that programming/software is growing and “infiltrating” our lives. That’s why I think it will become a licensed/certified term in the future. Software engineer will require a cert and some products will require certified engineers. Whereas web apps developers (most likely) will not use that title most of the time and we will just bifurcate those who work on “critical software” and those that do not.



  • Software engineering is just what any “engineering” field would be if they didn’t have standards. We have some geniuses and we have some idiots.

    Mechanical engineers, civil engineers, electrical engineers, etc. are often forced to adhere to some sort of standard. It means something to say “I’m a civil engineer” (in most developed nations). You are genuinely liable in some instances for your work. You have to adhere to codes and policies and formats.

    Software engineering is the wild west right now. No rules. No standards. And in most industries we may never need a standard because software rarely kills.

    However, software is becoming increasingly important in our daily lives. There will likely come a day wherein similar standards take precedence and the name “software engineer” is only allowed to those who adhere to those standards and have the proper certs/licenses. I believe Canada already does this.

    Software engineers would be responsible for critical software, e.g: ensuring phones connecting to an emergency operator don’t fail, building pacemakers, securing medical records, etc. I know some of these tasks already have “experts” behind them. But I don’t think software has any licensing/governing.

    Directly opposed to “engineering” would be the grunt work which I do.



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