this post was submitted on 14 Jan 2025
355 points (91.8% liked)

memes

10923 readers
3263 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 75 points 22 hours 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 34 points 21 hours ago (1 children)

The scandinavian country codes, as understood by yaml:

  • se
  • false
  • dk
[–] azertyfun@sh.itjust.works 9 points 18 hours 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.

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

"Broke backwards compatibility"

Brother, what do you think versioning is for?

[–] azertyfun@sh.itjust.works 1 points 8 hours 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.

[–] Deestan@lemmy.world 3 points 13 hours ago

Ow! My semver.

[–] corsicanguppy@lemmy.ca 1 points 11 hours 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 17 hours ago (1 children)

That's what ansible-lint is for.

[–] LordKitsuna@lemmy.world 3 points 16 hours 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 16 hours ago

I hate ini. Lists stuck in ini.