lumbda/whitepaper
russell@unturf.com c91d7a3362 whitepaper HTML: inline every image as a data: URI
Previously the HTML whitepaper referenced diagrams via relative paths
(src="diagrams/X.png"), which 404'd because the docroot does not carry
a mirror of whitepaper/diagrams/. The "HTML whitepaper" thus showed
broken image stubs instead of the architecture figures.

Fix: a post-processor (whitepaper/embed-images.py, stdlib Python) runs
after rst2html5. Every <img> with a relative src gets base64-inlined
as a data: URI with inferred MIME. Any .svg reference would splice in
as an inline <svg> element, surfacing alt text as <title>; the current
RST only uses the .png variant of gnu-logo so no SVGs inline for now,
but the path works when we switch.

Makefile's whitepaper-html target chains the embed step after the
existing sed passes for the uncloseai.js script tag and the meaningful
<title>. Title tweaked to "feedback as a primitive" to match the
homepage tagline.

Result: whitepaper/lumbda-whitepaper.html grows from 180 KB to 4.6 MB
(base64 inflation on ~2 MB of diagrams), and it now opens offline as
a single file — no network fetches for figures, no docroot mirror
needed.
2026-04-19 17:09:11 -04:00
..
diagrams asm-gc: movb-not-orq type patch (kills residual "unbound variable") 2026-04-18 20:28:31 -04:00
embed-images.py whitepaper HTML: inline every image as a data: URI 2026-04-19 17:09:11 -04:00
lumbda-whitepaper.html whitepaper HTML: inline every image as a data: URI 2026-04-19 17:09:11 -04:00
lumbda-whitepaper.pdf lumbda-www: sendfile(2) primitive + adaptive preload — matches caddy throughput at 9x less RSS 2026-04-19 12:41:40 -04:00
lumbda-whitepaper.rst lumbda-www: sendfile(2) primitive + adaptive preload — matches caddy throughput at 9x less RSS 2026-04-19 12:41:40 -04:00
WHITEPAPER.pdf rename: uncommonlisp -> lumbda throughout the repo 2026-04-19 10:20:11 -04:00
WHITEPAPER.rst rename: uncommonlisp -> lumbda throughout the repo 2026-04-19 10:20:11 -04:00
whitepaper.style Add whitepaper: Feedback Is All You Need 2026-04-14 13:32:42 -04:00