if you could pick a standard format for a purpose what would it be and why?

e.g. flac for lossless audio because…

(yes you can add new categories)

summary:

  1. photos .jxl
  2. videos .av1 (someone mentioned mka or something like that, cant recall but thet mentiomed it being a ‘container’)
  3. daw session files .dawproject
  4. documents .odt
  5. archive files (this one is causing a bloodbath so i picked randomly) .tar.zst
  6. models .gltf / .glb
  7. plain text utf-8
  8. interchange format .ora
  9. configuration files toml OR yaml (disagreement)
  10. typesetting typst
  11. open domain image data .exr
  12. lossless audio .flac
  13. lossy audio .opus
  14. subtitles srt/ass
  15. container mkv
  • kadu@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    3
    ·
    10 months ago

    it’s an xz containing a tar

    So what? When you zip 5 documents together do you name it .zip or .config.lib.sh.deb.zip?

    No, you expect it to be a file.exe.zip

    Double extensions are not conventional on Windows, so no, I do not.

    • 7eter@feddit.de
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      Dots in filenames are commonly used in any operating system like name_version.2.4.5.exe or similar… So I don’t see a problem.

      • kadu@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        2
        ·
        9 months ago

        Dots yes, nested extensions no.

        The expected behavior is: you have a .exe binary called Example.exe. This is an executable.

        Now you zip it. It’s no longer an executable binary, it’s a zip archive. Yes, the data can be reconstructed into the original file - but it is not the original file. It should now be called Example.zip, as it is a zip file.

        This is important both for user mental models, but also because operating systems that use extensions as the primary indicator of file type often will hide known extensions by default, and the nested extensions in the name can create trouble.