14
Tounai
22d

My scripts are made to be stupid-proof. Turns out I should have written them extra-stupid-proof.

Comments
  • 2
    Hey, was you away for a while?

    Just write scripts that do not accept parameters and cwd themselves to the work directory :P
  • 4
    @retoor
    I was. Looks like I had nothing to rant about. Very rare.

    I can make it so that it doesn’t take any arguments but unfortunately I cannot control the state of the machines using the script, nor can I control people not being able to follow simple instructions or explicit error messages.
  • 1
    @Tounai Can't make it check the env?
  • 2
    "So far, the universe is winning."
  • 1
    @BordedDev
    I do. In fact, the script in question sets up majority of the environment and displays explicit errors for what it cannot set. But if the people using it copy-paste the error assorted with a “it doesn’t work” there’s not much I can do.
  • 0
    @Tounai Ah my condolences for your brain-dead users
  • 2
    @Tounai hey, at least they include the errors. Look on the bright side. Live support callers have us put on PPE and walk down to the factory floor to take a photo of a fucking error message before we could even begin debugging because the reports are like "terminal 3, does not work". Two people besides the actual L1 support have to drive two hours each day to provide this support, there's no other reason for them to be on prem.
Add Comment