I am learning a technology I had hoped never to learn.
There exists something called a PLC, a Programmable Logic Controller. They are used to control many systems that require a complex set of conditions and actions. In the days before the widespread use of computers and microcontrollers it was PLC's that controlled nearly any complex machine from printing presses to sawmills.
I was first introduced to the internal workings of PLC's in a long conversation with my father in-law. He used these devices to control machinery in a large plywood mill where he was the senior maintenance supervisor. I had known such things existed, but until that evening I had never known how they worked. He showed me how they were programmed and how you went about changing the code. As an engineering student I was very familiar with modern programming and microcontrollers, I was a little aghast that anyone would still do something in such a primitive manner.