• 1 Post
  • 24 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle
  • Oh, you mentioned you don’t want to keep a backup of the entire drive. That is fine, but absolutely back it up before starting the install.

    I would just boot a live Linux image and dd the entire device file onto some sort of storage. That way you can get a bit for bit copy of the drive that you can make it how it was before you touched it. When all is well, then you can ditch the backup. It wouldn’t be a bad idea to keep if the stuff is important. Storage devices do fail.




  • A swap partition is akin to the page file on Windows. The kernel will use it to move memory pages it doesn’t anticipate using in the near future to it so it can use that RAM for other things. It will also use it in a pinch when there isn’t enough RAM on the system. It isn’t strictly necessary, but it can prevent programs from crashing at a huge performance penalty. It is necessary if you want to use sleep or hibernate or whatever it’s called when it is powered off physically but resumes what you were doing instead of booting when you power it back on. That takes as much swap as you have RAM at minimum. If you want that, a good rule of thumb is 1.5 times physical RAM.

    I have servers I administer for my job that have over 100GB of RAM with very little swap, like 4GB. The applications and machine are tuned and sized so the physical RAM is at ~85% and swap is barely used. The swap is mainly for non application stuff like IDS agent, backup agent, monitoring agent, etc.

    If swap becomes a problem, you can adjust the kernel vm.swappiness parameter as needed. It might take some trial and error to get it right.

    Source: I’ve been working with Linux professionally for almost 20 years now.











  • Villagers are human like mobs you trade with. Emeralds are used as a currency. Most fletchers buy sticks from you. The more you do business with a villager, the more trade options they have. High level fisherman buy a boat (5 wooden planks) for one emeralds.

    Tool smiths start selling high quality enchanted iron and diamond tools once they are mid level. Enchantments do things like increase durability (unbreaking), improve speed (efficiency), and many other upgrades. Once you have a tool smith that sells say diamond axes, anything else is pointless to keep beyond an emergency backup. Cost isn’t a factor because the aforementioned selling of sticks and boats mean emeralds are a cheap and renewable resource.







  • So much to unpack here.

    GNU is not a Linux variant. It is a set of programs and shared libraries.

    ISO 9660 has nothing to do with compression. Just calling it ISO isn’t a good idea for an intro class like that because it is a set of MANY standards. They should have put a little side blurb and called it ISO 9660 in the table.

    tar is an archive tool. It has no compression.

    Why no mention of compression algorithms algorithms vs archive tools?

    Why not have different compression algorithms and their tradeoffs?

    ETA: jar files are just zip files for Java libs/programs. You can open them with zip file tools.