• 0 Posts
  • 23 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle
  • I’m going to give you the benefit of the doubt and assume what you said was simply confusing, but not wrong.

    So just to be clear if your raid array fails, and you’re using software raid, you can plug all of the disks into a new machine and use it there. But you can’t just take a single disk out of a raid 5 array, for example, and plug it in and use it as a normal USB hard drive that just had some of the files on it, or something. Even if you built the array using soft-raid.




  • On most modern distros (like Mint) you can do basically as much with Linux GUIs as you can do in Windows or Mac. So normal users don’t need the terminal. But if you want to do more, if you want the secret sauce, the terminal is there for you.

    But fear not! Basically all of us have some level of autism or ADHD, and the best of us tend to be the most extreme. If anything the terminal was written by autistic nerds for themselves! If you’ll be okay being a bit of a n00b for a bit, I think you’ll find there’s a lot of depth here to obsess over / hyper fixate / hyper focus on.

    There’s a reason people have been “fighting” for, like, 40 years over which terminal text editor is the superior one… The flames of war can run pretty deep, and there’s a lot of opinions.





  • I’m not the person you’re replying to, and I don’t have any videos, but I do love dumping explanation on people! So here’s some terms:

    File System: This is the way data is laid out in terms of actual bytes on the drive. It’s in charge of things like where to look to find the name of this file, or how to “last modified” date is stored, or how do I find out which files are in this folder. NTFS is a filesystem, whereas ext4 is probably the file system your linux machine is using. FAT is the older Windows one that’s still used on, like, SD Cards and stuff. That having been said File System is sometimes also used to refer to the particular data on a particular partition of a disk, like “the filesystem will allow” which really means the data on your NTFS partition. Filesystem is often abbreviated “fs”, and is in fact the “FS” of “NTFS”

    Mounting: In unix systems, such as Linux, file systems are “mounted” to a place in the folder hierarchy. Everything in unix lives somewhere under the “root” folder /, so mounting is basically saying “Okay, you want to see the files in this filesystem. Where should I put them?”, and if you say /home/user/stuff then the file “one.txt” at the root of your filesystem will now be visible at /home/user/stuff/one.txt", and if you mounted it at /mnt/things it would be /mnt/things/one.txt. The term mount is used like “attach” to mean “where do you want me to hang this new directory hierarchy on your existing one”.

    fstab: There are a few ways to mount things in modern linux. The classic is the mount command which looks something like mount /dev/sda1 /home/user/stuff which would take the device with the name /dev/sda1 and mounts it to the given path. Devices in linux usually live in /dev, and in this case are often given names like sda1 to represent the first hard drive (a), and the first partition of that drive (1). But, there are other ways! You can also click on the partition in your file browser and it will mount the disk for you, often auto-creating a mount path and cleaning it up when you’re done, so you don’t even have to think about it. Another way is fstab, which is a kind of config file that controls mounting devices. In here you can give default options for how you want drives to be mounted, and can even specify that you’d like some devices to be automatically mounted by the system on startup. This is actually an important part of how unix systems start, and how the root filesystem and other important ones get going. If you wanted your NTFS drive to always be available at a permanent location, you would edit this file to set that up. If this is something you wanted only periodically, then just clicking may be fine.

    Permissions: Virtually all unix filesystems store the permissions of files and directories as a “user” and “group” that owns the files, and then a set of whether or not the owner can “read” “write” and “execute” the file, whether other members of the group can, and then whether everyone else can. If two people were on the same computer, these would allow a person to be able to see their own documents, but not see the documents by other users. Or maybe they can see them but can’t make changes. And it also prevents random users of a system from changing important system configuration, when those config files are owned by the administrative user (called root by convention). Some config files will be read-only to normal users, and some contain secrets and so are permissioned so normal users can’t even see them. But! NFTS doesn’t follow these same conventions, so when mounting an NTFS drive on unix the driver has to produce a set of permissions that are unix-compatible, but it doesn’t have anything to work off on the disk. So the person above was saying by default it assumes the safest option is to make all files owned by the user root, and so if the permissions are the only the owner can write the files, and the owner is root, this will mean it’s effectively “read-only” to you. The terms uid and gid stand for “user ID” and “group ID”, which are the numbers that represent a user in the data. User names are basically a convenience that allows us to give a name to a uid, but it’s more efficient to store one number everywhere on disk for owner rather than a name.

    So putting it all together, what they’re suggesting is that you can use the /etc/fstab file, which has a very particular format, to specify default options when mounting your drive. These options include setting the uid option and gid option to your user’s uid and gid, so that when the filesystem is mounted, it will appear that all the files are owned by you, so you’ll have full permissions on them. They’ve assumed your uid and gid will be 1000 because that’s a common convention, but if you’re comfortable you can run the id command on the command line to output your actual uid and gid (you can ignore all the other groups your user is in for now)

    They also mentioned that when mounting you can specify if you want to mount the filesystem as “read-only” or “read-write”, etc. If you mount the whole filesystem read-only, then the write permissions stored on the individual files are ignored, basically. So if you were mounting with a command, or through fstab, you should make sure the rw option is present to clarify that you’re looking for “read write” permissions on your mount.

    That having been said, it’s possible none of that is relevant to you if you’re mounting the fs by just clicking in your file browser. One way to tell is if you right-click on some file you aren’t allowed to edit and look at the properties there should be a Permissions tab thing. And it will list the owner of the file and what access you have. If those permissions are already set to be owned by you, then this uid thing is already taken care of for you by the file browser. In that case it might be something more fundamental to the NTFS filesystem, like the locks other people are talking about.

    So those are some words and their meanings! Probably more than you wanted to know, but that’s okay. I liked typing it


  • I think I may have contracted some kind of brain worm, because the other day I needed to do some photo manipulation and couldn’t get krita to do what I wanted, but I went into gimp and just knocked it out. I’ve hated gimp for years, but I guess I’ve used it enough that I’ve figured out how it works… and now I don’t hate it anymore…

    I think I may need help.

    Oh, but I always use it in single window mode ever since that came out. The multiple windows floating panel thing drove me nuts!



  • Well… That’s actually probably fair as stated.

    BestBuy etc don’t sell Apple’s products on commission, they bought them from Apple for a wholesale price, they’ve got them in a warehouse and on shelves right now on their dime, and the only way they make that money back is by selling them.

    And the only way Apple makes money from a product being sold at Best Buy is that Best Buy will likely buy more stock to replace the stuff they sold, and they’ll buy that from Apple.

    So if it was banned everywhere it would be unfair to the retailers that already paid Apple for a product they now can’t recoup, and it wouldn’t impact Apple at all because they already made their money from Best Buy.

    This way the retailers can get their money back, but can’t get any more, which means only Apple is impacted.

    The only other way that’s semi-fair (but would be extreme) would be for Apple to be forced to do a recall or something and reimburse all the retailers the money they had already spent. Doable, and definitely more of a punishment for Apple, but a lot of extra work for everyone if the outcome of this is that Apple settles and then everyone can just go back to ordering more again.


  • I’ve never been a Twitter/microblog user, but here’s how I gather it worked, presented in the order in which it was developed.

    Do you ever think “oh, that’s a funny/interesting thought I had”, but there’s no one around to tell? Or not enough people and you think it had more potential than that? Microblog. Unlike a forum, you just dump in out into the void as-is. It’s a broadcast. Like if every account was a personal /r/showerthoughts.

    From there we make it so I can subscribe to my friends. Now when they post their funny thoughts, or even just being like “I feel like tacos tonight, anyone in SF down?” I’ll get their post. Now it’s kinda like open group texting. Except I don’t choose who sees my random thoughts, they self-select. I just broadcast things out there and whoever might be interested might be interested.

    That was basically all that microblogs were, at the beginning. A stream of non-topic’d stuff I said, and you can follow me if you want to hear more like it.

    But sometimes I’m surrounded by strangers, like at a conference. At these points I want to know what random people I don’t follow are all saying about FooCamp. Search already exists so I can see all tweets with the word “cat” in it, but I can’t find a way to fit FooCamp organically into every post, so hashtags get invented as a social convention to say “that was my message, but here are some other keywords for search purposes”. Later they got linkified and so people started putting them inline, but originally they were just at the end and just for extra categorization.

    So now the tool does two things. I can just broadcast out any thought I have without having to care about where to put it, etc. It all goes on my feed and anyone who has chosen to care about me will see it. And I choose who I care to receive broadcasts from because they’re cool, and it doesn’t matter what they’re talking about. But also I can tag a particular message with some categories, and that will allow strangers to see my messages if they happen to be looking for messages in that category, but obviously a single message can be in multiple categories.

    Then later famous people and governments showed up, and people followed them because they love go hear what famous people talk about. But if you don’t follow them, then you don’t hear from them.

    That’s basically it! So it’s kinda like the opposite of a reddit/lemmy/forum/usenet model. Rather than topics that have content posted by people, it’s people who post content that sometimes has a topic. Like a large group-chat (among friends or colleagues) where you’re not really sure who is in the chat, but you don’t have to care. You can prefer one over the other (I know I do), but fundamentally they’re not trying to solve the same problem as lemmy, they’re just a totally different model for communication. More like a friend group than a discussion group.


  • Ok, let me rephrase your rephrase to be what question I think you’re trying to ask.

    At some point we had decided on a seven day week with week names. That’s fine. But we must also have decided at some point that today was Wednesday in this system.

    So I think you’re asking “what is the first day we all agree was definitely a Sunday, such that all Sundays after were based on that”. Or put another way, at what point did the days of the week get locked to the days of our year.

    I don’t have that answer, but your question confused me, so I’ve reworded it.


  • I don’t know the answer to the title, so I’ll answer the body. The answer is “it depends”.

    If you’re talking to someone in a technical setting, then servers are the physical machines. The computers themselves, sitting in a room somewhere. Or maybe a virtual server that pretends to be a physical machine, but runs on a real server that sits in a room somewhere. Whereas a website is some location you can put into a web browser and get content that “feels” like it’s all one thing.

    The reason this distinction matters is because you can host multiple small websites on a single server. For example there’s no reason a particular machine couldn’t host 10 different lemmy instances, if it’s got enough processing power.

    But on the other hand a popular website may have its work spread across multiple servers. Maybe I’ve got a database server, which is a machine that only runs the database. And then maybe I have a few different web servers that actually serve “the webpage”, but I’ve also got a cache server that stores part of the webpage and serves that when it can, etc. Websites like Facebook or Twitter are considered one website but have thousands and thousands of servers.

    But if you’re talking to someone in a non-technical setting, yeah they’re basically the same.


  • I have two criticisms of this view.

    The first is the distinction between “replacing humans” and “making humans more productive”. I feel like there’s a misunderstanding on why companies hire people. I don’t hire 15 people to do one job because 15 is a magic number of people I have to hit. I hire 15 people because 14 people weren’t keeping up and it was worth more to my business to hire another expensive human to get more work done. So if suddenly 5 people could do the work of 15, because people became 3x more efficient, I’d probably fire 10 people. I no longer need them, because these 5 get the job done. I made the humans more effective, but given that humans are a replacement for humans, I now don’t need as many of those because I’ve replaced them with superhumans instead.

    If I’m lucky as a company I could possibly keep the same number of people and do 3x as much business overall, but this assumes all parts of my business, or at least the core part, increases at the same time. If my accounting department becomes 3x as efficient but I still have the same amount of work for them to do because accounting isn’t the purpose of my business, then I’m probably going to let go some accountants because they’re all sitting around idle most of the time.

    It used to be that a gang of 20 people would dig up a hold in the road, but now it’s one dude with an excavator.

    The second thing is the assumption that AI art is being evaluated as art. We have this notion in our culture that artists all produce only the best novels and screenplays, and all art hangs in a gallery and people look at it and think about what the artist could have meant by this expression, etc. But that’s virtually no one in the grand scheme of things. The fact that most people know the names of a handful of “the most famous artists of all time”, and it’s like 30 people on the whole earth and some of them are dead should mean something.

    Most writers write stuff like the text on an ad in a fishing magazine. Or fully internal corporate documents that are only seen by employees of that one company. Most visual artists draw icons for apps that never launch. Or the swoopy background for an article. Or did the book jacket for a book that sells 8 copies at a local tradeshow. If there’s a commercial for chips, someone had to write it, someone had to direct it, someone had to storyboard it. And no one put it in a museum and pondered its expression of the human experience. Some people make their whole living on those terrible stock photographs of a diverse set of people all laughing and putting their hands into the middle to show they’re a team.

    Even if every artist with a name that anyone knows is unaffected by this, that can still represent a massive loss of work for basically all creative professionals.

    You touched on some of these things but I think glossed over them too much. AI art may not replace “Art”, but virtually no one makes money from “Art”, and so it doesn’t have to replace it for people to have no job left.


  • If you’re talking about a community instance that strangers can join, it’s mostly about volunteering and feeling like you’re contributing to something.

    If you’re talking about running one for you alone, or you and friends or family, then it’s mostly about controlling your experience. You control when there are updates, you control what version you run, you know who has your data, it’s you. You know no one’s doing anything bad with it, because it’s you. If there’s something bugging you and someone else wrote a patch to fix it, you can deploy that. Or if there’s some setting to enable or disable a feature for the whole instance, you can set it to your preference.

    The cons are that it’s you. If it goes down because something broke or got corrupted, it doesn’t come back later on its own. You do it. If your database poops the bed and eats all your data, then did you have backups? Were they kept on a different disk than the corrupted one? Because if not then your data is now gone. A new version came out! When does the upgrade happen? When you make time to do it. Maybe there’s manual migration steps you need to do, maybe you need to change some new settings, you should probably make a backup in case you have to roll back… How did you know there was a new version out? How do you know if there’s some critical bug or security flaw you need to fix? You have to subscribe to the community, essentially.

    Maybe you subscribe to a lot of busy photo communities and then one day lemmy is down for you. Weird… the box won’t turn on. Oh, the disk is at 100%. Shit, did you not have a monitor that checks disk usage and emails you when it’s getting full? Oops…




  • Depends on what you want. I’ve been liking Godot, but I’m an “Open Source” person. There’s definitely more of a community around Unity or Unreal.

    But Godot is free in both ways and relatively user friendly, and since you’re uninterested in hiring a hundred people, using a tool that you like is fine, even if it’s not the most popular.

    There’s a course I’ve never used called Learn GDscript which teaches the inbuilt language for Godot (GDScript) in the browser with fun interactive tasks. It looks neat, but I’ve never tried it myself. You can use other languages with Godot, but I recommend the GDScript. It’s very similar to Python and is well integrated into the engine.

    So from there it’s about screwing around! Like other people have said, you’re not going to whip up the game that’s in your head in anything like the time frame you probably think. Even if you think you’re being realistic, it’s probably even worse than that. But I don’t say this to discourage you, I say this to prevent you from discouraging yourself!

    If you can get a game where a green circle goes through a maze and then text shows up on the screen that says “you did it”, that should be viewed as an accomplishment! It’s simple, sure, but it’s something you did. Try to break your game’s features up into micro chunks that are playable. It’s easy to spend 6 months working on something and making progress, but not in any way you can show friends or whoever, and can’t even really “play” yourself. That can be demotivating. Try as much as you can to have something playable as often as possible. It will feel much more like real progress if you constantly have something you can demo.

    And also don’t underestimate how much a bit of art and sound effects can change an experience. Silent 2D boxes is fine to test things out, but even a free art and sound effects pack makes a huge difference in how fun a game can feel. It can make even a simple premise suddenly feel like a game.

    Good luck, have fun! Oh, also once you’re done tripping over your feet, maybe try a game jam! They’re good exercise.


  • Agreed.

    But, to be clear without giving spoilers, by “simulation game in space” it means getting in a ship and flying from planet to planet, while dealing with things like gravity and momentum. In my opinion just the right amount of challenge that it starts hard but doable, but is possible to get good at in the late game. So that was lots of fun.

    Also, while I will not reveal plot here, I feel given feedback from some of my friends that didn’t like it the way I did, that maybe setting some tone expectations may help. The gameplay experience is mostly about exploring the planets, learning stuff, observing things, and making connections in you, the player. There’s archeological evidence out there in space, and it’s your job to figure out the history. It’s not boring, though! It feels more like a giant puzzle. But you should go in with an exploration mindset and if a particular path doesn’t work out, maybe it’s not time yet. Just try exploring something else!

    One of my friends was too “goal oriented” and just kept hammering a given path over and over and it made them frustrated, which is a shame.

    Also, while the DLC is also good, I waited until after the main game to play it, and I’m glad I did. I don’t know how it works to have the DLC running at the same time as the main game, but they’re two pretty independent stories / investigations and I wouldn’t want to get accidentally caught up in one while trying to piece together the other. I feel like that would be pretty confusing.

    To any followup posters, remember no spoilers!