this post was submitted on 14 Jan 2025
398 points (92.0% liked)

memes

10965 readers
2184 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/AdsNo advertisements or spam. This is an instance rule and the only way to live.

Sister communities

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] LordKitsuna@lemmy.world 85 points 3 days ago (2 children)

Anyone that says yaml is readable is psychotic. It's literally objectively not readable because a random white space character can break the entire thing and that's by definition not readable I can't see whether there's a white space or not without explicitly setting that up in an editor

[–] Deestan@lemmy.world 41 points 3 days ago (1 children)

The scandinavian country codes, as understood by yaml:

  • se
  • false
  • dk
[–] azertyfun@sh.itjust.works 9 points 3 days ago (3 children)

Only 1.1. Which everybody has been fiercely clinging onto since 2009, because YAML 1.2 did not seem to consider it a problem that they broke backwards compatibility on that behavior. So now the only way to keep existing YAML files working is for us all to keep pretending YAML 1.2 does not exist.

[–] Deestan@lemmy.world 4 points 3 days ago

Ow! My semver.

[–] TheNamlessGuy@lemmy.world 3 points 3 days ago (1 children)

"Broke backwards compatibility"

Brother, what do you think versioning is for?

[–] azertyfun@sh.itjust.works 1 points 2 days ago

Which versioning????

somekey: yes

Go right ahead and tell me what the YAML version is and what is the type of somekey is. Oh that's right, it's impossible, because the versioning is entirely up to the serializers for some godforsaken reason.

[–] corsicanguppy@lemmy.ca 1 points 3 days ago

they broke backwards compatibility

Tell me this is post-y2k and built in the dark ages after we lost our mentors and gurus without using those words.

[–] FlexibleToast@lemmy.world 1 points 3 days ago (1 children)

That's what ansible-lint is for.

[–] LordKitsuna@lemmy.world 3 points 3 days ago (1 children)

I mean sure or you could just start by using a format that's not so painfully strict with how it's laid out. I miss the good old INI config. It couldn't give two shits how you format it, throw in random spaces random tabs random new lines so long as the value was correct

[–] FlexibleToast@lemmy.world 6 points 3 days ago

I hate ini. Lists stuck in ini.