• Im_old@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    Fun fact (not really), when docker-compose throws an error on a yaml file it tells on which line the error is. The problem is that it ignores any commented out line, so you end up guesstimating on which line the error is

  • marcos@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Yeah, fixed something like this yesterday.

    Turns out the Oracle database can’t count lines. But that’ not really news.

  • Artyom@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    I just inherited a Python repo where every hundred lines or so, they added a ^L. What is a ^L? you ask. And I say that’s an excellent question. You see, a ^L is an ASCII standard for saying that if you print the plain text, you should split the content onto a new page here. That’s right, for years, a team of people strictly enforced that they consistently add ^Ls everywhere in case someone wanted to print the entire fucking repo onto paper.

    It’s an invisible character, it took me quite a while to figure out what it even was.

    • jxk@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      1 month ago

      If ^L is invisible in your editor, you’re using a bad editor.

      Not saying page feeds are useful, but you can’t complain that you don’t see them.