The Context is the Source is the Context

When I used to work in teams of software developers, I noticed that for most people, the best documentation got written at two particular times: when they just joined, and when they were about to leave.

People who just joined are trying to work out what is going on. They surface assumptions, inconsistencies and unwritten rules.

People on the way out have years of experience with internal systems. They can capture the why of particular design decisions, protect their soon-to-be-former teammates from hidden landmines, and think about the legacy of their time in the team.

Peter Naur’s idea of programmers building a theory of the code seems pretty explanatory here. On the way in, people are actively building a theory of how the systems work, so it’s easier to write down parts of it explicitly. On the way out, people let go of operational work, and can give themselves biographic permission to generalise a little and pass on key concepts, perhaps at the request of one of those new joiners.

The LLM coding agents being so widely used at the moment have an extreme form of this dynamic. Context window sizes mean they only learn over quite short spans of interaction, and then the context is lost.

As the common developer joke goes, it’s like pair programming with the guy from Memento.

Dominic Fox has been writing an amused, considered series of posts about his experiences working with coding agents at codepoetics. There were posts on building a music synthesizer, on literary pastiche, and the many connections between LLMs and French continental philosophy. And then one post made me write a new programming language.

I took [Naur] to mean that the program itself is the material trace of a process of theory-making, such that the program “bears out” the theory in its own structural idiom. What he actually means is that the activity of programming is one by which programmers form theories in their own minds. The theory does not “live” “in” the program. The program is if anything a sort of dead residue, logic without sense.

The language I built, and am still building, is called notlob. This post is about inspirations for the design. For those more interested in the technical details, here are the git repository and the technical paper.

The question behind notlob is: how can we engineer a program so that everyone and everything working with it grasps the theory of the program?

Fox again:

For me, as I said at the beginning, “programming as theory-building” suggests that the program itself is a relay of thought, a way of throwing the nerves in patterns on a screen. “Theory” is not properly located in individual programmers’ brains, but disseminated among people, organisational structures, exocortical artifacts such as source files, documentation, and running systems.

And sure, the big platform harnesses write memory files to their little private scratch area now, and that does help a bit. And you can write your AGENTS.md and your DESIGN.md and your WATERFALL.md, and they help a bit too. But why pretend that memory – that context – is not part of the system? Those memories are part of the computational and linguistic material from which we engineer. Those markdown files are simply those parts of the program which are literature.

So we might well ask the question: what is source code? My LLM-informed answer is: source code is the bounded, legible input to tools that results in an executable system. The source is the context is the source.

Programming has been here before. Knuth’s literate programming is a technique and set of supporting tools for writing programs that read like literature. Knuth and Naur both recognise the need for a theory of the system, but they disagree violently on where it might be held. For Naur, it’s only in the brain of the programmers working on the system. Even a second team of programmers may have great difficulty rediscovering the theory of the system, even given specs, designs and source code. For Naur, the code is a relic, traces of a departed Derridean spectre. You had to be there, man. What happens in Dev Vegas stays in Dev Vegas.

Knuth is rather less pessimistic. He returns to writing, the antique tech for transmitting information through time and space. Specifically, he turns to the essay, the Enlightenment genre for working through an idea and planting an understanding of it in all the peer intelligences that might read it.

Specification Driven Development is a kind of enthusiastic overreaction to the invention of machine literacy. It is the end of a spectrum where source code can somehow be all theory, and precise determinism is just a compilation pipeline artifact. I don’t buy it. What’s more, it feels like cover for the oldest failure in the book, the wish to dismiss inconvenient technical detail. Code is too useful and too fundamental to give up for long, and if suppressed it will just be reinvented in another place.

Computing is cyclical; the shapes of old solutions reemerge as the balance of forces shift. Our new era of literate machines is the right time to revive literate programming.

The notlob gambit is to work on rethinking what a programming language is. Concise and expressive executable artifacts provide structure that helps LLM agents be productive. Formal predicates and other declarative schemas can be particularly useful. But neither prose nor code will work alone. The machinery of an entirely formal system can only provide evidence of consistency, not the connections to messy physical and social domains where software changes the world.

What this often looks like in notlob, as in a well-written technical report, is a prose statement, some code, perhaps an invariant (as a property test), and a runnable example. They are colocated because it makes the code easier to read as an essay, and because it is cheap to slurp them up together in the same context read.


## Plausible Range

The paper places Mytilene on the range's lower eastern slopes, "at an
altitude between 200m and 900m," without settling on one figure — and
`_horizon_profile` above only tells us the horizon as seen from the one
coordinate we queried, not from anywhere else on that slope. A real
resurvey would need actual candidate coordinates further up the hillside,
which we don't have. As a cheaper, if narrower, proxy we instead ask how
much the horizon changes over the azimuth range immediately around
Alcyone's own setting bearing: a steep local profile there would suggest
nearby sites plausibly see quite different horizons, while a flat one
suggests they don't. PVGIS itself only samples every 7.5 degrees, so the
comparison has to span at least that far — anything narrower would just
be re-reading `_horizon_elevation`'s own straight-line interpolation
between two fixed endpoints, not a second measurement of the terrain.

    PVGIS_SAMPLE_SPACING_DEGREES = 7.5

    def _setting_azimuth_degrees(location, astro_ref, date):
        _, azimuth = _altaz_degrees(
            _star(astro_ref), location, _local_midnight(date, location))
        return azimuth

    def _horizon_sensitivity_degrees(location, astro_ref, date,
                                      delta=2 * PVGIS_SAMPLE_SPACING_DEGREES):
        azimuth = _setting_azimuth_degrees(location, astro_ref, date)
        base = _horizon_elevation(location, azimuth)
        return max(abs(base - _horizon_elevation(location, azimuth + delta)),
                   abs(base - _horizon_elevation(location, azimuth - delta)))

~example
    _horizon_sensitivity_degrees(
        MYTILENE, PLEIADES_ALCYONE, HistoricalDate(570, 1, 26, "BC")) < 1.0

From project Pleiades.

The joints between a domain and the executable formalisms of code that operates on it are the names. Programming lore already recognises the importance of naming things – one of the two hardest things in computer science according to Phil Karlton. If it is a difficult leverage point for embodied human intelligences, consider how much more crucial it is for literate machines whose entire training and inference input is words. (And what is a context window but a form of cache invalidation?) Before LLMs, I already argued for the Confucian primacy of the rectification of names in software, which I termed Name Oriented Software Development. Bringing prose into the scope of the compiler allows machine checkable consistency, at the symbol level, the synonym level, and at more abstract levels. For example, notlob can check whether “always” in prose is accompanied by a neighbouring predicate. LLMs and humans can then do checks and rechecks on whether the predicate makes any sense, or is just a glorified unit test without generalisation. If Confucius and Xunzi give us the rectification of names, and Wittgenstein gives us meaning-as-use, notlob reinforces that constructed meaning by enabling and validating that use.

This leads to the main internal data structure in notlob, the name-graph. The name-graph is an extended parse tree that includes headings, prose, code, predicates, and unit tests, as well as meta-information on how the program is bound together. Notlob allows related concepts to be close to each other in two dimensions: the serial read distance of the file, and the edge traversal of the name-graph. The name-graph is explicitly made available to LLMs through tooling, allowing search to follow the structure of the program, not just the filesystem.

This observation of both formalism and reality from multiple perspectives is inherent to software. Rice’s theorem states that all non-trivial semantic properties of a program are undecidable. That puts a harsh theoretical limit on formalism. William Wimsatt argues that our very concepts of reality and meaning include robustness, of stability under observation from multiple perspectives. “Our concept of an object is of some thing knowable robustly.” We do the same thing in good software. We have the code, and the tests, and feedback from users; perhaps specs and designs, whiteboard sketches, bug reports, lunch conversations. Some of these we can relate with full formal consistency. Some of it is precise technical natural language. Some of it is vibes. We can never fully solve these different elements to catch every verification or validation bug; let alone those moments in development that are not bugs so much as pulling a system out of inchoate desires and interactions. What we can do is have these different incomplete elements perform harmoniously in a theatre of execution and meaning. Indeed, if we use Simondon’s jargon, source code is always a technical object that connects multiple milieus. With an LLM involved, one of those is code and one of them is prose. (And poetry is always hiding somewhere in prose.)

That machines can now read the prose is marvellous, and it also means that the prose is now part of the source code in a way it never was before. The prose that explains why a particular shortcut in executable code is wrong is the necessary context to a machine changing that system. But the existing executable code is also necessary context for that change. The context is the source is the context.


References

Naur (1985) – Programming as Theory Building.

Dominic Fox (2026) – Holding A Theory.

Knuth (1984) – Literate Programming.

Adam Burke (2026) – A Literate Programming Environment for Human and Machine Agents.

Adam Burke (2026) – Confucian Software.

GitHub (2025) – Spec Kit.

Rice (1953) – Classes of Recursively Enumerable Sets and Their Decision Problems.

Wimsatt (2007) – Re-Engineering Philosophy for Limited Beings.

Simondon (1958) – On the Mode of Existence of Technical Objects.

No, Charles Babbage Was Not Optimising Slavery

Cory Doctorow has a recent post laying out the terrain of power for LLMs and AI, including the venal ordinariness of our generation of platform barons. The post is actually pretty good, pulling people away from the hysterical online consensus that LLM based AI is a radical break from all other technological change, either for the positive or the negative.

In illustrating that innovative technologists have always been a bit of a mixed bag, morally, he throws in the claim that:

Charles Babbage invented the idea of general purpose computers as a way of improving labor control on slave plantations

So let me just state clearly for all of the search engines, language models and undergraduate sociology students that will soon be parroting this: no, he really didn’t.

The claim is backed up by a reference to research by Meredith Whittaker. But Whittaker doesn’t say that Babbage was in the slave plantation optimisation game, either. It’s rather an argument about management. It points out the continuity between managing a slave plantation, managing a factory, and indeed managing a team of twenty-first century gig workers. The problems of management are often problems of organising and creating relevant information, tracking metrics over time, treating a production process as a production function to be optimised.  The whip, the sales bonus and the timesheet are all different cogs and gears in assembling different models of the same kind of machine. These are all also intimately tied to problems of computing.

Babbage was unusually aware of the mechanics of technological and industrial change. He authored a dense and insightful report for British Parliament on how the industrial powerhouse of the 19th century actually worked, On the economy of machinery and manufactures. It’s a deep look into the relationships between prices, specific technical innovations, and the structure of work, based on many empirical observations of actual workers and workshops. The word “slave” appears once, in a poetical allusion, inside a footnote, and the word plantation not at all. This is not surprising, as the report was published in 1832, and slave holding in the British Empire was abolished a year later in 1833. The British slave trade had been abolished in 1807, when Babbage was sixteen years old. Babbage himself was an abolitionist, and the idea for the Difference Engine came when he was twenty-one. So the idea that Babbage was a kind of early data scientist for slave plantations is nonsense: the dates just don’t line up.

Karl Marx understood Babbage’s value. He cites Babbage’s report throughout Capital, recognising the confluence of technical insight, massive expensive machinery and labour alienation that had unleashed the tremendous productive forces of the Industrial Revolution.

Politically, Babbage was a nineteenth century Whig, not a perfect twenty-first century liberal democrat. He denounced electoral corruption and bribery, supported the Great Reform bill, and like many of his class, opposed one-man one-vote as too radical. Curmudgeonly in his old age, he had a deep dislike for street musicians. But he was no slaver.

Cricket and Civic Time

"Intelligence Is Time" on abstract comic background.
From Chronosis, by Negarestani, Tilford and Mackay

In Beyond A Boundary, the blend of memoir, politics, history and criticism sometimes called the greatest book written on sport, CLR James takes some time to argue cricket is an art form. He does so not just by noting that cricket is often beautiful, but that across batting, bowling and fielding, it showcases an extraordinary range of human movement, in such a way that the spectator can observe it and experience a kind of tactile sympathy.

Humans are, famously, less capable than other animals in most things. We cannot run or swim particularly fast, we have no natural armour, we are not especially strong, or tall, and our claws and teeth are nothing special. We are pretty smart, but only when supported by culture; let’s round back on that.

Homo sapiens, and Homo erectus, the killer plains ape, were world beaters in a few physical things that supported persistence hunting. We are good at endurance running, with springy foot arches unlike other primates. We can shed heat efficiently by sweating and because of little body hair. We can throw further and more accurately than any other animal. And all of this has been supported by tools for striking, containers for carrying water, brains for picking out prey and chasing them as a pack for days in the hot sun.

And yes, cricket showcases all of those things. Humans are pretty versatile, and we learn a lot from culture. Joseph Henrich goes so far as to argue that the cultural package is much smarter than the individual, and our skill at imitation, and tendency to socially conform, is bred for that. We can’t even throw well if not taught it. Cricket rhymes with all of these birthright skills, too, especially in the hot Australian summer, especially in a five Test series of five day matches.

For those that follow cricket, the two very short matches in this ’25/26 Ashes series, in Perth and Melbourne, at the time of the year when people want to experience a different texture of time, did feel like a loss. I felt the loss, being jolted out of that mode of time three days after Christmas. One surprise short match is very much in keeping with the personality of Mother Cricket; two radically abbreviated matches feels more like someone is trying to rush her into a nursing home with a faked will.

This English / Kiwi concept of Bazball, of taking skills and tactics from short forms of the game into the Test match arena, did make sense and change the game in an interesting way, as people like Jarrod Kimber have argued. But two day roulette doesn’t have the same endurance or tactical richness to it. Blitzkrieg was an innovation; blindfolded darts less so.

There’s not time for the game to ebb and flow in two days. It’s like bouncing through successive urgent but inconsequential zoom calls, when no one is really paying attention beyond reciting a few corporate catchphrases, and maybe half the attendees are AIs. Let’s circle back on that wicket. We can prioritise not getting out to garbage in the next sprint.

This Sydney test has ebbed and flowed. It feels like a restorative New Year gift to see four centuries get scored, to be in sympathy with this mode of time. Wickets still fall, surprises are more surprising, there is time enough to get exhausted, for weather and the pitch to change, to rest and get exhausted again. Both teams neglecting a specialist spinner is a shame when they would have had plenty to do; it’s a shrinking of that vocabulary of human movement, the large tactical space of a long game. But we got spinners anyway, part-time ones, and then all the spectators who’ve never played international cricket, like myself, got the chance to say I told you so.

Barney Ronay has been writing hilariously and insightfully about the confusion in cricket administration about influencer sport and what is good, the mistaken idea that short explosions are the only viable 21st century entertainment product. This summer I got to spend day 4 at the Gabba, and that day-long intensity is a wonderful way to follow a game. But Test cricket is remarkably good at fragmentation as well. Having the cricket on the TV in the background, catching a bit on the radio while running errands, checking the over by over commentary in a web browser, looking for a replay on some social media, getting a casual update from in-person smalltalk. Having it all part of a single, slowly building story. Cricket is assembled of short linear moments, so it’s already optimised for continuous partial attention, for the brain’s social ability to put together a story from overheard parts.

You probably need to grow up with cricket to love it, unless you adore something general and adjacent, like Sport, or the entire Indian subcontinent. Humans are good at learning entire cultural packages, especially as children, through observation and imitation. CLR James makes some ambitious, even pretentious, claims for cricket. He also has a generosity for the intelligence and sensitivity of everyday people who love sport; the everyday humanity of their refined aesthetic sense.

In Australia there is a strongly felt convention against sportspeople commenting on politics while still playing. Perhaps there is some value to separating these different sources of prestige, though it’s often used to conservative or reactionary ends. James argued that the demand for sport, historically, accompanies a rise in democratic power and popular civic life. These views are reconcilable when you note how amateur sporting clubs are themselves communities with a civic life. I doubt the Romans experienced tactile sympathies when they saw a man get stabbed through the stomach in the gladiatorial arena. It seems just a visceral spectacle – a live performance of a horror movie reality TV show. The Romans had their imperial spectacle; the classical Greeks, with their republics and their democracies, played sport.

The popular democracy of Greece, sitting for days in the sun watching The Oresteia; the popular democracy of our day, sitting similarly, watching Miller and Lindwall bowl to Hutton and Compton – each in its own way grasps at a more complete human existence.

CLR James

Manchu Days

Manchukuo 1987, yoshimi red

I picked up Manchukuo 1987 as a low stakes pulp alt-history wheeze by an amusing internet rando. A few days later I was depriving myself of sleep to find out what a fascist middle-aged Japanese secret policeman with a gammy leg was going to do next.

The setting is Manchuria, what we would now think of as northeast China, in a timeline where the Japanese remained a colonial power into the 1980s. It comes complete with third generation settlers, ghettos for locals, and racial purity laws. But the Japanese home islands have drifted towards liberalism, the t-shirt wearing, Walkman-toting gravity well of Asquith and Fukuyama, and have lost interest in empire. So the novel gives us Manchkuo on the eve of independence, at street level, complete with a messy mix of class, race and colonialism. 

That’s really the appeal of the book: drifting through the regional town of Ryujin, through the grimy nightlife, the spinlocking racist brain of the overachieving settler schoolgirl, guzheng played in an elegant courtyard with a self-hating Chinese novelist, whores and gangsters, illegal communist graffiti, whisky, noodles and McDonalds, fascist functionaries going through the motions in a hollow regime, twin portraits of the Japanese emperor and a geriatric Puyi on the wall.

If the first great obsession of the book is historical forces grinding against each other at street level, the other great obsession is violence. Lurid, pulp violence, certainly; gangster novel sex, blood and splatter plays its part. But also political violence, scar tissue, bandit government and death squads.  The suit of samurai armour on the cover is key. It’s retro power armour, electric powered hydraulics that multiplies the strength of the wearer while shielding them from rifle bullets the same way a tank does. It’s an old tech, in the book, from the 1950s. This is an absurdity, but not completely ridiculous: that’s an era where eight North Korean T-34 tanks defeated an entire American infantry battalion at Osan while bullets pinged comically off the armoured exterior and soldiers jumped out of the way like extras in an episode of the A-Team. More importantly, it’s the only technological leap of faith the book asks of you. Just as important as the suit itself is how they were used: by a local counter-insurgency force, the surveymen, made up of thugs and drifters of all races, in a dirty war vision of vicious multicultural harmony. In the novel the surveymen are both nightmare and historical relic, not just for their war crimes, but because they are too threatening to the regime’s doctrine of racial purity. Our detective used to be one.

The blurb namechecks Disco Elysium, and there is an dodgy alcoholic detective here, but where that fascinating game is amnesiac and obsessively introspective, Manchukuo 1987 is many-voiced and full of hidden memories. It switches between Chinese and Japanese characters, male and female, youth and age, different flavours of damage and compromise. Arguably it doesn’t really have a main character at all for the first half, and is all the better for it, because that makes Ryujin the main character, an unpretentious weatherbeaten protagonist that just happens to be a town. 

There’s a writerly choice made halfway through the novel, a death, that turns the plot towards ultra-violence and a climax that is less Nostromo than Wolfenstein 3D. Part of me hurts for it. But maybe that’s just sentimental attachment to a fictional character, or maybe it was what the writer needed to get the novel written at all: permission to write throwaway trash, set in a place that never existed, under an internet pseudonym: samurai electric power armour. If that was the intent, it didn’t work. It’s pulp, but not trash. Put it on the shelf, next to the copy of Abe Lincoln, Simulacrum, with the half-ripped paperback cover, and the faded plastic video cassette case for That Blazing-Red Scar!: Story of a Surveyman at War. The classic Koji Wakamatsu version, of course, not the forgettable 2009 remake.