Retrotech — With a Future?

Before there were electronic digital computers, there were mechanical analog computers. Although now obsolete for practical computation, these devices might actually have an useful future ahead of them–in education.

Mechanical analog computation (analog  means that calculation is done by measuring rather than by counting) goes back to the Greek  Antikythera mechanism  (65 BC), which was used to predict the positions of heavenly bodies. The modern era of analog computing began with the work done by James Thompson and his brother William (Lord Kelvin) in the 1870s. First, James Thompson created a mechanical device that performs the calculus function of  integration.

Lord Kelvin applied this device…along with other mechanisms for addition and trigonometric functions…to create a mechanical tide-prediction system. These tide predictors had a pretty good run: the invention was announced in 1876, and some of these systems were still in use in the early 1970s!

For those who haven’t studied calculus, integration can be thought of as a kind of continuous addition.  Imagine a hose with a fluctuating flow rate filling a pool: by integrating the rate of flow, you can calculate the volume of water added to the pool.

The basic concept of a mechanical integrator is shown below.

mechanical-integrator-modified

If the vertical shaft is turned at a constant rate, and the small wheel is moved in and out according to the changing value of some some variable Y, then the rotation of the horizontal shaft Z will represent the integral of Y with respect to time.  If Y is the rate of flow of the a hose, Z will be the total volume  added to the pool. If Y represents the acceleration of a vehicle, then the output shaft will give that vehicle’s speed at any moment.  Connect the output to the input of another integrator, and you will get the distance traveled.

Vannevar Bush, who would become Roosevelt’s science adviser during WWII, combined the integrator and other computing mechanisms to create a highly general mechanical computer, called a  differential analyzer. Completed in 1931, it was not restricted to a single application, but could be programmed–with a wrench and screwdriver to alter the connections–for a wide range of problems. Complex chains of calculation were possible, including the ability for a result at one stage to be fed back as input at an earlier stage–for example, the speed of a simulated vehicle affects its air resistance, which in turn influences its acceleration…which integrates back to its speed.

Other differential analyzers were built in the U.S.,  Norway, and Britain, and were used for applications including heat-flow analysis, electrical network stability analysis, soil-erosion studies, artillery firing table preparation, and studies of the loading and deflection of beams. It is rumored that a British analyzer was used in the planning for the bouncing-bomb attack on German hydroelectric dams during WWII. Differential analyzers appeared in several movies, including the 1951 film When Worlds Collide  (video clip). The ultimate in mechanical analog computation was the Rockefeller Differential Analyzer, a rather baroque (and very expensive) machine built in 1942. It was  decommissioned in 1954, on the belief that the future of calculation would belong to the electronic computer, and especially the electronic  digital  computer.   Following the decommissioning, the mathematician Warren Weaver wrote:

It seems rather a pity not to have around such a place as MIT a really impressive Analogue computer; for there is vividness and directness of meaning of the electrical and mechanical processes involved… which can hardly fail, I would think, to have a very considerable educational value. A Digital Electronic computer is bound to be a somewhat abstract affair, in which the actual computational processes are fairly deeply submerged.

Read more

Movie Review: The Current War

This movie is focused on the interaction among Thomas Edison, George Westinghouse, and Nikola Tesla in the competition to create and build out America’s…and the world’s…electrical infrastructure.  It has gotten mixed and generally not-very-enthusiastic reviews; I thought it was well-done and definitely worth seeing.  Visually, it is striking and sometimes even beautiful, thus worth seeing on the big screen.

The movie gets the outline of the history right; also, I think, the essence of the characters.  Edison is a brilliant inventor and self-promoter who is committed to his DC-based distribution system and will do some more-than-questionable things to get it universally adopted.  Westinghouse, who had invented the railroad air brake (among other things) and already built a large company, sees the value of alternating current, which can be stepped up and down in voltage via transformers and hence can be economically transmitted over long distances.  Tesla, a Serbian immigrant and brilliant inventor, provides the missing link in the form of a practical motor that can run on AC power.  The relationships of Edison and Westinghouse with their respective wives are highlighted, and the future utility mogul Samuel Insull appears as Edison’s young secretary.

I was happy to see the movie’s positive portrayal of Westinghouse, a great man who has tended to be overshadowed by the more-glamorous figures of Edison and Tesla.  (The legions of Tesla fans may be unhappy that Tesla did not get a more central role in the film.)

If this movie sounds interesting to you, better see it soon; I don’t think it’s going to be in the theaters for very long.

Book Review: Red Plenty, by Francis Spufford

Red Plenty by Francis Spufford

—-

The idea of centralized economic planning is a very seductive one.  It just seems to make sense that such planning would lead to more efficiency…less waste…and certainly less unnecessary human suffering than an environment in which millions of decision-makers, many of them in competition with one another, are making their own separate and uncoordinated decisions, resulting in pointless product redundancy, economic cycles driving unemployment, and lots of other bad things.

Red Plenty…part novel, part nonfiction…is about the Soviet Union’s economic planning efforts as seen from the inside.  The characters include factory managers, economic planners, mathematicians, computer scientists, and “fixers.”  Published in 2010, Red Plenty is now quite timely in view of the current vogue for socialism in American political discussion.

Marx drew a nightmare picture of capitalism, when everything was produced only to be exchanged; when true qualities and uses dropped away, and the human power of making and doing itself became only an object to be traded.  The alternative? A dance to the music of use, where every step fulfilled some real need, did some tangible good, and no matter how fast the dancers spun, they moved easily, because they moved to a human measure, intelligible to all, chosen by all.

How might this actually be accomplished? Stalin mocked the idea that planning an economy required much in the way of intellectual depth or effort.  Get the chain of command right, Stalin seemed to be saying, build it on the right ideological principles, and all that was left was a few technical details, a little bit of drudgery to be carried out by the comrades at Gosplan with the adding machines.  But it turned out to be a little more complicated than that.

Maksim Maksimovich Mokhov is one of the lords of the Gosplan file room, in which there are hundreds of folders, each tracking the balances and plans for a particular commodity. A  good man, who takes his job seriously, Maksim  has risen as high as you could go at Gosplan before the posts become purely political appointments..his was the level at which competence was known to reach its ceiling…Not just a mechanical planner, he realizes that the file folders   cast only the loosest and most imperfect net over the prodigious output of the economy as the whole, and has  worked to understand the stress points, the secret path dependencies of the plan.  His specific responsibility is the chemical and rubber sector, and he is particularly concerned, at the time when he enters the story, about problems in the viscose subsector.

Arkhipov, Kosoy, and Mitrenko run one of the most important plants in the viscose supply chain, and they are three worried men.  The plan goals aren’t being met, and they know that  the path to career death is separated by only a few percentage points of plan fulfillment from the other one, the upward path, the road to glory and local fame. (A couple of decades earlier, it wouldn’t have been just career death on the table.) This plant makes two viscose-derived products, yarn and tire cord.  The yarn line works fine, the tire cord line, not so much…but no problems with the machine can be found.  There is no prospect of getting a replacement machine in any relevant timeframe.

Arkhipov and his associates come up with a plan to solve their problem…read the book to see what it is and how it turns out.

Nikita Khrushchev, in September 1959,  told a crowd that “the dreams cherished for ages, dreams expressed in fairytales which seemed sheer fantasy, are being translated into reality by man’s own hands.”  Modern technology, combined with the benefits of a planned economy would make it possible.

Because the whole system of production and distribution in the USSR was owned by the state, because all Russia was (in Lenin’s words) ‘one office, one factory’, it could be directed, as capitalism could not, to the fastest, most lavish fulfillment, of human needs.  

The American exhibition in Moscow in mid-1959 (site of the “kitchen debate” between Khrushchev and Nixon) was attended by 3 million Soviets (including some of the characters in this book), and although many of them thought that the American claims of broad-based prosperity were exaggerated or worse, the experience surely helped feed the longing for a better life for the Soviet Union’s ordinary people.

Leonid Vitalevich Kantorovich pioneered the application of mathematics to the optimization of economic activities…these methods surfaced as a possible toolkit for the planning organizations circa 1960. Could these methods help achieve Khrushchev’s stated goal of broad-based prosperity?

For example, consider several factories, producing a common set of products but with different efficiency characteristics.  Which products should be made by which factories in order to optimize overall efficiency? A set of equations can be constructed representing the constraints that must be observed–labor, machine utlization, etc–and the relative weighting of the variables to be optimized.  Although these techniques have been used to a considerable degree in capitalist countries, they would seem tailor-made for a starring role in a planned economy.  Selling the new methods in the Soviet Union, though, could be tricky:  the linear-programming term “shadow prices”, for example, sounded like something that might have politically-dangerous overtones of capitalism!

One of the first applications involved potatoes, the distribution of same. The BESM (computer) is using Leonid Vitalevich’s shadow prices to do what a market in potatoes would do in a capitalist country–only better. When a market is matching supply with demand, it is the actual movement of the potatoes themselves from place to place, the actual sale of the potatoes at ever-shifting prices, which negotiates a solution, by trial and error.  In the computer, the effect of a possible solution can be assessed without the wasteful real-world to-ing and fro-ing, and because the computer works at the speed of flying electrons rather than the speed of a trundling vegetable truck, it can explore the whole of the mathematical space of possible solutions, and be sure to find the very best solution there is, instead of settling for the good-enough sollution that would be all there was time for, in a working day with potatoes to deliver.

And even in the planned Soviet economy, there is still a market in potatoes, right here in Moscow, the leftover scrap of capitalism represented by the capital’s collective-farm bazaars, where individual kolkhozniks sell the product from their private plots…The market’s clock speed is laughable.  It computes a the rate of a babushka in a headscare, laboriously breaking a two-rouble note for change and muttering the numbers under her breath…No wonder that Oscar Lange over in Warsaw gleefully calls the marketplace “a primitive pre-electronic calculator.”

So put the BESM to work minimizing distance that the potatoes have to travel..a proxy for efficiency and freshness:  price is not a consideration, since the state selling price of potatoes has been fixed for many years.  But BESM can only work with abstract potatoes: Not, of course, potatoes as they are in themselves, the actual tubers, so often frost-damaged or green with age or warty with sprouting tublices–but potatoes abstracted, potatoes considered as information, travelling into Moscow from 348 delivering units to 215 consuming organizations…The economists recognize the difficulty of getting a computer model to mirror the world truly.  They distinguish between working at zadachi, ‘from the problem’, and of fotografii, ‘from the photograph’…This calculation, alas, is from the photograph.  It deals with potato delivery as it has been reported to Leonid Vitalevich and his colleagues.  There has been no time to visit the cold-stores, interview the managers, ride on the delivery trucks. But the program should still work.

The author notes that “the idea that the computer had conclusively resolved the socialist calculation debate in socialism’s favour was very much a commonplace of the early sixties.”

But despite all the planning paperwork, despite the attempts at computerization, people like Chekuskin remain essential to keep the Soviet economy functioning at all.  He is a fixer, he works the system to ensure that his customers–factories, for the most part–can get the parts and materials they need in order to keep operating.  Before the revolution, he was a salesman: now, the economic problem is not selling, but buying.  Chekuskin explains what a real salesman was, back in the day:

You’re thinking of some fellow who works in a sales administration, sits by his phone all day long like a little king, licks his finger when he feels like it, and says, “You can have a litttle bit”…That’s not a salesman.  You see, the world used to be the other way up, and it used to be the buyers who sat around examining their fingernails, hard enough as that is to imagine.  A salesman was a poor hungry bastard with a suitcase, trying to shift something that people probably didn’t want, ’cause back in those days, people didn’t just get out the money and buy anything they could get their hands on.  They had to be talked into it.”

But with Communism, the things changed.  Back then, people didn’t want to buy.  Now, they don’t want to sell.  There’s always that resistance to get past.  But the trick of it stays the same:  make a connection, build a relationship.

Volodya, is a young propagandist recently assigned to the huge locomotive plant in Novocherkassk, a dismal town that also features a university.  Unfortunately, it was classified by the planners as a “college town”, in need of the calorific intake required to lift pencils and wipe blackboards, but there were forty thousand people living and working in the industrial zone out by the tracks now, and between the students and the loco workers, a locust would have been hard put to it to find a spare crumb. White bread was a distant memory, milk was dispensed only at the head of enormous queues.  Sausages were as rare a comets.  Pea soup and porridge powered the place, usually served on half-washed plates.

Eventually, people can’t stand it anymore–and decisions by two separate planning organizations have the result that on the very same day, food prices are increased and so are the production quotas at the locomotive factory.   There is a raucous mass protest, featuring signs like MEAT, BUTTER, AND PAY and CUT UP KHRUSHCHEV FOR SAUSAGES.  The loco plant manager, Korochkin, does not handle the situation well, and the rage grows.

The ensuing catastrophe is vividly described as it is observed by the horrified Volodya.  Troops open fire on the protestors:  26 people are killed an 87 wounded.  Death sentences and long prison terms are handed down.

This was a real event:  it happened in 1962.  News about the events did not appear in the state-controlled press for thirty years.

Read more

Journalists

Financial Times recently had an article about a projected luxury dirigible.  Being an airship fan, I wish the venture success. I was struck, though, by a paragraph in the article contrasting the planned aircraft, called the Airlander, with the airships of the 1930s with their “flammable hydrogen fuels.”

Uh…no.  None of the airships of the 1930s used hydrogen as a fuel.  Some of them used hydrogen as a lifting gas, which is a totally different thing from the fuel consumed to power the craft forward. And most American airships didn’t use hydrogen for any purpose…the American airships that came to bad ends mostly did so as a result of weather-related structural failure…which point, one would have thought, might have been relevant to someone writing about the possible future of airships.

But airships are a pretty esoteric subject, after all, so maybe it’s unreasonable to expect a journalist to spend (or get his assistant to spend) half an hour actually learning something about whatever he is writing about.  So let’s talk about something that isn’t esoteric at all, but rather about as timely and important as it gets.  Energy.

I’ve noticed that in articles about energy storage…of which there have been a lot…the writer rarely seems to grasp that kilowatts are not the same thing as kilowatt-hours, and you can’t express the storage capacity of a battery or other storage system in kilowatts. It would be like stating the capacity of your car’s gas tank in horsepower.  (The same principle applies to megawatts and megawatt-hours, or gigawatts and gigawatt-hours)  Yet all the time, I see articles…not just in the general media but also in the business media…talking about the wonderfulness of a battery or whatever that can store 4 megawatts.

For example, here’s a Barrons article referring to a town which has installed batteries “that can hold two megawatts of power.”  Actually, the batteries at this facility can hold 3.9 megawatt-hours of energy…the 2 megawatts of power is about the rate at which energy can be added to or drawn from the system, and has nothing to say about the amount stored.  So if you withdraw power at 2 megawatts, you can do so for a little under 2 hours before the battery storage is exhausted. You need the megawatt-hour number to know that; “2 megawatts” tells you nothing about the storage capacity.

Turning now to television journalism:  I think Tucker Carlson is far superior to most TV commentators in terms of focusing on issues in some depth, rather than just obsessively circling in on whatever is hottest at the moment.  But when recently introducing a guest who was going to talk about a highly-questionable sale to China that was made during the Clinton administration, he said that sale had been of “machine parts.”  Actually, it was of machine tools, as the guest correctly explained.

Machine tools are one of the essential cornerstones of industry, and have been for a long time.  Shouldn’t a person who frequently writes and/or speaks about economic issues know what a machine tool is and why it matters?  Maybe I’m misinterpreting, but I think Tucker’s “machine parts” phrasing indicates that he has no such awareness.

Ben Rhodes, an Obama operative, said of the current generation of reporters:  “The average reporter we talk to is 27 years old, and their only reporting experience consists of being around political campaigns. That’s a sea change. They literally know nothing.”

No doubt true of a large number of those younger reporters who Rhodes manipulated while feeling contempt for. But there are journalists–older and younger–who do have a pretty good grasp of history, geography, and comparative political systems…some of them even have some education or reading in political philosophy.  But even among these, knowledge of technology–and by “technology” I do not mean just “computer stuff”–is pretty close to nonexistent.

And with the vastly increased influence of government over all aspects of the economy–and the even greater (much greater!) influence being sought by the current Democratic Party–such knowledge is pretty important.