Stop Hardcoding Your Timeouts

40 points by bahlo


pmarreck

If you actually fucking test timeouts properly, you'll quickly (ahem) realize why they need to be injected instead of hardcoded!

7tehdt3cnw6kir6o

Privileged devs (or the management directing them) not caring about lower specced or poorer users is a legitimate problem, but in this case I don't get it, aren't skills just a bunch of markdown files? What do you need npm for as opposed to just git cloning it (perhaps once to a VPS with faster connection, then using rsync to download it)?

edit: reading further, they do do this

The workaround I found? Clone the repo manually first, then install from the local copy. It works, mostly. Except now skills-lock.json points to a path on my machine. My colleagues cannot use it. I also have to update my copy everytime I want update my skills. One workaround creates a lot of other problems.

But I'm still confused, can't they just...git exclude or gitignore the skills-lock.json? And why do you even need a lockfile for what is essentially documentation?? And is running an extra git pull really such a hassle?