Canadian software engineer living in Europe.

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

help-circle

  • Granted, sudo isn’t in coreutils, but it’s sufficiently standard that I’d argue that the licence is very relevant to the wider Linux community.

    Anyway, I answered this at length the last time this subject came up here, but the TL;DR is that private companies (like Canonical, who owns Ubuntu) love the MIT license because it allows them to take the code and make proprietary versions of it without having to release the source code. Consider the implications of a sudo binary that’s Built For Ubuntu™ with closed-source proprietary hooks into Canonical’s cloud auth provider. It’s death by a thousand MIT-licensed cuts to our once Free operating system.





  • Daniel Quinn@lemmy.catoLinux@lemmy.mlThis looks cool but can it game?
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    6 days ago

    The Ampre Altra runs from 32 to 128 cores (dear gods that’s beautiful), but with that architecture, and the company’s stated purpose, it makes more sense in a computer meant to be used as a server rather than a desktop gaming rig. You’d use a chip like that in a Kubernetes cluster for example.

    Combined with an Nvidia card, a brand notorious for being a Pain In The Ass in Linuxland, I’m going to go out on a limb here and suggest that the intended purpose of a box like this is a server for AI/ML-based services.



  • Daniel Quinn@lemmy.catoSelfhosted@lemmy.worldLiquid Trees
    link
    fedilink
    English
    arrow-up
    95
    ·
    6 days ago

    I had the same reaction until I read this.

    TL;DR: it’s 10-50x more efficient at cleaning the air and actually generates both electricity and fertiliser.

    Yes, it would be better to just get rid of all the cars generating the pollution in the first place and putting in some more trees, but there are clear advantages to this.






  • 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
    2 months 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.