r/ProgrammerHumor • • 11d ago

Meme formatsWithSuperiorityComplex

Post image
3.0k Upvotes

403 comments sorted by

View all comments

Show parent comment

-8

u/Do_TheEvolution 11d ago

but if you make configuration file in json instead of yaml, you can go suck all them eggs with your sea of {}{}{{{{}}{}{{{{}}}}{}

16

u/rjwut 11d ago

I'd take that deal any day of the week.

-2

u/Do_TheEvolution 11d ago

love that irl smart people prevailed and we are not writing docker/kubernetes in json, or ansible, or github actions

11

u/ExdigguserPies 11d ago

Whitespace makes this problem worse, not better

0

u/Do_TheEvolution 11d ago

yeah, right, sure...

{
  "apps": {
    "http": {
      "servers": {
        "restic": {
          "listen": [":443"],
          "routes": [{
                        "match": [{"host": ["localhost"]}],
            "handle": [{
              "handler": "restic",
              "repository_path": "/path/to/your/repository"
            }]
          }]
        }
      }
    }
  }
}

3

u/CookIndependent6251 11d ago

PEBCAK because you're not using a formatter, which throws an ID-10T error.

1

u/Do_TheEvolution 11d ago

by all means... post your beatified, properly formatted version of that json, I am so ready to be impressed by the deep magic you posses that solves deeply nested json noise...

2

u/CookIndependent6251 11d ago

⠀⠀⠀⠀⠀⠀⠀⣠⣤⣤⣤⣤⣤⣄⡀
⠀⠀⠀⠀⠀⢰⡿⠋⠁⠀⠀⠈⠉⠙⠻⣷⣄
⠀⠀⠀⠀⢀⣿⠇⠀⢀⣴⣶⡾⠿⠿⠿⢿⣿⣦⡀
⠀⠀⣀⣀⣸⡿⠀⠀⢸⣿⣇⠀⠀⠀⠀⠀⠀⠙⣷⡀
⠀⣾⡟⠛⣿⡇⠀⠀⢸⣿⣿⣷⣤⣤⣤⣤⣶⣶⣿⠇⠀⠀⠀⠀⠀⠀⠀⣀
⢀⣿⠀⢀⣿⡇⠀⠀⠀⠻⢿⣿⣿⣿⣿⣿⠿⣿⡏⠀⠀⠀⠀⢴⣶⣶⣿⣿⣿⣆
⢸⣿⠀⢸⣿⡇⠀⠀⠀⠀⠀⠈⠉⠁⠀⠀⠀⣿⡇⣀⣠⣴⣾⣮⣝⠿⠿⠿⣻⡟
⢸⣿⠀⠘⣿⡇⠀⠀⠀⠀⠀⠀⠀⣠⣶⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠁⠉
⠸⣿⠀⠀⣿⡇⠀⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡿⠟⠉
⠀⠻⣷⣶⣿⣇⠀⠀⠀⢠⣼⣿⣿⣿⣿⣿⣿⣿⣛⣛⣻⠉⠁
⠀⠀⠀⠀⢸⣿⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇
⠀⠀⠀⠀⢸⣿⣀⣀⣀⣼⡿⢿⣿⣿⣿⣿⣿⡿⣿⣿⡿
⠀⠀⠀⠀⠀⠙⠛⠛⠛⠋⠁⠀⠙⠻⠿⠟⠋⠑⠛⠋