134. First, Render To Normal Form
(I am evidently fond of paralleling case studies lately. No clue why.)
Having unpredictable inputs means you have to slow down to process them and that the quality of your outputs will probably suffer. If you preprocess them and put them all in some predictable form, you can go faster and do more better. If you stop reading here, you've already got like 75% of what I want to say.
Take the Bessemer steel process, for a marquee example. Iron ore has all sorts of different compositions, and even iron ingots have importantly differing impurities - carbon, sulfur, and so on. That's a problem, if you want to make lots of high-quality steel. So what if, instead, you removed all of those impurities, including the carbon, and ended up with pure iron? That seems way better: now you can straightforwardly add the exact right amount of carbon back in.
Here's another example: reduced row echelon form. Systems of linear equations have all sorts of different forms, and sometimes they're not solvable or have degenerate solutions, which must both be checked for. That's a problem, if you want to solve those systems of equations straightforwardly. So what if, instead, you spent time putting the system into reduced row echelon form, where you'll be able to tell immediately whether the system of equations is overdetermined or underdetermined, and otherwise be able to immediately find one of the values of the variables. That seems way better: now you can straightforwardly solve the rest of the equations through repeated substitution.
For one last example, how I like to cut onions. Onions are all different shapes and sizes, and sometimes there's bad bits to cut out, and you might want do all sorts of things with them: mince them, dice them, cut rings or quarter-circles, or cut little strips. That's a problem, if you want to get done cooking dinner in good time, let alone cooking scalably. So what if, instead, you had a standard procedure for cleaning and preprocessing onions from which you could do as you liked? My favorite way goes like this: cut off the top and bottom of the onion, removing as little as you can straightforwardly remove. Then set it down on a flat face and cut it in half from pole to pole. Now peel off the entire outer layer under running water, which helps loosen the peel. Finally, look for any rotten parts and cut them with a plane cut. That seems way better: now you can straightfowardly cut onions to spec.
Sometimes this preprocessing step is not possible. The word problem for groups poses a problem: it's not actually possible, in full generality, to check whether an element of an arbitrary finitely generated group is the identity, and in fact it's equivalent to the halting problem, because you can encode computation in the relations.
Other times this step is probably horribly unethical. Some human systems have as their first step reducing humans to predictable normal form with trauma and control, after which they can be rebuilt into someone useful to others. This seems like a bad idea.
Accordingly: be grateful for those occasions on which you can and advisely should render inputs to normal form to do tasks faster and better, and take full advantage. All stable processes shall be predicted, but in the case of unstable processes, it is best to control.
Comments
Post a Comment