







Personal blog of Stephen Diehl - Software engineer writing about technology, programming, and the future
A break from programming languages
This is a blog post I have been considering writing for a long time.
Typing without having to type
25+ years into my career as a programmer I think I may finally be coming around to preferring type hints or even strong typing. I resisted those in the past …
Modular: The Claude C Compiler: What It Reveals About the Future of Software
Compilers occupy a special place in computer science. They're a canonical course in computer science education. Building one is a rite of passage. It forces you to confront how software actually works, by examining languages, abstractions, hardware, and the boundary between human intent and machine execution.

Design for a Living Planet: Settlement, Science, & the Human Future
In this brief, accessible volume, the authors — an urban philosopher and a mathematician-physicist — explain the surprising new findings from the sciences that are beginning to transform environmental design in the modern era. Authors Michael Mehaffy and Nikos Salingaros explore fractals, networks, self-organization, dynamical systems and other revolutionary ideas, describing them to non-science readers in a direct and engaging way. The book also examines fascinating new topics of design, including Agile, Wiki, Design Patterns and other “open-source” approaches from the software world. The authors conclude that a profound transformation is under way in modern design — and today’s students and practitioners will need to be aware of its implications for our future.“Lucidly describes what’s coming in the world of design — and what needs to come.” — Ward Cunningham, Inventor of wiki, and pioneer of Pattern Languages of Programming, Agile, and Scrum“Essential reading for all urban designers.” — Jeff Speck, Author of Walkable City“Brilliant.” — Charles Montgomery, Author of Happy City“Inspired, compelling and fascinating… Recognizes that a true architecture can be dug from the facts, insights, and theories, that occur with a broadening of science to include the human being.” — Christopher Alexander, Author of A Pattern Language and Notes on the Synthesis of FormSome comments on the individual chapters:“Packed with detail and beautiful in presentation.” — Gil Friend“Human society must find a path of retreat. Salingaros and Mehaffy point the way.” — David Brussat, Providence Journal“Michael Mehaffy and Nikos Salingaros have written some brilliant articles on how we can co-create cities which are truly resilient, rather than being ‘engineered resilient’.” — Smallworld Urbanism“For me, this essay was like a flash of insight, and I suddenly saw the world in a new light.” — Oeyvind Holmstad, Permaliv“We’ve just come across a very thoughtful article by Michael Mehaffy and Nikos Salingaros… [who] draw a number of lessons from biological systems and use them to draw conclusions about how resilient human systems must be designed.” — Resilient Design Institute“Salingaros and Mehaffy take us from the configuration of city spaces to the order of cells in living beings.” — Jaap Dawson, Delft Institute of Technology“If you wanted to know where the cutting edge was in urban design, it is here.” — Patrick J. Kennedy, CarFreeInBigD“This is the single most intelligent and illuminating article I’ve seen on Archdaily in 3 years.” — Nìming Pínglùn Zhě, ChinaMichael Mehaffy is an urbanist and design theorist, and a periodic visiting professor or adjunct in five graduate universities in four countries and three disciplines (architecture, urban planning and philosophy) including the University of Oregon (US) and the University of Strathclyde (UK). He has been a close associate of the architect and software pioneer Christopher Alexander, and a Research Associate with the Center for Environmental Structure, Alexander’s research center founded in 1967. He is currently executive director of Portland, Oregon based Sustasis Foundation, and editor of Sustasis Press.Nikos A. Salingaros is a mathematician and polymath known for his work on urban theory, architectural theory, complexity theory, and design philosophy. He has been a close collaborator of the architect and computer software pioneer Christopher Alexander. Salingaros published substantive research on Algebras, Mathematical Physics, Electromagnetic Fields, and Thermonuclear Fusion before turning his attention to Architecture and Urbanism. He is Professor of Mathematics at the University of Texas at San Antonio and has been on the Architecture faculties of universities in Italy, Mexico, and The Netherlands.
Self-Instruct: Aligning Language Models with Self-Generated Instructions
Large "instruction-tuned" language models (i.e., finetuned to respond to instructions) have demonstrated a remarkable ability to generalize zero-shot to new tasks. Nevertheless, they depend...

"Concatenative programming and stack-based languages" by Douglas Creager
Andrej Karpathy on Twitter / X
We'll be spending a lot more time trying to understand the outputs of language models. A few thoughts, tips & tricks:Writing. Something I've had success with: Ask your LLM to explain something in ASD-STE100, it's a controlled language specification originally developed for… pic.twitter.com/uMFWTcBCsl— Andrej Karpathy (@karpathy) October 2, 2026
Systems design 3: LLMs and the semantic revolution
Long ago in the 1990s when I was in high school, my chemistry+physics teacher pulled me aside. "Avery, you know how the Internet works, righ...

AI SDK by Vercel | AI SDK
The AI SDK is the TypeScript toolkit for building AI applications and agents with React, Next.js, Vue, Svelte, Node.js, and more.


The peril of laziness lost | The Observation Deck
In his classic Programming Perl — affectionately known to a generation of technologists as "the Camel Book" — Larry Wall famously wrote of the three virtues of a programmer as laziness, impatience, and hubris: If we’re going to talk about good software design, we have to talk about Laziness, Impatience, and Hubris, the basis of good software design. We’ve all fallen into the trap of using cut-and-paste when we should have defined a higher-level abstraction, if only just a loop or subroutine. To be sure, some folks have gone to the opposite extreme of defining ever-growing mounds of higher level abstractions when they should have used cut-and-paste. Generally, though, most of us need to think about using more abstraction rather than less.
Impeccable: Design skills for AI harnesses
1 skill, 23 commands, and curated anti-patterns for impeccable frontend design. Works with Cursor, Claude Code, GitHub Copilot, Gemini CLI, and Codex CLI.

Impeccable: Design skills for AI harnesses
1 skill, 23 commands, and curated anti-patterns for impeccable frontend design. Works with Cursor, Claude Code, GitHub Copilot, Gemini CLI, and Codex CLI.

Harness engineering: leveraging Codex in an agent-first world
By Ryan Lopopolo, Member of the Technical Staff
