• _bcron
    link
    fedilink
    English
    arrow-up
    36
    ·
    2 months ago

    Be me, postal worker. One of our machines uses a csv file to attach zip codes to bins. See fresh engineer decide to change one zip code in notepad really quick. See file’s formatting get wrecked. Spend next 6 hours watching all the mail spit out of the very last bin every time they think they finally fix it as if machine has irritable bowel syndrome. Engineer earns nickname ‘boy wonder’ first week on job

    • curry@programming.dev
      link
      fedilink
      English
      arrow-up
      20
      ·
      2 months ago

      This is why I always save contents as a new file instead of overwriting the original one when I’m using a machine that isn’t mine. I’ve been burned so many times by flimsy newline characters, proper unicode support, legacy encoding and many other stuff you assume it should be already in place.