On Kludges

As I type this, it’s hot here in Amsterdam. In the past, one might have said ‘unseasonably warm’ a phrase that, in our current circumstances, seems like a form of wishful thinking, an echo of an earlier time – not more innocent but not as burdened with the hyper-problem of C02. I mention the temperature, and add the fact that I don’t have air conditioning (because traditionally, it wasn’t needed), to set expectations; this may not be the sharpest bit of work. But then again, perhaps I’ll rise, like the temperature, to the occasion.

But enough preamble.

In a recent edition of educator and angry Marxist uncle Derrick Varn’s ever excellent Youtube program, Varn Vlog, the subject of ‘kludges’ is discussed. Merriam Webster states that  a kludge is “a haphazard or makeshift solution to a problem and especially to a computer or programming problem” which is precisely right. Varn builds on the theme of kludges to explain the provisional character of modern systems – not just technical but bureaucracies, corporations, and so on.

I know a thing or two about kludges, having worked in the technology industry for decades – an industry that is essentially a massive ziggurat of kludges, covered by a polished surface to hide the stone knives, bear skins, rubber bands, glue and endless scurrying about. Apple, for example, pretends to run with the smooth efficiency of a Borg cube but is really an assemblage of various kludges, deployed to increase market share and profitability (the only real goals).

Now I’m going to tell you a brief story about a kludge I was compelled to put into place, forced, as Varn would note, by path dependencies. The story’s point isn’t to elicit sympathy (or perhaps, considering the system I’m describing, horror) but to give you a glimpse into just how right Varn is and how sloppy things can be. This is only one of many such stories I could tell.

The Saga of Phil’s Server

Once upon a time, never mind how many years ago, I was consulting at an energy company, let’s call it SPARK which, in addition to owning a variety of power generation systems – hydro, fossil, nuclear, across the continental US – also had an energy futures trading division. This division, which I’ll call SPARK-HYPERION because it captures the degree of self regard and the amount of money generated (many billions) was responsible for calculating the available excess generating capacity of SPARK’s fleet of assets alongside weather conditions in various markets and the correspondingly forecasted need. SPARK is part of the PJM Interconnection network which makes it possible to send power between regions.

PJM Interconnect – Example Data

Here’s the scenario: 

Let’s say that a weather event in a neighboring region (perhaps a heat wave) increases electricity demand in excess of that region’s capacity. Through the interconnection of regions, SPARK could send spare power from its assets to the region in need, but of course, for a price, generating a profit from the trade. The forecasting of potential need in neighboring regions, based on a combination of real-time weather satellite data, and real-time power generation data was considered a key strategic capability and millions were spent on keeping this at a state of the art level (one project I led was creating a method for distributing the computational requirements for analysis across the spare capacity of idle office PCs at night – that was fun).

Forecasting.

Keep this word in mind because it explains what happens next in our story.

Energy futures traders needed data from power plants to determine what was available on the market. This is why Phil (of course, not his real name) had access to a live feed of the megawatt output of a nuclear power plant that was part of SPARK’s generating portfolio. What Phil’s requirement didn’t explain was the reason this system, which connected to the nuke plant’s SCADA, showing, via a web interface, coolant levels and other critical things, was under his desk.  What his job requirement also didn’t explain was why that system was available to pretty much everyone on the corporate network. Just drop the address of the server into your browser and poof! Instant access to nuke plant data. 

The Tru64 Unix system that connected to a nuclear power plant was under Phil’s desk, within easy reach of anyone strolling by with their terrible office coffee; not in a data center.  That was the first kludge; a rushed together ‘solution’ designed to give Phil the data he needed with minimal latency but also, as a knock on effect, minimal security. I discovered this troublesome computer during a security assessment of the corporate network using a Nessus vulnerability scanner system I created from a spare PC running the Linux operating system. There I was, sitting at my desk, sipping tea like a character in a BBC murder mystery. The results showed a system, on the corporate network, running a web server. How interesting. I browsed to the site, saw the status of a nuclear power plant, and nearly spat out my tea. Quietly, I walked into the office of the VP of information technology. ‘If you don’t want an unpleasant visit from Homeland Security and the Federal Energy Regulatory Commission‘, I started, ‘I suggest you listen to what I’m about to tell you.’ What a marvelous, completely normal day.

The second kludge was from me, a forced mitigation compelled by path dependencies including palpable executive fear of disrupting, for even the shortest of moments, Phil’s multimillion dollar generating workflow by moving the system to where it should have been all along, the data center (no reader, not even an after hour or weekend move was permitted – no one wanted to be the exec who said yes to that in case anything went wrong). I couldn’t move the system to a more secure location, with all that would have meant for enhanced monitoring and control so, of necessity, I had to bring more security to Phil’s desk.

I received authorization to install a multi-thousand dollar Cisco firewall, designed to sit comfortably in a professionally managed data center,  providing network security services to hundreds if not thousands of systems, under Phil’s already busy desk. This was a kludge on top of a kludge. Ladies and gentlemen, this was a multi-billion dollar firm.

Classic Cisco Network Topology

A Fable of Competence

In modern mythology, by which I mean marketing, technologies are deployed in companies with a cool competence building on past perfection with new perfection: shiny and flawless. In reality, despite our best efforts, complex systems accrue debts: past compromises force new compromises to ensure the entire system continues to function. Keep this in mind the next time you think about your bank or credit card company or Meta or Google or the world as a whole.

Grapes of Metallic Wrath?

There are words, such as ‘freedom’ and ‘democracy’ which get tossed around like a cat’s toy, tumbling between meanings depending on the speaker. To this list of floating signifiers, we can add ‘automation’ which, when mentioned by business types, is meant to depict a bright and shining future but, when used by people on the left who, one would hope, are concerned about the prospects for labor, is typically employed as a warning of trouble ahead (there’s an exception to this: the ‘fully automated luxury communism’ folks, some of whom, seeing their robot butler dreams fade, are now turning to the polar opposite idea of degrowth).

The trouble with floating signifiers is that they float, making it difficult to speak, and perhaps think, with precision – actually, this also explains their appeal; any malcontent can shout they’re defending ‘freedom’ and fool at least some of the people, some of the time, via a socially agreed-upon vagary.

One of my quixotic preoccupations is a struggle against imprecise language and thought. It’s silly; we’re all over the place as a species and wouldn’t be human if it were otherwise (among my many arguments against the ‘AI’ industry crowd is its collective failure to understand that imprecision is a key element of our cognition, beyond duplication in electronic machinery)

So, with my quest for precision in mind, let’s spend a few moments contemplating automation, trying to put some bones and flesh on an ideological mist.

Check out the graphic shown below:

The Things to Think About and Study

I cooked up this image to visualize what I see as the appropriate areas of material concern for left politics. How do things work? And, for me, because this is my area of expertise, what role does computation play in the performance and command and control of labor in these various sectors of production?

In this post, I focus on automation in farming. Oh and by the way, my focus here is also on method, on how to think; that is, how to think in material terms about things which are presented in vague ways. 

Drones, Robot Tractors and Harvestors 

For me, the foundational, 21st century work on the real-world impacts of automation on labor is ‘Automation and the Future of Work’ by Aaron Benanav. Here’s a link to an article Benanav wrote for the New Left Review outlining his argument which can be summarized as: yes, of course, there’s automation and it has an impact but not as profound and far reaching, and not in the ways we are encouraged to think.

To look at farming specifically, I visited PlugandPlay, an industry and venture capitalist boosting website (trade publications, properly analyzed, are an excellent source of information) that published “How Automation is Transforming the Farming Industry”. 

From the article:

Farm automation, often associated with “smart farming”, is technology that makes farms more efficient and automates the crop or livestock production cycle. An increasing number of companies are working on robotics innovation to develop drones, autonomous tractors, robotic harvesters, automatic watering, and seeding robots. Although these technologies are fairly new, the industry has seen an increasing number of traditional agriculture companies adopt farm automation into their processes.”

https://www.plugandplaytechcenter.com/resources/new-agriculture-technology-modern-farming/

You can imagine a futuristic farm, abuzz with robotic activity, all watched over, to paraphrase the poet Richard Brautigan, by machines of sublime grace, producing the food we need while the once over-worked farmer relaxes in front of a panel of screens watching devices do all the labor.

Let’s dig a little deeper to list the categories of systems mentioned in the article:

  • Drones
  • Autonomous tractors
  • Robotic harvesters
  • Automatic watering
  • Seeding robots

For each of these categories, the PlugandPlay article, very helpfully, provides an example company. This gives us an opportunity to review the claims, methods and production readiness (i.e., can you buy a product and receive shipment and technical support for setup or are only pre-orders available?) of individual firms in each area of activity. This information enables us to add more precision to our understanding.

With this information at-hand, we’re not just saying ‘farming automation’ we’re looking at the sector’s operational mechanics.

For drones, American Robotics’ aerial survey systems are mentioned. As is my habit, I checked out their job listings to see the sort of research and engineering efforts they’re hiring for which is a solid indicator of real or aspirational capabilities. I’ve written about drone-based analysis before; it does have real world applications but isn’t as autonomous as often claimed.

The three examples of robotic harvesters listed are from Abundant Robotics, which is building specialized apple harvesting systems, Bear Flag Robotics, which seems to have retrofitted existing tractors with sensors to enable navigation through farming fields (and perhaps remote operation, the marketing material isn’t very clear about this) and Rabbit Tractors, which appears to be out of business.

There are a few other examples offered but hopefully, a picture is forming; there are, at this point, some purpose built systems – some more demonstration platform than production ready – which show the limitations, and potential usefulness of automation in the farming sector: perfect for bounded, repetitive applications (a weed sprayer that follows assigned paths comes to mind) not so great at situations requiring flexible action. Keep this principle in mind as a rule of thumb when evaluating automation claims.

It also isn’t clear how well any of these systems work in varying weather conditions, what the failure modes and maintenance schedules are and lots of other critical questions. It may seem cheaper, in concept, to replace workers with automated or semi-automated harvesters (for example) but these machines aren’t cheap and introduce new cost factors which may complicate profitability goals and it follows, adoption by agribusiness, which, like all other capitalist sectors, is always in search of profits.

So, yes, automation is indeed coming to, or is already present in farming but not, it appears, in the hands-off, labor smashing way we tend to think of when the word, ‘automation’ is tossed around, like a cat’s toy.

Next, time, I’ll take a look at automation in logistics. How far has it gone? How far will it go?