Canadian software engineer living in Europe.

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

help-circle



  • I’ll likely be downvoted for this, but if you’re committed to Linux, you might want to reconsider using Ubuntu (or Fedora for that matter). Ubuntu has a well-earned reputation for trying to make things “easy” by obfuscating what it’s doing from the user (hence that useless error message). They’re also a corporate distro, so their motivations are for their profit rather than your needs (wait 'til you had about Snap).

    A good starting distro is Debian (known for stable, albeit older) software. It’s a community Free software project and the 2nd-oldest Linux distro that’s still running as well as the basis for a massive number of other distros (including Ubuntu). The installer is straightforward and easy too.

    Or if you’re feeling ambitious, I’d recommend Arch or Gentoo. These distros walk you through the install from a very “bare metal” perspective with excellent documentation. Your first install is a slog, but you learn a great deal about the OS in the process, ensuring that you have more intimate knowledge when something goes wrong.


  • Do AI bots really spam Lemmy of all places for this sort of thing? Ick. Well thank you very much, this is very useful. My intent is to drop Tilix in favour of GNOME’s default terminal (or maybe one of the sexy alternatives that the cool kids keep talking about like Kitty), but I couldn’t switch without understanding this first.

    Your config works for me with one exception: bind -n M-| effectively means that I have to hit Alt+Shift+\, since | is only available via Shift+\. I amended this to be bind -n M-\\ and it works gloriously. Thank you so much!

    It turns out that I didn’t need to use set -g xterm-keys on, but I’m curious: what does it do?


  • There’s no need to get snarky. I did in fact do multiple searches, but as you might note from the question, this is a hard thing to search for. The GitHub wiki has this page which looks promising, save for the disclaimer at the top claiming that it’s no longer relevant due to something called extended-keys, but searching the same wiki for that returns nothing. Similarly, a web search for it returned a bunch of news sites talking about how tmux does extended-keys now, but none of the ones I found explained what this was, how to use it, or even if it was relevant to my question.







  • The best example I could point to would be BSD. Unlike Linux, the BSD kernel was BSD (essentially MIT) -licensed. This allowed Apple to take their code and build OSX and a multi-billion dollar company on top of it, giving sweet fuck all back the community they stole from.

    That’s the moral argument: it enables thievery.

    The technical argument is one of practicality. MIT-licensed projects often lead to proprietary projects (see: Apple, Android, Chrome, etc) that use up all the oxygen in an ecosystem and allow one company to dominate where once we had the latitude to use better alternatives.

    • Step 1 is replacing coreutils with uutils.
    • Step 2 is Canonical, Google, or someone else stealing uutils to build a proprietary “fuutils” that boasts better speeds, features, or interoperation with $PROPRIETARY_PRODUCT, or maybe even a new proprietary kernel.
    • Step 3 is where inevitably uutils is abandoned and coreutils hasn’t been updated in 10 years. Welcome to 1978, we’re back to using UNIX.

    The GPL is the tool that got us here, and it makes these exploitative techbros furious that they can’t just steal our shit for their personal profit. We gain nothing by helping them, but stand to lose a great deal.



  • Daniel Quinn@lemmy.catoLinux@lemmy.mlShare your Bash prompts!
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    23 days ago

    My shit is custom and rather elaborate.

    Screenshot of the prompt

    From left-to-right:

    • name@server-name
    • Uptime (multiplied by 10 and rounded to the nearest integer to save space)
    • Percentage disk space available on /
    • Number on established network connections
    • Git branch : commit
    • Python virtualenv
    • [new line]
    • date and time

    The code for this is on GitLab.







  • What exactly are you self-hosting that’s gobbling up that much data? I’ve been self-hosting my website for decades and haven’t used that much over all that time let alone in one month.

    Most of my bandwidth consumption is from torrents and downloading Steam games, but even that doesn’t get me to even 1tb/month.