• 0 Posts
  • 102 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.)



  • Meh. I’m an American and I don’t hate it here. But I’m from (and moved back to) a culturally distinct place (New Orleans) so I don’t really identify with the dominant culture. I loathe the politics/corruption and how our government is structured. (The amendments are the best part of our constitution and maybe we should think about that for a bit.) I’m deeply ashamed that we’re the world’s biggest arms dealer and oil/gas producer.

    That being said, we have beautiful landscapes and individual American people are usually kind, decent people, at least on an interpersonal level. The corruption of companies and elected officials doesn’t usually extend to the middle class. (Like, you don’t have to bribe someone to get a driver’s license or permits or whatever.) There’s obviously loads of advantages to being an American citizen, just as there are to being an EU citizen. I love our national parks. Just the western half of the United States contains enough varied forms of amazing landscapes to keep a person occupied for a lifetime.

    So, I wouldn’t say I like America as a political entity. It’s definitely in my top 30 or so countries to live. I wouldn’t give up my citizenship for a random place but, having travelled extensively, there’s a lot of countries that have a better form of government and a healthier balance between oligarchs and labor.


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




  • ShittyBeatlesFCPres@lemmy.worldtoAsklemmy@lemmy.mlAverage vs Fame
    link
    fedilink
    English
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    18 days ago

    I’m actually George Clooney. (This is my alt.) And if you think you get a lot of texts from politicians begging for money, try being me. I had to turn on my burner phone for my wife my because her bestie said men with two phones cheat. I was like, “I’m not fucking the entire Democratic Party, Amal. If I gave them my real number, my iPhone would buzz every 2 seconds like this Boost Mobile one. We’d have to use walkie-talkies to plan dinner.”

    Quiet and peaceful is underrated.





  • They aren’t independent companies. Marvel is a Disney brand and DC is Warner Bros. Discovery. You might be able to get a rough estimate from their parent companies’ quarterly reports but to my knowledge, they don’t report it that way. (Like Disney usually breaks things down by “experiences,” “entertainment,” “streaming,” etc. for investors, who aren’t really concerned if the movies are branded as Marvel, Pixar, or Disney).