Tuesday, April 20, 2021

I see it's been nearly two years since I last posted here.

While I had already been tapering off, the primary reason for this is that the developer of the app I had been using for this purpose came to the conclusion that supporting this platform had become too onerous, because of an issue around access to stored image files.

Lack of the easy access that app had provided introduced just enough friction to keep me from posting, although I don't recall having had anything of burning importance to say, possibly because the bulk of my attention had also shifted to another interest.

I don't know what the future holds for this blog, but just now looking back through what's already here, I've been surprised and delighted to be reminded of some of it, and my sense of urgency has been rekindled.

Wednesday, June 19, 2019

The ebb of ebb-and-flow

I was already trying to concentrate on my music-related programming project before WWDC (June 3rd through 7th), and now my enthusiasm for it has been renewed, so that's where I'll be putting my time and energy for a while, months at least.

That doesn't necessarily mean this blog will fall entirely quiet, but that is one possibility. If nothing meriting long-form treatment occurs to me, I won't be posting here for a while.

In the meantime, I do expect to post the occasional tweet related to the same theme as this blog. To see those, have a look at https://twitter.com/lacyiceplusheat.

Thursday, November 15, 2018

Logistics for distributed, diverse production

Farming operations don't exist in a vacuum. Farm products feed into a processing and distribution network, and, if nutrients are to be recycled, waste materials need to come back to farms to maintain and improve soils. Both flows, outward and inward, are served by keeping the supply lines (the need for transportation) as short as can reasonably be managed, given other constraints like economies of scale in processing, storage, distribution, and marketing.

This post will focus on the outward flow, from farm to processing and storage to distributor to vendor to customer, which, I'd argue, applies even to urban farms with direct-to-customer relationships, albeit in compressed form.

The usual model is that farms specialize, sometimes producing only a single commodity and typically only a few, with production profiles that closely resemble those of neighboring farms, feeding what they produce into bulk collection points (grain elevators, for example) and from those into processing, storage, and distribution networks that are optimized for certain measures of efficiency, notably the profitability of the companies involved.

But specialization of this sort does not lend itself well to high biological diversity, which, at the microbial level, is an important measure of soil health. This is less true of grazing operations, since pasture can be biologically very diverse, but even ranchers may suppress the growth of broadleaf plants to increase the proportion of grass in the mix, and, in any case, in temperate climates grazing may not be available all year around. For part of the year livestock may need to be fed hay, silage, grain, soy, etc., grown for this purpose or purchased from distribution chains similar to those described above.

So, even if we were already in possession of technology adequate to perform the detailed, plant-by-plant, leaf-by-leaf manipulations necessary to conduct diverse perennial polyculture at scale, we would still be faced with the challenge of pairing a production system with extended, overlapping harvests of perhaps dozens of different commodities from any given locale, with a processing and distribution system accustomed to large volumes of single commodities arriving more-or-less all at once.

This is both an informational challenge and also one of physical logistics.

The informational component begins with estimations of how much of what is likely to available from whom, how soon, with what expectation of quality. This can be combined over multiple farms to aggregate marketable quantities of each crop. By the time harvest arrives how much of each farmer's production should be combined with that from which other farms to go where should already be worked out.

The physical component is an exercise in materials handling, beginning with harvesting particular plants or plant parts from the midst of dense, mixed stands, without damage either to the crop being harvested or to what is left behind after harvest. The next step will likely be some form of containerization, so each farm's output can be identified, even after being combined with that from other farms for transport.

The informational component isn't so different from other applications of information technology, and, given the ability to provide reliable harvest predictions, developing that will be relatively straightforward. Most of what has yet to be worked out relates to the physical, materials handling component, the details of how to perform delicate harvesting operations and how to handle the crops once they're harvested.

Since efforts to develop such capabilities can't be expected to turn a profit next year, perhaps not even within the next ten years, this is an appropriate focus for government-funded research, and we should all be insisting that the relevant government agencies make this type of research a priority, while some soil remains to be saved and regenerated.

Friday, February 23, 2018

The point isn't to replace people; it's to go beyond what people can do at scale.

Imagine a horticulturist at work, repotting plants, snipping off withered leaves, moving plants farther apart as they grow, setting them out in gardens and landscapes, diagnosing nutrient deficiencies, diseases, infestations, and so forth, maybe even engaging in a little selective cross-pollination to produce new varieties, as time allows. A horticulturist needs to be a soil scientist, a botanist, a plant pathologist, a designer, and, in many cases, an entrepreneur.

Now imagine automating all of the most tedious physical tasks.

Even that is no small feat; skilled horticulturists probably have among the most secure jobs in existence. Nevertheless, it can be done and will almost certainly eventually be done.

So now imagine that you're running a company that is closing in on that goal and looking forward to what to take on next. Do you attempt to automate those aspects of the work requiring design and/or business sense, to entirely replace horticulturists with robots? Or do you press on with tackling more delicate tasks, faster, based on increasingly comprehensive sensory data backed by increasingly sophisticated processing and accumulated knowledge, with the intention of gradually moving this approach to plant cultivation out onto broad acres as the cost of doing so falls far enough to be competitive with other methods?

I suppose the answer depends on who you perceive the customer to be and what you perceive to be marketable, and whether you're only interested in business-to-business relationships or also want to serve the end consumer. (Note: people may quite willingly buy their food from a vending machine, but there's likely to be much more resistance to the idea of buying potted plants or flower arrangements from one. The interaction with another human being is integral to such transactions, and for good reason.)

I see the role of robots as coming in stages, beginning with augmenting what skilled humans can do by relieving them of the most time-consuming, tedious tasks, then taking the performance of those tasks deeper, by improving precision, data collection, and the conversion of that data into knowledge, then moving the capabilities developed into a broader context, such as by applying horticultural methods at the scale of agriculture.

The goal shouldn't be to replace humans, particularly not skilled, knowledgable humans. It should be to displace crude methods by bringing skill and knowledge to bear at scale.

Friday, December 29, 2017

Terminology: Replacing 'mechanical' with 'physical'

I have repeatedly referred to "mechanical methods" (of weed control, for example), both here and elsewhere. However, it has occurred to me that this phrase is far too constrained, failing to invite the broad-ranging imagination that will be needed, going forward. My sincere apologies.

'Mechanical' implies rigid structural components in more-or-less direct contact with whatever is being manipulated. Even solid components with a high degree of elasticity, such as are frequently used in soft robotics, aren't clearly included, much less devices with no moving parts, like phased-array radars, that project energy in a controlled manner.

"Physical methods" is a better, more inclusive term. The point is to differentiate methods involving pressure, momentum, impact, heat, cold, acoustic disruption, and so forth from methods involving the application of toxins.

"Physical methods other than tillage" is even better, since it helps avoid confusion with conventional physical methods. We need physical methods compatible with perennial polycultures which can be highly automated so they can be applied at scale. To this end, terminology which blinders the imagination is not helpful.

Friday, April 07, 2017

Crash Course Computer Science video series

Crash Course is a video channel you can access through YouTube.

Crash Course Computer Science is an ongoing playlist of fast-moving videos that begin with the most basic underpinnings of digital computing and progress from there.

If you are a complete novice, you'll probably want to take them one at a time, watch each several times, and perhaps also supplement them with other sources, to make sure you understand each new concept.

If you're already somewhat familiar with the subject, this is a great review!

Monday, March 13, 2017

What's wrong with ‘best practices’?

What's meant by ‘best practices’ and what could possibly be wrong with it? (Yes, I've used that phrase frequently myself, but I've been becoming increasingly uncomfortable with it.)

So I take ‘best practices’ to mean, of the practices now in use, those which come closest to achieving commonly agreed goals. This begs the question ‘commonly agreed among whom?’

In the context of agriculture, depending who you ask, goals that are considered to be ‘commonly agreed’ might or might not include such fundamentals as soil conservation, crop heterozygosity (in-species genetic diversity), and eliminating the use of broad-spectrum toxins, and might also include maximizing the growth and profit of certain corporations, as well as maximizing agriculture's contribution to alleviating the imbalance in imports versus exports.

Without going into detail, what constitutes ‘best practices’ can look very different depending on the goals to be served, but even leaving that aside there's still the issue of ‘best practices’ implying that the matter is already decided.

There's also a problem with ‘now in use’ as used above. As our tools and understanding evolve, what is now in use is almost certain to be replaced with something better, by some measure, eventually if not sooner. By focusing on even the best of what is now in use, we may miss the opportunity to make further improvements sooner rather than later, and, in the context of eroding soils and evaporating genetic diversity, in time to prevent further damage.

The focus of this blog is on the application of robotics to (addressing the many problems with) agriculture. I understand this in not obvious to many, both roboticists and high-concept gardeners and farmers (those engaging in organic / biological / biodynamic / regenerative / natural systems ... practices).

I don't see robotics as a magic bullet. It could all too easily simply accelerate the damage, in fact that's probably the default, in the absence of advocacy for making the technology serve higher aspirations, and without funding for achieving them.

What I do see is a deep well of potential for improvement, in tools, in the practices those tools enable, in our understanding of how and why to wield them, and, most importantly, in the scale at which those new tools, practices, and understanding can be applied.

Robots are machines that make decisions, sometimes very simple decisions but decisions nonetheless. They make those decisions on the basis of information gathered from their environments, and vary their behavior accordingly.

They are very good at tracking a multiplicity of details, and can learn from experience and carry out experiments. And, while they were until recently clumsy and slow, they are now gaining delicate touch, dexterity, and speed.

The potential I see is for replacing broad-acre monoculture with something better, much better, on the scale of millions of acres, but for that to happen in a reasonable time-frame developing the technology must become a higher priority than protecting currently profitable operations and arrangements, and so far the demand for this is both unfocused and lackluster. I'm doing what little I can to change that.

Check out The Permaculture Podcast, #1709: Regenerative Agriculture with Ethan Roland!