3 ms·
You would sadly have to find your way through the Twitter "thread" to fully understand. Someone at Docker and someone at Razer both copy-pasted the same faulty
by _-___________-_ 7y ago
You would sadly have to find your way through the Twitter "thread" to fully understand.
Someone at Docker and someone at Razer both copy-pasted the same faulty code from Stack Overflow for preventing multiple instances of their program running at once. Unfortunately the code took the assembly identifier and called GetType() on it which returns the same value for all programs.
The Stack Overflow answer was later fixed but since the programmers no doubt both felt they'd "solved" the problem, they didn't see the fixed answer.
- Arnt 7y agoWhich I suppose is an argument that pulling in eleventy thousand oneliners from npm is better than copying oneliners using the editor: At least you can run a batch upgrade without spending real brain cycles. I'm sure someone has written a thingy to upgrade npm dependencies, rerun tests, and bisect to tell you about the breaking upgrade if anything reaks. Left-pad, come back, all is forgiven.