• 15 Posts
  • 16 Comments
Joined 11 months ago
cake
Cake day: December 28th, 2023

help-circle
  • renzev@lemmy.worldtolinuxmemes@lemmy.worldSnap...
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    If you’re interested in another approach to containerizing GUI applications, also checkout out x11docker. It’s a small independent project maintained by one guy, nothing big like flatpak, but also pretty cool. The name is actually a bit limiting – it supports both docker and podman, and can run wayland apps as well. One of the coolest features, in my opinion, is the ability to run a separate X server inside every sandbox and forward individual windows to the “host” X server. That way you can prevent apps from spying on your keyboard or other apps’ windows.


  • The thing with appimages is that they expect the developer to have full knowledge of what libraries need to be bundled with their app, which makes it difficult to make truly universal appimages. In flatpak you just select one of a set list of runtimes and add any additional dependencies on top of it. Flatpak also re-uses the files for each runtime in between the different apps that use it, which saves a lot of disk space.


  • Why not containerise everything? You need libreoffice? No problem, here is a docker or podman container.

    Flatpak is basically GUI-optimized containers. It uses the same technology (namespaces) as docker and podman, just with some extra tools to make GUI-related things work properly. That’s why flatpak apps don’t use the system’s gtk version – they’re running in a sandbox with a different rootfs. You can spawn a shell into the sandbox of a specific app with flatpak run --command=sh com.yourapp.YourApp and poke around it if you want to.




  • From what I understand, they’re already getting paid pennies by youtube, which is why many of them constantly shill for patreon/nebula/curiositystream/whatever on top of sponsored content. So youtube is shit for the creators, shit for the consumers, and a net loss for google. It’s the same non-business model as food delivery apps: nobody profits, yet it still somehow keeps going because modern economics is make-believe.



  • Just some time ago, I was thinking about some P2P Video service, where everyone would provide the data they have - so like a BitTorrent YouTube

    It’s called PeerTube. It uses activitypub, the same federation protocol as lemmy. Large creators could certainly afford to host their own videos. Some federation/self-hosting/free software creators already do. Can we have large free-to-use instances where individuals can upload their videos, like we do with Lemmy? I would like to hope so.

    But just standing up and copying all of youtube’s content? Like I said, it’s a MONUMENTAL task. There are around 14e9 videos on there. That’s almost two videos for every person on planet earth. And I’m not even sure how useful mirroring would be. It’s important for archival purposes, sure, but it’s not forward-thinking. For a lot of pieces of content, the value comes mainly from the community surrounding it, not the content itself. Mirroring cuts the community out of the content. I believe that If archiving/mirroring efforts are to succeed at anything beyond occupying disk space, they must be focused on a specific type of content, and headed by people who are genuinely passionate about the content they are archiving, not disintrested data hoarders.


  • It would be a tragedy if youtube collapsed. There are so many useful and important videos on there. I passed the second year of my engineering bachelor almost exclusively by studying from youtube (the lectures at my college are useless), the vast breadth of content available on that platform simply does not exist anywhere else, and archiving all of it would be a monumental task. With youtube being a net loss for google for multiple years in a row, it’s not outside the realm of possibility that if they can’t make it profitable, they might just… shut it down like they did with Plus.