Docker images should really be distroless most of the time. There’s way too much junk in the majority of Docker images when in most cases, you really just need your app and whatever dynamic libraries or runtimes it requires (if you can’t statically compile it). You don’t need an OS in there!
Also there’d be way more servers running Debian compared to Ubuntu.
I assume there’s an advantage to the binary formats though. More efficient in terms of storage size? Easier to quickly search by a particular field even in huge files? Maybe something like that. (I genuinely don’t know)
Debian lets you switch and AFAIK it mostly works fine. They provide both sysvinit and runit as alternatives. Packages are only required to provide systemd units now, however a lot of core packages still provide sysvinit scripts, and Debian provides a package orphan-sysvinit-scripts that contains all the legacy sysvinit scripts that package maintianers have chosen to remove from their packages.
That’s just in the official repository, of course. Third-party repos can do whatever they want.
Or, asked another way, does systemd load the Linux kernel, and if not, what does?
Immediately after the BIOS/POST, the first thing that starts is the boot loader. This is usually a piece of software called GRUB. There’s a part of GRUB in the Master Boot Record on the drive, that the loads the rest of GRUB from /boot. /boot has to be a basic partition so that the MBR code can mount it, so for example if you use something a bit fancier (like LVM) then you’ll usually have a separate small ext2 or FAT partition just for /boot.
GRUB shows a list of available kernels, and other operating systems (if any are installed), based on a config in /boot.
Once you select a kernel to boot (or wait a few seconds for it to automatically choose the default option), it starts loading the kernel. There is a small disk image called the “initial ramdisk” in /boot, usually with a name like initrd or initramfs. This is a small ramdisk that contains all the drivers needed to mount your root partition - for example, drive drivers (NVMe, SATA, etc), file system drivers (ext4, ZFS, XFS, etc), LVM, RAID drivers if needed, and so on. If the root disk is on an NFS network share (not as common any more, but still doable), it also needs to contain network drivers for your network card. It also contains a few basic utilities, usually provided by BusyBox.
Some Linux distros (such as Debian) build a custom initramfs, whereas others (like Fedora) have a generic one containing all possible drivers.
The initial ramdisk then mounts the root partition and hands control over to the Linux kernel, which starts actually booting the OS. The very first process the kernel starts running is the init process, which these days is usually systemd but can be a different one like sysvinit or runit.
Create a separate partition for /home so you can change distro without having to backup and restore the files in your home directory. Just be sure to NOT format that partition in the installer for your new distro. Take a backup anyways.
For this particular VPS, I’ve moved provider several times, but every time I just use Clonezilla to clone the disk over the internet. Maybe I should do a fresh reinstall one day. There’s just so much random stuff running on it though.
PWAs are great if they’re written well, especially if they allow offline access.
There’s platforms like React Native where the apps are native on each platform (they use native UI widgets). You can’t just run the same code, but you can reuse probably 90-95% of code across platforms.
Upgrading/tinkering doesn’t void your warranty. Explicitly.
This is generally true with everything in the USA (covered by the Magnuson-Moss Warranty Act) even though companies are sketchy about it and try to convince people that it’ll void their warranty. The manufacturer has to prove that your upgraded part was the direct cause of the issue you’re trying to claim under warranty.
I just received a call from an indian microsoft technician. He informed me that my PC is sending a ton of error messages to microsoft. Most likely it has been hacked, and he would help me by remoting in and fixing the problem for me. I just wonder… Is it my PopOs or my Manjaro PC that sends all this info to microsoft?
there are no protections against creating multiple accounts to upvote your own posts
They don’t even have to be real accounts. Lemmy uses the ActivityPub protocol, and nothing’s stopping someone from creating an ActivityPub server that federates with a Lemmy instance and spams upvotes from randomly-generated usernames. The server could just pretend that every username is a valid one.
Of course, I think something like that would be defederated pretty quickly.
I like Netdata because it’s web based, has a large number of metrics, you can pan/zoom the graphs, and it doesn’t use much CPU power. Console UIs are nice but they’re more limiting than something web-based.
I wish Microsoft kept Windows as a paid product, instead of making it effectively free (with things like free upgrades from older versions) and sticking ads all over the place.
Do you mean products like their VPN? They really need the revenue to try and become more independent from Google. Right now something like 90% of their income comes from a deal with Google to make Google the default search engine.
Dust is a rewrite of du (in rust obviously) that visualizes your directory tree and what percentage each file takes up. But it only prints as many files fit in your terminal height, so you see only the largest files. It’s been a better experience that du, which isn’t always easy to navigate to find big files (or atleast...
most people i know use google by searching whatever question they have and including the word “reddit” at the end to find reddit threads since it currently has the most useful information....
Like, if a web crawler sees a Beehaw post, and then seees Lemmy.ml’s mirrored page of that same post, could it just show up as two different results? Could it work against the SEO in that it gets marked as “duplicate” or “spam” content in some way?
The ideal solution is that the page has a canonical tag, telling search engines what the main URL for the content is: ahrefs.com/blog/canonical-tags/. I don’t know if Lemmy already does this, nor do I know how well canonical tags work cross-domain as I’ve only ever used them for content on the same domain.
Yeah I’m confused about that too. I drink ice water all the time when it’s hot… But I live in an area with a mild climate, where 27C (80F) is considered hot.
Most of us in Lemmy know the importance of privacy and owning your devices in a big tech owned world (me included) but for once I thought to make the opposite question and ask if there are products by them that you actually use and enjoy them....
I’ll go first: “You have to have children when you’re young,” told to me when I was in my late 20s, with no desire to ever have kids, and no means to support them, by someone divorced multiple times with at least one adult child who does not speak to them....
If linux distributions were tools. (sh.itjust.works)
Screw init wars, real OGs discriminate based on DE (lemmy.ml)
I use plasma, BTW
A lot of YAML (jemmy.jeena.net)
An unbiased comparison of linux distributions' setup (sh.itjust.works)
So, timeshift or NixOS? (lemmy.world)
deleted_by_author
Amazon Building its Own Linux-Based OS to Replace Android (www.omgubuntu.co.uk)
System76’s Lemur Pro Laptop Is Just a Really Nice Linux Laptop (www.wired.com)
The System76 Lemur Pro is light, thin, repairable, and upgradeable. It’s the best Linux laptop we’ve tested.
My PC is hacked
I just received a call from an indian microsoft technician. He informed me that my PC is sending a ton of error messages to microsoft. Most likely it has been hacked, and he would help me by remoting in and fixing the problem for me. I just wonder… Is it my PopOs or my Manjaro PC that sends all this info to microsoft?
Linux holds more than 8% market share in India, and it's on the upward trend (sh.itjust.works)
I'm ditching htop for btop, look how cool it is (lemmy.ml)
Noticed Edge was the default browser (lemmy.world)
Mozilla Finally Launches An APT Repository For Easy Firefox Nightly Updating (www.phoronix.com)
Thanks to dust I deleted a 70 gig file on my drive
Dust is a rewrite of du (in rust obviously) that visualizes your directory tree and what percentage each file takes up. But it only prints as many files fit in your terminal height, so you see only the largest files. It’s been a better experience that du, which isn’t always easy to navigate to find big files (or atleast...
How can we improve Lemmy’s SEO so we can google “(question) lemmy” instead of relying on “(question) reddit”
most people i know use google by searching whatever question they have and including the word “reddit” at the end to find reddit threads since it currently has the most useful information....
People from the "hotter" regions, how do you deal with the heat?
I am from Eastern Europe and this is the hottest summer on my memory. For at least 3 consecutive years the heat is breaking all records....
What's a big tech product that you actually find useful?
Most of us in Lemmy know the importance of privacy and owning your devices in a big tech owned world (me included) but for once I thought to make the opposite question and ask if there are products by them that you actually use and enjoy them....
What is the most unhelpful advice you have received?
I’ll go first: “You have to have children when you’re young,” told to me when I was in my late 20s, with no desire to ever have kids, and no means to support them, by someone divorced multiple times with at least one adult child who does not speak to them....