theroff

joined 8 months ago
[–] [email protected] 8 points 6 months ago

Bash scripts will only get you so far and I can wholly recommend Ansible for automation.

Basically the main advantage of Ansible is that its builtin tasks are "idempotent" which means you can re-run them and end up with the same result. Of course it is possible to do the same with bash scripts, but you may require more checks in place.

The other advantage of Ansible is that there are hundreds of modules for configuring a lot of different things on your system(s) and most are clear and easy to understand.

[–] [email protected] 2 points 6 months ago

You could use HAProxy on the client side to load balance apps in multiple locations, but it really depends on the application.

I like to manage my software with Ansible but Docker stack files might make it simple enough for you.

[–] [email protected] 7 points 6 months ago (1 children)

Yeah, sorry it was a long time ago (like 10+ years) but I checked and it would've been the --overwrite arg.

The manpage for the older ntfsclone command has it:

Clone NTFS on /dev/hda1 to /dev/hdc1: ntfsclone --overwrite /dev/hdc1 /dev/hda1

Moral of the story was to RTFM 😂

[–] [email protected] 33 points 7 months ago* (last edited 7 months ago) (4 children)

ntfsclone /dev/sdc /dev/sdb

/dev/sdb was a blank filesystem and /dev/sdc was my Windows filesystem.

ntfsclone man page

It ran for less than a second and didn't take me long to figure out what happened. That's the story of how I stopped using Windows.

[–] [email protected] 1 points 7 months ago

Yeah, too frequent and too buggy. It got annoying having to do upgrades every six months and have to deal with all the new bugs that came with it.

Basically give me Debian-style biannual releases or Arch-style rolling releases.

[–] [email protected] 4 points 7 months ago* (last edited 7 months ago) (1 children)

There's also dotnet (.NET Core) available on most distros which is an open source subset of .NET by Microsoft

See https://fiodar.substack.com/p/differences-between-mono-and-net-core

[–] [email protected] 5 points 7 months ago (2 children)

I use Debian at home on my homeserver and a mix of Debian and Arch for my workstations. Most of my stuff is managed with Ansible to make rebuilding easier and most workloads in podman containers.

Personally I don't overthink the distro thing. I recently started using Arch and quite like it. I've noticed packages that are available in Debian but not Arch and vice-versa. Debian Stable is nice because it's just, well, stable.

Fedora has an annoying release cadence IMO. I have experienced desktop bugs in the early GA releases before which put me off. If I wanted instability I would sooner go with Arch (and I am yet to have many issues with Arch yet).

If I were to go with a BSD for a home server it would probably be OpenBSD or FreeBSD. OpenBSD has vmm and a bunch of tooling around it, and FreeBSD has bhyve and jails. I haven't taken the plunge because Linux works and it's what I know.

These days I hear about people using proxmox on their homeserver with LXC containers and/or VMs.

[–] [email protected] 7 points 7 months ago (1 children)

Trying to talk to a human at the big tech companies is nigh impossible these days. It's actually quite concerning how unaccountable they have become. If a billionaire can't do it, what chance do us commoners have?

[–] [email protected] 7 points 7 months ago (1 children)

Last edited 2014-01-12 12:30:18 UTC

[–] [email protected] 1 points 7 months ago

Thanks, I wasn't sure what the situation with Darwin was. Android is definitely more free than iOS, but the spirit of AOSP is dead and many of the old AOSP apps have been discontinued. For example Google no longer maintains a calendar app and so LineageOS maintains its own fork. Google's proprietary suite is front and centre of a lot of the Android distros except for LineageOS and co.

[–] [email protected] 9 points 7 months ago

We really didn't say the same thing

[–] [email protected] 1 points 7 months ago (2 children)

Android and iOS are walled gardens so they hardly count. Both are mostly proprietary these days with an "open core". When I think of Linux on the desktop, Linux for daily computing etc. I think of an experience that is interoperable, FOSS and respects my digital rights.

view more: ‹ prev next ›