• 0 Posts
  • 38 Comments
Joined 3 years ago
cake
Cake day: August 31st, 2021

help-circle
  • Shell scripts usually expect something POSIX-compatible, but you don’t have to stick with the default for user-facing tasks. Fish, zsh, powershell, and a whole bunch of niche shells are available to try. Anyhow, in the broad context of Unix default installations bash has a lot of competition.

    On several unix-like Oses more than one shell is used depending on context. A great interactive shell with loads of features may be overkill if you just want to execute a script. Some OSes don’t use bash at all.

    FreeBSD uses tcsh as its default root shell, but it uses ash shell (sh, it started as a clone of Bourne shell) for users and as the interpreter for system commands. This combo confused me at first and led me down a shell research rabbit-hole. ash is a stripped down shell that aims to be small, fast, and largely POSIX-compliant.

    In Ubuntu, bash is the default shell for interactive terminals, but dash is used to execute scripts by default. I think that dash started as a debian port of the ash shell.

    MacOS and Kali both use zsh as the default shell. I don’t know what they use by default to run scripts, but I would guess that it isn’t bash.

    Also, something that took me a while to figure out is that Bourne-Again Shell (bash) is not the same as Bourne Shell (sh). Further, sh does not always denote Bourne shell, but could be ash or dash or something else.



  • For active files, yes. I have three synced systems doing backups at different times of the day when they aren’t otherwise being used. In any reasonable scenario, I’d lose 8 hours of work at most. I don’t change my dotfiles enough to keep backups of those. Distinct from my backup of active files, I archive anything that I’ll keep long-term. That includes useful dotfiles, install lists for new systems, and a less granular set of old backups.



  • Kind of. I’ve been running Xbuntu for four years on a system with 1 gb ram total. Running XFCE, I’m using a little over 500mb of ram at idle. I could probably optimize that. If I switch to i3, I use around somewhere between 300 and 350mb of ram at idle.

    Another option: Check out Ubuntu Core if you’re shooting for super-tiny and you are willing to use snaps instead of deb packages… It targets embedded systems, so it is designed to run on 250/500mb of ram depending on which version you pick. I’ve used it on a Pi before and their website indicates that it works on other architectures. It isn’t meant to offer a desktop experience.



  • Apparently, yes. I’ve never tried doing that with a live usb, but give it a shot and let me know how it works out for you.

    You probably have much better hardware than my old tablet. My tablet was marketed as a $99 dollar Windows tablet and I got what I paid for. 1gb ram soldered to the board, a weak 64-bit atom processor with 32-bit efi. One micro-usb port that doubled as the charging port. It took a powered usb hub, a custom-modified installer, and a lot of patience to get that thing up and running. It still works!


  • Fedora would be a good starting point since it has a straighforward version of GNOME as its default DE. It would be a wise to try out the fedora live disk for a while to verify that the touchscreen works well before installing anything. If Tails worked on this laptop then Fedora should as well, but it doesn’t hurt to check before doing anything permanent.

    System memory and processor speed may be bottlenecks on a touchscreen laptop that old. My 2014 touchscreen tablet runs linux, but it can’t handle GNOME or anything remotely touchscreen-friendly. Onscreen keyboard+tiling wm=awkward user experience.


  • I don’t have any solid data to back up my ‘significant portion’ comment above, other than the fact that I see a lot of active users on lemmy.ml who seem content with the leftist vibe on the server. Not a very good basis for making such a broad statement. Whoops!

    It’d be interesting to dig deeper into the issue through polling or something similar, but this type of self-sorting is probably hard to capture. People who read the description and choose not to join aren’t around to vote in a poll and neither are people who get scared away by what they see. For other ‘apps’, it’d be possible to catch some data from the second category of people by exit-polling people who choose to delete their accounts.

    Your question was probably rhetorical, but I went ahead and did a search since I didn’t know the background. From the AMA that I found it looks like two people developed Lemmy from scratch and their only financing was obtained through donations. I don’t blame them if they wanted to call dibs on the most obvious server name and make ground rules for it that appealed to them.


  • Founder effect, to a limited extent. The people who developed Lemmy started lemmy.ml, a server (aka instance) specifically for “leftist privacy and FOSS enthusiasts”. This was the description that they chose for the server and a significant portion of the people who joined the server did so because of that description. Leftist is a political term.

    By design, Lemmy can be pointed at different servers for different content. You can pull up https://join-lemmy.org/instances for some ‘approved’ servers. A given server could be right-leaning, centrist, or totally apolitical. It may be that you chose to join lemmy.ml because it seems to be the most active lemmy instance. It currently is, but it also happens to have a lot of users who are interested in politics.

    Ultimately the answer to your question is “Because you linked up your app with a lemmy server that chooses to focus on politics.”







  • Installing an operating system is not a typical part of the computing experience. Buying something that has been pre-built it is the default for the vast majority of users outside of the Linux world.

    I don’t personally know a lot of people who have tried installing Linux, but most of the people in that limited group made the mistake of trying to install directly on top of hardware that they hadn’t researched. I am not criticizing that mindset - I have been one of those people on more than one occasion.

    Even on ‘successful’ installs, it isn’t uncommon for something to not work without additional steps. To be fair, the same often goes for vanilla Windows installs if you don’t have a bunch of device-specific driver packages ready. No big deal if it turns out to be a fingerprint reader or a webcam that needs a tweak, but a wifi or video card that doesn’t work by default is a huge problem for someone who hasn’t prepared for it.

    Nowadays I try to do my research in advance and come to an install project fully prepared, but I’m glad that I don’t have to put an operating system on new, unfamiliar hardware on a regular basis.


  • This is actually a good first step for anybody who is trying out a new operating system. When I made the switch to MacOS for a few years, I had a checklist of tasks to learn before I pivoted away from Windows. There were ways to accomplish everything, but I had long since forgotten how long it took me to learn how to do things in Windows. For everything that was different, I had to fight muscle memory and a false expectation of simplicity. I had the same problem with BSD and Linux.

    A lot of things seem simple because they build on things that we’ve already learned, but if you switch to a new operating system, some of the old building blocks are swapped out with something else. Experience is context-sensitive and simplicity isn’t always as simple as it seems.


  • Are you looking for fiction? It isn’t perfect, but the kobo store has information near the bottom of every book’s page letting you know what level (if any) of DRM that a book has, so you can factor that in to your purchase decision. For drm-free files, you can download epub files directly once you purchase. Outside of that, I use Project Gutenberg, Baen, and a few other niche publisher websites. Basically, if you want to purchase content that you can use freely you just have to make the best of a bad situation.