I prefer the term "Pleasure Programming", to de-emphasize how addictive it is.
>Permission to build useless things.
I prefer the term "Ultimate Things", to de-emphasize how useless they are.
https://en.wikipedia.org/wiki/Useless_machine
>The Italian artist Bruno Munari began building "useless machines" (macchine inutili) in the 1930s. He was a "third generation" Futurist and did not share the first generation's boundless enthusiasm for technology but sought to counter the threats of a world under machine rule by building machines that were artistic and unproductive.
>The version of the useless machine that became famous in information theory (basically a box with a simple switch which, when turned "on", causes a hand or lever to appear from inside the box that switches the machine "off" before disappearing inside the box again) appears to have been invented by MIT professor and artificial intelligence pioneer Marvin Minsky, while he was a graduate student at Bell Labs in 1952. Minsky dubbed his invention the "ultimate machine", but this nomenclature did not catch on. The device has also been called the "Leave Me Alone Box".
So here's a live demo of an ultimate thing I pleasure programmed:
https://hyperties.org/cabinet/ultimate/
What this is:
I've been using Claude to recreationally develop a PDP-7 and Type 340 vector graphics display emulator for the web browser, in order to run an early CAD system called PIXIE, which has the first known radial menus, driven by a light pen, developed at Cambridge in the late 1960's, whose 128 pages of PDP-7 assemblxy language source code the author Heinz Lemke scanned and sent me.
Once I got it working, I told Mitch Bradley about how much I wanted a Forth system for it. Mitch has written useful things like OpenFirmware and CForth, and I was his summer intern at Sun in 1987, where we had a fun time hacking his CForth into CADroid (a circuit editing system developed at LucasFilms) as an extension language and macro system.
https://github.com/MitchBradley/openfirmware
https://github.com/MitchBradley/cforth
http://www.art.net/~hopkins/Don/lang/forth.html
Since then, Mitch developed his Sun Forth system into OpenFirmware for the boot ROMs of systems like the Sparcstation, PowerPC Mac, and the OLPC. So naturally I thought it would be fun to run Forth on the same machine that ran PIXIE, mainly because I'd love to work together and hack Forth with Mitch again after all these years, but also because Forth was the perfect language for the PDP-7.
So then Mitch used Claude to whip up a PDP-7 Forth in one day, with Turtle Graphics!
https://github.com/MitchBradley/pdp7forth
https://hyperties.org/cabinet/forth/
It turns out that the PDP-7 instruction set is ideal for Forth. It has an "XCT" instruction for indirectly executing other instructions, which makes the Forth inner interpreter loop only require 3 instructions.
PDP-7 Forth — Mitch Bradley, 26 September 2026:
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
PDP-7 Forth, by Mitch Bradley:
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
PDP-7 Forth Source Code, NEXT: The Inner Interpreter:
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
" --- NEXT: the inner interpreter ---
" Only LAC/LAW-tag cells fall through to "dac i 012"; CAL/JMP-tag cells
" transfer control elsewhere and never reach it.
next: xct i 010 " pre-increment IP, execute the thread cell
dac i 012 " push AC (only reached by constant/variable cells)
jmp next
Now that Forth runs like a bat out of hell, I'm hacking virtual hardware devices for the PDP-7, and controlling and visualizing them with Forth.First I made an "Ultimate Machine" device for the PDP-7, inspired by Claud Shannon and Marvin Minsky, whose only purpose is to turn itself off!
https://en.wikipedia.org/wiki/Useless_machine
Bruno Munari called it a "Useless Machine", but Minsky was more compassionate, and appreciated its purpose of turning itself off as being ultimately useful, so he renamed it the Ultimate Machine.
I think there are some deep implications to the halting problem, but I can't quite put my finger on it the way the Ultimate Machine puts its finger on its own off switch.
The Ultimate Machine emulator plugs into the PDP-7 emulator as a virtual device cabinet, which has its own device control IOTs that augment the PDP-7 instruction set.
DEC sold a lot of "plug-in instruction sets in a cabinet" like the Type 340 vector graphics display, its light pen, character generator, subroutine executer, advanced math instructions, etc.
https://gunkies.org/wiki/Type_340_Precision_Incremental_Disp...
The Ultimate Machine device, an emulator of device 56 with its registers, phases and IOTs:
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
Then I made a Forth program that draws an animation of the Ultimate Machine on the 340 display, with a switch activated by the light pen. It's not a "simulation" -- it's an actual interactive visual representation of the emulated Ultimate Machine device state that FORTH controls via IOT instructions, the same way it controls the 340 display and light pen!
The Forth 340 view, with the IOT words, the hand, lid and lamps, and the light-pen switch, so you can turn it on (and off) with the light pen (check out the tool tips the emulator user interface shows you when you point at the graphics):
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
Instead of halting there, for even more Turing completeness, I made a Turing Machine device, which is like the 340 display in that it not only adds device control IOT instructions, but also executes its own Turing Machine instructions and tape via DMA from of the same 18-bit core memory as the PDP-7 and 340 display.
The 340 display and the Turing Machine are both co-processors that execute their own instructions from the shared 18-bit core memory of the PDP-7, which generates code for them to execute, and controls them via IOT instructions.
The Turing Machine device issues an interrupt when its head page faults off the edge of the tape window in core, so the PDP-7 can implement virtual memory to support "infinite" tape.
Live Demo:
https://hyperties.org/cabinet/turing/
Turing Engine:
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
Forth => Turing Machine Compiler I made based on Christopher Cherniak's "TM*" courseware from the "Philosophy and Computers" course I took from him in the 1980's:
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
https://terpconnect.umd.edu/~cherniak/philcomp/
https://terpconnect.umd.edu/~cherniak/PhlCogSci.pdf
Ostensibly the real use is for education, but I actually did it because it was fun, and I felt like working with Mitch and programming Forth again.
Forth, the 340, and co-processors in one core: what the cabinet teaches:
https://github.com/SimHacker/WillWrightShowForFood/blob/main...
Here's a demo video that tries to explain it:
PIXIE and FORTH on PDP-7 Cabinet Emulator with Type 340 Vector Graphics Display: