Comment on Programmer tries to explain binary search to the police

groucho@lemmy.sdf.org ⁨11⁩ ⁨months⁩ ago

The final project in my instrumentation class was to tune a PID controller for a hot/cold mixing valve. I (CS/ENG) was paired up with an engineering student and a lot of it was throwing parameters in, seeing if weird shit happened, and then turning down or up based on the result. I had a programming final and something else I was supposed to be studying for, so I just started doing a binary search with the knobs. We got the thing tuned relatively fast and my partner acted like I was a wizard.

source
Sort:hotnewtop