i just spent the better part of an hour writing a python script to optimize resistor values for an op amp gain stage and i was really proud of the resulting error <0.8mV over two switchable ranges with only 3 resistors, and then i remembered that there's an everything shortage right now and E192 resistors are like 2 dollars each lmao