For everyone — The model that ran all by itself

Everyone has seen, at least once, a model railway: the cars follow the tracks, the switches flip at the right moment, and yet nobody in the room moves a single car by hand. In 1995, long before the word "agent" and the billions of dollars invested in complex simulations, all it took was a loop and a bit of data — households, ages, occupations, arrival and departure hours — to fill a fictional city with people who got up, crossed paths, went somewhere and fell asleep at night.

Why does it matter? Because that is where everything began: the very tangible discovery that looking alive requires neither intelligence nor much code, but well-organized state, an honest loop, and rules simple enough to leave room for surprise. The visible regularities — the evening crowds, the streets that change face — were written nowhere: they emerged.

It is also — inseparably — a story about a person: a high-school senior who did not yet know he was doing modeling, with years of role-playing behind him, and who remembers it thirty years later, career mistakes included. The full text tells that human side as much as the machine's.

For Yokul, it is the cornerstone: this idea — a world that keeps going without being directed — never left the project. The loops of those days barely bother to disguise themselves, in fact: you can find them today, beating to other tempos, in the simulation ticks and the event queues (see Message queues), and the day the crowd stopped fitting in a single machine is the subject of Apache Ignite.

The full text

What "1995" meant in machine terms

In 1995, there wasn't much. I was a high-school senior, in a business-oriented computer science track; a role-playing game fan, GM or player since sixth grade. And here is where it truly started: in the role-playing rulebooks — Rolemaster, not to name it —, the Companion contained a chapter on how to build a city from statistics. There I learned, say, the equivalent of Access today — I honestly no longer remember what it was at the time, maybe already something of that kind — and I turned it into a random city generator. It was the first, entirely complete, version of the role-playing subject that led to Yokul — or rather, the sequence of projects that came to be called Yokul.

But one must not forget that the genesis goes back further. When I got my first computer, in tenth grade, I wrote my first game — on INO, for those who know: a maze game, doors-monsters-treasures, with the code recorded on cassette for saving. A horror. And it is there, before the machine, that the rest plays out: years of role-playing carry all of this — motivation and mastery, both over the concepts and over the way of thinking — abstracting philosophical, symbolic things, learning ways of looking. That is probably what shaped the subject of populations and cities (that school has its own article: Role-playing, the first school of modeling).

At bottom, this very first world already carried the project's fundamental question: turning the world into meaning, assembling those meanings, and attempting — perhaps not humbly at all — to model what the real is. Around age twenty, the practical question arose at the same time: what could I do? How to understand, refine what I had grasped of programming and hardware, then demonstrate it — the résumé, for its part, said no? The conviction has its article: Turning the world into meaning. The story of the résumé that says no, of the admission (of immaturity, a failure to listen) then of the approach's revenge (thanks to Lilly M., who led me in 2009 to Christophe B., and the shift from quasi-amateur developer to architect) has its own: When the CV says no.

A thread also appears, in hindsight, for what followed: at bottom, while learning — (passage still hazy in recall: "tens of thousands… up to 15?", thanks to "that plunk" — the figures and that name remain to be clarified) — came an apprehension of structuring, modeling, the use of data; and, beyond that, how to structure a company itself to take advantage of it. Many understandings around Yokul's concepts flowed from there: what could be reused, retransformed, to restructure information without depending on the underlying systems. That part — the question of meaning, and the question of scale — each have their article: Turning the world into meaning, and an article in preparation on structuring information without depending on systems, for what years of downstream usage have settled.

Simple rules, unauthored regularities

Substantively, city creation amounted to producing sets of population types, broken down all the way to the individual, each endowed with basic characteristics and nothing more: last name, first name, sex, race, occupation, family relationships. No scenario, no stage director — only populated sets, structured, ready to be counted.

It was little. It was exactly enough for what followed to have ground to stand on: unique individuals, coming from a "programmed" genesis, yet carrying state that belonged to them.

What one could see when running the generation — and which nothing had coded anywhere — still remains to be told, but can be guessed from the data itself: arrival and departure hours written into households, that means crowds forming and dissolving on regular rhythms; sets broken down by districts, that means streets whose busy-ness changes face over the day. To be confirmed by memory, not by imagination: this is precisely the delicate boundary between the wanted result and the discovered one, at the heart of what follows.

What this first attempt taught

Technically, the whole thing amounted to very little: a database application, and a program in charge of feeding it, incrementally. In short, an application of the first algorithms with the first "business" software — table by table, point by point.

Key takeaways

  • Looking alive requires well-organized state and an honest loop, not intelligence.
  • Modeling first, the structure of the data second: that is where value is made, not in the machine.
  • Starting from unique individuals, despite their "programmed" set genesis, then giving them "life" in the simulation sense — that is both interesting and satisfying.
  • The first attempt fit in a minimal architecture: a database and a program that feeds it, incrementally.

See also