Canadian software engineer living in Europe.

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

help-circle


  • The bit of information you’re missing is that du aggregates the size of all subfolders, so when you say du /, you’re saying: “how much stuff is in / and everything under it?”

    If you’re sticking with du, then you’ll need to traverse your folders, working downward until you find the culprit folder:

    $ du /*
    (Note which folder looks the biggest)
    $ du /home/*
    (If /home looks the biggest)
    

    … and so on.

    The trouble with this method however is that * won’t include folders with a . in front, which is often the culprit: .cache, .local/share, etc. For that, you can do:

    $ du /home/.*
    

    Which should do the job I think.

    If you’ve got a GUI though, things get a lot easier 'cause you have access to GNOME Disk Usage Analyzer which will draw you a fancy tree graph of your filesystem state all the way down to the smallest folder. It’s pretty handy.




  • Daniel Quinn@lemmy.catoProgrammer Humor@lemmy.mlWebp
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 months ago

    Webp is pretty great actually. Supporting a 32bit alpha channel means I’ve actually managed to reduce file sizes of what were formerly PNGs by something like 80%, which drastically improved performance (and the size of my project). I don’t get where the complaint of image quality came from either, as it seems to perform better than JPEG at the same file size.

    The worst part is that you missed the real problem with the format: the CPU overhead (and therefore the energy cost) of handling the file. A high-traffic site can dramatically increase the energy required for the images processed by the thousands/millions of clients in a single day, which places a drain on the grid and emits more CO₂ (yes, this is really a thing that people measure now).

    Basically Google invented the format to externalise their costs. Now, rather than footing the bill for bigger datacentres and greater bandwidth, they made everyone else pay for decompression.


  • I will never understand the Free software developers that go to bat for GitHub.

    Microsoft hates you and everything you spend countless hours building for free. They steal your work and sell shittier versions of it for exorbitant profit that they do not share with the community. They contract with ICE. They sell AI tools to Israel to help them commit genocide, and their CI offering is a total fucking mess.







  • Most of the comments here seem to be from the consumer perspective, but if you want broader adoption, you need to consider the corporate market too. Most corporate software these days is web-based, so the problem is less with the software and more with the people responsible for it.

    The biggest hurdle is friction with the internal IT team. They like Windows because that’s all they ever learnt and they’re not interested in maintaining a diverse set of company laptops. They won’t entertain Linux in a corporate environment unless it’s mandated by management, and even if the bosses approve it, IT will want a way to lock you out of your laptop, force updates, do a remote wipe, etc.

    There are (proprietary) tools to do some of this, but they generally suck and often clash with your package manager. Microsoft is just way ahead of Linux in the “bloatware that tours your hands” department.





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