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. open domain image data .exr
  3. videos .av1
  4. lossless audio .flac
  5. lossy audio .opus
  6. subtitles srt/ass
  7. fonts .otf
  8. container mkv (doesnt contain .jxl)
  9. plain text utf-8 (many also say markup but disagree on the implementation)
  10. documents .odt
  11. archive files (this one is causing a bloodbath so i picked randomly) .tar.zst
  12. configuration files toml
  13. typesetting typst
  14. interchange format .ora
  15. models .gltf / .glb
  16. daw session files .dawproject
  17. otdr measurement results .xml
1 point

MKV It supports high-quality video and audio codecs, allowing for lossless compression and high-definition content. Also MKV supports chapter and menu functionality, making it suitable to rip DVD to MKV and store DVDs and Blu-ray discs.

permalink
report
reply
1 point

.nix for software packaging.

permalink
report
reply
0 points

whats that and why nkt flatpak

permalink
report
parent
reply
11 points

i hate to be that guy, but pick the right tool for the right job. use markdown for a readme and latex for a research paper. you dont need to create ‘the ultimate file format’ that can do both, but worse and less compatible

permalink
report
reply
3 points

I agree with your assertion that there isn’t a perfect format. But the example you gave - markdown vs latex has a counter example - org mode. It can be used for both purposes and a load of others. Matroska container is similarly versatile. They are examples that carefully designed formats can reach a high level of versatility, though they may never become the perfect solution.

permalink
report
parent
reply
1 point

org mode? whats rhe file extension

permalink
report
parent
reply
1 point
permalink
report
parent
reply
16 points

Markdown for all rich text that doesn’t need super fancy shit like latex

permalink
report
reply
1 point

I’d argue asciidoc is better, but less well known

permalink
report
parent
reply
1 point

asciidoc lost me because it’s not a markdown superset. Why invent yet another way of marking headlines?

Also GitLab/Hub markdown is the standard and I don’t think we need another.

permalink
report
parent
reply
1 point
*

That’s a weird way of thinking. I could make the reverse argument.

Markdown lost me because it’s not a subset to asciidoc, why invent yet another way of marking headlines?

Also asciidoc is the standard and I don’t think we need another.

This whole thread is discussing ideal standards.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
2 points

which markdown implementation tho ?

permalink
report
parent
reply
2 points

GitLab/Hub obviously. Also it doesn’t matter since I don’t need to compile it to read it.

permalink
report
parent
reply
2 points

You compile your markdown and don’t read it raw? /s

permalink
report
parent
reply
2 points

unironically a good point tho.

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
2 points

Oh I’m not brave enough for politics.

permalink
report
parent
reply
27 points
*

I’d setup a working group to invent something new. Many of our current formats are stuck in the past, e.g. PDF or ODF are still emulating paper, even so everybody keeps reading them on a screen. What I want to see is a standard document format that is build for the modern day Internet, with editing and publishing in mind. HTML ain’t it, as that can’t handle editing well or long form documents, EPUB isn’t supported by browsers, Markdown lacks a lot of features, etc. And than you have things like Google Docs, which are Internet aware, editable, shareable, but also completely proprietary and lock you into the Google ecosystem.

permalink
report
reply
13 points
7 points

EPubs are just websites bound in xhtml or something. Could we just not make every browser also an epub reader? (I just like epubs).

permalink
report
parent
reply
2 points

That’s the idea, and while at it, we could also make .zip files a proper Web technology with browser support. At the moment ePub exists in this weird twilight where it is build out of mostly Web technology, yet isn’t actually part of the Web. Everything being packed into .zip files also means that you can’t link directly to the individual pages within an ePub, as HTTP doesn’t know how to unpack them. It’s all weird and messy and surprising that nobody has cleaned it all up and integrated it into the Web properly.

So far the original Microsoft Edge is the only browser I am aware of with native ePub support, but even that didn’t survive when they switched to Chrome’s Bink.

permalink
report
parent
reply
2 points
*

Microsoft Edge’s ePub reader was so good! I would have used it all the time for reading if it hadn’t met its demise. Is there no equivalent fork or project out there? The existing epub readers always have these quirks that annoy me to the point where I’ll just use Calibre’s built in reader which works well enough.

permalink
report
parent
reply
8 points

They’re basically zip files with a standardized metadata file to determine chapter order, index page, … and every chapter is a html file.

permalink
report
parent
reply
14 points

Epub isn’t supported by browsers

So you want EPUB support in browser and you have the ultimate document file format?

permalink
report
parent
reply
13 points

It would solve the long-form document problem. It wouldn’t help with the editing however. The problem with HTML as it is today, is that it has long left it’s document-markup roots and turned into an app development platform, making it not really suitable for plain old documents. You’d need to cut it down to a subset of features that are necessary for documents (e.g. no Javascript), similar to how PDF/A removes features from PDF to create a more reliable and future proof format.

permalink
report
parent
reply
4 points

Weasyprint kinda is that, except that it’s meant to be rendered to PDF.

permalink
report
parent
reply
1 point

Can you explain why you need browser support for epub?

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.9K

    Monthly active users

  • 6.1K

    Posts

  • 170K

    Comments