744
A box of DevOps (sh.itjust.works)
all 40 comments
sorted by: hot top controversial new old
[-] MsPenguinette@lemmy.world 110 points 1 year ago* (last edited 1 year ago)

I tell people I'm a software engineer but in reality I'm a config file engineer

[-] chameleon@kbin.social 66 points 1 year ago
[-] Jaccident@lemm.ee 9 points 1 year ago

Careers Fair; 2024

Teen: “Excuse me; how do I become a Tech Lead like you someday” Lead: “By simple luck of the draw I am the best at googling other people’s solutions to my team’s YAML config issues.”

[-] andrew@lemmy.stuart.fun 26 points 1 year ago

Eh. Software is just data too. It's about solving problems with systems using those systems and other systems and that's software engineering. It's recursive and wherever you are in the stack you're standing on the shoulders of giants, and you're still doing engineering. 💪

[-] ensignrick@startrek.website 5 points 1 year ago

Lol. Legitimately.

[-] octoperson@sh.itjust.works 53 points 1 year ago

Did you know YAML is a recursive acronym? It stands for 'YAML AML MAML LAML'

[-] SaakoPaahtaa@lemmy.world 16 points 1 year ago

Nature is beautiful❤️

[-] sxan@midwest.social 6 points 1 year ago

Is it polynomially recursive? Like, the AML stands for "AML MAML LAML", and so on?

[-] whodatdair@lemm.ee 33 points 1 year ago
[-] corsicanguppy@lemmy.ca 9 points 1 year ago
[-] dauerstaender@feddit.de 3 points 1 year ago

And yet its faster, easier and more reliable in setting up and maintaining complex cluster software.

[-] Gecko@lemmy.world 32 points 1 year ago

YAML would such a nice language for config files but then it turns out that "no" is falsy and so a list of Scandinavian countries turns from

  • se
  • fi
  • no

into

  • "se"
  • "fi"
  • False

I wish there was like a JSON5 equivalent for YAML that just reduces its scope lol
(and no, TOML also looks ugly :P)

[-] Kanda@reddthat.com 19 points 1 year ago

Norway is false and Finland isn't in Scandinavia

[-] dafo@lemmy.world 5 points 1 year ago* (last edited 1 year ago)

S W E D E N

S W E D E N

S W E D E N

[-] synae@lemmy.sdf.org 10 points 1 year ago

This is definitely a failing of yaml. Though, I feel that generally it's the sort of thing you learn once the hard way, then it sticks with you pretty well.

Also I'm glad there are more anti-toml folks are out there, feels like I'm taking crazy pills when people say it is "simple" and "elegant". IMO it's uglier than old-school ini format - at least it's more strictly defined but that doesn't really sway me to convert

[-] orangeboats@lemmy.world 2 points 1 year ago

TOML isn't elegant at all but damn, it is really simple.

[-] ApexHunter@lemmy.ml 1 points 1 year ago

If by simple you mean "can't count from 1 to 10 in a loop" and by elegant you mean "easier to understand than a one line perl script" then sure...

[-] Amaltheamannen@lemmy.ml 6 points 1 year ago

You're looking for StrictYaml

[-] Gecko@lemmy.world 1 points 11 months ago

Looks interesting, I'll check it out, thanks :D

[-] redcalcium@lemmy.institute 20 points 1 year ago

Could've been worse. Could be unprettified json.

[-] magic_lobster_party@kbin.social 13 points 1 year ago

Json is incredibly easy to prettify.

[-] synae@lemmy.sdf.org 6 points 1 year ago

I do it by converting to yaml ;)

[-] Cratermaker@discuss.tchncs.de 4 points 1 year ago

I wrote a json prettifier a couple months ago with just a couple lines of code. I thought it would take a while but ended up taking like 10 minutes.

[-] ElectricCattleman@lemmy.world 5 points 1 year ago

js's JSON.stringify(obj, null, 2);

[-] kbotc@lemmy.world 4 points 1 year ago

Import json Import pprint?

[-] 30p87@feddit.de 2 points 11 months ago
[-] 30p87@feddit.de 2 points 11 months ago
[-] magic_lobster_party@kbin.social 2 points 11 months ago

I use jq pretty much every day

[-] Dasnap@lemmy.world 18 points 1 year ago

Me carrying a comically oversized box of compose files.

[-] optimal@lemmy.blahaj.zone 9 points 1 year ago

Fucking hate YAML. With every fibre of my being. YAML needs tO GTFO

[-] neoney@lemmy.neoney.dev 5 points 1 year ago
[-] Kid_Thunder@kbin.social 3 points 1 year ago

I didn't know that ansible-galaxy had a comic

[-] corsicanguppy@lemmy.ca 2 points 1 year ago

In typical ansible fashion, expect it in 20 years.

[-] Zuluparadise@lemmy.world 3 points 1 year ago

My fatass read a box of donuts

[-] fl42v@lemmy.ml 1 points 11 months ago

Those devops should switch to nix already 😁

[-] neoney@lemmy.neoney.dev 1 points 11 months ago

A fun YAML fact is that it’s a superset of JSON. All JSON is valid YAML.

[-] tja@sh.itjust.works 5 points 11 months ago

Not sure, how much fun there is in that fact

this post was submitted on 12 Nov 2023
744 points (96.6% liked)

Programmer Humor

19488 readers
351 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS