• 1 Post
  • 43 Comments
Joined 1 year ago
cake
Cake day: July 15th, 2023

help-circle
  • chown changes the file owner. chmod changes permissions. So, if a file or directory is owned by root but a user should have access, you could make them the owner or you could keep root the owner and just allow read/write access.

    They come up more on servers where you often have multiple users with different access levels. Some users might not have sudo permission but do have full control over their home directory and whatever else they need. And web servers, for instance, will usually have a user called www-data or similar and it’s shared by all the users in the “developer” group.


  • chmod is the command to change user permissions. The numbers mean user, group, and others and the value allows read, write, execute. So, 000 means no one has permissions to get rid of the mount point. 777 means everyone has all permissions. (4 is read, 2 is write, and 1 is execute and the numbers are added. So, 644 would mean you can read/write, the group and other users have read only access.)

    You don’t have to use the numbers but eventually, almost every Linux admin does because it’s faster, a bit like a keyboard shortcut. But, for instance, you can add Execute permission with chmod +x /some/file/location.

    Here’s more details on the how to chmod and the historic reasons for the 0-7 system (spoiler: it’s 8 bits): https://www.redhat.com/sysadmin/linux-file-permissions-explained




  • I don’t have Linux on a tablet right now but my first thought was that you might want to check into what Steam Deck users are doing with “Desktop Mode.” It has a touchscreen and virtual keyboard so it’s essentially a tablet-like experience (though it has touchpads and a few buttons, obviously, and isn’t a tablet). It runs KDE by default, which I’m not as familiar with as Gnome, but it might have more users than any other GNU/Linux touchscreen product.

    Last time I had a Linux tablet, there were also some Firefox/Chrome/Gnome extensions that made it more touch-friendly. Like instead of selecting text, one finger swipe scrolled, two-fingers zoomed in, etc. like a typical tablet. Not sure if that’s still an issue. But if you do run into an issue, it might already be solved by an extension.

    Hopefully, someone has more up-to-date advice. The tablet I had (and probably still have in a drawer somewhere) was an experimental Ubuntu Touch device and there’s been huge strides since then.


  • My only problem with both designs in your images is the colors. It’s a pretty standard part of UI design (in real life and on computers) that “red means cancel” and “green means continue.” Apple using blue is no big deal and I’m 90% sure they just use a user chosen “highlight color.” (Maybe Gnome as well?) But cancel or delete or similar things should probably be red or another color that signals “Stop.”

    I’ve always thought Bootstrap, the web design library, has a good set of base colors. Red means danger. Light blue means info. Green means yes or success. Yellow means warning. Other buttons are a darker blue — basically the highlight color. (Not saying they chose the best version of those colors. Just that the general idea is consistency and what users most naturally expect.)



  • Probably because Windows is best suited for games and cookie-cutter corporate applications while basically every supercomputer, cluster, etc. runs Linux. Professors aren’t usually running games or cookie-cutter business software so why not? If your one-off, experimental research code is going to ultimately be run on a more powerful system running Linux, why write it on Windows and waste time debugging once you try to run it for real?


  • Or maybe the two countries with a larger population than the United States have significantly lower per capita income and so fewer people own desktop/laptop computers. Most of the world probably has, at most, a smartphone.

    If anything, Brazil seems like the outlier on the that map. You’d expect the U.S. to have the most computers. But Brazil and China are roughly similar in terms of income.


  • I think it’s perfectly possible to use Mint, Ubuntu, or Fedora without the terminal. But a lot of online tutorials are like, “Just run this command.” because it’s faster.

    I’m an experienced terminal user but I know with my Steam Deck, I barely ever use it. Really the only time is when I want to update packages quicker than using the GUI tool. But you could successfully use a Steam Deck without ever launching into Desktop mode, much less opening a terminal.



  • Yeah, then he probably was mixing things up (either who was mayor or when he did what where). I doubt he’d be talking about the Ebola outbreak since we only had 4 cases in the U.S. I think it was the biggest Ebola outbreak ever in West Africa but unless the mayor of Detroit’s duties include being the super secret Global Emergency Epidemiologist, not sure why he’d talk to him about that.

    Just an aside: it’s kind of crazy that we had SARS, MERS, the Ebola outbreak, multiple Avian flus, swine flu, and several more since 2000 and COVID-19 is the one that spread around the world and killed the most people. It really illustrates how a relatively low mortality rate — I think SARS and MERS were 30%-40% and COVID-19 was like 2% — can be worse overall if it’s transmissible enough between humans.


  • I’m not turning a blind eye to it. I know he (and Trump) are sundowning. My personal opinion is that Trump is worse off just based on how they both were in the 90’s or 2000’s. Like, look up a video of Trump on Leno or Letterman and he’s not rambling on or angry like he is now. Biden always had “gaffes” or whatever you want to call them.

    Everyone their age declines. To me, Trump is showing some of the early Alzheimer’s signs with the anger and the non-stop rambling (which he didn’t do in the past). Biden seems like he’s aging in the way where, if you were his kids, you’d stop letting him drive and be concerned but he’s substantially the same person he was 10 or 20 years ago (even if that included verbal gaffes).



  • It doesn’t have to be neofetch but even in my containers and docker stuff, I try to put a little message so I don’t fuck up something.

    Running through a checklist is important. I learned that from a helicopter pilot at a bar but I do think it’s true in our field. It’s not life or death on a server but training yourself to go through a simple checklist (even if it’s just “make sure this is the right terminal tab”) is good advice.


  • I would say that you should check out Fedora as your first distro. Gnome is more like Mac than KDE (which is also great). Fedora is also built off Red Hat Enterprise Linux so it’ll will prepare you for server environments and your future career. You can learn bits of both at once.

    I think it benefited my career to go in that direction. I (like everyone) distro-hopped and went through a phase where I customized everything and installed a new distro every few months. But if you learn the ins and outs of Fedora you’ll be well-positioned to manage RHEL and related servers. Debian is also a good choice for that, at least in the U.S.

    And there’s nothing wrong with developing on a Mac while you use Linux for server stuff. Server level code will probably run on Linux but I found that using a Mac helped me when building front-end code because macOS devs tend to be design-forward. And don’t forget that you’re building something for other people. I barely use Windows but I try to revisit it every so often to see how the other half lives.