Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
TJA!@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago

A box of DevOps

sh.itjust.works

message-square
41
link
fedilink
723

A box of DevOps

sh.itjust.works

TJA!@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago
message-square
41
link
fedilink
alert-triangle
You must log in or # to comment.
  • MsPenguinette@lemmy.world
    link
    fedilink
    arrow-up
    110
    arrow-down
    1
    ·
    edit-2
    2 years ago

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

    • chameleon@kbin.social
      link
      fedilink
      arrow-up
      66
      ·
      2 years ago

      Senior YAML programmer

      • Jaccident@lemm.ee
        link
        fedilink
        arrow-up
        8
        ·
        2 years 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
      link
      fedilink
      English
      arrow-up
      28
      arrow-down
      2
      ·
      2 years 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. 💪

      • trash80@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        2 years ago

        I am working on nand2tetris right now and learning about all the layers of abstraction is just terrific.

  • octoperson@sh.itjust.works
    link
    fedilink
    arrow-up
    52
    ·
    2 years ago

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

    • SaakoPaahtaa@lemmy.world
      link
      fedilink
      arrow-up
      15
      ·
      2 years ago

      Nature is beautiful❤️

    • 𝕽𝖚𝖆𝖎𝖉𝖍𝖗𝖎𝖌𝖍@midwest.social
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

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

  • Gecko@lemmy.world
    link
    fedilink
    English
    arrow-up
    33
    ·
    2 years 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
      link
      fedilink
      arrow-up
      19
      ·
      2 years ago

      Norway is false and Finland isn’t in Scandinavia

      • dafo@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        2 years ago

        S W E D E N

        S W E D E N

        S W E D E N

    • synae[he/him]@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 years 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

      • AVincentInSpace@pawb.social
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 years ago

        Which is better for structured data?

        • elegant, human readable, indentation sensitive language that’s great for deep nesting but has some weird idiosyncrasies with some dynamically typed parsers being too smart for their own good
        • glorified ini

        The choice is clear

      • orangeboats@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

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

      • ApexHunter@lemmy.ml
        link
        fedilink
        arrow-up
        2
        arrow-down
        1
        ·
        2 years 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
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      You’re looking for StrictYaml

      • Gecko@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 years ago

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

  • whodatdair@lemm.ee
    link
    fedilink
    arrow-up
    32
    ·
    2 years ago

    Ansible go brrrr

    • corsicanguppy@lemmy.ca
      link
      fedilink
      arrow-up
      10
      arrow-down
      1
      ·
      2 years ago

      … slowly.

      • dauerstaender@feddit.de
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

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

  • SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    22
    ·
    2 years ago

    You know, at this point I’ve been writing YAML on and off for a while now. You’d think I actually understand the syntax by now, but I don’t.

    • ApexHunter@lemmy.ml
      link
      fedilink
      arrow-up
      8
      ·
      2 years ago

      That’s because it is absolutely terrible. It is the first serious/real “language” I have encountered since Cobol where indent level has functional meaning. This is not good company to be in.

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    21
    ·
    2 years ago

    Could’ve been worse. Could be unprettified json.

    • magic_lobster_party@kbin.social
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      2 years ago

      Json is incredibly easy to prettify.

      • synae[he/him]@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 years ago

        I do it by converting to yaml ;)

      • Cratermaker@discuss.tchncs.de
        link
        fedilink
        arrow-up
        4
        ·
        2 years 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
          link
          fedilink
          English
          arrow-up
          5
          ·
          2 years ago

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

        • kbotc@lemmy.world
          link
          fedilink
          English
          arrow-up
          6
          arrow-down
          2
          ·
          2 years ago

          Import json Import pprint?

        • 30p87@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago
          | jq
          
      • 30p87@feddit.de
        link
        fedilink
        arrow-up
        2
        ·
        2 years ago
        | jq
        
        • magic_lobster_party@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          2 years ago

          I use jq pretty much every day

  • Dasnap@lemmy.world
    link
    fedilink
    arrow-up
    19
    ·
    2 years ago

    Me carrying a comically oversized box of compose files.

  • TheOPtimal@lemmy.blahaj.zone
    link
    fedilink
    ქართული
    arrow-up
    11
    arrow-down
    2
    ·
    2 years ago

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

  • neoney@lemmy.neoney.dev
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    2 years ago

    Nix

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Nothing

  • Zuluparadise@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

    My fatass read a box of donuts

  • Kid_Thunder@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    2 years ago

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

    • corsicanguppy@lemmy.ca
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      In typical ansible fashion, expect it in 20 years.

  • asw13c@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    deleted by creator

  • fl42v@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    2 years ago

    Those devops should switch to nix already 😁

  • neoney@lemmy.neoney.dev
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

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

    • TJA!@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      6
      ·
      2 years ago

      Not sure, how much fun there is in that fact

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 956 users / day
  • 3.14K users / week
  • 8.06K users / month
  • 16.7K users / 6 months
  • 2 local subscribers
  • 24.8K subscribers
  • 1.55K Posts
  • 48.3K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • UI: 0.19.12
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org