Theoretical Learning Center & Video Library
Primary talks, papers, monographs, and historical threads from Residuality Theory, complexity science, partial evaluation, formal methods, and domain-driven engineering.
Freshware does not invent new computer science out of thin air. Every mechanism in this workbook — read-only holdout oracles, zero-copy conflict forks, three-tier macro hygiene, Reverse-JIT intelligence lowering, and runtime stressor triage — sits on shoulders built between 1971 and 2026 across programming language theory, complexity science, formal verification, and adaptive systems.
You can edit this curatorial guide directly in src/content/resources/learning-center.mdx or add new verified entries to src/data/resources.ts.
Foundational Talks: Residuality Theory, Attractors, Futamura & CEGIS
Fifty-Five Years Leading to Freshware (1971–2026)
Click any historical milestone to filter the primary-source archive below to its conceptual pillar, or jump directly to the workbook chapter that puts it into code.
First Futamura Projection
Partially evaluating an interpreter against a fixed spec yields a fast residual executable.
Visual Statecharts
Hierarchical state machines tame state explosion in reactive software.
Design by Contract
Preconditions, postconditions, and invariants turn obligations into runtime guards.
Macro Phase Separation
Keep expansion-time meta-computation strictly separated from runtime execution.
Autonomic MAPE-K Loop & DDD
Monitor-Analyze-Plan-Execute over Knowledge pairs with Bounded Context walls.
Dynamic Software Updating
Safe points and type checks let running systems swap verified bundles atomically.
Behavior-Driven Development
Concrete behavioral examples establish shared vocabulary between operators and builders.
Sketching & CEGIS
Decouple synthesis from formal verification via counterexample feedback.
Models@run.time
Maintain a live reflective specification graph to govern safe adaptation.
Residuality Theory & Attractors
Simulate random stressors to expose contagion and build systems out of surviving residues.
Residues Monograph & NDC Talks
Codifies hyperliminality, incidence matrices, and stress-tested Bounded Contexts.
Zero Alignment & Decision Models
Pre-build alignment skills plus sub-second System One gates complete the Freshware stack.
Complete Theoretical Catalog (41 Verified Entries)
Keynote: Residuality Theory in Software Architecture
Synthesizes software architecture as interconnected residues rather than static component boxes, showing how actor and message-passing designs absorb unpredictable real-world disturbances.
An Introduction to Residuality Theory
Core walkthrough replacing bottom-up requirements prediction with naive architectures, random stressor simulation, contagion mapping, and the Incidence Matrix.
An Introduction to Residuality Theory (Porto Edition)
Walks through concrete architectural stress simulations and demonstrates how random disruptive scenarios reveal hidden structural couplings missed by standard component diagrams.
Residuality Theory: Stressors, Residues, and Contagion
Early canonical presentation linking Stuart Kauffman's NK landscapes and aerospace contagion methods to resilient software engineering under deep uncertainty.
Residuality Theory Deep-Dive Conversation
Long-form technical Q&A examining why requirements-first design breaks down in complex environments, how architects build incidence matrices in practice, and how residues relate to Bounded Contexts.
The Kauffman Model: Random Boolean Networks & Attractors
Explains how high-dimensional Boolean networks converge into a tight set of stable cyclic attractors and how connectivity K governs order vs. chaos.
Why Complex Evolutionary Systems Cannot Be Fully Predicted
Kauffman explains non-ergodic phase spaces where adjacent possibilities cannot be pre-listed mathematically, requiring adaptive structure instead of exhaustive prediction.
NK Fitness Landscapes and Emergent Order
Explores how coupling density K reshapes fitness landscapes from smooth single peaks into rugged, unpredictable terrain.
Residues: Time, Change, and Uncertainty in Software Architecture ↗
Foundational book formulating Residuality Theory from first principles: hyperliminality, stressor simulation, residue engineering, contagion graphs, and empirical incidence scoring.
An Introduction to Residuality Theory: Software Design Heuristics for Complex Systems ↗
Peer-reviewed paper introducing architectural residues as a design heuristic for systems embedded in complex, non-linear business and social environments.
Residuality Theory Explained for Functional Architects ↗
Walks step-by-step through O'Reilly's method, showing how simulating arbitrary stressors produces clearer architectural boundaries than speculating about future feature roadmaps.
Designing Resilient Architectures with Residuality Theory ↗
Field synthesis showing how engineering teams adopt incidence matrices and stress simulations during architecture reviews instead of guessing component splits.
Residuality Theory Meets Domain-Driven Design ↗
Directly compares Bounded Context discovery from static domain language against boundary refinement driven by stressor and contagion analysis.
Residuality Research Notes & Hyperliminal Systems Archive ↗
Collection of whitepapers, philosophy notes, and worked examples tracing Residuality Theory's roots across systems thinking and software philosophy.
Dr. Futamura's Projection Machine!
Clear visual exposition of partial evaluation and all three Futamura projections, showing how specializing an interpreter around a fixed program collapses runtime interpretation overhead.
Compilers, Staging, and Futamura Projections
Examines multi-stage programming, homogeneous code/data representations, and why explicit staging gives programmers predictable compile-vs-runtime boundaries.
Let's Build a Hygienic Macro Expander!
Demonstrates hygienic macro expansion using scope sets so compile-time code transformation never accidentally captures or corrupts caller bindings.
Macros, Modules, and Languages in Racket
Shows how syntactic towers and phase-separated module boundaries let domain-specific abstractions compile into efficient target code.
Partial Evaluation of Computation Process — An Approach to a Compiler-Compiler ↗
Original formulation proving that partially evaluating an interpreter with respect to a source program produces an optimized residual executable.
Composable and Compilable Macros: You Want It When? ↗
Establishes strict phase separation between compile-time evaluation and run-time execution so separate compilation and tooling stay predictable.
Bounded Contexts
Explains why one universal domain model always collapses under scale, and how explicit context boundaries keep terminology and invariants coherent inside each module.
What Is Domain-Driven Design?
Revisits the essence of DDD: domain experts and builders cultivating a single shared model encoded simultaneously in conversation and working software.
20 Years of Behavior-Driven Development
Looks back on two decades of BDD, diagnosing how teams mistook BDD for automated UI scripting and reaffirming its real purpose: discovering edge behavior through shared examples.
BDD Is Not About Testing
Demonstrates how structured curiosity and concrete scenarios eliminate misunderstandings before an engineer touches implementation code.
Specification by Example
Distills how living documentation built from realistic examples aligns business operators and engineering verification around a single source of truth.
Collaborative AI Engineering: One Dev, Two Dozen Agents, Zero Alignment
Diagnoses how rapid coding-agent execution collapses the slow middle of software delivery, pushing unaligned design debates onto overloaded pull requests.
End-to-End AI Coding Alignment Workflow
Live demonstration of /wayfinder, /grill-with-docs (CONTEXT.md), /to-spec, dependency-ordered /to-tickets, and seam-level TDD loops.
Introducing Behaviour-Driven Development ↗
The 2006 article reframing unit tests as executable behavioral sentences written in shared domain vocabulary.
One Developer, Two Dozen Agents, Zero Alignment ↗
Visualizes before-and-after alignment timelines showing why PR-time review fails when implementation collapses to minutes.
Program Synthesis, Sketching, and CEGIS
Unpacks the Sketch synthesis paradigm and Counterexample-Guided Inductive Synthesis (CEGIS), separating candidate generation from formal counterexample verification.
AI Will Program Itself: Synthesis, Learning and Beyond
Explores using structured code and explicit specifications as reliable knowledge representations that neural synthesizers can evolve safely.
TLA+ Video Course, Lecture 1: Introduction to TLA+
Introduces state machines, safety invariants, and high-level mathematical modeling to catch design flaws before a single line of implementation runs.
How to Think Clearly as a Programmer with Mathematics and TLA+
Argues that writing formal specifications above the code level prevents entire classes of concurrency and state-corruption defects.
Program Synthesis by Sketching ↗
Defines SAT-backed CEGIS loops where a human provides structural invariants and holes while an automated solver synthesizes valid completions.
Applying "Design by Contract" ↗
Establishes preconditions, postconditions, and class invariants as executable software contracts binding callers and callees.
Statecharts: A Visual Formalism for Complex Systems ↗
Introduces hierarchy, orthogonality, and broadcast communication into finite state machines to model reactive systems cleanly.
Complete TLA+ Video Course & Written Lecture Scripts ↗
Complete curriculum covering state machines, PlusCal, temporal logic, safety vs. liveness, and implementation refinement.
System One Decision Models & Reliable Automation
Contrasts RLHF conversational assistants ('Einstein 95% of the time, Mr. Bean 5%') against fast, calibrated decision models embedded inside deterministic code.
The Vision of Autonomic Computing ↗
Formulates the MAPE-K (Monitor, Analyze, Plan, Execute over shared Knowledge) control loop for self-configuring, self-healing, and self-protecting software.
Models@run.time ↗
Introduces causally connected runtime models that track live structural health and allow principled adaptation without discarding architectural invariants.
Dynamic Software Updating ↗
Demonstrates type-safe hot code and state transformation at verified safe points in running applications with low runtime overhead.
No entries match the current pillar, format, and search query.