Wednesday, June 11, 2014

Rainbows

In my thirty plus years of teaching, I used a lot of analogies to explain different ideas and concepts. By using an analogy, I hoped to explain a new and unknown idea in terms of things the students already knew. Like most teachers, I taught certain classes over and over (and over and over) again. That let me fine tune my presentations and analogies and focus on those that worked best.

For several years while I was in IBM Technical Education I taught courses on software testing. That didn’t stop when I moved on to a later stage in my career and I found myself in the front of a classroom or a TV camera teaching principles of testing right up until I retired.

An important concept in testing is the various levels. These are times or stages during the development process where testing occurs. (Of course you start the testing process at the beginning of the development cycle if you want to be most effective. But you can’t run (or execute) test cases until you have code to test.)

The very first phase of testing is most often called “Unit Testing” (or "Component Testing") and it is done to individual units or modules and most often executed by the original developer or "author." There are several phases following Unit Test with different names from "Function Test" to "Integration Test" and others. These tests are performed as the software parts are integrated to make the complete system.

This is most often followed by "System Test" as well as "Beta Test," "Acceptance Test" and other tests of the complete software running in a full operational environment. These levels of testing are most often performed by individuals with the "tester" job code and not by the code developers.

Each phase of testing has a certain purpose and motivation. These are discrete steps or phases, yet the overall purpose remained the same: to find bugs. So how to explain the concept of phases of testing … what was the same and what was different?

I used the rainbow as an analogy. First I’d ask how many colors in the rainbow? There are really two correct answers. Some will say “seven.”

Yes, there are seven: Red, Orange, Yellow, Green, Blue, Indigo, Violet. Sure, you can look at a rainbow and observe and name each color, but INDIGO?!? Where did that come from?

Simple, the ancients — who first recorded these colors — were superstitious and numerologists. They considered seven as a number representing completeness. (See the days of the week or the Bible’s Genesis account.) They added Indigo to the other common colors to reach the "magic" number seven. So, are there really seven?

Well no. Color is related to the frequency of light, and the rainbow shows all frequencies in the visible band from deepest red to the highest blue (which we call purple). So a more scientific answer is that the colors of the rainbow are a continuum of colors from infra-red to ultra-violet.

And that is true of testing too. It is a bit of continuous transition that we break into nameable parts or phases from Unit Test to System Test and many other names for specific purposed tests.


One of the best ways to explain the engineering concepts is through a model — another form of analogy. This diagram shows the connection between the software development phases or stages and the test phases. This picture shows the connection through planning, but there is also a connection between the phases via inspections. Unit Testers should inspect or review units of code and system testers should be involved in requirements design reviews.

Also the developers should be there at test plan and test design inspections. This process is an important part of an overall quality effort.

The V-diagram is applicable in all process models from waterfall to iterative and spiral to Agile. No matter what the development plan is, you have to have requirements and designs before you have code and integration, and you need code before you can run a test case. All development models include the same basic steps.

Depending on your organization, your education, and the type of industry you work in, these names may be different, but the concept is the same. It is the concepts that need to be focused on, not the terms.

So there you have a couple of analogies to assist you in understanding these fundamental process steps. If you aren’t a programmer or tester, then you may not know what I’m talking about. But, if you are a software developer, then these models, pictures, and analogies might help your understanding. It worked for a lot of students in my classes.

Friday, June 6, 2014

A Visit to the Worlds Fair of 2014

In 1964 there was a World’s Fair in New York City. More correctly these events were named “Expositions.” Starting in London in 1851, these world-wide displays were very common and held in the U.S., Europe, and even Australia. The theme was often the future … new technology and new ways of living … the world of tomorrow. These great expositions pre-dated Disneyland, yet they had many of the Disney touches as he, too, was interested in the future of technology and mankind.

The most recent were held in China in 2010 and South Korea in 2012. Planned for the next few years are fairs in Italy, Kazakhstan, and United Arab Emirates. The best-known “first World Expo” was held in The Crystal Palace in Hyde Park, London, United Kingdom, in 1851, under the title "Great Exhibition of the Works of Industry of All Nations.” The Eiffel Tower was built for the Exposition Universelle of 1889 in Paris. The Pan-American Exposition held in Buffalo, New York, in 1901 was a showcase for Edison and his new electric light powered by the nearby dam at Niagara Falls.

It was at this exposition that President William McKinley was shot by an anarchist, Leon Czolgosz, at the Temple of Music. Although one of the exhibits was the new X-Ray machine, the doctors didn’t use it to treat the president because they were concerned about “side effects.” The president died eight days later from gangrene caused by the bullet wounds.

The 1939–40 New York World's Fair diverged from the original focus of the world's fair expositions. From then on, world's fairs adopted specific cultural themes; they forecasted a better future for society. Technological innovations were no longer the primary exhibits at fairs. The theme of the 1939 fair was "Building the World of Tomorrow"; at the 1964 New York World's Fair, it was "Peace Through Understanding"; at the 1967 International and Universal Exposition in Montreal, it was "Man and His World". The fairs encouraged effective intercultural communication for the exchange of innovation.

While visiting the 1964 World’s Fair, the “good doctor,” Isaac Asimov, wrote an article for the New York Times in which he described attending the 2014 World’s Fair. Now Science Fiction is often thought of as predicting the future. After all, Jules Verne envisioned rockets to the moon and submarines as long ago as the middle of the nineteenth century … just in time for the first World’s Fair.

In point of fact, most sci-fi writers don’t consciously make predictions. They are not concerned if their vision of the future turns out to be correct. Rather they will take an idea from the present and project it into the future. A method often called “what if?” What if mankind reaches the moon and beyond? What if ships could voyage under the sea, or we could visit the center of the earth, or what would life be like with robots or teleportation?

Often science fiction tells the positive side of technology and man. One of the most endearing traits of the Star Trek series was the positive view of mankind and human behavior. Expositions were meant more to celebrate today’s technology than to predict the future. And what a glorious future it will be as all this new technology is implemented.

Yet, no honest science fiction writer will pass up the chance to describe their vision of the future. That’s what Isaac Asimov did in his article. Of course, making predictions is difficult, especially about the future. A lot of unexpected discoveries as well as unanticipated problems can occur between 1964 and 2016. Why I’ve spent my entire adult life dealing with just those discoveries and problems. Welcome to the future. So what did Isaac get right? Turns out, not much.

To begin with, there is no 2014 World’s Fair … not in New York, nor anywhere else. However, he did get a few right:

  1. ”Robots will be neither common nor very good in 2014.”
  2. ”By 2014, only unmanned ships will have landed on Mars.”
  3. ”As for television, wall screens will have replaced the ordinary set.”
  4. ”On Earth — laser beams will have to be led through plastic pipes, to avoid material and atmospheric interferenece.”

Still, that’s a pretty good batting average for seeing 50 years into the future, especially with the current rate of discovery and implementation. He said that:

One thought that occurs to me is that men will continue to withdraw from nature in order to create an environment that will suit them better. By 2014, electroluminescent panels will be in common use. Ceilings and walls will glow softly, and in a variety of colors that will change at the touch of a push button.

Windows need be no more than an archaic touch, and even when present will be polarized to block out the harsh sunlight. The degree of opacity of the glass may even be made to alter automatically in accordance with the intensity of the light falling upon it.

While that technology does exist, or very nearly exist in our modern world, this is not common … yet. Plus, I don’t really think mankind, at least in the U.S. and certain developed counties, has withdrawn from nature. Homes in the U.S. are bigger and more comfortable with air conditioning and Internet access and cable TV. Still, I think camping, and parks, and picnics, and family vacations in the mountains has increased with the advent of Interstate highways, more reliable automobiles, and fancy recreational vehicles. Oh, wait, maybe we have withdrawn when you talk about giant motorhomes with color TV, refrigerators, and A/C.

He further stated, “The appliances of 2014 will have no electric cords, of course, for they will be powered by long-lived batteries running on radioisotopes. The isotopes will not be expensive for they will be by-products of the fission-power plants which, by 2014, will be supplying well over half the power needs of humanity. But once the isotype batteries are used up they will be disposed of only through authorized agents of the manufacturer.”

Got the batteries right. It is becoming a cordless world. Just check out the tool section at Home Depot. But, we haven’t figured out good “atomic” batteries, and struggle with odd chemical constructions using weird metals like NiCad and other unknown to common man materials. He did understand the issue of disposal of radioactive materials, but the “authorized agents of the manufacturer” have not materialized. Even the federal government is struggling with radioactive material disposal.

He predicted fusion power. Oh, if only he’d been right on that one. We could do without Fukushima. He predicted vehicles riding on compressed air and not touching the roadways as well as moving sidewalks and other conveyances of this type. Again, we have that technology, but rarely see it implemented except on television shows or in airports.

Did he predict cell phones? The Internet? What about men on the moon? Well, close:

Communications will become sight-sound and you will see as well as hear the person you telephone. The screen can be used not only to see the people you call but also for studying documents and photographs and reading passages from books. Synchronous satellites, hovering in space will make it possible for you to direct-dial any spot on earth, including the weather stations in Antarctica (shown in chill splendor as part of the '64 General Motors exhibit).

For that matter, you will be able to reach someone at the moon colonies, concerning which General Motors puts on a display of impressive vehicles (in model form) with large soft tires intended to negotiate the uneven terrain that may exist on our natural satellite.

Any number of simultaneous conversations between earth and moon can be handled by modulated laser beams, which are easy to manipulate in space. On earth, however, laser beams will have to be led through plastic pipes, to avoid material and atmospheric interference. Engineers will still be playing with that problem in 2014.

Conversations with the moon will be a trifle uncomfortable, but the way, in that 2.5 seconds must elapse between statement and answer (it takes light that long to make the round trip). Similar conversations with Mars will experience a 3.5-minute delay even when Mars is at its closest. However, by 2014, only unmanned ships will have landed on Mars, though a manned expedition will be in the works and in the 2014 Futurama will show a model of an elaborate Martian colony.

Hmmmm, we’ve sort of got this, although no-one is calling Antarctica, or are they?

He did get the population explosion:

As I stood in line waiting to get into the General Electric exhibit at the 1964 fair, I found myself staring at Equitable Life's grim sign blinking out the population of the United States, with the number (over 191,000,000) increasing by 1 every 11 seconds. During the interval which I spent inside the G.E. pavilion, the American population had increased by nearly 300 and the world's population by 6,000.

In 2014, there is every likelihood that the world population will be 6,500,000,000 and the population of the United States will be 350,000,000. Boston-to-Washington, the most crowded area of its size on the earth, will have become a single city with a population of over 40,000,000.

Population pressure will force increasing penetration of desert and polar areas. Most surprising and, in some ways, heartening, 2014 will see a good beginning made in the colonization of the continental shelves. Underwater housing will have its attractions to those who like water sports, and will undoubtedly encourage the more efficient exploitation of ocean resources, both food and mineral. General Motors shows, in its 1964 exhibit, the model of an underwater hotel of what might be called mouth-watering luxury. The 2014 World's Fair will have exhibits showing cities in the deep sea with bathyscaphe liners carrying men and supplies across and into the abyss.

Living under the ocean, often predicted, hasn’t happened yet.

With this next one, he came pretty close, and — if Monsanto has anything to say about it — it is probably still just around the corner.

Ordinary agriculture will keep up with great difficulty and there will be "farms" turning to the more efficient micro-organisms. Processed yeast and algae products will be available in a variety of flavors. The 2014 fair will feature an Algae Bar at which "mock-turkey" and "pseudosteak" will be served. It won't be bad at all (if you can dig up those premium prices), but there will be considerable psychological resistance to such an innovation.

He spoke a lot about population and even population control. He predicted by now Boston and New York City would have grown together as one giant metropolis. “Well, the earth's population is now about 3,000,000,000 and is doubling every 40 years. If this rate of doubling goes unchecked, then a World-Manhattan is coming in just 500 years. All earth will be a single choked Manhattan by A.D. 2450 and society will collapse long before that!” He may yet be proven right with this prediction.

He even predicted the current economic downfall and loss of jobs. Although most blame our current predicament on the housing bubble, banks, and shipping jobs overseas, a big part of today’s unemployment picture is due to automation. He said:

The situation will have been made the more serious by the advances of automation. The world of A.D. 2014 will have few routine jobs that cannot be done better by some machine than by any human being. Mankind will therefore have become largely a race of machine tenders. Schools will have to be oriented in this direction. Part of the General Electric exhibit today consists of a school of the future in which such present realities as closed-circuit TV and programmed tapes aid the teaching process. It is not only the techniques of teaching that will advance, however, but also the subject matter that will change. All the high-school students will be taught the fundamentals of computer technology will become proficient in binary arithmetic and will be trained to perfection in the use of the computer languages that will have developed out of those like the contemporary "Fortran" (from "formula translation”).

Remember, one of the largest exhibits at the ’64 Fair was IBM’s hall of computers.

He concludes with a dire statement. It is no surprise that such an energetic and busy man as Asimov would feel this way. Yet I wonder if today’s population would agree with this final comment:

“Indeed, the most somber speculation I can make about A.D. 2014 is that in a society of enforced leisure, the most glorious single word in the vocabulary will have become work!”

"Enforced leisure," now that's a concept. Welcome to 2014. Now we just call it "unemployment." (And that includes yours truly. That's how I find all the time to write these things.)

Wednesday, June 4, 2014

Nightfall

This is a story about a story. It is a special story; very special to me. It was written by my favorite author, the “good doctor,” Isaac Asimov. It is rather special to others too. Written in 1941, it was adapted into a novel by Asimov in collaboration with Robert Silverberg in 1990. The short story has been included in 48 anthologies, and has appeared in six collections of Asimov's tales. In 1968, the Science Fiction Writers of America voted Nightfall the best science fiction short story written prior to the 1965 establishment of the Nebula Awards, and included it in The Science Fiction Hall of Fame Volume One, 1929-1964.

Asimov is one of my three “all time favorite” authors along with Arthur C. Clarke and Robert A. Heinlein. [Note to readers: I’m not the only one that lumps these three together. They are often considered the “big three” by science fiction authors, fans, and biographers and historians of sci-fi.] These three, and particularly Asimov, came to prominence under the editorship of John W. Campbell, Jr. in his Astounding Science Fiction magazine. All three were real scientists and engineers (like many science fiction authors), and described significant and practical inventions in their work. (While Asimov is famous for his analysis of robots, Clarke invented geosynchronous satellites, and Heinlein created "waldoes.")

Asimov completed his MA in chemistry in 1941 and earned a PhD in biochemistry in 1948. After completing his doctorate, Asimov joined the faculty of the Boston University School of Medicine, with which he remained associated thereafter. From 1958, this was in a non-teaching capacity, as he turned to writing full-time. Being tenured, he retained the title of associate professor, and in 1979, the university honored his writing by promoting him to full professor of biochemistry.

My early science education included much from his nonfiction. The Measure of the Universe, The Search For The Elements, The Noble Gases, The Neutrino: Ghost Particle of the Atom, Understanding Physics, Vol. 1-3, Light, Asimov on Numbers, Realm of Algebra, … and many more … all still in my library. He even wrote seven books on the Bible and a detailed study of Shakespeare, also in my collection. There are 506 books accredited to him, and I think they may have missed a few in the count. Certainly a prolific author. All that and great science fiction too.

Nightfall came about when Campbell asked Asimov to write the story after discussing with him a quotation from Ralph Waldo Emerson:

If the stars should appear one night in a thousand years, how would men believe and adore, and preserve for many generations the remembrance of the city of God!

Campbell's opinion to the contrary was: "I think men would go mad.”

In Asimov’s tale, there is a planet called Lagash which is located in a stellar system containing six suns (Alpha, Beta, Gamma, Delta are the only ones named in the short story), which keep the whole planet continuously illuminated; total darkness is unknown, and as a result so are all the stars outside the planet's stellar system.

At the point of the story, there is only one “sun” in the sky, since the other five are on the opposite side of the planet. Unknown to most of the population, a solar eclipse is about to occur which will block out this single source of light. (As the planet rotates, the entire surface will be in the dark.) This is a rare occurrence that only occurs once every 2049 years. Because it is never night, the people have not experienced total darkness. In fact, there are some experiences that suggest total darkness will cause madness.

There is a religious cult that speaks of “stars,” the unknown objects that are never seen in the always lit sky. They expect an apocalypse accompanied by the stars taking away the “believers.” The astronomers have worked out the mechanics and are predicting the eclipse. The archeologists have found evidence of several prior civilizations that all end in fire and ash every 2000 years. All these facts are gathered by a reporter as he interviews the different protagonists during the last day before nightfall.

One of the scientists explains the expectation that, in the darkness, men will go mad and burn everything seeking light. They have several hundred colleagues hidden in a special place intended to survive the catastrophe. Meanwhile the remaining astronomers intend to create a photographic record to “restart” civilization after the nightfall. The cult leader shows up to smash the cameras as “blasphony,” and must be subdued. As the eclipse starts to darken the ski, of course, the “angry villagers,” egged on by members of the religious cult and approaching darkness, are at the observatories gates tearing down the door.

Then it happens. The total eclipse. The stars come out. With the arrival of the night and a crimson glow that was "not the glow of a sun,” (for the city has been set fire) with the implication that societal collapse has occurred once again.

Just what science fiction does best. It answers the question “What if?” Next I’ll tell you about Arthur C. Clarke’s The Star. Oh, I see we’re out of time. Well, next time then.

Burn down the mission
Burn it down to stay alive

Tuesday, June 3, 2014

The Internet of Things

After watching the complete Apple WWDC (World Wide Developer Conference) presentations yesterday, I’m excited about the prospects for the notion called the “Internet of Things.” This is the “electronic home.”

It’s like those ads you see on TV where the guy remotely shuts off the television, turns out the lights, and locks the door that his son had carelessly left on or unlocked. I have a limited version at my home now. I can check and adjust my furnace and A/C from anywhere in the world using an app on my iPhone. If the system should experience a failure or malfunction, it will send me an email to alert me. I also have some Philips "Hue" LED lights that connect through my router, and I can control them via iPhone too.

In Apple’s announcements yesterday they included the new iOS 8 SDK (Software Development Kit — a set of software development tools). This is stunning. This version opens up more than 4,000 APIs for third-party developers. In parallel, Apple rolled out new frameworks called "HealthKit" and "HomeKit." The HealthKit APIs, according to Apple, provide the ability for health and fitness apps to communicate with each other. The HomeKit "delivers a common protocol, secure pairing and the ability to easily control individual or groups of devices throughout the house including integration with Siri," said the company.

An “API” is an application program interface. These are connections into the operating system services for use by application programs or “apps.” An API can be used to read or write data or request services written into the OS. These new APIs are largely interfaces to specific services and functions that would be useful for home automation and health devices. This includes wireless communications, alerts and messages, as well as display functions and security features. Having common OS functions and services available reduces the amount of effort required by application programmers and assures consistency and security as well as robust operations to be implemented simply and with minimum code.

The common thread here is Apple's aggressive software strategy, designed to court a million more developers, while signing up system and IC (integrated circuits or “chips”) vendors to design solutions "made for iOS devices.” Apple's action of opening up so many new APIs at once unprecedented. No other operating system companies, including Google or Microsoft, have ever done it. When Microsoft first released its .NET framework for Windows in 2002 with version 1.0, it wasn’t until version 4.0, ten years later, that a complete framework API set was available.

Development of .NET actually began in 1990 with the so called “Next Generation Windows Services,” so the process was very drawn out and evolutionary.

Apple intends these frameworks to be more revolutionary.

As Apple guns for a big stake in technology for monitoring health and home, chip companies including Marvell, Broadcom, and Texas Instruments are looking to piggyback on the Apple campaign. The three IC vendors were listed on a slide shown on the stage at Apple's World Wide Developers Conference, as the companies supporting Apple's HomeKit. Of the three, Marvell became the first to launch a host of new Internet of Things System on a Chip (SoCs) made for Apple’s iOS devices. These are the “brains” of the appliances that will connect to the iPhone for control, programming, and monitoring. Your new toaster may have more computer power than the lunar landing craft did in 1969 thanks to built-in SoCs.

Marvell is rolling out three separate versions of its Internet of Things SoCs — for WiFi, Bluetooth, and ZigBee — by tightly coupling a Muli-point Control Unit with each wireless chip, together with power management and memory on a single die. Marvell’s solutions come with what the company calls "EZ-connect" software enabling end systems to implement various HomeKit-specific protocols. These chips could be included in everything from your refrigerator to your furnace and home lights. The clincher: Marvell’s Internet of Things SoCs are already MFi (Made For iPhone/iPad) certified, a process controlled by Apple.

Of course, suppliers of Internet of Things devices — lightbulbs, thermostats, door locks, sprinklers, home appliances, and healthcare devices — will still need to go through Apple's MFi certification process on a system level. But with Marvell having done its MFi homework, system vendors are expected to find it a snap to get the MFi seal of approval from Apple and connect their finished products with iOS devices. Having Apple’s certificate of approval will assure customers of quality, compatibility, and even security.

For those not familiar, ZigBee is a specification for a suite of high level communication protocols used to create personal area networks built from small, low-power digital radios. ZigBee is based on an IEEE 802.15 standard. Though low-powered, ZigBee devices can transmit data over long distances by passing data through intermediate devices to reach more distant ones, creating a mesh network; that is, a network with no centralized control or high-power transmitter / receiver able to reach all of the networked devices. ZigBee is intended for networks with low data rate communications and is perfect for home automation. The name refers to the waggle dance of honey bees after their return to the beehive. Home entertainment system control, smoke detectors, and burglar alarm sensors are common applications.

Armed with hundreds of millions of iTune accounts already held by consumers who trust Apple with their account payment information, Apple hopes to milk that bond assuming consumers will trust Apple to accurately identify that the thermostat and doorbell are indeed theirs and theirs alone. Security is paramount in the way Apple is deploying the HomeKit. It is also my greatest personal concern for the home automation allows the opportunity for the bad guys to “hack your home.”

Since some Internet of Things devices are too small to incorporate an LED or a display, Apple's iPhone comes in handy as the indispensable screen to set up Internet of Things devices and automatically connect them to the home network. But the raison d'être of Apple's HomeKit isn't just about turning an iPhone or iPad into the smart home's all-purpose remote control.

Apple's HomeKit framework helps users create and set up a specific "scene," according to Apple. For example, users can turn the home network into a "night mode" so that lighting throughout the home can be turned off and locks turned on. When a "vacation mode" kicks in, lighting could get randomly turned on and off, a sprinkler is switched on at a scheduled time, and the motion sensor system is triggered.

By promoting a common protocol for home automation devices and making a public API available for configuring and communicating with those devices, Apple is making the home network easy for both users and system vendors.

Without the HomeKit framework, the application that users would need to control their appliances, for example, must be independently created by an individual system vendor. And it would be too time consuming for consumers to create a specific use-case that must be applied to individual devices.

The MFi scheme would place no limits to the type of wireless connectivity necessary for each Internet of Things device. If it's a door lock, it probably makes sense to use Bluetooth Smart, because of its proximity use-case scenario. For a washing machine — or any other appliance plugged into a wall socket — adding WiFi enables each machine to communicate with cloud services through the home network, sending an alert if it breaks down. If light bulbs are set up as part of the network, ZigBee would be the choice of wireless technology.

Currently, iPhones aren't equipped with ZigBee. However, ZigBee is just a wireless protocol. Many radios can be software configured for the data rate of ZigBee for MFi-based networks. My Philips LED lights use a control box on the network that talks to the lights, and receives input from the iPhone over my WiFi network. We are not talking continuous audio, we are talking the 'washing machine-is-done' level bursts, or 'lower-thermostat-and-verify-command' receipt. MFi could also support novel communication protocols, wired and wireless — possibly also light and laser modulation and receiving. You just need a WiFi bridge.

This is the dawn of a new age. Remember the first time you saw VisiCalc? The first time you used email? Your first cell phone? This is the dawning of a new age. It is coming. It may be the next big thing. I can hardly wait. Then again, with the very real security concerns of twenty-first century living, maybe we should be careful before we go back to the future.

We are living in the future I'll tell you how I know
I read it in the paper fifteen years ago
We're all driving rocket ships and talking with our minds
And wearing turquoise jewelry and standing in soup lines
We are standing in soup lines, we are standing in soup lines

Monday, June 2, 2014

Shifting Gears

The title of this essay is “Shifting Gears.” It is not a metaphor for making life changes, nor is it an allegory about going in new directions. No, it’s about shifting gears; driving a stick; using a clutch; a manual transmission; gear jammin’.

I’ve always had a natural ability with machinery. I didn’t need a “lefty-loosey” or “righty-tighty” to get along with tools and machines. I’ve got an innate ability and a natural predilection with machinery. Oh, I can have a tough time starting a lawn mower like anyone else, but mostly machinery works well in my hands. And none better than a good old stick shift.

My first driving experience was with my dad’s ’52 Chevy Sedan Delivery, or — using the more common description — “panel truck.” Like most cars and small trucks of the ‘50s, it was a simple machine. You started it with a button on the dashboard. It did have an automatic choke, but that’s a story for another time. It had no radio. The only controls were a knob for the lights and another for the wipers. A simple heater completed the dashboard. We never used the key. In those days an ignition switch had three settings: on, off, and lock. There was a lip around the key slot, so you could turn the switch without the use of a key. We never used the key; just switching from off to on and back to off as needed. (Without the key, you couldn’t put it in “lock.”) Never locked the doors either. It was a small town. This way you never had to ask “who has the key?”

It had the common three-speed shifter on the steering column. You’d pull it toward you and down for first gear, up and forward for second, and down for third. For reverse you’d pull the shifter back toward yourself and up. It was the familiar “H” pattern of all shifters, but most modern gear jammers are used to floor shifters. Back then most levers were on the column. (If you go way, way back, the shifters were on the floor to keep the mechanism simple. Column shifters were considered very modern in the fifties.)

The mechanism was spring loaded to the forward position: second and third. You had to pull back slightly as you cleared the center of the “H” to get the low gear and reverse. It was a natural motion that the body performed more like using a hand to catch a ball or a foot to kick your brother. As you pushed the lever up from first, it would pop down into the back part of the H and continue on up on its path to second gear. It was more automatic muscle memory than thoughtful process. The center of the H was the neutral position. No gears engaged. If you put the truck in neutral, let out the clutch, and stepped on the gas, the motor would rev and race. But that had a purpose. Read on.

In those days second and third had “synchromesh” gears. These are small parts in the transmission that speed up (or slowed down) the gears during shifting to assure they meshed without any grinding. That allowed you to shift to second and between second and third while moving. First gear, however, didn’t have any synchromesh. The designers intention was for you to only shift into low when stopped … same for reverse.

Here’s a more technical explanation via my friends at Wikipedia:

Among many different types of clutches, a dog clutch provides non-slip coupling of two rotating members. It is not at all suited to intentional slipping, in contrast with the foot-operated friction clutch of a manual-transmission car.

The gear selector does not engage or disengage the actual gear teeth which are permanently meshed. Rather, the action of the gear selector is to lock one of the freely spinning gears to the shaft that runs through its hub. The shaft then spins together with that gear. The output shaft's speed relative to the countershaft is determined by the ratio of the two gears: the one permanently attached to the countershaft, and that gear's mate which is now locked to the output shaft.

Locking the output shaft with a gear is achieved by means of a dog clutch selector. The dog clutch is a sliding selector mechanism which is splined to the output shaft, meaning that its hub has teeth that fit into slots (splines) on the shaft, forcing that shaft to rotate with it. However, the splines allow the selector to move back and forth on the shaft, which happens when it is pushed by a selector fork that is linked to the gear lever.

The fork does not rotate, so it is attached to a collar bearing on the selector. The selector is typically symmetric: it slides between two gears and has a synchromesh and teeth on each side in order to lock either gear to the shaft.

In this way two different gears can be selected. Since most automobile transmissions have more than two gears or "speeds" there are more than one selector fork. In the old-fashioned, three-speed transmissions, second and third are on one spine and shifted back and forth, typically with the aid of synchomesh, while first and reverse are on another shaft that usually lacked synchro. The shift mechanism selects between the two shift forks. One is selected when you pull back on the shifter (first and reverse) and the second when the shifter is forward (third and fourth). A locking system assures that, if one selector fork is choosing a gear, the other selector fork is held in the central position or "neutral." With the advent of four forward speeds and more, additional shift forks are usually added.

If the so-called dog teeth make contact with the gear, but the two parts are spinning at different speeds, the teeth will fail to engage and a loud grinding sound will be heard as they clatter together.

For this reason, a modern dog clutch in an automobile has a synchronizer mechanism or synchromesh, which consists of a cone clutch and blocking ring. Before the teeth can engage, the cone clutch engages first, which brings the selector and gear to the same speed using friction.

Until synchronization occurs, the teeth are prevented from making contact, because further motion of the selector is prevented by a blocker (or baulk) ring. When synchronization occurs, friction on the blocker ring is relieved and it twists slightly, bringing into alignment certain grooves or notches that allow further passage of the selector which brings the teeth together.

The exact design of the synchronizer varies among manufacturers and with the total number of gears or "speeds."

There, you are now well on your way to a degree in mechanical engineering. Next time I’ll explain planetary gears … now, back to my kid’s tale.

In those days, woe to anyone that tried to pull the shifter down into low while still moving. There were no “dog clutch” or “blocker cones” for low, and this motion would be accompanied by a terrible mechanical noise called “grinding the gears.” Anyone within earshot would shout out derisive comments on your mechanical ability such as “grind me a pound,” a reference to the preparation of hamburger in the butcher shop; or, my favorite, “they’re gonna make ‘em out of rubber next year.”

However, a true gear jockey, a title of which I was eminently entitled, could “double clutch” into low while still moving. The process was complicated and consisted of putting the shifter into neutral, releasing the clutch momentarily while revving the engine, and then push in the clutch and pull into first without any mechanical noise. What such an expert was accomplishing when releasing the clutch in neutral was to spin the gears up to exactly the speed matching the moving back wheels so that the gears would mesh without the benefit of synchro gears. Us “gear jammers” were practiced at such maneuvers and we were as proud of that ability as Liberace on the pie-an-oh was in his art.

I don’t recall when I learned this skill of “double clutching,” but I could do it for as long as I can remember, probably since I was a baby! It was a natural thing more made of muscle memory and reflexes than head knowledge, and I would often demonstrate this skill to the amazement and felicitations of my friends. And if you believe that my friends would congratulate me when I did a perfect double clutch, then you don’t know my friends very well and I’ve got a bridge in Brooklyn I’d like to sell you.

Although column shifters were the typical stock item, the long levers and mechanisms made fast shifting a bit of a clumsy act. Real racers wanted to fly from first to second to third with hardly a hesitation or loss of power to the wheels. Back then the greatest automobile modification you could make was to move the shifter from the steering column to the floor. That made the connection from lever to transmission as short as possible and allowed fast, smooth, and decisive shifting that was called for any time maximum acceleration was required.

This modification was called “four-on-the-floor,” although you usually included reverse in that count. Soon Detroit was making these shifters standard equipment in the muscle cars of the period. The best shifter of all time was made by Hurst. Some had a handle called a “tee” and it was the goal of any red blooded American boy to have a big V-8 and a Hurst shifter. Hurst is still around providing maximum shift to Mustangs, Cameros, GTOs, and even included in some hot dealer models as standard equipment.

Now days, with automatic transmissions in most cars, you only find a “stick” in either a very low cost model or in a performance automobile, however even the cheap one’s typically have four forward speeds. The shifters are now all on the floor and the meager three-speed has been replaced by an honest four-on-the-floor at a minimum, and many modern autos have five-speed trannies. My Miata has six. I have to admit that some times I forget just what gear I’m in. I long for some light on the dash to remind me I’m in fifth, not third, or sixth rather than fourth. You see, the familiar “H” is still there, but now it has extra arms. Sort of “|-|-|.”

Now first is in the upper left; down for second; up for third and down for fourth. Fifth is a push to the right and up and sixth, if you got it, is down with the same push. In all these modern cars, reverse has a special location. It may be way to the right and down, or even to the left and up. There’s a strong spring you have to overcome to get into reverse, and some have a lever you pull to unlock the backward gear. On my Miata it is a hard push to the right and down, and sometimes that doesn’t work. It helps to put the shifter in neutral and double clutch before shifting into reverse. So old habits not only die hard, but are actually quite useful still.

You see, all modern manual transmissions have synchro even on low gear, so double-clutching has become something of a lost art; sort of like putting the harness on a team of horses. Some still have the skill, but most modern men and women have lost that ability just as they’ve lost the knowledge to hunt dinosaurs with a spear.

Some people today can’t drive a stick, even with full synchro-mesh. It typically isn’t the gear pattern that’s the problem, it’s using the clutch. Especially for starting out. That’s the problem. Oh, most learn quickly, but I know a few that it just doesn’t ever come natural.

I took drivers ed. in High School. We drove a little Corvair with a manual transmission. We were taught to stop on a hill and then start out moving without any rolling backward. That was a challenge. There you were with one foot on the clutch and one on the brake, and — except for the rare circus oddity: the three legged man — most people could not run the throttle while pressing the brake and clutch pedals. I suppose “heel and toe” techniques could be applied, but we learned simpler methods. In one you would let the clutch out just enough to apply some friction and holding power from the idling engine. Then you’d quickly move the right foot from brake to gas, pressing down to rev the engine as you released the clutch further for a smooth start and no “roll-back.”

That was a tricky maneuver, but I was expert at it, and still use it on the steep hill to third avenue in Longmont. The second method requires a hand brake (sometimes called an emergency brake or a parking brake) and won’t work on those foot pedal parking brakes since the situation has already used up both feet for clutch and regular brake. If you have a hand brake you pull it out and hold the car steady so you can release the foot brake and, using gas and clutch in the regular way, as the hand brake is slowing released, up the hill you go with zero roll-back.

My dad says his old 40-something Studebaker had a "hill holder" feature that prevented backward roll. It was a great car for Seattle's steep hills. Those old cars had some neat features that are unknown by today's drivers. By the way, my dad loved Studebaker.

(Hand brakes are also useful for flipping some great “brodies” on snow covered roads when you lock up the rear wheels. That’s another skill I used to practice as a kid and admit I still use in my cul-de-sac at home. You can take the kid out of Montana, but you can’t take the Montana out of the kid — I always say.)

My old Navy buddy, Woody, had a Javelin back in the sixties made by American Motors or AMC. It was AMC's answer to the Mustang, a nice sporty two-door, but it only had a three-speed and a column shifter. The engineers had added synchro to first, so they would advertise it as a “three-and-one-half” speed.

Now those TV Babies (a term I borrowed from Donald Fagen of Steely Dan fame for anyone born after 1962) out there that never drove a car from the fifties or early sixties, don’t worry, you didn’t have to know how to double-clutch. Cars in those days had a lot of torque, which is low speed power, and you could do a lot in second gear. You really only needed first for starting from a dead stop. Actually, I could get the car going from a dead stop in second gear, but it required you ride the clutch a bit, letting it slip to keep up the rpm’s and that wasn’t good on clutches. Sort of a “these are professional drivers, don’t try this at home” procedure.

I did teach both my boys and my granddaughter to drive stick. (Linda already knew … as she’s from my generation … “I'm just talkin' 'bout my g-g-g-generation.”) As most realize when they first try, the hardest part of using the clutch is starting out without killing the engine or revving to the red line or starting with a jerking motion like some jack-in-the-box bobbing on the end of its spring. My secret is to find an empty parking lot and have the learner only use the clutch and no gas. Without worry of synchronizing the engine rpm and the clutch it is much easier to learn how to hesitate at that fine point where the clutch engages. You can start a car moving with an idling engine after a bit of practice. From there, “adding some gas” is a simple proposition. I’ve even taught a few adults how to shift for themselves using this technique, but it is clear to me that some have the natural ability, and some will always struggle a bit with the method. For them, we have “automatics,” which are also good for driving while drinking coffee and talking on the phone.

My wife is an expert shifter as she takes our pickup truck through the gears, even with its long and ungainly shifter. I don’t let her drive my sports car (although she’s snuck it out a few times), but I’m sure she would have no problem with that Mazda shifter which only moves about one-quarter of an inch in going from first to second and is apparently lubricated with butter because nothing else would be so smooth. I’m pretty sure the Miata could be shifted using only mental telepathy, it’s so easy, but I prefer doing it by hand. A little too futuristic to just think it into gear.

There is a secret to a good shift. I starts with the correct hand position. Don’t push the lever side-ways. No, just let the mechanism take the inevitable trajectory with only the slighted hint from the palm of your hand or you curved fingers when pulling down into second or fourth or sixth — all right, sixth is a little hard give a bit of a push. I used to put the old delivery truck shifter in the palm of my hand facing the windshield and just smoothly move the hand up. It would jump into second as smooth as silk. Then grasp the handle with palm down to move into third. It is all about hand position and no conscious effort required. You really do just “think it into gear.”

Some modern cars with automatics have added shifting ability, with the controls a little tab on the steering wheel. Even a little, cute “plus” and “minus” symbol to indicate direction of the shift. A little too much of the “Jetsons” for me as I’m “old school” … and simply, down-right “old.”

So that’s my story friends. I’m a gear jammer from way back. I admit the big truck I drive on Thursday for Habitat is an automatic, but I’d be at home with any lever that moves those little spinners in the gear box. Eight-speed, ten-, twelve-, it doesn’t matter. It’s in my blood, and I’d soon be zooming down the highway, double clutchin’ and talkin’ on the CB. So 10-4 good buddy, and see you on the flip side.

First gear, it's all right
Second gear, I'll lean right
Third gear, hang on tight
Faster, it's all right.

Monday, May 19, 2014

X Minus One

X Minus One was a half-hour Science Fiction show on NBC Radio broadcast from April 24, 1955 through to 1958. Now if you consider the “Golden Age of Science Fiction” to be from 1938 to 1946 under the influence of John W. Campbell, editor at Astounding Science Fiction, then these radio plays, and the earlier Dimension X radio program that preceded it in 1950 and 1951, were the voice of the Golden Age.

Producing versions of the great sci-fi writers, X Minus One, in my mind, was the greatest science fiction radio series of all time. I’m the happy owner of all over one hundred episodes and they will be the sound track for the next voyage of the Blue Bus.

Initially a revival of NBC's Dimension X, the first 15 episodes of X Minus One were new versions of Dimension X episodes, but the remainder were adaptations by NBC staff writers, including Ernest Kinoy and George Lefferts, of newly published science fiction stories by leading writers in the field, including Isaac Asimov, Ray Bradbury, Philip K. Dick, Robert A. Heinlein, Frederik Pohl and Theodore Sturgeon, along with some original scripts by Kinoy and Lefferts.

The episodes during the three year run included presentations of Philip K Dick’s "The Defenders" and "Colony"; Robert Sheckley's "Skulking Permit"; Bradbury's "And The Moon Be Still As Bright," "Mars is Heaven," "The Veldt," "Dwellers in Silence," "Zero Hour," "To the Future," "Marionettes, Inc.," and "There Will Come Soft Rains"; Heinlein's "Universe," "The Green Hills of Earth," "Requiem," and "The Roads Must Roll"; Pohl’s "The Tunnel under the World"; J. T. McIntosh’s "Hallucination Orbit"; Fritz Leiber’s "A Pail of Air"; Asimov’s "Nightfall," "C-Chute," and "Hostess"; L. Sprague de Camp’s "A Gun for a Dinosaur"; and George Lefferts' "The Parade." That’s just a partial list. The best that fit the format from the best that wrote during the Golden Age.

(Tom Goodwin's "The Cold Equations" was broadcast on August 25, 1955 by X Minus One. I did some preliminary work on a movie production of the same story with a local friend, Bruce Delaplain. He wrote the video script and we worked on one of the scenes in my home as a test shot. We used my recording studio with the flashing lights and computer screens as the spaceship and my friend, William Weinacht, played the part of the young girl. There are only two actors in the entire presentation plus a voice over the radio and only one location inside the rocket ship. So we thought we could make a simple production out of it. We never went further than creating the shooting script and making that initial test shot, and that is a project I look forward to completing as soon as I get a "round tuit.")

X Minus One opened with announcer Fred Collins delivering the countdown, leading into the following introduction (although later shows were partnered with Galaxy Science Fiction rather than Astounding Science Fiction):

Countdown for blastoff… X minus five, four, three, two, X minus one… Fire! [rocket launch sound effect] From the far horizons of the unknown come transcribed tales of new dimensions in time and space. These are stories of the future; adventures in which you'll live in a million could-be years on a thousand may-be worlds. The National Broadcasting Company, in cooperation with Street and Smith, publishers of Astounding Science Fiction presents… X Minus One.

The series was canceled after the 126th broadcast on January 9, 1958. However, the early 1970s brought a wave of nostalgia for old-time radio; a new experimental episode, "The Iron Chancellor" by Robert Silverberg, was produced in 1973, but it failed to revive the series. NBC also tried broadcasting the old recordings, but their irregular once-monthly scheduling kept even devoted listeners from following the broadcasts.

The series was re-released in podcast form beginning on June 22, 2007.

In November 2008, Counter-Productions Theatre Company became the first theatre company to stage three episodes, "The Parade," "A Logic Named Joe," and "Hallucination Orbit."

These days is seems more like just “science” and we can drop the “fiction” part. Try to put yourself into the head of a young boy back in the fifties, hearing these tales for the first time. That might help you understand how that boy became what he is today. It explains a lot from IBM to the Internet, from 8-tracks to cassettes to CDs to podcasts, from NASA to the Space Station, from the Moon to Mars and beyond.

Now, with the digital essence of all 126 episodes stored on my 160GB hard drive in the Blue Bus, I'm ready for my next adventure. We're setting navigation coordinates for Portland, Oregon, and we'll soon start the count-down to launch. Just a few more things to prepare here at home, and then we will be on the road again, accompanied by the best of the Golden Age.

Our revels now are ended. These our actors,
As I foretold you, were all spirits and
Are melted into air, into thin air;
And, like the baseless fabric of this vision,
The cloud capped towers, the gorgeous palaces,
The solemn temples, the great globe itself,
Yea, all which it inherit, shall dissolve,
And, like this insubstantial pageant faded,
Leave not a rack behind. We are such stuff
As dreams are made on, and our little life
Is rounded with a sleep.

— Shakespeare, “The Tempest”

Boy Genius

This is a sad story. It is a tale about a mathematician and a Montanan. It doesn’t end well, but started out brilliantly. It's also a cautionary tale. I'll leave conclusions and morals to the reader. Here is the beginning.

TK was born of Polish parents in Illinois on May 22, 1942. He was tested in the fifth grade and found to have an I.Q. of 167. That’s genius numbers.

Based on that result he was allowed to skip the sixth grade and went right into seventh. He later described this as a pivotal point in his life. He didn’t fit in with the older kids and he was subjected to bullying. (See how much difference one grade level can make?)

This added to his problems. As a child he had a fear of people and buildings and tended to play outside. He didn’t interact with children and his mother was so concerned about his poor social development that she thought he might be autistic.

In high school, he excelled academically and found most mathematics too simple to engage him. During his sophomore year he would cut classes and stay home to write in his journal. Mathematics became his obsession and he would spend long hours locked in his room practicing differential equations. (This is a form of advanced calculus which requires a tremendous grasp of operations to solve.) Throughout high school he easily surpassed his classmates. He was known for solving advanced Laplace transformations before his senior year and, even though placed in the most advanced classes at the school, he was intellectually restricted. He skipped the eleventh grade and graduated from high school at the age of 15.

He applied to Harvard University, and was accepted in 1958 at the age of 16. While at Harvard, he was taught by Williard Van Orman Quine. Quine is a famous logician, Harvard student, Harvard professor, and earned his PhD under Alfred North Whitehead. TK scored at the top of Quine's class with a 98.8% final grade. Perhaps the genius Quine recognized the fellow genius in TK. This pairing could have changed TK’s life for the good. Unfortunately, there was to be a very serious and negative impact at Harvard on TK.

He became involved with Henry Alexander Murray, a Harvard psychologist and professor for 30 years. Dr. Murray was responsible for the ethically questionable, CIA-sponsored MK ULTRA experiments in which twenty-two undergraduates were used as guinea pigs. TK was one of those twenty-two.

Students in Murray's study were told they would be debating personal philosophy with a fellow student. Instead, they were subjected to a psychological experiment, which was an extremely stressful, personal, and prolonged psychological attack. Although his childhood was troubled, records suggest he was emotionally stable before his involvement with this study, and some have attributed some of his later emotional instability and concern about mind control to his participation in this study.

He graduated from Harvard University in 1962, at age 20, and subsequently enrolled at the University of Michigan, where he earned a PhD in mathematics. His specialty was a branch of complex analysis known as geometric function theory. His professors at Michigan were impressed with his intellect and drive. His PhD thesis was so advanced that his advisor had difficulty understanding it, and members of the examining committee declared there were probably less than a dozen mathematicians in the entire US that could understand it fully. He was awarded a prize for the top mathematical dissertation that year. While at Michigan, he held a National Science Foundation fellowship and taught undergraduates for three years. He also published two articles related to his dissertation in mathematical journals, and four more after leaving Michigan.

In late 1967, TK became an assistant professor of mathematics at the University of California, Berkeley, where he taught undergraduate courses in geometry and calculus. He was noted as the youngest professor ever hired by the university, but this position proved short-lived. He received numerous complaints and low ratings from the undergraduates he taught. Many students noted that he seemed quite uncomfortable in a teaching environment, often stuttering and mumbling during lectures, becoming excessively nervous in front of a class, and ignoring students during designated office hours. Without explanation, he resigned from his position in 1969, at age 26.

It was the end of a short but impressive career. His superiors at Berkeley stated that, based on his impressive thesis and record of publications, he could have advanced up the ranks and been a senior member of the faculty today. But, instead, he returned to his parents home in Illinois for two years before moving to Montana. He built a small cabin a short distance outside the small town of Lincoln, Montana. Now Lincoln is on a small bi-way, Montana highway 200, which is a short cut between Missoula and Great Falls. Rather than drive down the Interstate to Helena and then north on the Interstate to Great Falls, the sleepy route 200 wanders through rolling hills and low mountains, and is interrupted half-way by the small town of Lincoln, population around 500 households and only one central street — the highway.

It was near this sleepy community that TK took up residence and lived a life of nature and books. It was a simple life on very little money, without electricity or running water. His original goal was to move out to a secluded place and become self-sufficient so that he could live autonomously. He began to teach himself survival skills such as tracking, edible plant identification, and how to construct primitive technologies such as bow drills. He quickly realized that it was not possible for him to live that way, as a result of watching the wild land around him get destroyed by development and industry.

In his own words, he stated:

The best place, to me, was the largest remnant of this plateau that dates from the tertiary age. It's kind of rolling country, not flat, and when you get to the edge of it you find these ravines that cut very steeply in to cliff-like drop-offs and there was even a waterfall there. It was about a two days' hike from my cabin. That was the best spot until the summer of 1983. That summer there were too many people around my cabin so I decided I needed some peace. I went back to the plateau and when I got there I found they had put a road right through the middle of it... You just can't imagine how upset I was. It was from that point on I decided that, rather than trying to acquire further wilderness skills, I would work on getting back at the system. Revenge.

He began isolated acts of sabotage and initially targeted the developments near his cabin. He began dedicating himself to reading about sociology and books on political philosophy, such as the works of Jacques Ellul, and also stepped up his campaign of sabotage. He soon came to the conclusion that more violent methods would be the only solution to what he saw as the problem of industrial civilization. He says that he lost faith in the idea of reform, and saw violent collapse as the only way to bring down the techno-industrial system.

Thus began his campaign of bombing that lasted for 17 years. He mailed or hand-delivered a series of increasingly sophisticated explosive devices that killed three people and injured twenty-three more. His first targets were universities and airlines which earned him the FBI code name of UNABOM for UNiversity and Airline BOMber. He was finally caught when his “manifesto” titled Industrial Society and Its Future was published at his insistence and threat and his brother recognized the style of writing and turned him in to the FBI.

FBI agents arrested Kaczynski on April 3, 1996, at his cabin in Montana, where he was found in an unkempt state. Searching his cabin, the investigators found a wealth of bomb components, 40,000 handwritten journal pages that included bomb-making experiments and descriptions of the Unabomber crimes; and one live bomb, ready for mailing. They also found what appeared to be the original typed manuscript of the manifesto.

Later the government sold off Kaczynski’s collection of books, papers, journals, and other materials found in the cabin despite Ted’s objections. The cabin was saved in a museum in Washington, D.C. and Kaczynski is serving a life term without hope of parole in the Super Max federal prison in Florence, Colorado.

And thus ends a boy genius. Left for us to decide is just what drove Ted Kaczynski insane. Was he too smart for his own good, a phrase I’ve heard from fellow Montanans, or did he see something in the future that the rest of us don’t realize? This is a sad story of a life gone wrong. The question you have to ask yourself is whether it was his life that went wrong, or is it all of ours that has gone wrong?

And so he joins the ranks of the green anarchists: Henry David Thoreau, Leo Tolstoy, Élisée Reclus, Henri Zisly, Émile Gravelle, Isaac Puente, Ethel Mannin, Leopold Kohr, Murray Bookchin, Fredy Perlman, Jacques Ellul, John Zerzan, Janet Biehl, …

What are they trying to tell us?

Take a look around you boy. It’s bound to scare you boy.
And you tell me … over and over and over again, my friend.