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
26 points
*

XML for machine-readable data because I live to cause chaos

Either markdown or Org for human-readable text-only documents. MS Office formats and the way they are handled have been a mess since the 2007 -x versions were introduced, and those and Open Document formats are way too bloated for when you only want to share a presentable text file.

While we’re at it, standardize the fucking markdown syntax! I still have nightmares about Reddit’s degenerate four-space-indent code blocks.

permalink
report
reply
18 points

Man, I’d love if markdown was more widely used, it’s pretty much the perfect format for everything I do

permalink
report
parent
reply
6 points

Markdown, CommonMark, .rst formats are good for printing basic rich text for technical documentation and so on, when text styling is made by an external application and you don’t care about reproducible layout.

But you also want to make custom styles (font size, text alignment, colours), page layout (paper format, margin size, etc.) and make sure your document is reproducible across multiple processing applications, that the layout doesn’t break, authoring tools, maybe even some version control, etc. This is when it strikes you bad.

permalink
report
parent
reply
4 points

Markdown misses checkboxes anywhere, especially in tables.

But markdown is just good. It’s just writing text as normal basically

permalink
report
parent
reply
1 point

You can convert Markdown to a number of formats with pandoc, if you want to author in Markdown and just distribute in some other format.

Not going to work if you need to collaborate with other people, though.

permalink
report
parent
reply
45 points

I don’t know what to pick, but something else than PDF for the task of transferring documents between multiple systems. And yes, I know, PDF has it’s strengths and there’s a reason why it’s so widely used, but it doesn’t mean I have to like it.

Additionally all proprietary formats, specially ones who have gained enough users so that they’re treated like a standard or requirement if you want to work with X.

permalink
report
reply
16 points

oh it’s x, not x… i hate our timeline

permalink
report
parent
reply
2 points

I would be fine with PDFs exactly the same except Adobe doesn’t exist and neither does Acrobat.

permalink
report
parent
reply
9 points

I would be fine with PDFs exactly the same except Adobe doesn’t exist and neither does Acrobat.

permalink
report
parent
reply
5 points

When PDF was introduced it made these things so much better than they were before that I’ll probably remain grateful for PDF forever and always forgive it all its flaws.

permalink
report
parent
reply
-10 points

.exe to .sh low key turn all windows machines to Linux machines

permalink
report
reply
6 points

I’m not getting what you are trying to say

permalink
report
parent
reply
42 points

You’re comparing compiled executables to scripts, it’s apples and oranges.

permalink
report
parent
reply
-1 points
*

I, for one, label my apple crates as oranges.

winebin="wine"
if file "$1" | grep 64-bit; then
    winebin="wine64"
fi

printf '%s %q $@ || exit $?' "$winebin" "$1" > "$1.sh"
chmod +x "$1.sh"
permalink
report
parent
reply
12 points

Some sort of machine-readable format for invoices and documents with related purposes (offers, bills of delivery, receipts,…) would be useful to get rid of some more of the informal paper or PDF human-readable documents we still use a lot. Ideally something JSON-based, perhaps with a cryptographic signature and encryption layer around it.

permalink
report
reply
13 points

This one exists. SEPA or ISO20022. Encryption/signing isn’t included in the format, it’s managed on transfer layer, but that’s pretty much the standard every business around here works and many don’t even accept PDFs or other human-readable documents anymore if you want to get your money.

permalink
report
parent
reply
2 points

Woah neat

permalink
report
parent
reply
3 points

Well, okay, let me rephrase that. It would be nice if the B2C communication used something like that too.

permalink
report
parent
reply
1 point

In Finland it kinda-sorta does, for some companies (mostly for things where you pay monthly). You can get your invoices directly to your banking account and even accept them automatically if you wish. And that doesn’t include anything else than invoices, so not exactly what you’re after. And I agree, that would be very nice.

Some companies, like one of our major grocery chain, offer to store your receipts on their online service, but I think that you can only get a copy of the receipt there and it’s not machine readable.

permalink
report
parent
reply
1 point

whats the file extension and whats the category name, compiling list in body

permalink
report
parent
reply
1 point

It doesn’t have any standardized extension. My solution uses .xml (as that’s the format internally), but it’s not anywhere in the standard. About category I don’t really know. SEPA stands for Single Euro Payment Area, but it contains quite a lot of things, https://www.iso20022.org/about-iso-20022 has a bit more info on the standard itself, but there’s no catchy category name either.

permalink
report
parent
reply

Something for I/Q recordings. But I don’t know what would do it. Currently the most supported format seems to be s16be WAV, but there’s different formats, bit depths and encodings. I’ve seen .iq, .sdriq, .sdr, .raw, .wav. Then there’s different bit depths and encodings: u8, s8, s16be, s16le, f32,… Also there’s different ways metadata like center frequency is stored.

permalink
report
reply
2 points

what is this

permalink
report
parent
reply

God damnit. I wrote an answer and it disappeared a while after pressing reply. I am lazy to rewrite it and my eyes are sore.

Anyway, I am too dumb to actually understand I/Q samples. It stands for In-Phase and Quadrature, they are 90° out of phase from each other. That’s somehow used to reconstruct a signal. It’s used in different areas. For me it’s useful to record raw RF signals from software defined radio (SDR).
For example, with older, less secure systems, you could record signal from someone’s car keyfob, then use a Tx-capable SDR to replay it later. Ta-da! Replay attack. You unlocked someone’s car.
In a better way, you could record raw signal from a satellite to later demodulate and decode it, if your computer isn’t powerful enough to do it in real-time.

If you want an example, you can download DAB+ radio signal recording here: https://www.sigidwiki.com/wiki/DAB%2B and then replay it in Welle.io (available as Appimage) if it’s in compatible format. I haven’t tested it.

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

  • 6.8K

    Monthly active users

  • 6.6K

    Posts

  • 180K

    Comments