The Python library soma.narrative can be used to describe a fictional person in terms of feelings, beliefs, and relationships, run them forward in time, and then ask the kinds of questions a novelist asks: when would this person break? what is she really feeling under the composure? what single thing, changed, would have saved thisContinue reading “Character Simulation Part 1: Prediction”
Tag Archives: programming
Mind-Body Loop as Computation
This tutorial teaches you to read, run, and write mind-body loop simulations. Each mind-body loop is simulated as a self-rewriting program that computes by editing itself. The source starts as a problem. Each run rewrites it closer to the answer. When the answer is reached there is nothing left to rewrite. The tutorial goes fromContinue reading “Mind-Body Loop as Computation”
Latte Tutorial: fundamentals
Latte is a minimalistic functional language shipped with the Orpheus functional layer. Higher level functionality is written in Latte, making it easier to define system state. Orpheus is the kind of small, self-contained hobby programming environment I miss from my childhood. Those are what got me excited about programming in the first place. Each oneContinue reading “Latte Tutorial: fundamentals”
Orpheus: A networked functional layer
Whenever I try to explain how a piece of software works, I hit a library whose insides are off-limits. But to understand programming, looking at the libraries is sometimes the most important thing. Let’s say you’re reading Martin Kleppmann’s Designing Data-Intensive Applications. It discusses B-trees and log-structured storage, Bloom filters, consistent hashing, snapshot isolation, vectorContinue reading “Orpheus: A networked functional layer”