this post was submitted on 02 Sep 2024
0 points (NaN% liked)

Programming

21264 readers
74 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
 

There are a couple I have in mind. Like many techies, I am a huge fan of RSS for content distribution and XMPP for federated communication.

The really niche one I like is S-expressions as a data format and configuration in place of json, yaml, toml, etc.

I am a big fan of Plaintext formats, although I wish markdown had a few more features like tables.

top 23 comments
sorted by: hot top controversial new old
[–] mox@lemmy.sdf.org 1 points 10 months ago* (last edited 10 months ago) (1 children)

ISO 8601 date format. Not because it's from a standards body, but because it's simple, sensible, clearly defined, easy to recognize, and very effective.

Date field placement in any order other than most-significant-digits-first is not only counterintuitive, but needlessly complicated to work with. Omitting critical information like the century is ambiguous and confusing.

We don't live in isolated villages any more. Mixing and matching those problems by accepting all the world's various regional and personal date styles, especially with no reliable indication of which ones apply in any given case, leads to the hodgepodge of error-prone date madness that we have today.

The 2024-09-02 format should be taught in schools and required in official documents. Let the antiquated date styles fall into disuse outside of art and personal correspondence, like cursive writing.

[–] MoonlightFox@lemmy.world 1 points 10 months ago

And it can be sorted alphabetically in all software. That's a pretty big advantage when handling files on a computer

[–] flameguy21@lemm.ee 1 points 10 months ago

It's completely bonkers that JPEG-XL is as good as it is and no one wants to actually implement it into web browsers

[–] blarth@thelemmy.club 1 points 10 months ago* (last edited 10 months ago)

IRC.

Jabber.

IPFS.

[–] BB_C@programming.dev 1 points 10 months ago* (last edited 10 months ago) (1 children)

The term open-standard does not cut it. People should start using "publicly available and sharable" instead (maybe there is a better name for it).

ISO standards for example are technically "open". But how relevant is that to a curious individual developer when anything you need to implement would require access to multiple "open" standards, each coming with a (monetary) price, with some extra shenanigans ^[archived]^ on top.

IETF standards however are actually truly open, as in publicly available and sharable.

[–] refalo@programming.dev 1 points 10 months ago

how about FOSS, free and open-source standards /s

[–] kersplomp@programming.dev 1 points 10 months ago

Zigbee or really any Bluetooth alternative.

Bluetooth is a poorly engineered protocol. It jumps around the spectrum while transmitting, which makes it difficult and power intensive for bluetooth receivers to track.

[–] webbureaucrat@programming.dev 1 points 10 months ago

I'll give my usual contribution to RSS feed discourse, which is that, news flash! RSS feeds support video!

It drives me crazy when podcasters are like, "thanks for listening to our audio podcasts. We also have a video feed for our YouTube subscribers." Just let me have the video in PocketCasts please!

[–] BrianTheeBiscuiteer@lemmy.world 1 points 10 months ago (1 children)

ISO 216 paper sizes work like this: https://www.printed.com/blog/paper-size-guide/

It's so fucking neat and intuitive! How is it not used more???

[–] lime@feddit.nu 1 points 10 months ago

sorry to tell you this bud...

map of which countries use iso 216. guess which one just had to be different

[–] matcha_addict@lemy.lol 1 points 10 months ago

I wish there was a good open standard for task management or todo list.

I know there's todo.txt, but it lacks features like dependent tasks, and overall the plain text format limits features and implementations.

[–] Kissaki@programming.dev 1 points 9 months ago* (last edited 9 months ago)

I wish standards were always open access. Not behind a 600 dollar paywall.

When it is paywalled I'm irritated it's even called a standard.

[–] DeltaWingDragon@sh.itjust.works 1 points 10 months ago* (last edited 10 months ago)

PGP or GPG, however you spell it. You can encrypt stuff, protect your email from prying eyes!

Also FOSS in general.

[–] boramalper@lemmy.world 0 points 10 months ago (1 children)

ActivityPub :) People spend an incredible amount of time on social media—whether it be Facebook, Instagram, Twitter/X, TikTok, and YouTube—so it’d be nice to liberate that.

[–] jelloeater85@lemmy.world 1 points 9 months ago* (last edited 9 months ago)

I mean, you're in the right place to advocate for that 😜

[–] lolcatnip@reddthat.com 0 points 10 months ago (1 children)

JSON5. it's basically just JSON with several QoL improvements, like comments, that make it usable as a format for human consumption (as opposed to a serialization format).

[–] tatterdemalion@programming.dev 1 points 10 months ago

Objects may have a single trailing comma.

I just came.

[–] UFODivebomb@programming.dev 0 points 10 months ago (1 children)

Is ipfs usage growing? Stagnant? No idea... Diatributed serving of content seems great

[–] cyclohexane@lemmy.ml 0 points 10 months ago

I never really quite understood IPFS and why it gets used where I see it today. What problem is it solving?

[–] lime@feddit.nu 0 points 10 months ago (1 children)

i'm a plan 9 from bell labs fan. Imagine how excited I was when wsl used 9P for its plumbing. then they scrapped it all for wsl2.

just, the power they managed to get out of those union mounts... your application wants access to the mouse? sure, here's a file named "mouse". it's got the coordinates in it. you want to draw to the screen? here's a file called like "bitmap" or whatever, just write to it. you want to start a process on another machine? just cd to it and start the process there. want to have the UI show up on your machine? symlink your bitmap file to that directory.

I also wish early web composability could have stayed and expanded. like, the old vlc embed player, which would just show up in your browser and could play any file inline? great stuff. Imagine if every application composed with everything else, like the android Activity and Intent concepts but for anything, just by virtue of living in the same os. need an image? just ask the os and it will present the user with many ways to procure an image, let the selected one run , and hand you back an image. you don't even have to care where from. in a way, it's what the arcan guy is doing with his experiments, although that's more for stitching together graphical pipelines.

[–] The_Decryptor@aussie.zone 1 points 10 months ago (1 children)

Plan 9 even extended the "everything is a file" philosophy to networking, unlike everybody else that used sockets instead.

[–] tatterdemalion@programming.dev 0 points 10 months ago (1 children)
[–] The_Decryptor@aussie.zone 1 points 10 months ago

They're "file like" in the sense that they're exposed as an fd, but they're not exposed via the filesystem at all (Unlike e.g. unix sockets), and the existing API is just mapped over the sockets one (i.e. write() instead of send(), read() instead of recv()). There's also a difference in how you create them, you open() a file, but connect() a socket, etc.

(As an aside, it turns out Bash has its own virtual file-based wrapper around sockets, so you can do things like cat a remote port with Bash, something you can do natively in Plan 9)

Really it just shows that "everything is a file" didn't stand up in practice, there's more stuff that needs special treatment than doesn't (e.g. Interacting with TTYs also has special APIs). It makes more sense to have a better dedicated API than a generic catch-all one.