This commit is contained in:
MatsuneMikuroi committed 2026-10-16 09:05:43 +02:00
1 parent 8bbcf8ecd9
commit 45dd65b48e
116 files changed
+20453 -1160

No files matched your search

+215 -20
View File
@@ -44,10 +44,14 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -219,7 +223,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -246,7 +250,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -293,6 +459,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -331,6 +498,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Part III — Make it actually distributed</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Part IV — Rewind</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -366,6 +545,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-step-0" class="quarto-section-identifier"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Step 0 — What this is about</span></span></h1> <h1 class="title"><span id="sec-step-0" class="quarto-section-identifier"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Step 0 — What this is about</span></span></h1>
@@ -446,17 +626,24 @@ ul.task-list li input[type="checkbox"] {
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -464,21 +651,16 @@ ul.task-list li input[type="checkbox"] {
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -649,6 +831,19 @@ ul.task-list li input[type="checkbox"] {
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+215 -20
View File
@@ -79,10 +79,14 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -254,7 +258,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -281,7 +285,169 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -328,6 +494,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</ul> </ul>
</div> </div>
<a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -366,6 +533,18 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Part III — Make it actually distributed</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Part IV — Rewind</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -409,6 +588,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-part-i" class="quarto-section-identifier"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Part I — Start with what you already know</span></span></h1> <h1 class="title"><span id="sec-part-i" class="quarto-section-identifier"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Part I — Start with what you already know</span></span></h1>
@@ -614,17 +794,24 @@ Figure&nbsp;2.2: The mediated version inside one JVM. In the web version, <stron
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -632,21 +819,16 @@ Figure&nbsp;2.2: The mediated version inside one JVM. In the web version, <stron
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -817,6 +999,19 @@ Figure&nbsp;2.2: The mediated version inside one JVM. In the web version, <stron
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+218 -23
View File
@@ -71,7 +71,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-search/fuse.min.js"></script> <script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script> <script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./"> <meta name="quarto:offset" content="./">
<link href="./glossary.html" rel="next"> <link href="./03-part-iii-distributed.html" rel="next">
<link href="./01-part-i-calls.html" rel="prev"> <link href="./01-part-i-calls.html" rel="prev">
<script src="site_libs/quarto-html/quarto.js" type="module"></script> <script src="site_libs/quarto-html/quarto.js" type="module"></script>
<script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script> <script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script>
@@ -79,10 +79,14 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -254,7 +258,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -281,7 +285,169 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -328,6 +494,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</ul> </ul>
</div> </div>
<a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -366,6 +533,18 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link active"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link active">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Part III — Make it actually distributed</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Part IV — Rewind</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -407,6 +586,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-part-ii" class="quarto-section-identifier"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></h1> <h1 class="title"><span id="sec-part-ii" class="quarto-section-identifier"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></h1>
@@ -597,17 +777,24 @@ Figure&nbsp;3.1: The five processes and the four mailbox directories. In the web
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -615,21 +802,16 @@ Figure&nbsp;3.1: The five processes and the four mailbox directories. In the web
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -800,6 +982,19 @@ Figure&nbsp;3.1: The five processes and the four mailbox directories. In the web
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
@@ -1210,8 +1405,8 @@ Figure&nbsp;3.1: The five processes and the four mailbox directories. In the web
</a> </a>
</div> </div>
<div class="nav-page nav-page-next"> <div class="nav-page nav-page-next">
<a href="./glossary.html" class="pagination-link" aria-label="[Glossary]{.en}[Glossaire]{.fr}[Glossar]{.de}"> <a href="./03-part-iii-distributed.html" class="pagination-link" aria-label="[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}">
<span class="nav-page-text">Glossary</span> <i class="bi bi-arrow-right-short"></i> <span class="nav-page-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Part III — Make it actually distributed</span></span> <i class="bi bi-arrow-right-short"></i>
</a> </a>
</div> </div>
</nav> </nav>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.
+215 -20
View File
@@ -44,10 +44,14 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -219,7 +223,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -246,7 +250,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -293,6 +459,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Dunkelmodus umschalten"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -331,6 +498,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Teil III — Es wirklich verteilen</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Teil IV — Zurückspulen</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -366,6 +545,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-step-0" class="quarto-section-identifier"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Schritt 0 — Worum es geht</span></span></h1> <h1 class="title"><span id="sec-step-0" class="quarto-section-identifier"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Schritt 0 — Worum es geht</span></span></h1>
@@ -446,17 +626,24 @@ ul.task-list li input[type="checkbox"] {
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -464,21 +651,16 @@ ul.task-list li input[type="checkbox"] {
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -649,6 +831,19 @@ ul.task-list li input[type="checkbox"] {
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+215 -20
View File
@@ -79,10 +79,14 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -254,7 +258,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -281,7 +285,169 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -328,6 +494,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</ul> </ul>
</div> </div>
<a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Dunkelmodus umschalten"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -366,6 +533,18 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Teil III — Es wirklich verteilen</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Teil IV — Zurückspulen</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -409,6 +588,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-part-i" class="quarto-section-identifier"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Teil I — Mit dem beginnen, was man schon kennt</span></span></h1> <h1 class="title"><span id="sec-part-i" class="quarto-section-identifier"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Teil I — Mit dem beginnen, was man schon kennt</span></span></h1>
@@ -619,17 +799,24 @@ Abbildung&nbsp;2.2: Die vermittelte Fassung in einer JVM. In der Webfassung schi
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -637,21 +824,16 @@ Abbildung&nbsp;2.2: Die vermittelte Fassung in einer JVM. In der Webfassung schi
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -822,6 +1004,19 @@ Abbildung&nbsp;2.2: Die vermittelte Fassung in einer JVM. In der Webfassung schi
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+218 -23
View File
@@ -71,7 +71,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-search/fuse.min.js"></script> <script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script> <script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./"> <meta name="quarto:offset" content="./">
<link href="./glossary.html" rel="next"> <link href="./03-part-iii-distributed.html" rel="next">
<link href="./01-part-i-calls.html" rel="prev"> <link href="./01-part-i-calls.html" rel="prev">
<script src="site_libs/quarto-html/quarto.js" type="module"></script> <script src="site_libs/quarto-html/quarto.js" type="module"></script>
<script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script> <script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script>
@@ -79,10 +79,14 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -254,7 +258,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -281,7 +285,169 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -328,6 +494,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</ul> </ul>
</div> </div>
<a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Dunkelmodus umschalten"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -366,6 +533,18 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link active"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link active">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Teil III — Es wirklich verteilen</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Teil IV — Zurückspulen</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -407,6 +586,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-part-ii" class="quarto-section-identifier"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></h1> <h1 class="title"><span id="sec-part-ii" class="quarto-section-identifier"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></h1>
@@ -597,17 +777,24 @@ Abbildung&nbsp;3.1: Die fünf Prozesse und die vier Postfachverzeichnisse. In de
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -615,21 +802,16 @@ Abbildung&nbsp;3.1: Die fünf Prozesse und die vier Postfachverzeichnisse. In de
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -800,6 +982,19 @@ Abbildung&nbsp;3.1: Die fünf Prozesse und die vier Postfachverzeichnisse. In de
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
@@ -1210,8 +1405,8 @@ Abbildung&nbsp;3.1: Die fünf Prozesse und die vier Postfachverzeichnisse. In de
</a> </a>
</div> </div>
<div class="nav-page nav-page-next"> <div class="nav-page nav-page-next">
<a href="./glossary.html" class="pagination-link" aria-label="[Glossary]{.en}[Glossaire]{.fr}[Glossar]{.de}"> <a href="./03-part-iii-distributed.html" class="pagination-link" aria-label="[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}">
<span class="nav-page-text">Glossar</span> <i class="bi bi-arrow-right-short"></i> <span class="nav-page-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Teil III — Es wirklich verteilen</span></span> <i class="bi bi-arrow-right-short"></i>
</a> </a>
</div> </div>
</nav> </nav>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.
+36 -58
View File
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]></style> ]]></style>

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

+47 -61
View File
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 700" width="620" height="700" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 750" width="620" height="750"
role="img" aria-labelledby="fp-title"> role="img" aria-labelledby="fp-title">
<title id="fp-title">Dieselbe Kette als fünf getrennte Prozesse auf einem Rechner: SensorService veröffentlicht eine .msg-Datei in consoleIn/outbox, ein Mediator-Prozess beobachtet dieses Verzeichnis und veröffentlicht eine Kopie in rot13/inbox, ProcessorService veröffentlicht sein Ergebnis in rot13/outbox, ein zweiter Mediator-Prozess verschiebt es nach consoleOut/inbox, und ActuatorService gibt es aus. Die vier Verzeichnisse bilden das Nachrichtenbrett auf einem lokalen Dateisystem.</title> <title id="fp-title">Dieselbe Kette als fünf getrennte Prozesse auf einem Rechner: SensorService veröffentlicht eine .msg-Datei in consoleIn/outbox, ein Mediator-Prozess beobachtet dieses Verzeichnis und veröffentlicht eine Kopie in rot13/inbox, ProcessorService veröffentlicht sein Ergebnis in rot13/outbox, ein zweiter Mediator-Prozess verschiebt es nach consoleOut/inbox, und ActuatorService gibt es aus. Die vier Verzeichnisse bilden das Nachrichtenbrett auf einem lokalen Dateisystem.</title>
<style><![CDATA[ <style><![CDATA[
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]> ]]>
[data-label="mediator1"] { font-size: 11px; } [data-label="mediator1"] { font-size: 11px; }
@@ -205,9 +183,17 @@ svg:not(:has(.node)) .node { opacity: 1; }
<!-- the four directories belong to one message board on one filesystem --> <!-- the four directories belong to one message board on one filesystem -->
<path class="edge-dash" d="M436,98 H452 V580 H436"/> <path class="edge-dash" d="M436,98 H452 V580 H436"/>
<text class="t-mono" x="460" y="330">messageBoard/</text> <text class="t-mono" x="460" y="330">messageBoard/</text>
<text class="t-mut" data-label="board" x="460" y="348">Verzeichnis = Postfach, Datei = Nachricht</text> <!-- two lines: one line of this label ran past the 620-wide viewBox in
German and French, where an svg root clips rather than overflows =
a truncated label at phone width. -->
<text class="t-mut" data-label="board" x="460" y="348">Verzeichnis = Postfach</text>
<text class="t-mut" data-label="board2" x="460" y="363">Datei = Nachricht</text>
<!-- the five processes are started by hand, one terminal each --> <!-- the five processes are started by hand, one terminal each -->
<path class="edge-dash" d="M104,24 H88 V654 H104"/> <path class="edge-dash" d="M104,24 H88 V654 H104"/>
<text class="t-warn" data-label="topology" x="14" y="686">Fünf von Hand gestartete Prozesse. Die Topologie steckt nun in den zwei Mediator-Befehlszeilen — bei dem, der sie getippt hat.</text> <!-- three lines: one ran well past the viewBox in every language, and an
svg root clips rather than overflows. -->
<text class="t-warn" data-label="topology" x="14" y="700">Fünf von Hand gestartete Prozesse.</text>
<text class="t-warn" data-label="topology2" x="14" y="716">Die Topologie steckt nun in den zwei Mediator-Befehlszeilen —</text>
<text class="t-warn" data-label="topology3" x="14" y="732">bei dem, der sie getippt hat.</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+42 -61
View File
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 560 700" width="560" height="700" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 560 730" width="560" height="730"
role="img" aria-labelledby="mj-title"> role="img" aria-labelledby="mj-title">
<title id="mj-title">Die vermittelte Fassung in einer JVM: ConsoleIn legt eine Nachricht in consoleIn.outbox, ein Vermittler nimmt sie und legt sie in rot13.inbox, ROT13 nimmt sie und legt sein Ergebnis in rot13.outbox, ein zweiter Vermittler verschiebt es nach consoleOut.inbox, und ConsoleOut nimmt es und gibt es aus.</title> <title id="mj-title">Die vermittelte Fassung in einer JVM: ConsoleIn legt eine Nachricht in consoleIn.outbox, ein Vermittler nimmt sie und legt sie in rot13.inbox, ROT13 nimmt sie und legt sein Ergebnis in rot13.outbox, ein zweiter Vermittler verschiebt es nach consoleOut.inbox, und ConsoleOut nimmt es und gibt es aus.</title>
<style><![CDATA[ <style><![CDATA[
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]></style> ]]></style>
@@ -201,6 +179,9 @@ svg:not(:has(.node)) .node { opacity: 1; }
<text class="t-lead mid" data-label="consoleout" x="270" y="648">ConsoleOut — „ich gebe aus“</text> <text class="t-lead mid" data-label="consoleout" x="270" y="648">ConsoleOut — „ich gebe aus“</text>
</g> </g>
<!-- side note: who holds the topology --> <!-- side note: who holds the topology. Two lines, and below the frame:
<text class="t-warn" data-label="topology" x="22" y="672">Keine Fähigkeit nennt eine andere. Die Topologie steckt nur in den zwei Vermittlern, gestartet in main().</text> one line ran past the viewBox in German and French, and an svg root
clips instead of overflowing, which truncated the label. -->
<text class="t-warn" data-label="topology" x="14" y="702">Keine Fähigkeit nennt eine andere.</text>
<text class="t-warn" data-label="topology2" x="14" y="718">Die Topologie steckt nur in den zwei Vermittlern, gestartet in main().</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 10 KiB

+218 -23
View File
@@ -36,17 +36,21 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-search/fuse.min.js"></script> <script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script> <script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./"> <meta name="quarto:offset" content="./">
<link href="./02-part-ii-processes.html" rel="prev"> <link href="./04-part-iv-rewind.html" rel="prev">
<script src="site_libs/quarto-html/quarto.js" type="module"></script> <script src="site_libs/quarto-html/quarto.js" type="module"></script>
<script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script> <script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script>
<script src="site_libs/quarto-html/popper.min.js"></script> <script src="site_libs/quarto-html/popper.min.js"></script>
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -218,7 +222,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -245,7 +249,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -292,6 +458,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Dunkelmodus umschalten"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -330,6 +497,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Teil III — Es wirklich verteilen</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Teil IV — Zurückspulen</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -359,6 +538,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"><nav class="quarto-page-breadcrumbs quarto-title-breadcrumbs d-none d-lg-block" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./glossary.html">Anhang</a></li><li class="breadcrumb-item"><a href="./glossary.html">Glossar</a></li></ol></nav> <header id="title-block-header" class="quarto-title-block default"><nav class="quarto-page-breadcrumbs quarto-title-breadcrumbs d-none d-lg-block" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./glossary.html">Anhang</a></li><li class="breadcrumb-item"><a href="./glossary.html">Glossar</a></li></ol></nav>
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-glossary" class="quarto-section-identifier">Glossar</span></h1> <h1 class="title"><span id="sec-glossary" class="quarto-section-identifier">Glossar</span></h1>
@@ -408,17 +588,24 @@ Every entry here is defined in the chapter where the term first does some
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -426,21 +613,16 @@ Every entry here is defined in the chapter where the term first does some
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -611,6 +793,19 @@ Every entry here is defined in the chapter where the term first does some
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
@@ -1016,8 +1211,8 @@ Every entry here is defined in the chapter where the term first does some
</script> </script>
<nav class="page-navigation"> <nav class="page-navigation">
<div class="nav-page nav-page-previous"> <div class="nav-page nav-page-previous">
<a href="./02-part-ii-processes.html" class="pagination-link" aria-label="[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}"> <a href="./04-part-iv-rewind.html" class="pagination-link" aria-label="[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}">
<i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span> <i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Teil IV — Zurückspulen</span></span>
</a> </a>
</div> </div>
<div class="nav-page nav-page-next"> <div class="nav-page nav-page-next">
+216 -22
View File
@@ -7,7 +7,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="author" content="Romain De Groote"> <meta name="author" content="Romain De Groote">
<meta name="dcterms.date" content="2026-09-25">
<title>Prozesssteuerung</title> <title>Prozesssteuerung</title>
<style> <style>
@@ -45,10 +44,14 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -220,7 +223,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -247,7 +250,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -294,6 +459,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Prozesssteuerung.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Dunkelmodus umschalten"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Lesemodus umschalten">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -332,6 +498,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Teil II — Die Prozessgrenze überschreiten</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Teil III — Es wirklich verteilen</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Teil IV — Zurückspulen</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -370,6 +548,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title">Prozesssteuerung</h1> <h1 class="title">Prozesssteuerung</h1>
@@ -389,7 +568,7 @@ ul.task-list li input[type="checkbox"] {
<div> <div>
<div class="quarto-title-meta-heading">Veröffentlichungsdatum</div> <div class="quarto-title-meta-heading">Veröffentlichungsdatum</div>
<div class="quarto-title-meta-contents"> <div class="quarto-title-meta-contents">
<p class="date">25 September 2026</p> <p class="date">6 Oktober 2026</p>
</div> </div>
</div> </div>
@@ -463,17 +642,24 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -481,21 +667,16 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -666,6 +847,19 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+120
View File
@@ -209,6 +209,126 @@
"<span class='chapter-number'>3</span>  <span class='chapter-title'>[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}</span>" "<span class='chapter-number'>3</span>  <span class='chapter-title'>[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}</span>"
] ]
}, },
{
"objectID": "03-part-iii-distributed.html",
"href": "03-part-iii-distributed.html",
"title": "4  Teil III — Es wirklich verteilen",
"section": "",
"text": "4.1 Syncthing repliziert; es liefert nicht aus\nFünf Prozesse auf einem Rechner teilen immer noch ein Dateisystem. Die Schritte 19 bis 27 verteilen sie auf zwei Maschinen, replizieren das Nachrichtenbrett mit Syncthing zwischen ihnen, messen die Kosten und zerbrechen dann absichtlich einen Vermittler. Am Ende ist der Preis der Vermittler eine Zahl und keine Meinung.\nSyncthing hält ein Verzeichnis zwischen Maschinen repliziert. Mehr wird hier nicht verlangt. Es weiss nichts von Intent, Status, Event, ROT13 oder Vermittlern, und es kennt keinen Konsumenten: keine Abonnements, keine Topics, keine Lieferzusagen, keine Vorstellung davon, dass jemand wartet.\nDer Auslöser bleibt unser eigener. Jeder Dienst betreibt seinen eigenen WatchService auf einem lokalen Verzeichnis; Syncthing lässt die Dateien dort nur erscheinen. Deshalb musste keiner der drei Dienste eine Zeile ändern, als das System verteilt wurde.\nDaraus folgen zwei Dinge, die später als Beobachtung und nicht als Warnung auftreten:",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-syncthing-not-a-broker",
"href": "03-part-iii-distributed.html#sec-syncthing-not-a-broker",
"title": "4  Teil III — Es wirklich verteilen",
"section": "",
"text": "Replikation ist asynchron — das Umbenennen .tmp → .msg ist auf jeder Maschine einzeln atomar, und nichts verspricht Reihenfolge oder Atomarität zwischen Maschinen;\ndas Dateisystem ist ein ernstzunehmender Transport mit eigenen Stärken: Dateien dürfen gross sein, Replikate überleben einen Neustart, und jede Nachricht lässt sich mit cat lesen.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-one-layer",
"href": "03-part-iii-distributed.html#sec-one-layer",
"title": "4  Teil III — Es wirklich verteilen",
"section": "4.2 Eine Schicht auf einmal prüfen",
"text": "4.2 Eine Schicht auf einmal prüfen\nBevor irgendein Java-Programm den replizierten Ordner berührte, lief der langweiligste denkbare Test: hello.txt auf einer Maschine schreiben, prüfen, dass es auf der anderen erscheint, es löschen, prüfen, dass die Löschung zurückkommt. Beide Richtungen funktionierten.\nDiese Reihenfolge ist wichtig. Als der verteilte Lauf später scheiterte, war die Frage „Replikation oder mein Programm?” für den Transport schon beantwortet, und die Suche konnte eine Schicht höher beginnen.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-keystroke-cost",
"href": "03-part-iii-distributed.html#sec-keystroke-cost",
"title": "4  Teil III — Es wirklich verteilen",
"section": "4.3 Was ein Tastendruck kostet",
"text": "4.3 Was ein Tastendruck kostet\nMit dem Sensor auf einer Maschine und den Vermittlern, ROT13 und dem Aktor auf der anderen erzeugte eine getippte Zeile vier .msg-Dateien, eine pro Postfach:\n\n\n\nPostfach\nInhalt\nZeitstempel darin\n\n\n\n\nconsoleIn/outbox\nHello World\n23:02:05.315\n\n\nrot13/inbox\nHello World\n23:02:05.315\n\n\nrot13/outbox\nUryyb Jbeyq\n23:02:13.471\n\n\nconsoleOut/inbox\nUryyb Jbeyq\n23:02:13.471\n\n\n\nDie wiederholten Zeitstempel belegen, dass zwei dieser vier Veröffentlichungen reine Kopien sind: die Vermittler veröffentlichen die Nachricht unverändert erneut, Zeitstempel eingeschlossen. Sie berechnen identity(x) = x, als eigene verteilte Prozesse.\nDie Zeiten, gemessen an den Änderungszeiten der vier Dateien auf einer Maschine, damit keine Uhrendifferenz hineinspielt: die Datei des Sensors erscheint um 01:02:05.432, die drei anderen um 01:02:13.460, .504 und .532 — 8,10 s später und innerhalb von 72 ms zueinander. Die eigentliche Arbeit der Kette dauerte also Millisekunden; die acht Sekunden sind Syncthings Verbreitung. Dieselbe Kette, vollständig auf einer Maschine, braucht etwa 24 ms.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-break-a-mediator",
"href": "03-part-iii-distributed.html#sec-break-a-mediator",
"title": "4  Teil III — Es wirklich verteilen",
"section": "4.4 Einen Vermittler zerbrechen",
"text": "4.4 Einen Vermittler zerbrechen\nHalten Sie den ersten Vermittler an und tippen Sie zwei Zeilen. ConsoleIn lebt, ROT13 lebt, ConsoleOut lebt, Syncthing lebt — und der Geschäftsfluss ist tot. Die zwei Zeilen stapeln sich in consoleIn/outbox; weiter kommt nichts. Die Vermittler gehören zur Verfügbarkeitskette.\nStarten Sie den Vermittler neu. Nichts wird ausgeliefert. FileMessageBoard.watch registriert ein Verzeichnis für ENTRY_CREATE und blockiert in watcher.take(); es listet nie, was schon da ist. Die zwei Dateien liegen weiter auf der Platte, in beiden Replikaten — es ging also nichts verloren. Kein Gedächtnis hat das Abonnement.\nDiese Unterscheidung lohnt sich: die Nachrichten überlebten, die Auslieferung nicht. Ein Broker antwortet darauf mit Sitzungszustand und retained messages; im eigenen Code wäre es eine Zeile — die vorhandenen .msg-Dateien auflisten, bevor die Beobachtungsschleife beginnt — die das Material bewusst noch nicht schreibt.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-configurable-mediator",
"href": "03-part-iii-distributed.html#sec-configurable-mediator",
"title": "4  Teil III — Es wirklich verteilen",
"section": "4.5 Der Vermittler wird ein gewöhnlicher Dienst",
"text": "4.5 Der Vermittler wird ein gewöhnlicher Dienst\nBevor die Vermittler verschwinden, fällt eine Asymmetrie weg: die Dienste erhalten ihre Arbeit als Nachrichten, der Vermittler erhielt seine Route als Shell-Argumente. Er bekommt daher nur einen Namen, ConfigurableMediator mediator1, aus dem er ein dauerhaftes Steuerpostfach ableitet, mediators/mediator1/inbox, und die Route kommt als Nachricht:\nROUTE\nconsoleIn/outbox\nrot13/inbox\nfrom und to reisen absichtlich in einer Nachricht: als zwei hielte der Vermittler kurz eine neue Quelle mit dem alten Ziel und leitete an die falsche Stelle weiter. Eine Route ist ein Fakt, und ein Fakt gehört in eine Nachricht.\nEin kurzlebiger Orchestrator veröffentlicht beide Routen und endet, damit die Topologie an einer Stelle sichtbar ist und nicht im Datenpfad liegt. Startet man ihn nach den Diensten und hat vorher eine Zeile getippt, zeigen sich beide Hälften auf einmal: die frühe Zeile bleibt liegen, die späte läuft durch.\nWas besser wird: der Vermittler hat eine Identität, nimmt Konfiguration über sein eigenes Postfach, behält eine generische Fähigkeit und bezieht seine Topologie von einem Orchestrator. Was nicht besser wird: der Datenpfad. Er bleibt event → Vermittler → kopiertes event, weiter ein Prozess in der Verfügbarkeitskette, der jede Nachricht ohne Bedeutungsgewinn kopiert. Und diese Fassung nimmt genau eine Route an: waitForRoute(...) kehrt zurück, dann betritt der Vermittler watch(route.from(), …) und liest sein Steuerpostfach nie wieder. Umverdrahten im Betrieb wird nicht versprochen, weil ein blockierendes watch nicht gleichzeitig ein Steuerpostfach und eine Quelle bedienen kann — der Grund für die Abonnement-Hilfe später.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-part-iii-result",
"href": "03-part-iii-distributed.html#sec-part-iii-result",
"title": "4  Teil III — Es wirklich verteilen",
"section": "4.6 Was Teil III verschoben hat",
"text": "4.6 Was Teil III verschoben hat\n\n\n\n\n\n\n\n\nStufe\nwo die Topologie liegt\nim Datenpfad?\n\n\n\n\nSchritt 18\ndie Befehlszeilen des Bedieners\ndie Vermittler sind es\n\n\nSchritt 27\nein Orchestrator, als Intent veröffentlicht\ndie Vermittler sind es weiterhin\n\n\n\nDie Frage, mit der der Teil schliesst, ist daher scharf und nicht rhetorisch: warum kann der Dienst, der sich für die Daten interessiert, sie nicht selbst hören?",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html",
"href": "04-part-iv-rewind.html",
"title": "5  Teil IV — Zurückspulen",
"section": "",
"text": "5.1 Die naheliegende Abkürzung und ihre Falle\nDie Schritte 28 bis 34 kehren absichtlich zu einer JVM zurück. Ohne Replikationsverzögerung und ohne fünf Terminals kann sich nur ändern, wer wen kennt — die Idee lässt sich also in Sekunden ausprobieren statt in einer verteilten Fehlersuche.\nWenn der erste Vermittler nur Nachrichten kopiert: löschen wir ihn und lassen ROT13 die Quelle selbst lesen:\nDer Vermittler ist weg. Doch die wiederkehrende Frage: ROT13 enthält jetzt den Namen von ConsoleIns Postfach. Die Topologie ist aus dem Vermittler in den Dienst gewandert. Im Wortlaut des Materials: „Wir haben den Vermittler entfernt … und die Topologie zurück in den Dienst gelegt. Hoppla.”",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-the-trap",
"href": "04-part-iv-rewind.html#sec-the-trap",
"title": "5  Teil IV — Zurückspulen",
"section": "",
"text": "listen(\"consoleIn.outbox\");",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-capability-vs-topology",
"href": "04-part-iv-rewind.html#sec-capability-vs-topology",
"title": "5  Teil IV — Zurückspulen",
"section": "5.2 Fähigkeit ist nicht Topologie",
"text": "5.2 Fähigkeit ist nicht Topologie\nROT13 darf zwei Dinge wissen: ich kann Text transformieren und ich kann auf kompatible Textnachrichten hören. Es darf nicht wissen: meine Eingabe kommt immer aus consoleIn.outbox — das ist Deployment-Topologie.\nDer Name ist daher nicht einkompiliert, er kommt zur Laufzeit:\nTOPIC consoleIn.outbox\nROT13 lernt seine Verdrahtung aus Daten. Wer sie sendet, ist wichtig: in DynamicQueueRot13.java veröffentlicht main() beide TOPIC-Nachrichten — ein Konfigurator ausserhalb des Datenpfads, in der Rolle des früheren Orchestrators. ConsoleIn kann es nicht sein: sagte ConsoleIn ROT13, was es abonnieren soll, müsste es wissen, dass ROT13 existiert — die Topologie wäre nur in eine andere Fähigkeit gewandert.",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-dynamic-mechanics",
"href": "04-part-iv-rewind.html#sec-dynamic-mechanics",
"title": "5  Teil IV — Zurückspulen",
"section": "5.3 Was sich im Code ändert",
"text": "5.3 Was sich im Code ändert\nlisten(...) ist nichts Exotisches: ein virtueller Thread, der wiederholt take() auf einer derselben Warteschlangen aufruft. subscribe(...) startet einen solchen Thread pro abonniertem Namen. Die Folge ist in den Postfächern sichtbar:\n\nROT13 nimmt direkt aus consoleIn.outbox — dem Namen, den es erhalten hat;\nrot13.inbox ist kein Nutzlast-Postfach mehr. Es trägt Steuernachrichten, und ROT13s Schleife liest es, um zu entscheiden, ob eine Nachricht ein anzuwendendes TOPIC ist.\n\nNichts schreibt mehr in rot13.inbox, um Daten zu bewegen. Das Postfach verschwand nicht; es wechselte die Aufgabe, von Nutzlast zu Intent.\nEine Beobachtung aus dem Lauf: nach Ctrl+D endet die Ausgabe, das Programm bleibt aber am Leben. Unterbrochen wurde nichts — runConsoleIn kehrt am Eingabeende zurück, der Produzent ist also weg, während beide Abonnenten-Threads in take() auf Quellen warten, die nie wieder veröffentlichen. Die JVM lebt weiter, weil main mit Thread.currentThread().join() endet. „Der Fluss stoppte” muss immer darauf zurückgeführt werden, welcher Beteiligte stoppte.",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-route-topic-intent",
"href": "04-part-iv-rewind.html#sec-route-topic-intent",
"title": "5  Teil IV — Zurückspulen",
"section": "5.4 ROUTE und TOPIC sind Intent",
"text": "5.4 ROUTE und TOPIC sind Intent\nZwei Tests für TOPIC consoleIn.outbox. Beschreibt es etwas, das geschehen ist? Nein. Etwas, das gerade gilt? Nein. Es sagt beginne hier zu hören — gewünschtes Verhalten, also Intent. Das ROUTE des Vermittlers ist dieselbe Art Nachricht: leite von hier nach dort weiter.\nEine Falle, die benannt gehört, weil sie in einer Verteidigung verlockt: ein Intent zu veröffentlichen ist natürlich etwas, das geschehen ist. Die Einordnung folgt dem, was die Nachricht sagt, nicht ihrer Existenz.\nUnd eine Bedingung, die wiederkommt: die dynamische Fassung ist nicht automatisch besser. Sie ergibt nur Sinn, wenn der Konsument den Nachrichtenvertrag des Produzenten wirklich versteht.\nSTATISCH VERMITTELT DYNAMISCH DIREKT\nProduzent → Vermittler → Konsument Intent → (Produzent ──► Konsument)",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{ {
"objectID": "glossary.html", "objectID": "glossary.html",
"href": "glossary.html", "href": "glossary.html",
@@ -1,12 +0,0 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #2780e3;--bs-indigo: #6610f2;--bs-purple: #613d7c;--bs-pink: #e83e8c;--bs-red: #ff0039;--bs-orange: #f0ad4e;--bs-yellow: #ff7518;--bs-green: #3fb618;--bs-teal: #20c997;--bs-cyan: #9954bb;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-default: #5a6879;--bs-primary: #20666f;--bs-secondary: #5a6879;--bs-success: #3fb618;--bs-info: #9954bb;--bs-warning: #ff7518;--bs-danger: #ff0039;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-default-rgb: 90, 104, 121;--bs-primary-rgb: 32, 102, 111;--bs-secondary-rgb: 90, 104, 121;--bs-success-rgb: 63, 182, 24;--bs-info-rgb: 153, 84, 187;--bs-warning-rgb: 255, 117, 24;--bs-danger-rgb: 255, 0, 57;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-primary-text-emphasis: rgb(12.8, 40.8, 44.4);--bs-secondary-text-emphasis: rgb(36, 41.6, 48.4);--bs-success-text-emphasis: rgb(25.2, 72.8, 9.6);--bs-info-text-emphasis: rgb(61.2, 33.6, 74.8);--bs-warning-text-emphasis: rgb(102, 46.8, 9.6);--bs-danger-text-emphasis: rgb(102, 0, 22.8);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(210.4, 224.4, 226.2);--bs-secondary-bg-subtle: rgb(222, 224.8, 228.2);--bs-success-bg-subtle: rgb(216.6, 240.4, 208.8);--bs-info-bg-subtle: rgb(234.6, 220.8, 241.4);--bs-warning-bg-subtle: rgb(255, 227.4, 208.8);--bs-danger-bg-subtle: rgb(255, 204, 215.4);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(165.8, 193.8, 197.4);--bs-secondary-border-subtle: rgb(189, 194.6, 201.4);--bs-success-border-subtle: rgb(178.2, 225.8, 162.6);--bs-info-border-subtle: rgb(214.2, 186.6, 227.8);--bs-warning-border-subtle: rgb(255, 199.8, 162.6);--bs-danger-border-subtle: rgb(255, 153, 175.8);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #1b2430;--bs-body-color-rgb: 27, 36, 48;--bs-body-bg: #fbfcfd;--bs-body-bg-rgb: 251, 252, 253;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(27, 36, 48, 0.75);--bs-secondary-color-rgb: 27, 36, 48;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(27, 36, 48, 0.5);--bs-tertiary-color-rgb: 27, 36, 48;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #20666f;--bs-link-color-rgb: 32, 102, 111;--bs-link-decoration: underline;--bs-link-hover-color: rgb(25.6, 81.6, 88.8);--bs-link-hover-color-rgb: 26, 82, 89;--bs-code-color: #1b2430;--bs-highlight-bg: rgb(255, 227.4, 208.8);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dae0e8;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(32, 102, 111, 0.25);--bs-form-valid-color: #3fb618;--bs-form-valid-border-color: #3fb618;--bs-form-invalid-color: #ff0039;--bs-form-invalid-border-color: #ff0039}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(121.2, 163.2, 168.6);--bs-secondary-text-emphasis: rgb(156, 164.4, 174.6);--bs-success-text-emphasis: rgb(139.8, 211.2, 116.4);--bs-info-text-emphasis: rgb(193.8, 152.4,Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #fbfcfd;--quarto-body-color: #1b2430;--quarto-text-muted: #6c757d;--quarto-border-color: #dae0e8;--quarto-border-width: 1px}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #fbfcfd;--mermaid-edge-color: #5a6879;--mermaid-node-fg-color: #1b2430;--mermaid-fg-color: #1b2430;--mermaid-fg-color--lighter: rgb(45.36, 60.48, 80.64);--mermaid-fg-color--lightest: rgb(63.72, 84.96, 113.28);--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #fbfcfd;--mermaid-label-fg-color: #20666f;--mermaid-node-bg-color: rgba(32, 102, 111, 0.1);--mermaid-node-fg-color: #1b2430}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(94, 94, 94)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0 1 .5.5vLine truncated
@@ -0,0 +1,12 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #375a7f;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #e83e8c;--bs-red: #e74c3c;--bs-orange: #fd7e14;--bs-yellow: #f39c12;--bs-green: #00bc8c;--bs-teal: #20c997;--bs-cyan: #3498db;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #ebebeb;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #444;--bs-gray-800: #343a40;--bs-gray-900: #222;--bs-default: rgb(67.15, 67.15, 67.15);--bs-primary: #375a7f;--bs-secondary: rgb(67.15, 67.15, 67.15);--bs-success: #00bc8c;--bs-info: #3498db;--bs-warning: #f39c12;--bs-danger: #e74c3c;--bs-light: rgb(111.35, 111.35, 111.35);--bs-dark: rgb(45.05, 45.05, 45.05);--bs-default-rgb: 67, 67, 67;--bs-primary-rgb: 55, 90, 127;--bs-secondary-rgb: 67, 67, 67;--bs-success-rgb: 0, 188, 140;--bs-info-rgb: 52, 152, 219;--bs-warning-rgb: 243, 156, 18;--bs-danger-rgb: 231, 76, 60;--bs-light-rgb: 111, 111, 111;--bs-dark-rgb: 45, 45, 45;--bs-primary-text-emphasis: rgb(22, 36, 50.8);--bs-secondary-text-emphasis: rgb(26.86, 26.86, 26.86);--bs-success-text-emphasis: rgb(0, 75.2, 56);--bs-info-text-emphasis: rgb(20.8, 60.8, 87.6);--bs-warning-text-emphasis: rgb(97.2, 62.4, 7.2);--bs-danger-text-emphasis: rgb(92.4, 30.4, 24);--bs-light-text-emphasis: #444;--bs-dark-text-emphasis: #444;--bs-primary-bg-subtle: rgb(215, 222, 229.4);--bs-secondary-bg-subtle: rgb(217.43, 217.43, 217.43);--bs-success-bg-subtle: rgb(204, 241.6, 232);--bs-info-bg-subtle: rgb(214.4, 234.4, 247.8);--bs-warning-bg-subtle: rgb(252.6, 235.2, 207.6);--bs-danger-bg-subtle: rgb(250.2, 219.2, 216);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(175, 189, 203.8);--bs-secondary-border-subtle: rgb(179.86, 179.86, 179.86);--bs-success-border-subtle: rgb(153, 228.2, 209);--bs-info-border-subtle: rgb(173.8, 213.8, 240.6);--bs-warning-border-subtle: rgb(250.2, 215.4, 160.2);--bs-danger-border-subtle: rgb(245.4, 183.4, 177);--bs-light-border-subtle: #ebebeb;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #fff;--bs-body-color-rgb: 255, 255, 255;--bs-body-bg: #222;--bs-body-bg-rgb: 34, 34, 34;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(255, 255, 255, 0.75);--bs-secondary-color-rgb: 255, 255, 255;--bs-secondary-bg: #ebebeb;--bs-secondary-bg-rgb: 235, 235, 235;--bs-tertiary-color: rgba(255, 255, 255, 0.5);--bs-tertiary-color-rgb: 255, 255, 255;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #00bc8c;--bs-link-color-rgb: 0, 188, 140;--bs-link-decoration: underline;--bs-link-hover-color: rgb(0, 150.4, 112);--bs-link-hover-color-rgb: 0, 150, 112;--bs-code-color: inherit;--bs-highlight-bg: rgb(252.6, 235.2, 207.6);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(55, 90, 127, 0.25);--bs-form-valid-color: #00bc8c;--bs-form-valid-border-color: #00bc8c;--bs-form-invalid-color: #e74c3c;--bs-form-invalid-border-color: #e74c3c}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #222;--bs-body-bg-rgb: 34, 34, 34;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b2e31;--bs-tertiary-bg-rgb: 43, 46, 49;--bs-primary-text-emphasis: rgb(135, 156, 178.2);--bs-secondary-text-emphasis: rgb(142.29, 142.29, 142.29);--bs-success-text-emphasis: rgb(102, 214.8, 186);-Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #222;--quarto-body-color: #fff;--quarto-text-muted: #6c757d;--quarto-border-color: rgb(67.15, 67.15, 67.15);--quarto-border-width: 1px;--quarto-border-radius: 0.25rem}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #222;--mermaid-edge-color: rgb(67.15, 67.15, 67.15);--mermaid-node-fg-color: #fff;--mermaid-fg-color: #fff;--mermaid-fg-color--lighter: white;--mermaid-fg-color--lightest: white;--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #222;--mermaid-label-fg-color: #375a7f;--mermaid-node-bg-color: rgba(55, 90, 127, 0.1);--mermaid-node-fg-color: #fff}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(212, 208, 171)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0Line truncated
@@ -0,0 +1,12 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #2780e3;--bs-indigo: #6610f2;--bs-purple: #613d7c;--bs-pink: #e83e8c;--bs-red: #ff0039;--bs-orange: #f0ad4e;--bs-yellow: #ff7518;--bs-green: #3fb618;--bs-teal: #20c997;--bs-cyan: #9954bb;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-default: #343a40;--bs-primary: #2780e3;--bs-secondary: #343a40;--bs-success: #3fb618;--bs-info: #9954bb;--bs-warning: #ff7518;--bs-danger: #ff0039;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-default-rgb: 52, 58, 64;--bs-primary-rgb: 39, 128, 227;--bs-secondary-rgb: 52, 58, 64;--bs-success-rgb: 63, 182, 24;--bs-info-rgb: 153, 84, 187;--bs-warning-rgb: 255, 117, 24;--bs-danger-rgb: 255, 0, 57;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-primary-text-emphasis: rgb(15.6, 51.2, 90.8);--bs-secondary-text-emphasis: rgb(20.8, 23.2, 25.6);--bs-success-text-emphasis: rgb(25.2, 72.8, 9.6);--bs-info-text-emphasis: rgb(61.2, 33.6, 74.8);--bs-warning-text-emphasis: rgb(102, 46.8, 9.6);--bs-danger-text-emphasis: rgb(102, 0, 22.8);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(211.8, 229.6, 249.4);--bs-secondary-bg-subtle: rgb(214.4, 215.6, 216.8);--bs-success-bg-subtle: rgb(216.6, 240.4, 208.8);--bs-info-bg-subtle: rgb(234.6, 220.8, 241.4);--bs-warning-bg-subtle: rgb(255, 227.4, 208.8);--bs-danger-bg-subtle: rgb(255, 204, 215.4);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(168.6, 204.2, 243.8);--bs-secondary-border-subtle: rgb(173.8, 176.2, 178.6);--bs-success-border-subtle: rgb(178.2, 225.8, 162.6);--bs-info-border-subtle: rgb(214.2, 186.6, 227.8);--bs-warning-border-subtle: rgb(255, 199.8, 162.6);--bs-danger-border-subtle: rgb(255, 153, 175.8);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #343a40;--bs-body-color-rgb: 52, 58, 64;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(52, 58, 64, 0.75);--bs-secondary-color-rgb: 52, 58, 64;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(52, 58, 64, 0.5);--bs-tertiary-color-rgb: 52, 58, 64;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #2761e3;--bs-link-color-rgb: 39, 97, 227;--bs-link-decoration: underline;--bs-link-hover-color: rgb(31.2, 77.6, 181.6);--bs-link-hover-color-rgb: 31, 78, 182;--bs-code-color: #7d12ba;--bs-highlight-bg: rgb(255, 227.4, 208.8);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(39, 128, 227, 0.25);--bs-form-valid-color: #3fb618;--bs-form-valid-border-color: #3fb618;--bs-form-invalid-color: #ff0039;--bs-form-invalid-border-color: #ff0039}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(125.4, 178.8, 238.2);--bs-secondary-text-emphasis: rgb(133.2, 136.8, 140.4);--bs-success-text-emphasis: rgb(139.8, 211.2, 116.4);--bs-info-text-emphasis: rgb(193.8, 152.Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #fff;--quarto-body-color: #343a40;--quarto-text-muted: #6c757d;--quarto-border-color: #dee2e6;--quarto-border-width: 1px}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #fff;--mermaid-edge-color: #343a40;--mermaid-node-fg-color: #343a40;--mermaid-fg-color: #343a40;--mermaid-fg-color--lighter: rgb(74.8620689655, 83.5, 92.1379310345);--mermaid-fg-color--lightest: rgb(97.724137931, 109, 120.275862069);--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #fff;--mermaid-label-fg-color: #2780e3;--mermaid-node-bg-color: rgba(39, 128, 227, 0.1);--mermaid-node-fg-color: #343a40}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(105, 105, 105)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9Line truncated
@@ -66,6 +66,8 @@
padding: 0.35rem 0.1rem 0.1rem; padding: 0.35rem 0.1rem 0.1rem;
scroll-margin-top: 5rem; scroll-margin-top: 5rem;
} }
/* Quarto greys every summary (#6c757d): 3.4:1 on darkly */
.exo-sol > summary { color: var(--calc-muted, #57606a); }
/* in a numbered part, the fold lines up with the part's text */ /* in a numbered part, the fold lines up with the part's text */
.exo li > details { margin-left: 0; } .exo li > details { margin-left: 0; }
@@ -62,8 +62,7 @@ mjx-container a {
scroll-margin-top: 5rem; scroll-margin-top: 5rem;
} }
.gls-back { .gls-back {
font-size: 0.85em; font-size: 0.85em; /* smaller, not fainter: at 0.75 opacity the link read 3.4:1 */
opacity: 0.75;
} }
/* standalone property cards keep the section flow (no indent) */ /* standalone property cards keep the section flow (no indent) */
@@ -43,8 +43,8 @@
cursor: pointer; cursor: pointer;
list-style: none; /* remove the default triangle ... */ list-style: none; /* remove the default triangle ... */
user-select: none; user-select: none;
opacity: 0.7; font-style: italic; /* quiet by style and --calc-muted (theme.css), not by
font-style: italic; opacity, which took it under 4.5:1 */
} }
.calc-note > summary::-webkit-details-marker { display: none; } .calc-note > summary::-webkit-details-marker { display: none; }
.calc-note > summary::before { content: "▸ "; font-style: normal; } .calc-note > summary::before { content: "▸ "; font-style: normal; }
@@ -42,9 +42,65 @@ main table:not(.ltx-table) { display: block; max-width: 100%; overflow-x: auto;
element is oversized, so only the text itself overflows. */ element is oversized, so only the text itself overflows. */
#quarto-document-content :is(a, code) { overflow-wrap: break-word; } #quarto-document-content :is(a, code) { overflow-wrap: break-word; }
/* Quarto lets inline code wrap only inside a <p> (white-space: pre-wrap);
in a list item or a table it keeps one line, and a formula such as
"{PersN} → {PersN, Name, Position, Room, …}" pushed a page to 947px. */
#quarto-document-content :not(pre) > code:not(.sourceCode) { white-space: pre-wrap; }
/* A long compound in running text — "Unternehmensarchitekturmanagement" in
a list item is 348px — has no break opportunity. The page's lang picks
the hyphenation dictionary; overflow-wrap is the fallback without one. */
#quarto-document-content { hyphens: auto; overflow-wrap: break-word; }
/* An inline formula MathJax cannot break (one long fraction or product)
is wider than a phone: 413px in ModernPhysics' first exercise. It scrolls
inside its own box instead of pushing the page; the padding keeps tall
glyphs clear of the box's edge. */
/* A Bootstrap grid (::: {.grid} with .g-col-* items) has 12 columns and 11
gaps of 1.5rem: 264px of gaps alone, more than a callout on a phone
(248px in SoftwareEngineering's git appendix), so the columns collapse to
0 and a full-width item overflows. A smaller gap keeps the layout;
min-width: 0 lets an item's text wrap instead of widening its track. */
.grid { --bs-gap: 0.75rem; }
.grid > [class*="g-col"] { min-width: 0; }
#quarto-document-content mjx-container:not([display="true"]) {
display: inline-block;
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
vertical-align: middle;
padding-block: 0.15em;
}
/* Quarto's own previous/next footer: the chapter titles are laid out in a /* Quarto's own previous/next footer: the chapter titles are laid out in a
row that will not shrink, so a long title pushes the page sideways. */ row that will not shrink, so a long title pushes the page sideways. */
.page-navigation { flex-wrap: wrap; row-gap: 0.75em; } .page-navigation { flex-wrap: wrap; row-gap: 0.75em; }
.nav-page, .nav-page .nav-page-text { min-width: 0; } .nav-page, .nav-page .nav-page-text { min-width: 0; }
.nav-page .chapter-title { overflow-wrap: break-word; } .nav-page .chapter-title { overflow-wrap: break-word; }
/* A long compound in a heading — "Implementierungsentscheidungen" is 366px
at h3 size — is wider than a 320px screen. The page's lang picks the
hyphenation dictionary; overflow-wrap is the fallback without one. */
#quarto-document-content :is(h1, h2, h3, h4, h5, h6),
.quarto-title .title {
hyphens: auto;
overflow-wrap: break-word;
}
/* The bar at the top of a phone page: menu button, the chapter's title,
search. The title is a flex item that will not shrink, so a long one
("3 Komplexitätsanalyse" in darkly's wider font) pushes the search button
off the screen. It now shrinks and ends in an ellipsis. */
.quarto-secondary-nav nav.quarto-page-breadcrumbs { min-width: 0; }
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb {
flex-wrap: nowrap;
min-width: 0;
}
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
} }
@@ -75,6 +75,103 @@ body.quarto-dark main img[src$=".svg"]:not(.no-invert) {
filter: invert(1) hue-rotate(180deg); filter: invert(1) hue-rotate(180deg);
} }
/* --- captions -----------------------------------------------------------
Quarto's caption grey reads 4.4:1 on cosmo's white, under WCAG AA. The
muted token reads about 6.4:1 in light and in dark, and high contrast
makes it the foreground. The list ends with Quarto's most specific caption
selector so that :is() gives every entry its weight. */
:is(.panel-caption, .figure-caption, .subfigure-caption, .table-caption,
figcaption, caption, .margin-caption, .column-margin figcaption,
.quarto-layout-cell[data-ref-parent] caption) {
color: var(--calc-muted, #57606a);
}
/* --- breadcrumbs --------------------------------------------------------
Quarto greys the current page (#6c757d) and Bootstrap the separators; on
darkly's breadcrumb band that reads 2.1:1. The ink token passes in every
mode. `body` outweighs Quarto's own selectors; pseudo-elements cannot go
inside :is(), hence the separate rule. */
body :is(.quarto-title-breadcrumbs .breadcrumb li:last-of-type a,
.breadcrumb-item.active) {
color: var(--calc-ink, #1a1a1a);
}
body .breadcrumb-item + .breadcrumb-item::before,
body .quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item::before,
body .quarto-secondary-nav nav.quarto-page-breadcrumbs a {
color: var(--calc-ink, #1a1a1a);
}
/* --- Quarto's other greys -----------------------------------------------
Quarto hard-codes #6c757d for every fold label (details > summary) and for
the previous/next page links, and a mid grey for section numbers: 3.4:1 on
darkly, 4.4:1 on cosmo. The muted token reads about 6.4:1 in both, and
high contrast makes it the foreground. An exercise hint keeps its accent
(.exo-hint > summary outweighs these), and the active entry of the
contents still inherits its colour. */
body details > summary,
body .nav-page a,
body .header-section-number {
color: var(--calc-muted, #57606a);
}
/* Quoted text: Quarto's .blockquote grey is 4.4:1 on cosmo, and it names the
paragraphs, so they are named here too. */
body :is(blockquote, .blockquote, blockquote p, .blockquote p) {
color: var(--calc-muted, #57606a);
}
/* Inline code: Bootstrap's pill is #f8f9fa in both themes, so darkly's light
code text sat on near-white (1.05:1). The pill is now a faint tint of the
page, which keeps each theme's code colour readable, and inherited muted
text (code in a caption) too. */
body :not(pre) > code:not(.sourceCode) {
background-color: color-mix(in srgb, var(--calc-faint, #e7e9ec) 60%,
var(--calc-surface, #ffffff));
}
/* A code block inside a tinted box (exercise, hint, solution, "to go
further", quiz): Quarto's block ground is 65% opaque, so the tint shows
through and a11y-light's keyword red drops to 4.4:1. Here the ground is
opaque, and the same light grey as on the page. */
body :is(.exo, .exo-hint, .exo-sol, .further, .quiz) div.sourceCode {
background-color: color-mix(in srgb, var(--calc-faint, #e7e9ec) 45%,
var(--calc-surface, #ffffff));
}
/* A static (not executed) block also gives its <code> the translucent
ground, so the two layers stack and darken it. The block carries the
ground; the code inside is transparent, as in an executed cell. */
body div.sourceCode > pre > code.sourceCode { background-color: transparent; }
/* --- Jupyter output: ANSI colours ---------------------------------------
A traceback comes out in the notebook's terminal palette, made for a dark
terminal: yellow is 1.9:1 and cyan 2.0:1 on the page. Each colour name
takes the matching token with a fifth of ink, which keeps the hue and passes
in all four modes. IPython's 256-colour spans carry inline styles and no
name, so they take the text colour. */
body :is(.ansi-black-fg, .ansi-bright-black-fg) { color: var(--calc-ink); }
body :is(.ansi-white-fg, .ansi-bright-white-fg) { color: var(--calc-muted); }
body :is(.ansi-red-fg, .ansi-bright-red-fg) {
color: color-mix(in srgb, var(--calc-danger) 85%, var(--calc-ink));
}
body :is(.ansi-green-fg, .ansi-bright-green-fg) {
color: color-mix(in srgb, var(--calc-accent-c) 75%, var(--calc-ink));
}
body :is(.ansi-yellow-fg, .ansi-bright-yellow-fg) {
color: color-mix(in srgb, var(--calc-accent-b) 75%, var(--calc-ink));
}
body :is(.ansi-blue-fg, .ansi-bright-blue-fg) {
color: color-mix(in srgb, var(--calc-accent-a) 80%, var(--calc-ink));
}
body :is(.ansi-magenta-fg, .ansi-bright-magenta-fg) {
color: color-mix(in srgb, var(--calc-furthercolor) 85%, var(--calc-ink));
}
body :is(.ansi-cyan-fg, .ansi-bright-cyan-fg) {
color: color-mix(in srgb,
color-mix(in srgb, var(--calc-accent-a) 50%, var(--calc-accent-c)) 75%,
var(--calc-ink));
}
body .ansi-escaped-output span[style*="color"] { color: inherit !important; }
/* --- higher contrast --------------------------------------------------- /* --- higher contrast ---------------------------------------------------
The high-contrast pair lives in high-contrast.css, which is loaded with The high-contrast pair lives in high-contrast.css, which is loaded with
this file and keys off `hc` on <html>. */ this file and keys off `hc` on <html>. */
@@ -107,6 +204,20 @@ body.quarto-dark :is(.aa-Autocomplete, .aa-DetachedFormContainer)
color: var(--calc-muted, #9aa4b2); color: var(--calc-muted, #9aa4b2);
} }
/* --- search: the selected result ----------------------------------------
Quarto marks it with cosmo's primary (#2780e3) under white text, 3.97:1,
and its matched words with a lighter blue, worse still. The same hue at a
lower lightness passes. Night mode (darkly's #375a7f, 7.2:1) and high
contrast (high-contrast.css) keep their own. */
html:not(.hc) body:not(.quarto-dark) :is(.aa-DetachedOverlay, #quarto-search-results)
li.aa-Item[aria-selected="true"] :is(.search-item, .search-item *:not(mark, .mark)) {
background-color: oklch(from var(--bs-primary, #2780e3) 0.42 c h);
}
html:not(.hc) body:not(.quarto-dark) :is(.aa-DetachedOverlay, #quarto-search-results)
li.aa-Item[aria-selected="true"] .search-item :is(mark.search-match, .search-match.mark) {
background-color: oklch(from var(--bs-primary, #2780e3) 0.52 c h);
}
/* --- the high-contrast switch ------------------------------------------- /* --- the high-contrast switch -------------------------------------------
Built by calc-notes.js next to Quarto's light/dark toggle, and styled to Built by calc-notes.js next to Quarto's light/dark toggle, and styled to
sit with it rather than stand out. */ sit with it rather than stand out. */
@@ -1,34 +1,34 @@
/* quarto syntax highlight colors */ /* quarto syntax highlight colors */
:root { :root {
--quarto-hl-ot-color: #003B4F; --quarto-hl-ot-color: #d91e18;
--quarto-hl-at-color: #657422; --quarto-hl-at-color: #a55a00;
--quarto-hl-ss-color: #20794D; --quarto-hl-ss-color: #008000;
--quarto-hl-an-color: #5E5E5E; --quarto-hl-an-color: #696969;
--quarto-hl-fu-color: #4758AB; --quarto-hl-fu-color: #06287e;
--quarto-hl-st-color: #20794D; --quarto-hl-st-color: #008000;
--quarto-hl-cf-color: #003B4F; --quarto-hl-cf-color: #d91e18;
--quarto-hl-op-color: #5E5E5E; --quarto-hl-op-color: #00769e;
--quarto-hl-er-color: #AD0000; --quarto-hl-er-color: #7928a1;
--quarto-hl-bn-color: #AD0000; --quarto-hl-bn-color: #7928a1;
--quarto-hl-al-color: #AD0000; --quarto-hl-al-color: #7928a1;
--quarto-hl-va-color: #111111; --quarto-hl-va-color: #a55a00;
--quarto-hl-bu-color: inherit; --quarto-hl-bu-color: inherit;
--quarto-hl-ex-color: inherit; --quarto-hl-ex-color: inherit;
--quarto-hl-pp-color: #AD0000; --quarto-hl-pp-color: #7928a1;
--quarto-hl-in-color: #5E5E5E; --quarto-hl-in-color: #696969;
--quarto-hl-vs-color: #20794D; --quarto-hl-vs-color: #008000;
--quarto-hl-wa-color: #5E5E5E; --quarto-hl-wa-color: #696969;
--quarto-hl-do-color: #5E5E5E; --quarto-hl-do-color: #696969;
--quarto-hl-im-color: #00769E; --quarto-hl-im-color: inherit;
--quarto-hl-ch-color: #20794D; --quarto-hl-ch-color: #008000;
--quarto-hl-dt-color: #AD0000; --quarto-hl-dt-color: #7928a1;
--quarto-hl-fl-color: #AD0000; --quarto-hl-fl-color: #a55a00;
--quarto-hl-co-color: #5E5E5E; --quarto-hl-co-color: #696969;
--quarto-hl-cv-color: #5E5E5E; --quarto-hl-cv-color: #696969;
--quarto-hl-cn-color: #8f5902; --quarto-hl-cn-color: #d91e18;
--quarto-hl-sc-color: #5E5E5E; --quarto-hl-sc-color: #00769e;
--quarto-hl-dv-color: #AD0000; --quarto-hl-dv-color: #7928a1;
--quarto-hl-kw-color: #003B4F; --quarto-hl-kw-color: #d91e18;
} }
/* other quarto variables */ /* other quarto variables */
@@ -38,44 +38,44 @@
/* syntax highlight based on Pandoc's rules */ /* syntax highlight based on Pandoc's rules */
pre > code.sourceCode > span { pre > code.sourceCode > span {
color: #003B4F; color: #545454;
} }
code.sourceCode > span { code.sourceCode > span {
color: #003B4F; color: #545454;
} }
div.sourceCode, div.sourceCode,
div.sourceCode pre.sourceCode { div.sourceCode pre.sourceCode {
color: #003B4F; color: #545454;
} }
/* Normal */ /* Normal */
code span { code span {
color: #003B4F; color: #545454;
} }
/* Alert */ /* Alert */
code span.al { code span.al {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* Annotation */ /* Annotation */
code span.an { code span.an {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* Attribute */ /* Attribute */
code span.at { code span.at {
color: #657422; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* BaseN */ /* BaseN */
code span.bn { code span.bn {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
@@ -86,56 +86,55 @@ code span.bu {
/* ControlFlow */ /* ControlFlow */
code span.cf { code span.cf {
color: #003B4F; color: #d91e18;
font-weight: bold;
font-style: inherit; font-style: inherit;
} }
/* Char */ /* Char */
code span.ch { code span.ch {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Constant */ /* Constant */
code span.cn { code span.cn {
color: #8f5902; color: #d91e18;
font-style: inherit; font-style: inherit;
} }
/* Comment */ /* Comment */
code span.co { code span.co {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* CommentVar */ /* CommentVar */
code span.cv { code span.cv {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
/* Documentation */ /* Documentation */
code span.do { code span.do {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
/* DataType */ /* DataType */
code span.dt { code span.dt {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* DecVal */ /* DecVal */
code span.dv { code span.dv {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* Error */ /* Error */
code span.er { code span.er {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
@@ -146,86 +145,84 @@ code span.ex {
/* Float */ /* Float */
code span.fl { code span.fl {
color: #AD0000; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* Function */ /* Function */
code span.fu { code span.fu {
color: #4758AB; color: #06287e;
font-style: inherit; font-style: inherit;
} }
/* Import */ /* Import */
code span.im { code span.im {
color: #00769E;
font-style: inherit; font-style: inherit;
} }
/* Information */ /* Information */
code span.in { code span.in {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* Keyword */ /* Keyword */
code span.kw { code span.kw {
color: #003B4F; color: #d91e18;
font-weight: bold;
font-style: inherit; font-style: inherit;
} }
/* Operator */ /* Operator */
code span.op { code span.op {
color: #5E5E5E; color: #00769e;
font-style: inherit; font-style: inherit;
} }
/* Other */ /* Other */
code span.ot { code span.ot {
color: #003B4F; color: #d91e18;
font-style: inherit; font-style: inherit;
} }
/* Preprocessor */ /* Preprocessor */
code span.pp { code span.pp {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* SpecialChar */ /* SpecialChar */
code span.sc { code span.sc {
color: #5E5E5E; color: #00769e;
font-style: inherit; font-style: inherit;
} }
/* SpecialString */ /* SpecialString */
code span.ss { code span.ss {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* String */ /* String */
code span.st { code span.st {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Variable */ /* Variable */
code span.va { code span.va {
color: #111111; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* VerbatimString */ /* VerbatimString */
code span.vs { code span.vs {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Warning */ /* Warning */
code span.wa { code span.wa {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
@@ -233,4 +230,4 @@ code span.wa {
content: "</"; content: "</";
} }
/*# sourceMappingURL=39d13593ecb7db6d02e40e1582482a0e.css.map */ /*# sourceMappingURL=0a12fef89ae5056e90fb92cad957d154.css.map */
@@ -0,0 +1,234 @@
/* quarto syntax highlight colors */
:root {
--quarto-hl-ot-color: #ffa07a;
--quarto-hl-at-color: #ffd700;
--quarto-hl-ss-color: #abe338;
--quarto-hl-an-color: #d4d0ab;
--quarto-hl-fu-color: #ffd700;
--quarto-hl-st-color: #abe338;
--quarto-hl-cf-color: #ffa07a;
--quarto-hl-op-color: #00e0e0;
--quarto-hl-er-color: #dcc6e0;
--quarto-hl-bn-color: #dcc6e0;
--quarto-hl-al-color: #dcc6e0;
--quarto-hl-va-color: #f5ab35;
--quarto-hl-bu-color: #f5ab35;
--quarto-hl-ex-color: #ffd700;
--quarto-hl-pp-color: #dcc6e0;
--quarto-hl-in-color: #d4d0ab;
--quarto-hl-vs-color: #abe338;
--quarto-hl-wa-color: #d4d0ab;
--quarto-hl-do-color: #d4d0ab;
--quarto-hl-ch-color: #abe338;
--quarto-hl-dt-color: #dcc6e0;
--quarto-hl-fl-color: #f5ab35;
--quarto-hl-co-color: #d4d0ab;
--quarto-hl-cv-color: #d4d0ab;
--quarto-hl-cn-color: #ffa07a;
--quarto-hl-sc-color: #00e0e0;
--quarto-hl-dv-color: #dcc6e0;
--quarto-hl-kw-color: #ffa07a;
}
/* other quarto variables */
:root {
--quarto-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
/* syntax highlight based on Pandoc's rules */
pre > code.sourceCode > span {
color: #f8f8f2;
}
code.sourceCode > span {
color: #f8f8f2;
}
div.sourceCode,
div.sourceCode pre.sourceCode {
color: #f8f8f2;
}
/* Normal */
code span {
color: #f8f8f2;
}
/* Alert */
code span.al {
color: #dcc6e0;
font-style: inherit;
}
/* Annotation */
code span.an {
color: #d4d0ab;
font-style: inherit;
}
/* Attribute */
code span.at {
color: #ffd700;
font-style: inherit;
}
/* BaseN */
code span.bn {
color: #dcc6e0;
font-style: inherit;
}
/* BuiltIn */
code span.bu {
color: #f5ab35;
font-style: inherit;
}
/* ControlFlow */
code span.cf {
color: #ffa07a;
font-style: inherit;
}
/* Char */
code span.ch {
color: #abe338;
font-style: inherit;
}
/* Constant */
code span.cn {
color: #ffa07a;
font-style: inherit;
}
/* Comment */
code span.co {
color: #d4d0ab;
font-style: inherit;
}
/* CommentVar */
code span.cv {
color: #d4d0ab;
font-style: italic;
}
/* Documentation */
code span.do {
color: #d4d0ab;
font-style: italic;
}
/* DataType */
code span.dt {
color: #dcc6e0;
font-style: inherit;
}
/* DecVal */
code span.dv {
color: #dcc6e0;
font-style: inherit;
}
/* Error */
code span.er {
color: #dcc6e0;
font-style: inherit;
}
/* Extension */
code span.ex {
color: #ffd700;
font-style: inherit;
}
/* Float */
code span.fl {
color: #f5ab35;
font-style: inherit;
}
/* Function */
code span.fu {
color: #ffd700;
font-style: inherit;
}
/* Import */
code span.im {
font-style: inherit;
}
/* Information */
code span.in {
color: #d4d0ab;
font-style: inherit;
}
/* Keyword */
code span.kw {
color: #ffa07a;
font-style: inherit;
}
/* Operator */
code span.op {
color: #00e0e0;
font-style: inherit;
}
/* Other */
code span.ot {
color: #ffa07a;
font-style: inherit;
}
/* Preprocessor */
code span.pp {
color: #dcc6e0;
font-style: inherit;
}
/* SpecialChar */
code span.sc {
color: #00e0e0;
font-style: inherit;
}
/* SpecialString */
code span.ss {
color: #abe338;
font-style: inherit;
}
/* String */
code span.st {
color: #abe338;
font-style: inherit;
}
/* Variable */
code span.va {
color: #f5ab35;
font-style: inherit;
}
/* VerbatimString */
code span.vs {
color: #abe338;
font-style: inherit;
}
/* Warning */
code span.wa {
color: #d4d0ab;
font-style: italic;
}
.prevent-inlining {
content: "</";
}
/*# sourceMappingURL=02314e985f2be8e35f214ed82eec63a7.css.map */
+36 -58
View File
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]></style> ]]></style>

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.6 KiB

+47 -61
View File
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 700" width="620" height="700" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 750" width="620" height="750"
role="img" aria-labelledby="fp-title"> role="img" aria-labelledby="fp-title">
<title id="fp-title">The same chain as five separate processes on one computer: SensorService publishes a .msg file into consoleIn/outbox, a Mediator process watches that directory and publishes a copy into rot13/inbox, ProcessorService publishes its result into rot13/outbox, a second Mediator process moves it into consoleOut/inbox, and ActuatorService prints it. The four directories form the message board on one local filesystem.</title> <title id="fp-title">The same chain as five separate processes on one computer: SensorService publishes a .msg file into consoleIn/outbox, a Mediator process watches that directory and publishes a copy into rot13/inbox, ProcessorService publishes its result into rot13/outbox, a second Mediator process moves it into consoleOut/inbox, and ActuatorService prints it. The four directories form the message board on one local filesystem.</title>
<style><![CDATA[ <style><![CDATA[
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]></style> ]]></style>
@@ -203,9 +181,17 @@ svg:not(:has(.node)) .node { opacity: 1; }
<!-- the four directories belong to one message board on one filesystem --> <!-- the four directories belong to one message board on one filesystem -->
<path class="edge-dash" d="M436,98 H452 V580 H436"/> <path class="edge-dash" d="M436,98 H452 V580 H436"/>
<text class="t-mono" x="460" y="330">messageBoard/</text> <text class="t-mono" x="460" y="330">messageBoard/</text>
<text class="t-mut" data-label="board" x="460" y="348">directory = mailbox, file = message</text> <!-- two lines: one line of this label ran past the 620-wide viewBox in
German and French, where an svg root clips rather than overflows =
a truncated label at phone width. -->
<text class="t-mut" data-label="board" x="460" y="348">directory = mailbox</text>
<text class="t-mut" data-label="board2" x="460" y="363">file = message</text>
<!-- the five processes are started by hand, one terminal each --> <!-- the five processes are started by hand, one terminal each -->
<path class="edge-dash" d="M104,24 H88 V654 H104"/> <path class="edge-dash" d="M104,24 H88 V654 H104"/>
<text class="t-warn" data-label="topology" x="14" y="686">Five processes started by hand. The topology now lives in the two Mediator command lines — in whoever typed them.</text> <!-- three lines: one ran well past the viewBox in every language, and an
svg root clips rather than overflows. -->
<text class="t-warn" data-label="topology" x="14" y="700">Five processes started by hand.</text>
<text class="t-warn" data-label="topology2" x="14" y="716">The topology now lives in the two Mediator command lines —</text>
<text class="t-warn" data-label="topology3" x="14" y="732">in whoever typed them.</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+42 -61
View File
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 560 700" width="560" height="700" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 560 730" width="560" height="730"
role="img" aria-labelledby="mj-title"> role="img" aria-labelledby="mj-title">
<title id="mj-title">The mediated version inside one JVM: ConsoleIn puts a message into consoleIn.outbox, a mediator takes it and puts it into rot13.inbox, ROT13 takes it and puts its result into rot13.outbox, a second mediator moves that into consoleOut.inbox, and ConsoleOut takes it and prints it.</title> <title id="mj-title">The mediated version inside one JVM: ConsoleIn puts a message into consoleIn.outbox, a mediator takes it and puts it into rot13.inbox, ROT13 takes it and puts its result into rot13.outbox, a second mediator moves that into consoleOut.inbox, and ConsoleOut takes it and prints it.</title>
<style><![CDATA[ <style><![CDATA[
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]></style> ]]></style>
@@ -201,6 +179,9 @@ svg:not(:has(.node)) .node { opacity: 1; }
<text class="t-lead mid" data-label="consoleout" x="270" y="648">ConsoleOut — “I print”</text> <text class="t-lead mid" data-label="consoleout" x="270" y="648">ConsoleOut — “I print”</text>
</g> </g>
<!-- side note: who holds the topology --> <!-- side note: who holds the topology. Two lines, and below the frame:
<text class="t-warn" data-label="topology" x="22" y="672">No capability names another one. The topology lives only in the two mediators, started in main().</text> one line ran past the viewBox in German and French, and an svg root
clips instead of overflowing, which truncated the label. -->
<text class="t-warn" data-label="topology" x="14" y="702">No capability names another one.</text>
<text class="t-warn" data-label="topology2" x="14" y="718">The topology lives only in the two mediators, started in main().</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 10 KiB

+215 -20
View File
@@ -44,10 +44,14 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -219,7 +223,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -246,7 +250,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -293,6 +459,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Basculer le mode sombre"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -331,6 +498,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Partie III — Le rendre réellement distribué</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Partie IV — Rembobinage</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -366,6 +545,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-step-0" class="quarto-section-identifier"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Étape 0 — De quoi il s’agit</span></span></h1> <h1 class="title"><span id="sec-step-0" class="quarto-section-identifier"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Étape 0 — De quoi il s’agit</span></span></h1>
@@ -442,17 +622,24 @@ ul.task-list li input[type="checkbox"] {
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -460,21 +647,16 @@ ul.task-list li input[type="checkbox"] {
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -645,6 +827,19 @@ ul.task-list li input[type="checkbox"] {
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+215 -20
View File
@@ -79,10 +79,14 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -254,7 +258,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -281,7 +285,169 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -328,6 +494,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</ul> </ul>
</div> </div>
<a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Basculer le mode sombre"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -366,6 +533,18 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Partie III — Le rendre réellement distribué</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Partie IV — Rembobinage</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -409,6 +588,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-part-i" class="quarto-section-identifier"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Partie I — Commencer par ce que l’on connaît déjà</span></span></h1> <h1 class="title"><span id="sec-part-i" class="quarto-section-identifier"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Partie I — Commencer par ce que l’on connaît déjà</span></span></h1>
@@ -619,17 +799,24 @@ Figure&nbsp;2.2: La version médiatisée dans une seule JVM. Dans la version web
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -637,21 +824,16 @@ Figure&nbsp;2.2: La version médiatisée dans une seule JVM. Dans la version web
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -822,6 +1004,19 @@ Figure&nbsp;2.2: La version médiatisée dans une seule JVM. Dans la version web
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+218 -23
View File
@@ -71,7 +71,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-search/fuse.min.js"></script> <script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script> <script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./"> <meta name="quarto:offset" content="./">
<link href="./glossary.html" rel="next"> <link href="./03-part-iii-distributed.html" rel="next">
<link href="./01-part-i-calls.html" rel="prev"> <link href="./01-part-i-calls.html" rel="prev">
<script src="site_libs/quarto-html/quarto.js" type="module"></script> <script src="site_libs/quarto-html/quarto.js" type="module"></script>
<script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script> <script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script>
@@ -79,10 +79,14 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -254,7 +258,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -281,7 +285,169 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -328,6 +494,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
</ul> </ul>
</div> </div>
<a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Basculer le mode sombre"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -366,6 +533,18 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link active"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link active">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Partie III — Le rendre réellement distribué</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Partie IV — Rembobinage</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -407,6 +586,7 @@ pre > code.sourceCode > span > a:first-child::before { text-decoration: underlin
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-part-ii" class="quarto-section-identifier"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></h1> <h1 class="title"><span id="sec-part-ii" class="quarto-section-identifier"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></h1>
@@ -597,17 +777,24 @@ Figure&nbsp;3.1: Les cinq processus et les quatre répertoires de boîtes. Dans
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -615,21 +802,16 @@ Figure&nbsp;3.1: Les cinq processus et les quatre répertoires de boîtes. Dans
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -800,6 +982,19 @@ Figure&nbsp;3.1: Les cinq processus et les quatre répertoires de boîtes. Dans
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
@@ -1210,8 +1405,8 @@ Figure&nbsp;3.1: Les cinq processus et les quatre répertoires de boîtes. Dans
</a> </a>
</div> </div>
<div class="nav-page nav-page-next"> <div class="nav-page nav-page-next">
<a href="./glossary.html" class="pagination-link" aria-label="[Glossary]{.en}[Glossaire]{.fr}[Glossar]{.de}"> <a href="./03-part-iii-distributed.html" class="pagination-link" aria-label="[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}">
<span class="nav-page-text">Glossaire</span> <i class="bi bi-arrow-right-short"></i> <span class="nav-page-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Partie III — Le rendre réellement distribué</span></span> <i class="bi bi-arrow-right-short"></i>
</a> </a>
</div> </div>
</nav> </nav>
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.
+36 -58
View File
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]></style> ]]></style>

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.7 KiB

+47 -61
View File
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 700" width="620" height="700" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 750" width="620" height="750"
role="img" aria-labelledby="fp-title"> role="img" aria-labelledby="fp-title">
<title id="fp-title">La même chaîne sous forme de cinq processus distincts sur un seul ordinateur : SensorService publie un fichier .msg dans consoleIn/outbox, un processus Mediator surveille ce répertoire et publie une copie dans rot13/inbox, ProcessorService publie son résultat dans rot13/outbox, un second processus Mediator le déplace vers consoleOut/inbox, et ActuatorService l'affiche. Les quatre répertoires forment le tableau de messages sur un seul système de fichiers local.</title> <title id="fp-title">La même chaîne sous forme de cinq processus distincts sur un seul ordinateur : SensorService publie un fichier .msg dans consoleIn/outbox, un processus Mediator surveille ce répertoire et publie une copie dans rot13/inbox, ProcessorService publie son résultat dans rot13/outbox, un second processus Mediator le déplace vers consoleOut/inbox, et ActuatorService l'affiche. Les quatre répertoires forment le tableau de messages sur un seul système de fichiers local.</title>
<style><![CDATA[ <style><![CDATA[
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]></style> ]]></style>
@@ -203,9 +181,17 @@ svg:not(:has(.node)) .node { opacity: 1; }
<!-- the four directories belong to one message board on one filesystem --> <!-- the four directories belong to one message board on one filesystem -->
<path class="edge-dash" d="M436,98 H452 V580 H436"/> <path class="edge-dash" d="M436,98 H452 V580 H436"/>
<text class="t-mono" x="460" y="330">messageBoard/</text> <text class="t-mono" x="460" y="330">messageBoard/</text>
<text class="t-mut" data-label="board" x="460" y="348">répertoire = boîte, fichier = message</text> <!-- two lines: one line of this label ran past the 620-wide viewBox in
German and French, where an svg root clips rather than overflows =
a truncated label at phone width. -->
<text class="t-mut" data-label="board" x="460" y="348">répertoire = boîte</text>
<text class="t-mut" data-label="board2" x="460" y="363">fichier = message</text>
<!-- the five processes are started by hand, one terminal each --> <!-- the five processes are started by hand, one terminal each -->
<path class="edge-dash" d="M104,24 H88 V654 H104"/> <path class="edge-dash" d="M104,24 H88 V654 H104"/>
<text class="t-warn" data-label="topology" x="14" y="686">Cinq processus lancés à la main. La topologie vit désormais dans les deux lignes de commande Mediator — chez celui qui les a tapées.</text> <!-- three lines: one ran well past the viewBox in every language, and an
svg root clips rather than overflows. -->
<text class="t-warn" data-label="topology" x="14" y="700">Cinq processus lancés à la main.</text>
<text class="t-warn" data-label="topology2" x="14" y="716">La topologie vit désormais dans les deux lignes de commande</text>
<text class="t-warn" data-label="topology3" x="14" y="732">Mediator — chez celui qui les a tapées.</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 11 KiB

+42 -61
View File
@@ -1,4 +1,4 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 560 700" width="560" height="700" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 560 730" width="560" height="730"
role="img" aria-labelledby="mj-title"> role="img" aria-labelledby="mj-title">
<title id="mj-title">La version médiatisée dans une seule JVM : ConsoleIn dépose un message dans consoleIn.outbox, un médiateur le retire et le dépose dans rot13.inbox, ROT13 le retire et dépose son résultat dans rot13.outbox, un second médiateur le déplace vers consoleOut.inbox, et ConsoleOut le retire et l'affiche.</title> <title id="mj-title">La version médiatisée dans une seule JVM : ConsoleIn dépose un message dans consoleIn.outbox, un médiateur le retire et le dépose dans rot13.inbox, ROT13 le retire et dépose son résultat dans rot13.outbox, un second médiateur le déplace vers consoleOut.inbox, et ConsoleOut le retire et l'affiche.</title>
<style><![CDATA[ <style><![CDATA[
@@ -9,12 +9,19 @@
* Classes, not per-element fills, do the work: one edit here restyles the * Classes, not per-element fills, do the work: one edit here restyles the
* whole book. * whole book.
* *
* The palette is theme.scss's: teal #20666f for structure, amber #8a5a08 for * Colours are the extension's tokens (_extensions/notes/theme.css) with a
* the warning accent, ink #1b2430 for text, IBM Plex to match the page. * literal fallback, which covers all three ways a figure is seen:
* *
* Dark theme: the @media block follows the reader's system setting. librsvg * - inlined into the page by figures/flow-player.html: the tokens resolve
* ignores media queries when it makes the pdf, so print always gets the light * against the page, so the figure follows light, night and high contrast;
* theme -- which is what a printed page wants. * - as a plain <img> (JavaScript off): the fallback applies, and night mode
* comes from the extension's invert filter on main img[src$=".svg"];
* - in the pdf: librsvg ignores var() and uses the fallback, so print gets
* the light palette -- which is what a printed page wants.
*
* The fallbacks are this book's own light values; the tokens carry the night
* and high-contrast ones. Nothing here keys off prefers-color-scheme: the
* page's toggle decides, never the reader's system setting.
*/ */
svg { svg {
@@ -25,32 +32,32 @@ svg {
/* ---- surfaces ------------------------------------------------------- */ /* ---- surfaces ------------------------------------------------------- */
.box { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-weak { fill: #eef3f7; stroke: #20666f; stroke-width: 1.4; } .box-weak { fill: var(--calc-faint, #eef3f7); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.box-accent { fill: #e5eff1; stroke: #20666f; stroke-width: 1.8; } .box-accent { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.box-warn { fill: #f8f1e0; stroke: #8a5a08; stroke-width: 1.4; } .box-warn { fill: var(--calc-faint, #f8f1e0); stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.4; }
.box-plain { fill: #fbfcfd; stroke: #dae0e8; stroke-width: 1.2; } .box-plain { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-grid, #dae0e8); stroke-width: 1.2; }
.diamond { fill: #e5eff1; stroke: #20666f; stroke-width: 1.4; } .diamond { fill: var(--calc-faint, #e5eff1); stroke: var(--calc-notecolor, #20666f); stroke-width: 1.4; }
.ellipse { fill: #fbfcfd; stroke: #5a6879; stroke-width: 1.2; } .ellipse { fill: var(--calc-surface, #fbfcfd); stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; }
/* ---- lines ---------------------------------------------------------- */ /* ---- lines ---------------------------------------------------------- */
.edge { fill: none; stroke: #5a6879; stroke-width: 1.3; } .edge { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.3; }
.edge-strong{ fill: none; stroke: #20666f; stroke-width: 1.8; } .edge-strong{ fill: none; stroke: var(--calc-notecolor, #20666f); stroke-width: 1.8; }
.edge-warn { fill: none; stroke: #8a5a08; stroke-width: 1.6; } .edge-warn { fill: none; stroke: var(--calc-accent-b, #D1541F); stroke-width: 1.6; }
.edge-dash { fill: none; stroke: #5a6879; stroke-width: 1.2; stroke-dasharray: 5 3; } .edge-dash { fill: none; stroke: var(--calc-muted, #5a6879); stroke-width: 1.2; stroke-dasharray: 5 3; }
.rule { stroke: #dae0e8; stroke-width: 1; } .rule { stroke: var(--calc-grid, #dae0e8); stroke-width: 1; }
/* ---- text ----------------------------------------------------------- */ /* ---- text ----------------------------------------------------------- */
.t { fill: #1b2430; font-size: 13px; } .t { fill: var(--calc-ink, #1b2430); font-size: 13px; }
.t-sm { fill: #1b2430; font-size: 11px; } .t-sm { fill: var(--calc-ink, #1b2430); font-size: 11px; }
.t-lead { fill: #1b2430; font-size: 14px; font-weight: 600; } .t-lead { fill: var(--calc-ink, #1b2430); font-size: 14px; font-weight: 600; }
.t-mut { fill: #5a6879; font-size: 11px; } .t-mut { fill: var(--calc-muted, #5a6879); font-size: 11px; }
.t-key { fill: #1b2430; font-size: 12px; text-decoration: underline; } .t-key { fill: var(--calc-ink, #1b2430); font-size: 12px; text-decoration: underline; }
.t-accent { fill: #20666f; font-size: 12px; font-weight: 600; } .t-accent { fill: var(--calc-notecolor, #20666f); font-size: 12px; font-weight: 600; }
.t-warn { fill: #8a5a08; font-size: 12px; font-weight: 600; } .t-warn { fill: var(--calc-accent-b, #D1541F); font-size: 12px; font-weight: 600; }
.t-mono { fill: #1b2430; font-size: 11.5px; .t-mono { fill: var(--calc-ink, #1b2430); font-size: 11.5px;
font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; } font-family: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace; }
.mid { text-anchor: middle; } .mid { text-anchor: middle; }
@@ -67,7 +74,7 @@ svg {
.node:hover .box, .node:hover .box,
.node:hover .box-accent, .node:hover .box-accent,
.node:hover .diamond { stroke-width: 2.6; } .node:hover .diamond { stroke-width: 2.6; }
.node:hover .t, .node:hover .t-lead { fill: #20666f; } .node:hover .t, .node:hover .t-lead { fill: var(--calc-notecolor, #20666f); }
svg:hover .node:not(:hover) { opacity: .55; } svg:hover .node:not(:hover) { opacity: .55; }
@@ -78,43 +85,14 @@ svg:not(:has(.node)) .node { opacity: 1; }
.node { transition: none; } .node { transition: none; }
} }
/* ---- dark theme ------------------------------------------------------ */
@media (prefers-color-scheme: dark) {
.box { fill: #1d2b33; stroke: #4c9aa5; }
.box-weak { fill: #1d2b33; stroke: #4c9aa5; }
.box-accent { fill: #24363d; stroke: #4c9aa5; }
.box-warn { fill: #332a18; stroke: #c99a3a; }
.box-plain { fill: #161b22; stroke: #30363d; }
.diamond { fill: #24363d; stroke: #4c9aa5; }
.ellipse { fill: #161b22; stroke: #8b98a8; }
.edge { stroke: #8b98a8; }
.edge-strong{ stroke: #4c9aa5; }
.edge-warn { stroke: #c99a3a; }
.edge-dash { stroke: #8b98a8; }
.rule { stroke: #30363d; }
.t, .t-sm, .t-lead, .t-key, .t-mono { fill: #e6edf3; }
.t-mut { fill: #8b98a8; }
.t-accent { fill: #4c9aa5; }
.t-warn { fill: #c99a3a; }
.node:hover .t, .node:hover .t-lead { fill: #7fc4cf; }
.arrow { fill: #8b98a8; }
.arrow-strong { fill: #4c9aa5; }
.arrow-warn { fill: #c99a3a; }
}
/* ---- arrowheads ====================================================== /* ---- arrowheads ======================================================
* marker contents cannot inherit the referencing element's fill, so each * marker contents cannot inherit the referencing element's fill, so each
* arrowhead is its own class and is themed alongside the line it ends. * arrowhead is its own class and is themed alongside the line it ends.
*/ */
.arrow { fill: #5a6879; } .arrow { fill: var(--calc-muted, #5a6879); }
.arrow-strong { fill: #20666f; } .arrow-strong { fill: var(--calc-notecolor, #20666f); }
.arrow-warn { fill: #8a5a08; } .arrow-warn { fill: var(--calc-accent-b, #D1541F); }
]]></style> ]]></style>
@@ -201,6 +179,9 @@ svg:not(:has(.node)) .node { opacity: 1; }
<text class="t-lead mid" data-label="consoleout" x="270" y="648">ConsoleOut — « j'affiche »</text> <text class="t-lead mid" data-label="consoleout" x="270" y="648">ConsoleOut — « j'affiche »</text>
</g> </g>
<!-- side note: who holds the topology --> <!-- side note: who holds the topology. Two lines, and below the frame:
<text class="t-warn" data-label="topology" x="22" y="672">Aucune capacité ne nomme une autre. La topologie ne vit que dans les deux médiateurs, démarrés dans main().</text> one line ran past the viewBox in German and French, and an svg root
clips instead of overflowing, which truncated the label. -->
<text class="t-warn" data-label="topology" x="14" y="702">Aucune capacité ne nomme une autre.</text>
<text class="t-warn" data-label="topology2" x="14" y="718">La topologie ne vit que dans les deux médiateurs, démarrés dans main().</text>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 10 KiB

+218 -23
View File
@@ -36,17 +36,21 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-search/fuse.min.js"></script> <script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script> <script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./"> <meta name="quarto:offset" content="./">
<link href="./02-part-ii-processes.html" rel="prev"> <link href="./04-part-iv-rewind.html" rel="prev">
<script src="site_libs/quarto-html/quarto.js" type="module"></script> <script src="site_libs/quarto-html/quarto.js" type="module"></script>
<script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script> <script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script>
<script src="site_libs/quarto-html/popper.min.js"></script> <script src="site_libs/quarto-html/popper.min.js"></script>
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -218,7 +222,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -245,7 +249,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -292,6 +458,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Basculer le mode sombre"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -330,6 +497,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Partie III — Le rendre réellement distribué</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Partie IV — Rembobinage</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -359,6 +538,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"><nav class="quarto-page-breadcrumbs quarto-title-breadcrumbs d-none d-lg-block" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./glossary.html">Annexes</a></li><li class="breadcrumb-item"><a href="./glossary.html">Glossaire</a></li></ol></nav> <header id="title-block-header" class="quarto-title-block default"><nav class="quarto-page-breadcrumbs quarto-title-breadcrumbs d-none d-lg-block" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./glossary.html">Annexes</a></li><li class="breadcrumb-item"><a href="./glossary.html">Glossaire</a></li></ol></nav>
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-glossary" class="quarto-section-identifier">Glossaire</span></h1> <h1 class="title"><span id="sec-glossary" class="quarto-section-identifier">Glossaire</span></h1>
@@ -408,17 +588,24 @@ Every entry here is defined in the chapter where the term first does some
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -426,21 +613,16 @@ Every entry here is defined in the chapter where the term first does some
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -611,6 +793,19 @@ Every entry here is defined in the chapter where the term first does some
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
@@ -1016,8 +1211,8 @@ Every entry here is defined in the chapter where the term first does some
</script> </script>
<nav class="page-navigation"> <nav class="page-navigation">
<div class="nav-page nav-page-previous"> <div class="nav-page nav-page-previous">
<a href="./02-part-ii-processes.html" class="pagination-link" aria-label="[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}"> <a href="./04-part-iv-rewind.html" class="pagination-link" aria-label="[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}">
<i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span> <i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Partie IV — Rembobinage</span></span>
</a> </a>
</div> </div>
<div class="nav-page nav-page-next"> <div class="nav-page nav-page-next">
+216 -21
View File
@@ -44,10 +44,14 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -219,7 +223,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -246,7 +250,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -293,6 +459,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Contrôle-de-processus.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Basculer le mode sombre"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Basculer en mode lecteur">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -331,6 +498,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Partie II — Franchir la frontière de processus</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Partie III — Le rendre réellement distribué</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Partie IV — Rembobinage</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -369,6 +548,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title">Contrôle de processus</h1> <h1 class="title">Contrôle de processus</h1>
@@ -388,7 +568,7 @@ ul.task-list li input[type="checkbox"] {
<div> <div>
<div class="quarto-title-meta-heading">Date de publication</div> <div class="quarto-title-meta-heading">Date de publication</div>
<div class="quarto-title-meta-contents"> <div class="quarto-title-meta-contents">
<p class="date">25 septembre 2026</p> <p class="date">6 octobre 2026</p>
</div> </div>
</div> </div>
@@ -462,17 +642,24 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -480,21 +667,16 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -665,6 +847,19 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+120
View File
@@ -209,6 +209,126 @@
"<span class='chapter-number'>3</span>  <span class='chapter-title'>[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}</span>" "<span class='chapter-number'>3</span>  <span class='chapter-title'>[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}</span>"
] ]
}, },
{
"objectID": "03-part-iii-distributed.html",
"href": "03-part-iii-distributed.html",
"title": "4  Partie III — Le rendre réellement distribué",
"section": "",
"text": "4.1 Syncthing réplique ; il ne distribue pas\nCinq processus sur un seul ordinateur partagent encore un même système de fichiers. Les étapes 19 à 27 les répartissent sur deux machines, répliquent le tableau de messages entre elles avec Syncthing, mesurent ce que cela coûte, puis cassent délibérément un médiateur. À la fin, le prix des médiateurs est un chiffre, non une opinion.\nSyncthing maintient un répertoire répliqué entre plusieurs machines. C’est tout ce qu’on lui demande ici. Il ne sait rien d’Intent, de Status, d’Event, de ROT13 ni des médiateurs, et il n’a aucune notion de consommateur : pas d’abonnement, pas de sujet, aucune garantie de livraison, aucune idée que quelqu’un attend.\nLe déclencheur reste le nôtre. Chaque service exécute son propre WatchService sur un répertoire local ; Syncthing fait seulement apparaître les fichiers à cet endroit. C’est pourquoi aucun des trois services n’a changé d’une ligne lorsque le système est devenu distribué.\nDeux conséquences en découlent, et toutes deux apparaîtront comme des observations plutôt que comme des avertissements :",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-syncthing-not-a-broker",
"href": "03-part-iii-distributed.html#sec-syncthing-not-a-broker",
"title": "4  Partie III — Le rendre réellement distribué",
"section": "",
"text": "la réplication est asynchrone — le renommage .tmp → .msg est atomique sur chaque machine séparément, et rien ne promet d’ordre ni d’atomicité entre machines ;\nle système de fichiers est un transport sérieux, avec ses forces : les fichiers peuvent être gros, les répliques survivent à un redémarrage, et chaque message se lit avec cat.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-one-layer",
"href": "03-part-iii-distributed.html#sec-one-layer",
"title": "4  Partie III — Le rendre réellement distribué",
"section": "4.2 Tester une couche à la fois",
"text": "4.2 Tester une couche à la fois\nAvant que le moindre programme Java ne touche au dossier répliqué, le test le plus ennuyeux possible a été fait d’abord : écrire hello.txt sur une machine, vérifier qu’il apparaît sur l’autre, le supprimer, vérifier que la suppression revient. Les deux sens fonctionnent.\nCet ordre compte. Quand l’exécution distribuée a échoué plus tard, la question « est-ce la réplication ou mon programme ? » était déjà tranchée pour le transport, et la recherche pouvait commencer une couche plus haut.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-keystroke-cost",
"href": "03-part-iii-distributed.html#sec-keystroke-cost",
"title": "4  Partie III — Le rendre réellement distribué",
"section": "4.3 Ce que coûte une frappe",
"text": "4.3 Ce que coûte une frappe\nAvec le capteur sur une machine et les médiateurs, ROT13 et l’actionneur sur l’autre, une ligne tapée a produit quatre fichiers .msg, un par boîte :\n\n\n\nboîte\ncontenu\nhorodatage interne\n\n\n\n\nconsoleIn/outbox\nHello World\n23:02:05.315\n\n\nrot13/inbox\nHello World\n23:02:05.315\n\n\nrot13/outbox\nUryyb Jbeyq\n23:02:13.471\n\n\nconsoleOut/inbox\nUryyb Jbeyq\n23:02:13.471\n\n\n\nLes horodatages répétés prouvent que deux de ces quatre publications sont de pures copies : les médiateurs republient le message inchangé, horodatage compris. Ils calculent identity(x) = x, sous forme de processus distribués distincts.\nLe temps, mesuré sur les dates de modification des quatre fichiers d’une seule machine pour qu’aucun décalage d’horloge n’intervienne : le fichier du capteur apparaît à 01:02:05.432, les trois autres à 01:02:13.460, .504 et .532 — 8,10 s plus tard, et à 72 ms l’un de l’autre. Le travail propre de la chaîne a donc pris des millisecondes ; les huit secondes sont la propagation de Syncthing. La même chaîne, exécutée entièrement sur une machine, termine en 24 ms environ.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-break-a-mediator",
"href": "03-part-iii-distributed.html#sec-break-a-mediator",
"title": "4  Partie III — Le rendre réellement distribué",
"section": "4.4 Casser un médiateur",
"text": "4.4 Casser un médiateur\nArrêtez le premier médiateur et tapez deux lignes. ConsoleIn est vivant, ROT13 est vivant, ConsoleOut est vivant, Syncthing est vivant — et le flux métier est mort. Les deux lignes s’accumulent dans consoleIn/outbox ; rien ne va plus loin. Les médiateurs font partie de la chaîne de disponibilité.\nRedémarrez ensuite le médiateur. Rien n’est livré. FileMessageBoard.watch enregistre un répertoire pour ENTRY_CREATE et se bloque dans watcher.take() ; il ne liste jamais ce qui est déjà là. Les deux fichiers sont toujours sur le disque, dans les deux répliques : aucune donnée n’a été perdue. Ce qui n’a pas de mémoire, c’est l’abonnement.\nLa distinction mérite d’être retenue : les messages ont survécu, la livraison non. Un courtier répond à cela par l’état de session et les messages retenus ; dans notre propre code, ce serait une ligne — lister les fichiers .msg existants avant d’entrer dans la boucle d’observation — que le matériel se garde volontairement d’écrire pour l’instant.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-configurable-mediator",
"href": "03-part-iii-distributed.html#sec-configurable-mediator",
"title": "4  Partie III — Le rendre réellement distribué",
"section": "4.5 Le médiateur devient un service ordinaire",
"text": "4.5 Le médiateur devient un service ordinaire\nAvant de supprimer les médiateurs, une asymétrie disparaît : les services reçoivent leur travail sous forme de messages, alors que le médiateur recevait sa route en arguments de shell. On ne lui donne donc qu’un nom, ConfigurableMediator mediator1, dont il dérive une boîte de contrôle permanente, mediators/mediator1/inbox, et la route arrive comme message :\nROUTE\nconsoleIn/outbox\nrot13/inbox\nfrom et to voyagent dans un seul message, volontairement : en deux, le médiateur combinerait brièvement une nouvelle source avec l’ancienne destination et transmettrait au mauvais endroit. Une route est un seul fait, et un fait tient dans un message.\nUn orchestrateur éphémère publie les deux routes puis s’arrête : la topologie est visible en un seul endroit et n’est pas dans le chemin des données. Le lancer après les services, en ayant tapé une ligne avant, montre les deux moitiés d’un coup : la ligne précoce reste bloquée, la suivante circule.\nCe qui s’améliore : le médiateur a une identité, reçoit sa configuration par sa propre boîte, garde une capacité générique et tient sa topologie d’un orchestrateur. Ce qui ne s’améliore pas : le chemin des données. Il reste event → médiateur → copie de l'event, toujours un processus dans la chaîne de disponibilité, qui copie chaque message sans rien y ajouter. Et cette version accepte exactement une route : waitForRoute(...) retourne, puis le médiateur entre dans watch(route.from(), …) et ne lit plus jamais sa boîte de contrôle. Le recâblage à chaud n’est pas promis, car un watch bloquant ne peut pas servir à la fois une boîte de contrôle et une source — d’où l’aide à l’abonnement qui apparaît plus tard.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-part-iii-result",
"href": "03-part-iii-distributed.html#sec-part-iii-result",
"title": "4  Partie III — Le rendre réellement distribué",
"section": "4.6 Ce que la partie III a déplacé",
"text": "4.6 Ce que la partie III a déplacé\n\n\n\n\n\n\n\n\nétape\noù vit la topologie\ndans le chemin des données ?\n\n\n\n\nétape 18\nles lignes de commande de l’opérateur\nles médiateurs y sont\n\n\nétape 27\nun orchestrateur, publiée comme Intent\nles médiateurs y sont encore\n\n\n\nLa question sur laquelle se referme la partie est donc précise et non rhétorique : pourquoi le service intéressé par la donnée ne pourrait-il pas l’écouter lui-même ?",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html",
"href": "04-part-iv-rewind.html",
"title": "5  Partie IV — Rembobinage",
"section": "",
"text": "5.1 Le raccourci évident, et son piège\nLes étapes 28 à 34 reviennent volontairement à une seule JVM. Sans délai de réplication ni cinq terminaux, la seule chose qui peut changer est qui connaît qui — l’idée s’essaie donc en quelques secondes plutôt qu’au cours d’une séance de débogage distribué.\nSi le premier médiateur ne fait que copier des messages, supprimons-le et laissons ROT13 lire la source lui-même :\nLe médiateur a disparu. Mais posons la question récurrente : ROT13 contient désormais le nom de la boîte de ConsoleIn. La topologie a quitté le médiateur pour entrer dans le service. Comme le dit le matériel : « nous avons supprimé le médiateur… et remis la topologie dans le service. Oups. »",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-the-trap",
"href": "04-part-iv-rewind.html#sec-the-trap",
"title": "5  Partie IV — Rembobinage",
"section": "",
"text": "listen(\"consoleIn.outbox\");",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-capability-vs-topology",
"href": "04-part-iv-rewind.html#sec-capability-vs-topology",
"title": "5  Partie IV — Rembobinage",
"section": "5.2 La capacité n’est pas la topologie",
"text": "5.2 La capacité n’est pas la topologie\nROT13 peut savoir deux choses : je sais transformer du texte et je suis capable d’écouter des messages texte compatibles. Il ne doit pas savoir mon entrée vient toujours de consoleIn.outbox — c’est de la topologie de déploiement.\nLe nom n’est donc pas compilé ; il arrive à l’exécution :\nTOPIC consoleIn.outbox\nROT13 apprend son câblage par la donnée. Notez qui l’envoie : dans DynamicQueueRot13.java, c’est main() qui publie les deux messages TOPIC — un configurateur, hors du chemin des données, dans le rôle qu’occupait l’orchestrateur. Ce ne peut pas être ConsoleIn : s’il disait à ROT13 à quoi s’abonner, il devrait savoir que ROT13 existe, et la topologie aurait seulement changé de capacité d’accueil.",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-dynamic-mechanics",
"href": "04-part-iv-rewind.html#sec-dynamic-mechanics",
"title": "5  Partie IV — Rembobinage",
"section": "5.3 Ce qui change dans le code",
"text": "5.3 Ce qui change dans le code\nlisten(...) n’a rien d’exotique : un thread virtuel qui appelle take() en boucle sur l’une des mêmes files. subscribe(...) démarre un tel thread par nom abonné. La conséquence se voit dans les boîtes :\n\nROT13 retire directement de consoleIn.outbox — le nom qu’on lui a transmis ;\nrot13.inbox n’est plus une boîte de charge utile. Elle porte des messages de contrôle, et la boucle de ROT13 la lit pour décider si un message est un TOPIC à appliquer.\n\nPlus rien n’écrit dans rot13.inbox pour déplacer des données. La boîte n’a pas disparu : elle a changé de métier, de la charge utile vers l’Intent.\nUne observation à l’exécution : après Ctrl+D, la sortie s’arrête mais le programme reste en vie. Rien n’a été interrompu — runConsoleIn retourne à la fin de l’entrée, donc le producteur a disparu, tandis que les deux threads abonnés restent bloqués dans take() sur des sources qui ne publieront plus. La JVM survit parce que main finit par Thread.currentThread().join(). « Le flux s’est arrêté » doit toujours être ramené à quel participant s’est arrêté.",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-route-topic-intent",
"href": "04-part-iv-rewind.html#sec-route-topic-intent",
"title": "5  Partie IV — Rembobinage",
"section": "5.4 ROUTE et TOPIC sont de l’Intent",
"text": "5.4 ROUTE et TOPIC sont de l’Intent\nAppliquons deux tests à TOPIC consoleIn.outbox. Décrit-il quelque chose qui est arrivé ? Non. Quelque chose actuellement vrai ? Non. Il dit commence à écouter ici — un comportement souhaité, donc de l’Intent. Le ROUTE du médiateur est du même genre : transmets d’ici à là.\nUn piège à nommer, car il est tentant dans une soutenance : publier un Intent est bien sûr quelque chose qui est arrivé. La classification suit ce que dit le message, pas le fait qu’il existe.\nEt une condition, qui reviendra : la version dynamique n’est pas automatiquement supérieure. Elle n’a de sens que si le consommateur comprend vraiment le contrat de message du producteur.\nMÉDIÉ STATIQUE DIRECT DYNAMIQUE\nProducteur → Médiateur → Consommateur Intent → (Producteur ──► Consommateur)",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{ {
"objectID": "glossary.html", "objectID": "glossary.html",
"href": "glossary.html", "href": "glossary.html",
@@ -1,12 +0,0 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #2780e3;--bs-indigo: #6610f2;--bs-purple: #613d7c;--bs-pink: #e83e8c;--bs-red: #ff0039;--bs-orange: #f0ad4e;--bs-yellow: #ff7518;--bs-green: #3fb618;--bs-teal: #20c997;--bs-cyan: #9954bb;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-default: #5a6879;--bs-primary: #20666f;--bs-secondary: #5a6879;--bs-success: #3fb618;--bs-info: #9954bb;--bs-warning: #ff7518;--bs-danger: #ff0039;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-default-rgb: 90, 104, 121;--bs-primary-rgb: 32, 102, 111;--bs-secondary-rgb: 90, 104, 121;--bs-success-rgb: 63, 182, 24;--bs-info-rgb: 153, 84, 187;--bs-warning-rgb: 255, 117, 24;--bs-danger-rgb: 255, 0, 57;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-primary-text-emphasis: rgb(12.8, 40.8, 44.4);--bs-secondary-text-emphasis: rgb(36, 41.6, 48.4);--bs-success-text-emphasis: rgb(25.2, 72.8, 9.6);--bs-info-text-emphasis: rgb(61.2, 33.6, 74.8);--bs-warning-text-emphasis: rgb(102, 46.8, 9.6);--bs-danger-text-emphasis: rgb(102, 0, 22.8);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(210.4, 224.4, 226.2);--bs-secondary-bg-subtle: rgb(222, 224.8, 228.2);--bs-success-bg-subtle: rgb(216.6, 240.4, 208.8);--bs-info-bg-subtle: rgb(234.6, 220.8, 241.4);--bs-warning-bg-subtle: rgb(255, 227.4, 208.8);--bs-danger-bg-subtle: rgb(255, 204, 215.4);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(165.8, 193.8, 197.4);--bs-secondary-border-subtle: rgb(189, 194.6, 201.4);--bs-success-border-subtle: rgb(178.2, 225.8, 162.6);--bs-info-border-subtle: rgb(214.2, 186.6, 227.8);--bs-warning-border-subtle: rgb(255, 199.8, 162.6);--bs-danger-border-subtle: rgb(255, 153, 175.8);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #1b2430;--bs-body-color-rgb: 27, 36, 48;--bs-body-bg: #fbfcfd;--bs-body-bg-rgb: 251, 252, 253;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(27, 36, 48, 0.75);--bs-secondary-color-rgb: 27, 36, 48;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(27, 36, 48, 0.5);--bs-tertiary-color-rgb: 27, 36, 48;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #20666f;--bs-link-color-rgb: 32, 102, 111;--bs-link-decoration: underline;--bs-link-hover-color: rgb(25.6, 81.6, 88.8);--bs-link-hover-color-rgb: 26, 82, 89;--bs-code-color: #1b2430;--bs-highlight-bg: rgb(255, 227.4, 208.8);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dae0e8;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(32, 102, 111, 0.25);--bs-form-valid-color: #3fb618;--bs-form-valid-border-color: #3fb618;--bs-form-invalid-color: #ff0039;--bs-form-invalid-border-color: #ff0039}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(121.2, 163.2, 168.6);--bs-secondary-text-emphasis: rgb(156, 164.4, 174.6);--bs-success-text-emphasis: rgb(139.8, 211.2, 116.4);--bs-info-text-emphasis: rgb(193.8, 152.4,Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #fbfcfd;--quarto-body-color: #1b2430;--quarto-text-muted: #6c757d;--quarto-border-color: #dae0e8;--quarto-border-width: 1px}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #fbfcfd;--mermaid-edge-color: #5a6879;--mermaid-node-fg-color: #1b2430;--mermaid-fg-color: #1b2430;--mermaid-fg-color--lighter: rgb(45.36, 60.48, 80.64);--mermaid-fg-color--lightest: rgb(63.72, 84.96, 113.28);--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #fbfcfd;--mermaid-label-fg-color: #20666f;--mermaid-node-bg-color: rgba(32, 102, 111, 0.1);--mermaid-node-fg-color: #1b2430}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(94, 94, 94)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0 1 .5.5vLine truncated
@@ -0,0 +1,12 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #375a7f;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #e83e8c;--bs-red: #e74c3c;--bs-orange: #fd7e14;--bs-yellow: #f39c12;--bs-green: #00bc8c;--bs-teal: #20c997;--bs-cyan: #3498db;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #ebebeb;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #444;--bs-gray-800: #343a40;--bs-gray-900: #222;--bs-default: rgb(67.15, 67.15, 67.15);--bs-primary: #375a7f;--bs-secondary: rgb(67.15, 67.15, 67.15);--bs-success: #00bc8c;--bs-info: #3498db;--bs-warning: #f39c12;--bs-danger: #e74c3c;--bs-light: rgb(111.35, 111.35, 111.35);--bs-dark: rgb(45.05, 45.05, 45.05);--bs-default-rgb: 67, 67, 67;--bs-primary-rgb: 55, 90, 127;--bs-secondary-rgb: 67, 67, 67;--bs-success-rgb: 0, 188, 140;--bs-info-rgb: 52, 152, 219;--bs-warning-rgb: 243, 156, 18;--bs-danger-rgb: 231, 76, 60;--bs-light-rgb: 111, 111, 111;--bs-dark-rgb: 45, 45, 45;--bs-primary-text-emphasis: rgb(22, 36, 50.8);--bs-secondary-text-emphasis: rgb(26.86, 26.86, 26.86);--bs-success-text-emphasis: rgb(0, 75.2, 56);--bs-info-text-emphasis: rgb(20.8, 60.8, 87.6);--bs-warning-text-emphasis: rgb(97.2, 62.4, 7.2);--bs-danger-text-emphasis: rgb(92.4, 30.4, 24);--bs-light-text-emphasis: #444;--bs-dark-text-emphasis: #444;--bs-primary-bg-subtle: rgb(215, 222, 229.4);--bs-secondary-bg-subtle: rgb(217.43, 217.43, 217.43);--bs-success-bg-subtle: rgb(204, 241.6, 232);--bs-info-bg-subtle: rgb(214.4, 234.4, 247.8);--bs-warning-bg-subtle: rgb(252.6, 235.2, 207.6);--bs-danger-bg-subtle: rgb(250.2, 219.2, 216);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(175, 189, 203.8);--bs-secondary-border-subtle: rgb(179.86, 179.86, 179.86);--bs-success-border-subtle: rgb(153, 228.2, 209);--bs-info-border-subtle: rgb(173.8, 213.8, 240.6);--bs-warning-border-subtle: rgb(250.2, 215.4, 160.2);--bs-danger-border-subtle: rgb(245.4, 183.4, 177);--bs-light-border-subtle: #ebebeb;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #fff;--bs-body-color-rgb: 255, 255, 255;--bs-body-bg: #222;--bs-body-bg-rgb: 34, 34, 34;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(255, 255, 255, 0.75);--bs-secondary-color-rgb: 255, 255, 255;--bs-secondary-bg: #ebebeb;--bs-secondary-bg-rgb: 235, 235, 235;--bs-tertiary-color: rgba(255, 255, 255, 0.5);--bs-tertiary-color-rgb: 255, 255, 255;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #00bc8c;--bs-link-color-rgb: 0, 188, 140;--bs-link-decoration: underline;--bs-link-hover-color: rgb(0, 150.4, 112);--bs-link-hover-color-rgb: 0, 150, 112;--bs-code-color: inherit;--bs-highlight-bg: rgb(252.6, 235.2, 207.6);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(55, 90, 127, 0.25);--bs-form-valid-color: #00bc8c;--bs-form-valid-border-color: #00bc8c;--bs-form-invalid-color: #e74c3c;--bs-form-invalid-border-color: #e74c3c}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #222;--bs-body-bg-rgb: 34, 34, 34;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b2e31;--bs-tertiary-bg-rgb: 43, 46, 49;--bs-primary-text-emphasis: rgb(135, 156, 178.2);--bs-secondary-text-emphasis: rgb(142.29, 142.29, 142.29);--bs-success-text-emphasis: rgb(102, 214.8, 186);-Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #222;--quarto-body-color: #fff;--quarto-text-muted: #6c757d;--quarto-border-color: rgb(67.15, 67.15, 67.15);--quarto-border-width: 1px;--quarto-border-radius: 0.25rem}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #222;--mermaid-edge-color: rgb(67.15, 67.15, 67.15);--mermaid-node-fg-color: #fff;--mermaid-fg-color: #fff;--mermaid-fg-color--lighter: white;--mermaid-fg-color--lightest: white;--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #222;--mermaid-label-fg-color: #375a7f;--mermaid-node-bg-color: rgba(55, 90, 127, 0.1);--mermaid-node-fg-color: #fff}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(212, 208, 171)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0Line truncated
@@ -0,0 +1,12 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #2780e3;--bs-indigo: #6610f2;--bs-purple: #613d7c;--bs-pink: #e83e8c;--bs-red: #ff0039;--bs-orange: #f0ad4e;--bs-yellow: #ff7518;--bs-green: #3fb618;--bs-teal: #20c997;--bs-cyan: #9954bb;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-default: #343a40;--bs-primary: #2780e3;--bs-secondary: #343a40;--bs-success: #3fb618;--bs-info: #9954bb;--bs-warning: #ff7518;--bs-danger: #ff0039;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-default-rgb: 52, 58, 64;--bs-primary-rgb: 39, 128, 227;--bs-secondary-rgb: 52, 58, 64;--bs-success-rgb: 63, 182, 24;--bs-info-rgb: 153, 84, 187;--bs-warning-rgb: 255, 117, 24;--bs-danger-rgb: 255, 0, 57;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-primary-text-emphasis: rgb(15.6, 51.2, 90.8);--bs-secondary-text-emphasis: rgb(20.8, 23.2, 25.6);--bs-success-text-emphasis: rgb(25.2, 72.8, 9.6);--bs-info-text-emphasis: rgb(61.2, 33.6, 74.8);--bs-warning-text-emphasis: rgb(102, 46.8, 9.6);--bs-danger-text-emphasis: rgb(102, 0, 22.8);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(211.8, 229.6, 249.4);--bs-secondary-bg-subtle: rgb(214.4, 215.6, 216.8);--bs-success-bg-subtle: rgb(216.6, 240.4, 208.8);--bs-info-bg-subtle: rgb(234.6, 220.8, 241.4);--bs-warning-bg-subtle: rgb(255, 227.4, 208.8);--bs-danger-bg-subtle: rgb(255, 204, 215.4);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(168.6, 204.2, 243.8);--bs-secondary-border-subtle: rgb(173.8, 176.2, 178.6);--bs-success-border-subtle: rgb(178.2, 225.8, 162.6);--bs-info-border-subtle: rgb(214.2, 186.6, 227.8);--bs-warning-border-subtle: rgb(255, 199.8, 162.6);--bs-danger-border-subtle: rgb(255, 153, 175.8);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #343a40;--bs-body-color-rgb: 52, 58, 64;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(52, 58, 64, 0.75);--bs-secondary-color-rgb: 52, 58, 64;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(52, 58, 64, 0.5);--bs-tertiary-color-rgb: 52, 58, 64;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #2761e3;--bs-link-color-rgb: 39, 97, 227;--bs-link-decoration: underline;--bs-link-hover-color: rgb(31.2, 77.6, 181.6);--bs-link-hover-color-rgb: 31, 78, 182;--bs-code-color: #7d12ba;--bs-highlight-bg: rgb(255, 227.4, 208.8);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(39, 128, 227, 0.25);--bs-form-valid-color: #3fb618;--bs-form-valid-border-color: #3fb618;--bs-form-invalid-color: #ff0039;--bs-form-invalid-border-color: #ff0039}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(125.4, 178.8, 238.2);--bs-secondary-text-emphasis: rgb(133.2, 136.8, 140.4);--bs-success-text-emphasis: rgb(139.8, 211.2, 116.4);--bs-info-text-emphasis: rgb(193.8, 152.Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #fff;--quarto-body-color: #343a40;--quarto-text-muted: #6c757d;--quarto-border-color: #dee2e6;--quarto-border-width: 1px}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #fff;--mermaid-edge-color: #343a40;--mermaid-node-fg-color: #343a40;--mermaid-fg-color: #343a40;--mermaid-fg-color--lighter: rgb(74.8620689655, 83.5, 92.1379310345);--mermaid-fg-color--lightest: rgb(97.724137931, 109, 120.275862069);--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #fff;--mermaid-label-fg-color: #2780e3;--mermaid-node-bg-color: rgba(39, 128, 227, 0.1);--mermaid-node-fg-color: #343a40}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(105, 105, 105)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9Line truncated
@@ -66,6 +66,8 @@
padding: 0.35rem 0.1rem 0.1rem; padding: 0.35rem 0.1rem 0.1rem;
scroll-margin-top: 5rem; scroll-margin-top: 5rem;
} }
/* Quarto greys every summary (#6c757d): 3.4:1 on darkly */
.exo-sol > summary { color: var(--calc-muted, #57606a); }
/* in a numbered part, the fold lines up with the part's text */ /* in a numbered part, the fold lines up with the part's text */
.exo li > details { margin-left: 0; } .exo li > details { margin-left: 0; }
@@ -62,8 +62,7 @@ mjx-container a {
scroll-margin-top: 5rem; scroll-margin-top: 5rem;
} }
.gls-back { .gls-back {
font-size: 0.85em; font-size: 0.85em; /* smaller, not fainter: at 0.75 opacity the link read 3.4:1 */
opacity: 0.75;
} }
/* standalone property cards keep the section flow (no indent) */ /* standalone property cards keep the section flow (no indent) */
@@ -43,8 +43,8 @@
cursor: pointer; cursor: pointer;
list-style: none; /* remove the default triangle ... */ list-style: none; /* remove the default triangle ... */
user-select: none; user-select: none;
opacity: 0.7; font-style: italic; /* quiet by style and --calc-muted (theme.css), not by
font-style: italic; opacity, which took it under 4.5:1 */
} }
.calc-note > summary::-webkit-details-marker { display: none; } .calc-note > summary::-webkit-details-marker { display: none; }
.calc-note > summary::before { content: "▸ "; font-style: normal; } .calc-note > summary::before { content: "▸ "; font-style: normal; }
@@ -42,9 +42,65 @@ main table:not(.ltx-table) { display: block; max-width: 100%; overflow-x: auto;
element is oversized, so only the text itself overflows. */ element is oversized, so only the text itself overflows. */
#quarto-document-content :is(a, code) { overflow-wrap: break-word; } #quarto-document-content :is(a, code) { overflow-wrap: break-word; }
/* Quarto lets inline code wrap only inside a <p> (white-space: pre-wrap);
in a list item or a table it keeps one line, and a formula such as
"{PersN} → {PersN, Name, Position, Room, …}" pushed a page to 947px. */
#quarto-document-content :not(pre) > code:not(.sourceCode) { white-space: pre-wrap; }
/* A long compound in running text — "Unternehmensarchitekturmanagement" in
a list item is 348px — has no break opportunity. The page's lang picks
the hyphenation dictionary; overflow-wrap is the fallback without one. */
#quarto-document-content { hyphens: auto; overflow-wrap: break-word; }
/* An inline formula MathJax cannot break (one long fraction or product)
is wider than a phone: 413px in ModernPhysics' first exercise. It scrolls
inside its own box instead of pushing the page; the padding keeps tall
glyphs clear of the box's edge. */
/* A Bootstrap grid (::: {.grid} with .g-col-* items) has 12 columns and 11
gaps of 1.5rem: 264px of gaps alone, more than a callout on a phone
(248px in SoftwareEngineering's git appendix), so the columns collapse to
0 and a full-width item overflows. A smaller gap keeps the layout;
min-width: 0 lets an item's text wrap instead of widening its track. */
.grid { --bs-gap: 0.75rem; }
.grid > [class*="g-col"] { min-width: 0; }
#quarto-document-content mjx-container:not([display="true"]) {
display: inline-block;
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
vertical-align: middle;
padding-block: 0.15em;
}
/* Quarto's own previous/next footer: the chapter titles are laid out in a /* Quarto's own previous/next footer: the chapter titles are laid out in a
row that will not shrink, so a long title pushes the page sideways. */ row that will not shrink, so a long title pushes the page sideways. */
.page-navigation { flex-wrap: wrap; row-gap: 0.75em; } .page-navigation { flex-wrap: wrap; row-gap: 0.75em; }
.nav-page, .nav-page .nav-page-text { min-width: 0; } .nav-page, .nav-page .nav-page-text { min-width: 0; }
.nav-page .chapter-title { overflow-wrap: break-word; } .nav-page .chapter-title { overflow-wrap: break-word; }
/* A long compound in a heading — "Implementierungsentscheidungen" is 366px
at h3 size — is wider than a 320px screen. The page's lang picks the
hyphenation dictionary; overflow-wrap is the fallback without one. */
#quarto-document-content :is(h1, h2, h3, h4, h5, h6),
.quarto-title .title {
hyphens: auto;
overflow-wrap: break-word;
}
/* The bar at the top of a phone page: menu button, the chapter's title,
search. The title is a flex item that will not shrink, so a long one
("3 Komplexitätsanalyse" in darkly's wider font) pushes the search button
off the screen. It now shrinks and ends in an ellipsis. */
.quarto-secondary-nav nav.quarto-page-breadcrumbs { min-width: 0; }
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb {
flex-wrap: nowrap;
min-width: 0;
}
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
} }
@@ -75,6 +75,103 @@ body.quarto-dark main img[src$=".svg"]:not(.no-invert) {
filter: invert(1) hue-rotate(180deg); filter: invert(1) hue-rotate(180deg);
} }
/* --- captions -----------------------------------------------------------
Quarto's caption grey reads 4.4:1 on cosmo's white, under WCAG AA. The
muted token reads about 6.4:1 in light and in dark, and high contrast
makes it the foreground. The list ends with Quarto's most specific caption
selector so that :is() gives every entry its weight. */
:is(.panel-caption, .figure-caption, .subfigure-caption, .table-caption,
figcaption, caption, .margin-caption, .column-margin figcaption,
.quarto-layout-cell[data-ref-parent] caption) {
color: var(--calc-muted, #57606a);
}
/* --- breadcrumbs --------------------------------------------------------
Quarto greys the current page (#6c757d) and Bootstrap the separators; on
darkly's breadcrumb band that reads 2.1:1. The ink token passes in every
mode. `body` outweighs Quarto's own selectors; pseudo-elements cannot go
inside :is(), hence the separate rule. */
body :is(.quarto-title-breadcrumbs .breadcrumb li:last-of-type a,
.breadcrumb-item.active) {
color: var(--calc-ink, #1a1a1a);
}
body .breadcrumb-item + .breadcrumb-item::before,
body .quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item::before,
body .quarto-secondary-nav nav.quarto-page-breadcrumbs a {
color: var(--calc-ink, #1a1a1a);
}
/* --- Quarto's other greys -----------------------------------------------
Quarto hard-codes #6c757d for every fold label (details > summary) and for
the previous/next page links, and a mid grey for section numbers: 3.4:1 on
darkly, 4.4:1 on cosmo. The muted token reads about 6.4:1 in both, and
high contrast makes it the foreground. An exercise hint keeps its accent
(.exo-hint > summary outweighs these), and the active entry of the
contents still inherits its colour. */
body details > summary,
body .nav-page a,
body .header-section-number {
color: var(--calc-muted, #57606a);
}
/* Quoted text: Quarto's .blockquote grey is 4.4:1 on cosmo, and it names the
paragraphs, so they are named here too. */
body :is(blockquote, .blockquote, blockquote p, .blockquote p) {
color: var(--calc-muted, #57606a);
}
/* Inline code: Bootstrap's pill is #f8f9fa in both themes, so darkly's light
code text sat on near-white (1.05:1). The pill is now a faint tint of the
page, which keeps each theme's code colour readable, and inherited muted
text (code in a caption) too. */
body :not(pre) > code:not(.sourceCode) {
background-color: color-mix(in srgb, var(--calc-faint, #e7e9ec) 60%,
var(--calc-surface, #ffffff));
}
/* A code block inside a tinted box (exercise, hint, solution, "to go
further", quiz): Quarto's block ground is 65% opaque, so the tint shows
through and a11y-light's keyword red drops to 4.4:1. Here the ground is
opaque, and the same light grey as on the page. */
body :is(.exo, .exo-hint, .exo-sol, .further, .quiz) div.sourceCode {
background-color: color-mix(in srgb, var(--calc-faint, #e7e9ec) 45%,
var(--calc-surface, #ffffff));
}
/* A static (not executed) block also gives its <code> the translucent
ground, so the two layers stack and darken it. The block carries the
ground; the code inside is transparent, as in an executed cell. */
body div.sourceCode > pre > code.sourceCode { background-color: transparent; }
/* --- Jupyter output: ANSI colours ---------------------------------------
A traceback comes out in the notebook's terminal palette, made for a dark
terminal: yellow is 1.9:1 and cyan 2.0:1 on the page. Each colour name
takes the matching token with a fifth of ink, which keeps the hue and passes
in all four modes. IPython's 256-colour spans carry inline styles and no
name, so they take the text colour. */
body :is(.ansi-black-fg, .ansi-bright-black-fg) { color: var(--calc-ink); }
body :is(.ansi-white-fg, .ansi-bright-white-fg) { color: var(--calc-muted); }
body :is(.ansi-red-fg, .ansi-bright-red-fg) {
color: color-mix(in srgb, var(--calc-danger) 85%, var(--calc-ink));
}
body :is(.ansi-green-fg, .ansi-bright-green-fg) {
color: color-mix(in srgb, var(--calc-accent-c) 75%, var(--calc-ink));
}
body :is(.ansi-yellow-fg, .ansi-bright-yellow-fg) {
color: color-mix(in srgb, var(--calc-accent-b) 75%, var(--calc-ink));
}
body :is(.ansi-blue-fg, .ansi-bright-blue-fg) {
color: color-mix(in srgb, var(--calc-accent-a) 80%, var(--calc-ink));
}
body :is(.ansi-magenta-fg, .ansi-bright-magenta-fg) {
color: color-mix(in srgb, var(--calc-furthercolor) 85%, var(--calc-ink));
}
body :is(.ansi-cyan-fg, .ansi-bright-cyan-fg) {
color: color-mix(in srgb,
color-mix(in srgb, var(--calc-accent-a) 50%, var(--calc-accent-c)) 75%,
var(--calc-ink));
}
body .ansi-escaped-output span[style*="color"] { color: inherit !important; }
/* --- higher contrast --------------------------------------------------- /* --- higher contrast ---------------------------------------------------
The high-contrast pair lives in high-contrast.css, which is loaded with The high-contrast pair lives in high-contrast.css, which is loaded with
this file and keys off `hc` on <html>. */ this file and keys off `hc` on <html>. */
@@ -107,6 +204,20 @@ body.quarto-dark :is(.aa-Autocomplete, .aa-DetachedFormContainer)
color: var(--calc-muted, #9aa4b2); color: var(--calc-muted, #9aa4b2);
} }
/* --- search: the selected result ----------------------------------------
Quarto marks it with cosmo's primary (#2780e3) under white text, 3.97:1,
and its matched words with a lighter blue, worse still. The same hue at a
lower lightness passes. Night mode (darkly's #375a7f, 7.2:1) and high
contrast (high-contrast.css) keep their own. */
html:not(.hc) body:not(.quarto-dark) :is(.aa-DetachedOverlay, #quarto-search-results)
li.aa-Item[aria-selected="true"] :is(.search-item, .search-item *:not(mark, .mark)) {
background-color: oklch(from var(--bs-primary, #2780e3) 0.42 c h);
}
html:not(.hc) body:not(.quarto-dark) :is(.aa-DetachedOverlay, #quarto-search-results)
li.aa-Item[aria-selected="true"] .search-item :is(mark.search-match, .search-match.mark) {
background-color: oklch(from var(--bs-primary, #2780e3) 0.52 c h);
}
/* --- the high-contrast switch ------------------------------------------- /* --- the high-contrast switch -------------------------------------------
Built by calc-notes.js next to Quarto's light/dark toggle, and styled to Built by calc-notes.js next to Quarto's light/dark toggle, and styled to
sit with it rather than stand out. */ sit with it rather than stand out. */
@@ -1,34 +1,34 @@
/* quarto syntax highlight colors */ /* quarto syntax highlight colors */
:root { :root {
--quarto-hl-ot-color: #003B4F; --quarto-hl-ot-color: #d91e18;
--quarto-hl-at-color: #657422; --quarto-hl-at-color: #a55a00;
--quarto-hl-ss-color: #20794D; --quarto-hl-ss-color: #008000;
--quarto-hl-an-color: #5E5E5E; --quarto-hl-an-color: #696969;
--quarto-hl-fu-color: #4758AB; --quarto-hl-fu-color: #06287e;
--quarto-hl-st-color: #20794D; --quarto-hl-st-color: #008000;
--quarto-hl-cf-color: #003B4F; --quarto-hl-cf-color: #d91e18;
--quarto-hl-op-color: #5E5E5E; --quarto-hl-op-color: #00769e;
--quarto-hl-er-color: #AD0000; --quarto-hl-er-color: #7928a1;
--quarto-hl-bn-color: #AD0000; --quarto-hl-bn-color: #7928a1;
--quarto-hl-al-color: #AD0000; --quarto-hl-al-color: #7928a1;
--quarto-hl-va-color: #111111; --quarto-hl-va-color: #a55a00;
--quarto-hl-bu-color: inherit; --quarto-hl-bu-color: inherit;
--quarto-hl-ex-color: inherit; --quarto-hl-ex-color: inherit;
--quarto-hl-pp-color: #AD0000; --quarto-hl-pp-color: #7928a1;
--quarto-hl-in-color: #5E5E5E; --quarto-hl-in-color: #696969;
--quarto-hl-vs-color: #20794D; --quarto-hl-vs-color: #008000;
--quarto-hl-wa-color: #5E5E5E; --quarto-hl-wa-color: #696969;
--quarto-hl-do-color: #5E5E5E; --quarto-hl-do-color: #696969;
--quarto-hl-im-color: #00769E; --quarto-hl-im-color: inherit;
--quarto-hl-ch-color: #20794D; --quarto-hl-ch-color: #008000;
--quarto-hl-dt-color: #AD0000; --quarto-hl-dt-color: #7928a1;
--quarto-hl-fl-color: #AD0000; --quarto-hl-fl-color: #a55a00;
--quarto-hl-co-color: #5E5E5E; --quarto-hl-co-color: #696969;
--quarto-hl-cv-color: #5E5E5E; --quarto-hl-cv-color: #696969;
--quarto-hl-cn-color: #8f5902; --quarto-hl-cn-color: #d91e18;
--quarto-hl-sc-color: #5E5E5E; --quarto-hl-sc-color: #00769e;
--quarto-hl-dv-color: #AD0000; --quarto-hl-dv-color: #7928a1;
--quarto-hl-kw-color: #003B4F; --quarto-hl-kw-color: #d91e18;
} }
/* other quarto variables */ /* other quarto variables */
@@ -38,44 +38,44 @@
/* syntax highlight based on Pandoc's rules */ /* syntax highlight based on Pandoc's rules */
pre > code.sourceCode > span { pre > code.sourceCode > span {
color: #003B4F; color: #545454;
} }
code.sourceCode > span { code.sourceCode > span {
color: #003B4F; color: #545454;
} }
div.sourceCode, div.sourceCode,
div.sourceCode pre.sourceCode { div.sourceCode pre.sourceCode {
color: #003B4F; color: #545454;
} }
/* Normal */ /* Normal */
code span { code span {
color: #003B4F; color: #545454;
} }
/* Alert */ /* Alert */
code span.al { code span.al {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* Annotation */ /* Annotation */
code span.an { code span.an {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* Attribute */ /* Attribute */
code span.at { code span.at {
color: #657422; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* BaseN */ /* BaseN */
code span.bn { code span.bn {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
@@ -86,56 +86,55 @@ code span.bu {
/* ControlFlow */ /* ControlFlow */
code span.cf { code span.cf {
color: #003B4F; color: #d91e18;
font-weight: bold;
font-style: inherit; font-style: inherit;
} }
/* Char */ /* Char */
code span.ch { code span.ch {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Constant */ /* Constant */
code span.cn { code span.cn {
color: #8f5902; color: #d91e18;
font-style: inherit; font-style: inherit;
} }
/* Comment */ /* Comment */
code span.co { code span.co {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* CommentVar */ /* CommentVar */
code span.cv { code span.cv {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
/* Documentation */ /* Documentation */
code span.do { code span.do {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
/* DataType */ /* DataType */
code span.dt { code span.dt {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* DecVal */ /* DecVal */
code span.dv { code span.dv {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* Error */ /* Error */
code span.er { code span.er {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
@@ -146,86 +145,84 @@ code span.ex {
/* Float */ /* Float */
code span.fl { code span.fl {
color: #AD0000; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* Function */ /* Function */
code span.fu { code span.fu {
color: #4758AB; color: #06287e;
font-style: inherit; font-style: inherit;
} }
/* Import */ /* Import */
code span.im { code span.im {
color: #00769E;
font-style: inherit; font-style: inherit;
} }
/* Information */ /* Information */
code span.in { code span.in {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* Keyword */ /* Keyword */
code span.kw { code span.kw {
color: #003B4F; color: #d91e18;
font-weight: bold;
font-style: inherit; font-style: inherit;
} }
/* Operator */ /* Operator */
code span.op { code span.op {
color: #5E5E5E; color: #00769e;
font-style: inherit; font-style: inherit;
} }
/* Other */ /* Other */
code span.ot { code span.ot {
color: #003B4F; color: #d91e18;
font-style: inherit; font-style: inherit;
} }
/* Preprocessor */ /* Preprocessor */
code span.pp { code span.pp {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* SpecialChar */ /* SpecialChar */
code span.sc { code span.sc {
color: #5E5E5E; color: #00769e;
font-style: inherit; font-style: inherit;
} }
/* SpecialString */ /* SpecialString */
code span.ss { code span.ss {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* String */ /* String */
code span.st { code span.st {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Variable */ /* Variable */
code span.va { code span.va {
color: #111111; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* VerbatimString */ /* VerbatimString */
code span.vs { code span.vs {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Warning */ /* Warning */
code span.wa { code span.wa {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
@@ -233,4 +230,4 @@ code span.wa {
content: "</"; content: "</";
} }
/*# sourceMappingURL=39d13593ecb7db6d02e40e1582482a0e.css.map */ /*# sourceMappingURL=0a12fef89ae5056e90fb92cad957d154.css.map */
@@ -0,0 +1,234 @@
/* quarto syntax highlight colors */
:root {
--quarto-hl-ot-color: #ffa07a;
--quarto-hl-at-color: #ffd700;
--quarto-hl-ss-color: #abe338;
--quarto-hl-an-color: #d4d0ab;
--quarto-hl-fu-color: #ffd700;
--quarto-hl-st-color: #abe338;
--quarto-hl-cf-color: #ffa07a;
--quarto-hl-op-color: #00e0e0;
--quarto-hl-er-color: #dcc6e0;
--quarto-hl-bn-color: #dcc6e0;
--quarto-hl-al-color: #dcc6e0;
--quarto-hl-va-color: #f5ab35;
--quarto-hl-bu-color: #f5ab35;
--quarto-hl-ex-color: #ffd700;
--quarto-hl-pp-color: #dcc6e0;
--quarto-hl-in-color: #d4d0ab;
--quarto-hl-vs-color: #abe338;
--quarto-hl-wa-color: #d4d0ab;
--quarto-hl-do-color: #d4d0ab;
--quarto-hl-ch-color: #abe338;
--quarto-hl-dt-color: #dcc6e0;
--quarto-hl-fl-color: #f5ab35;
--quarto-hl-co-color: #d4d0ab;
--quarto-hl-cv-color: #d4d0ab;
--quarto-hl-cn-color: #ffa07a;
--quarto-hl-sc-color: #00e0e0;
--quarto-hl-dv-color: #dcc6e0;
--quarto-hl-kw-color: #ffa07a;
}
/* other quarto variables */
:root {
--quarto-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
/* syntax highlight based on Pandoc's rules */
pre > code.sourceCode > span {
color: #f8f8f2;
}
code.sourceCode > span {
color: #f8f8f2;
}
div.sourceCode,
div.sourceCode pre.sourceCode {
color: #f8f8f2;
}
/* Normal */
code span {
color: #f8f8f2;
}
/* Alert */
code span.al {
color: #dcc6e0;
font-style: inherit;
}
/* Annotation */
code span.an {
color: #d4d0ab;
font-style: inherit;
}
/* Attribute */
code span.at {
color: #ffd700;
font-style: inherit;
}
/* BaseN */
code span.bn {
color: #dcc6e0;
font-style: inherit;
}
/* BuiltIn */
code span.bu {
color: #f5ab35;
font-style: inherit;
}
/* ControlFlow */
code span.cf {
color: #ffa07a;
font-style: inherit;
}
/* Char */
code span.ch {
color: #abe338;
font-style: inherit;
}
/* Constant */
code span.cn {
color: #ffa07a;
font-style: inherit;
}
/* Comment */
code span.co {
color: #d4d0ab;
font-style: inherit;
}
/* CommentVar */
code span.cv {
color: #d4d0ab;
font-style: italic;
}
/* Documentation */
code span.do {
color: #d4d0ab;
font-style: italic;
}
/* DataType */
code span.dt {
color: #dcc6e0;
font-style: inherit;
}
/* DecVal */
code span.dv {
color: #dcc6e0;
font-style: inherit;
}
/* Error */
code span.er {
color: #dcc6e0;
font-style: inherit;
}
/* Extension */
code span.ex {
color: #ffd700;
font-style: inherit;
}
/* Float */
code span.fl {
color: #f5ab35;
font-style: inherit;
}
/* Function */
code span.fu {
color: #ffd700;
font-style: inherit;
}
/* Import */
code span.im {
font-style: inherit;
}
/* Information */
code span.in {
color: #d4d0ab;
font-style: inherit;
}
/* Keyword */
code span.kw {
color: #ffa07a;
font-style: inherit;
}
/* Operator */
code span.op {
color: #00e0e0;
font-style: inherit;
}
/* Other */
code span.ot {
color: #ffa07a;
font-style: inherit;
}
/* Preprocessor */
code span.pp {
color: #dcc6e0;
font-style: inherit;
}
/* SpecialChar */
code span.sc {
color: #00e0e0;
font-style: inherit;
}
/* SpecialString */
code span.ss {
color: #abe338;
font-style: inherit;
}
/* String */
code span.st {
color: #abe338;
font-style: inherit;
}
/* Variable */
code span.va {
color: #f5ab35;
font-style: inherit;
}
/* VerbatimString */
code span.vs {
color: #abe338;
font-style: inherit;
}
/* Warning */
code span.wa {
color: #d4d0ab;
font-style: italic;
}
.prevent-inlining {
content: "</";
}
/*# sourceMappingURL=02314e985f2be8e35f214ed82eec63a7.css.map */
+218 -23
View File
@@ -36,17 +36,21 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-search/fuse.min.js"></script> <script src="site_libs/quarto-search/fuse.min.js"></script>
<script src="site_libs/quarto-search/quarto-search.js"></script> <script src="site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="./"> <meta name="quarto:offset" content="./">
<link href="./02-part-ii-processes.html" rel="prev"> <link href="./04-part-iv-rewind.html" rel="prev">
<script src="site_libs/quarto-html/quarto.js" type="module"></script> <script src="site_libs/quarto-html/quarto.js" type="module"></script>
<script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script> <script src="site_libs/quarto-html/tabsets/tabsets.js" type="module"></script>
<script src="site_libs/quarto-html/popper.min.js"></script> <script src="site_libs/quarto-html/popper.min.js"></script>
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -218,7 +222,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -245,7 +249,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -292,6 +458,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -330,6 +497,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Part III — Make it actually distributed</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Part IV — Rewind</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -359,6 +538,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"><nav class="quarto-page-breadcrumbs quarto-title-breadcrumbs d-none d-lg-block" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./glossary.html">Appendices</a></li><li class="breadcrumb-item"><a href="./glossary.html">Glossary</a></li></ol></nav> <header id="title-block-header" class="quarto-title-block default"><nav class="quarto-page-breadcrumbs quarto-title-breadcrumbs d-none d-lg-block" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./glossary.html">Appendices</a></li><li class="breadcrumb-item"><a href="./glossary.html">Glossary</a></li></ol></nav>
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title"><span id="sec-glossary" class="quarto-section-identifier">Glossary</span></h1> <h1 class="title"><span id="sec-glossary" class="quarto-section-identifier">Glossary</span></h1>
@@ -408,17 +588,24 @@ Every entry here is defined in the chapter where the term first does some
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -426,21 +613,16 @@ Every entry here is defined in the chapter where the term first does some
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -611,6 +793,19 @@ Every entry here is defined in the chapter where the term first does some
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
@@ -1016,8 +1211,8 @@ Every entry here is defined in the chapter where the term first does some
</script> </script>
<nav class="page-navigation"> <nav class="page-navigation">
<div class="nav-page nav-page-previous"> <div class="nav-page nav-page-previous">
<a href="./02-part-ii-processes.html" class="pagination-link" aria-label="[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}"> <a href="./04-part-iv-rewind.html" class="pagination-link" aria-label="[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}">
<i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span> <i class="bi bi-arrow-left-short"></i> <span class="nav-page-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Part IV — Rewind</span></span>
</a> </a>
</div> </div>
<div class="nav-page nav-page-next"> <div class="nav-page nav-page-next">
+217 -22
View File
@@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
<meta name="author" content="Romain De Groote"> <meta name="author" content="Romain De Groote">
<meta name="dcterms.date" content="2026-09-25"> <meta name="dcterms.date" content="2026-10-06">
<title>Process Control</title> <title>Process Control</title>
<style> <style>
@@ -45,10 +45,14 @@ ul.task-list li input[type="checkbox"] {
<script src="site_libs/quarto-html/tippy.umd.min.js"></script> <script src="site_libs/quarto-html/tippy.umd.min.js"></script>
<script src="site_libs/quarto-html/anchor.min.js"></script> <script src="site_libs/quarto-html/anchor.min.js"></script>
<link href="site_libs/quarto-html/tippy.css" rel="stylesheet"> <link href="site_libs/quarto-html/tippy.css" rel="stylesheet">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-7c68a30ea258f1cbeb56603bc0a48370.css" rel="stylesheet" id="quarto-text-highlighting-styles"> <link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-dark-a3970363346c256deb16f4449f99893b.css" rel="stylesheet" class="quarto-color-scheme quarto-color-alternate" id="quarto-text-highlighting-styles">
<link href="site_libs/quarto-html/quarto-syntax-highlighting-210757d7e60e9c473d8941953b4a5eb7.css" rel="stylesheet" class="quarto-color-scheme-extra" id="quarto-text-highlighting-styles">
<script src="site_libs/bootstrap/bootstrap.min.js"></script> <script src="site_libs/bootstrap/bootstrap.min.js"></script>
<link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet"> <link href="site_libs/bootstrap/bootstrap-icons.css" rel="stylesheet">
<link href="site_libs/bootstrap/bootstrap-cfe7114cbc4adb2af5ff3a891545d7fa.min.css" rel="stylesheet" append-hash="true" id="quarto-bootstrap" data-mode="light"> <link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme" id="quarto-bootstrap" data-mode="light">
<link href="site_libs/bootstrap/bootstrap-dark-0fb591fb534e4de6e0a74f855bd29ac7.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme quarto-color-alternate" id="quarto-bootstrap" data-mode="dark">
<link href="site_libs/bootstrap/bootstrap-e333b860288efea83b591af437d45305.min.css" rel="stylesheet" append-hash="true" class="quarto-color-scheme-extra" id="quarto-bootstrap" data-mode="light">
<script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script> <script src="site_libs/quarto-contrib/calc-exo-2.0.0/exo.js"></script>
<link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet"> <link href="site_libs/quarto-contrib/calc-exo-2.0.0/exo.css" rel="stylesheet">
<script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script> <script src="site_libs/quarto-contrib/calc-quiz-1.0.0/quiz.js"></script>
@@ -220,7 +224,7 @@ ul.task-list li input[type="checkbox"] {
}</style> }</style>
<style>:root { <style>:root {
--calc-notecolor-src: #B45309; --calc-notecolor-src: #20666f;
--calc-notecolor: var(--calc-notecolor-src); --calc-notecolor: var(--calc-notecolor-src);
}</style> }</style>
@@ -247,7 +251,169 @@ ul.task-list li input[type="checkbox"] {
</head> </head>
<body class="nav-sidebar docked quarto-light"> <body class="nav-sidebar docked quarto-light"><script id="quarto-html-before-body" type="application/javascript">
const toggleBodyColorMode = (bsSheetEl) => {
const mode = bsSheetEl.getAttribute("data-mode");
const bodyEl = window.document.querySelector("body");
if (mode === "dark") {
bodyEl.classList.add("quarto-dark");
bodyEl.classList.remove("quarto-light");
} else {
bodyEl.classList.add("quarto-light");
bodyEl.classList.remove("quarto-dark");
}
}
const toggleBodyColorPrimary = () => {
const bsSheetEl = window.document.querySelector("link#quarto-bootstrap:not([rel=disabled-stylesheet])");
if (bsSheetEl) {
toggleBodyColorMode(bsSheetEl);
}
}
const setColorSchemeToggle = (alternate) => {
const toggles = window.document.querySelectorAll('.quarto-color-scheme-toggle');
for (let i=0; i < toggles.length; i++) {
const toggle = toggles[i];
if (toggle) {
if (alternate) {
toggle.classList.add("alternate");
} else {
toggle.classList.remove("alternate");
}
}
}
};
const toggleColorMode = (alternate) => {
// Switch the stylesheets
const primaryStylesheets = window.document.querySelectorAll('link.quarto-color-scheme:not(.quarto-color-alternate)');
const alternateStylesheets = window.document.querySelectorAll('link.quarto-color-scheme.quarto-color-alternate');
manageTransitions('#quarto-margin-sidebar .nav-link', false);
if (alternate) {
// note: dark is layered on light, we don't disable primary!
enableStylesheet(alternateStylesheets);
for (const sheetNode of alternateStylesheets) {
if (sheetNode.id === "quarto-bootstrap") {
toggleBodyColorMode(sheetNode);
}
}
} else {
disableStylesheet(alternateStylesheets);
enableStylesheet(primaryStylesheets)
toggleBodyColorPrimary();
}
manageTransitions('#quarto-margin-sidebar .nav-link', true);
// Switch the toggles
setColorSchemeToggle(alternate)
// Hack to workaround the fact that safari doesn't
// properly recolor the scrollbar when toggling (#1455)
if (navigator.userAgent.indexOf('Safari') > 0 && navigator.userAgent.indexOf('Chrome') == -1) {
manageTransitions("body", false);
window.scrollTo(0, 1);
setTimeout(() => {
window.scrollTo(0, 0);
manageTransitions("body", true);
}, 40);
}
}
const disableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
stylesheet.rel = 'disabled-stylesheet';
}
}
const enableStylesheet = (stylesheets) => {
for (let i=0; i < stylesheets.length; i++) {
const stylesheet = stylesheets[i];
if(stylesheet.rel !== 'stylesheet') { // for Chrome, which will still FOUC without this check
stylesheet.rel = 'stylesheet';
}
}
}
const manageTransitions = (selector, allowTransitions) => {
const els = window.document.querySelectorAll(selector);
for (let i=0; i < els.length; i++) {
const el = els[i];
if (allowTransitions) {
el.classList.remove('notransition');
} else {
el.classList.add('notransition');
}
}
}
const isFileUrl = () => {
return window.location.protocol === 'file:';
}
const hasAlternateSentinel = () => {
let styleSentinel = getColorSchemeSentinel();
if (styleSentinel !== null) {
return styleSentinel === "alternate";
} else {
return false;
}
}
const setStyleSentinel = (alternate) => {
const value = alternate ? "alternate" : "default";
if (!isFileUrl()) {
window.localStorage.setItem("quarto-color-scheme", value);
} else {
localAlternateSentinel = value;
}
}
const getColorSchemeSentinel = () => {
if (!isFileUrl()) {
const storageValue = window.localStorage.getItem("quarto-color-scheme");
return storageValue != null ? storageValue : localAlternateSentinel;
} else {
return localAlternateSentinel;
}
}
const toggleGiscusIfUsed = (isAlternate, darkModeDefault) => {
const baseTheme = document.querySelector('#giscus-base-theme')?.value ?? 'light';
const alternateTheme = document.querySelector('#giscus-alt-theme')?.value ?? 'dark';
let newTheme = '';
if(authorPrefersDark) {
newTheme = isAlternate ? baseTheme : alternateTheme;
} else {
newTheme = isAlternate ? alternateTheme : baseTheme;
}
const changeGiscusTheme = () => {
// From: https://github.com/giscus/giscus/issues/336
const sendMessage = (message) => {
const iframe = document.querySelector('iframe.giscus-frame');
if (!iframe) return;
iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
}
sendMessage({
setConfig: {
theme: newTheme
}
});
}
const isGiscussLoaded = window.document.querySelector('iframe.giscus-frame') !== null;
if (isGiscussLoaded) {
changeGiscusTheme();
}
};
const authorPrefersDark = false;
const darkModeDefault = authorPrefersDark;
document.querySelector('link#quarto-text-highlighting-styles.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
document.querySelector('link#quarto-bootstrap.quarto-color-scheme-extra').rel = 'disabled-stylesheet';
let localAlternateSentinel = darkModeDefault ? 'alternate' : 'default';
// Dark / light mode switch
window.quartoToggleColorScheme = () => {
// Read the current dark / light value
let toAlternate = !hasAlternateSentinel();
toggleColorMode(toAlternate);
setStyleSentinel(toAlternate);
toggleGiscusIfUsed(toAlternate, darkModeDefault);
window.dispatchEvent(new Event('resize'));
};
// Switch to dark mode if need be
if (hasAlternateSentinel()) {
toggleColorMode(true);
} else {
toggleColorMode(false);
}
</script>
<div id="quarto-search-results"></div> <div id="quarto-search-results"></div>
<header id="quarto-header" class="headroom fixed-top"> <header id="quarto-header" class="headroom fixed-top">
@@ -294,6 +460,7 @@ ul.task-list li input[type="checkbox"] {
</ul> </ul>
</div> </div>
<a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a> <a href="./Process-Control.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="" class="quarto-color-scheme-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleColorScheme(); return false;" title="Toggle dark mode"><i class="bi"></i></a>
<a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode"> <a href="" class="quarto-reader-toggle quarto-navigation-tool px-1" onclick="window.quartoToggleReader(); return false;" title="Toggle reader mode">
<div class="quarto-reader-toggle-btn"> <div class="quarto-reader-toggle-btn">
<i class="bi"></i> <i class="bi"></i>
@@ -332,6 +499,18 @@ ul.task-list li input[type="checkbox"] {
<a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link"> <a href="./02-part-ii-processes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a> <span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Part II — Cross the process boundary</span></span></a>
</div> </div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./03-part-iii-distributed.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Part III — Make it actually distributed</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./04-part-iv-rewind.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Part IV — Rewind</span></span></a>
</div>
</li> </li>
<li class="sidebar-item sidebar-item-section"> <li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container"> <div class="sidebar-item-container">
@@ -370,6 +549,7 @@ ul.task-list li input[type="checkbox"] {
<!-- main --> <!-- main -->
<main class="content" id="quarto-document-content"> <main class="content" id="quarto-document-content">
<header id="title-block-header" class="quarto-title-block default"> <header id="title-block-header" class="quarto-title-block default">
<div class="quarto-title"> <div class="quarto-title">
<h1 class="title">Process Control</h1> <h1 class="title">Process Control</h1>
@@ -389,7 +569,7 @@ ul.task-list li input[type="checkbox"] {
<div> <div>
<div class="quarto-title-meta-heading">Published</div> <div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents"> <div class="quarto-title-meta-contents">
<p class="date">25 September 2026</p> <p class="date">6 October 2026</p>
</div> </div>
</div> </div>
@@ -463,17 +643,24 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
already the whole picture. Here the image is fetched, inlined, and given already the whole picture. Here the image is fetched, inlined, and given
a play bar that walks a message through the mailboxes, one hop per a play bar that walks a message through the mailboxes, one hop per
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop [data-flow] edge of the svg, highlighting the [data-flow-node] each hop
ends at. Colours are diagram.css's, so the two stay in step. --> ends at. Colours are the extension's --calc-… tokens, the same ones
diagram.css uses, so the figure, the token and the bar stay in step in
light mode, in night mode and in high contrast. Nothing here keys off
prefers-color-scheme: the page's own toggle decides. -->
<style> <style>
.flow-wrap { margin: 0; } .flow-wrap { margin: 0; }
.flow-wrap svg { width: 100%; height: auto; display: block; } .flow-wrap svg { width: 100%; height: auto; display: block; }
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; } .flow-token {
fill: var(--calc-accent-b, #D1541F);
stroke: var(--calc-surface, #fbfcfd);
stroke-width: 1.2;
}
.flow-wrap .flow-on .box, .flow-wrap .flow-on .box,
.flow-wrap .flow-on .box-plain, .flow-wrap .flow-on .box-plain,
.flow-wrap .flow-on .box-accent { stroke-width: 3; } .flow-wrap .flow-on .box-accent { stroke-width: 3; }
.flow-wrap .flow-done { stroke: #8a5a08; } .flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
.flow-bar { .flow-bar {
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
@@ -481,21 +668,16 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
} }
.flow-bar button { .flow-bar button {
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer; font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
border: 1px solid #dae0e8; border-radius: 999px; border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
background: #fbfcfd; color: #5a6879; background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
}
.flow-bar button:hover {
border-color: var(--calc-notecolor, #20666f);
color: var(--calc-notecolor, #20666f);
} }
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
.flow-bar button[disabled] { opacity: .45; cursor: default; } .flow-bar button[disabled] { opacity: .45; cursor: default; }
.flow-status { font-size: .8rem; color: #5a6879; } .flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
.flow-status b { color: #20666f; font-weight: 600; } .flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
@media (prefers-color-scheme: dark) {
.flow-token { fill: #c99a3a; stroke: #161b22; }
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
.flow-status { color: #8b98a8; }
.flow-status b { color: #7fc4cf; }
}
</style> </style>
<script> <script>
@@ -666,6 +848,19 @@ Mediator.java, .msg, put/take, Intent/Status/Event).
</script> </script>
<script id="quarto-html-after-body" type="application/javascript"> <script id="quarto-html-after-body" type="application/javascript">
window.document.addEventListener("DOMContentLoaded", function (event) { window.document.addEventListener("DOMContentLoaded", function (event) {
// Ensure there is a toggle, if there isn't float one in the top right
if (window.document.querySelector('.quarto-color-scheme-toggle') === null) {
const a = window.document.createElement('a');
a.classList.add('top-right');
a.classList.add('quarto-color-scheme-toggle');
a.href = "";
a.onclick = function() { try { window.quartoToggleColorScheme(); } catch {} return false; };
const i = window.document.createElement("i");
i.classList.add('bi');
a.appendChild(i);
window.document.body.appendChild(a);
}
setColorSchemeToggle(hasAlternateSentinel())
const icon = ""; const icon = "";
const anchorJS = new window.AnchorJS(); const anchorJS = new window.AnchorJS();
anchorJS.options = { anchorJS.options = {
+120
View File
@@ -209,6 +209,126 @@
"<span class='chapter-number'>3</span>  <span class='chapter-title'>[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}</span>" "<span class='chapter-number'>3</span>  <span class='chapter-title'>[Part II — Cross the process boundary]{.en}[Partie II — Franchir la frontière de processus]{.fr}[Teil II — Die Prozessgrenze überschreiten]{.de}</span>"
] ]
}, },
{
"objectID": "03-part-iii-distributed.html",
"href": "03-part-iii-distributed.html",
"title": "4  Part III — Make it actually distributed",
"section": "",
"text": "4.1 Syncthing replicates; it does not deliver\nFive processes on one computer still share one filesystem. Steps 19 to 27 put them on two machines, replicate the message board between them with Syncthing, measure what that costs, and then break a mediator on purpose. By the end, the mediators’ price is a number rather than an opinion.\nSyncthing keeps a directory replicated between machines. That is all it is asked to do here. It knows nothing about Intent, Status, Event, ROT13 or mediators, and it has no concept of a consumer: no subscriptions, no topics, no delivery guarantees, no notion that anybody is waiting.\nThe trigger is still ours. Each service runs its own WatchService on a local directory; Syncthing only makes files appear there. That is why none of the three services changed a single line when the system became distributed.\nTwo consequences follow, and both show up later as observations rather than warnings:",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-syncthing-not-a-broker",
"href": "03-part-iii-distributed.html#sec-syncthing-not-a-broker",
"title": "4  Part III — Make it actually distributed",
"section": "",
"text": "replication is asynchronous — the .tmp → .msg rename is atomic on each machine separately, and nothing promises ordering or atomicity between machines;\nthe filesystem is a serious transport with its own strengths: files can be large, replicas survive a reboot, and every message is readable with cat.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-one-layer",
"href": "03-part-iii-distributed.html#sec-one-layer",
"title": "4  Part III — Make it actually distributed",
"section": "4.2 Test one layer at a time",
"text": "4.2 Test one layer at a time\nBefore any Java touched the replicated folder, the dullest possible test ran first: write hello.txt on one machine, confirm it appears on the other, delete it, confirm the deletion travels back. Both directions worked.\nThat order matters. When the distributed run later failed, the question “is it replication or is it my program?” had already been answered for the transport, and the search could start one layer up.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-keystroke-cost",
"href": "03-part-iii-distributed.html#sec-keystroke-cost",
"title": "4  Part III — Make it actually distributed",
"section": "4.3 What one keystroke costs",
"text": "4.3 What one keystroke costs\nWith the sensor on one machine and the mediators, ROT13 and the actuator on the other, one typed line produced four .msg files, one per mailbox:\n\n\n\nmailbox\ncontent\ntimestamp inside\n\n\n\n\nconsoleIn/outbox\nHello World\n23:02:05.315\n\n\nrot13/inbox\nHello World\n23:02:05.315\n\n\nrot13/outbox\nUryyb Jbeyq\n23:02:13.471\n\n\nconsoleOut/inbox\nUryyb Jbeyq\n23:02:13.471\n\n\n\nThe repeated timestamps are the evidence that two of those four publications are pure copies: the mediators republish the message unchanged, timestamp included. They compute identity(x) = x, as separate distributed processes.\nThe timing, taken from the four files’ modification times on one machine so that no clock skew enters: the sensor’s file appears at 01:02:05.432, the other three at 01:02:13.460, .504 and .532 — 8.10 s later, and within 72 ms of each other. So the chain’s own work took milliseconds; the eight seconds are Syncthing’s propagation. The same chain, run entirely on one machine, completes in about 24 ms.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-break-a-mediator",
"href": "03-part-iii-distributed.html#sec-break-a-mediator",
"title": "4  Part III — Make it actually distributed",
"section": "4.4 Break a mediator",
"text": "4.4 Break a mediator\nStop the first mediator and type two lines. ConsoleIn is alive, ROT13 is alive, ConsoleOut is alive, Syncthing is alive — and the business flow is dead. The two lines pile up in consoleIn/outbox; nothing moves past it. The mediators are part of the availability chain.\nThen restart the mediator. Nothing is delivered. FileMessageBoard.watch registers a directory for ENTRY_CREATE and blocks in watcher.take(); it never lists what is already there. The two files are still on disk, in both replicas — so no data was lost. What has no memory is the subscription.\nThat distinction is worth keeping: the messages survived, the delivery did not. A broker answers this with session state and retained messages; in our own code it would be one line — list the existing .msg files before entering the watch loop — which the material deliberately does not write yet.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-configurable-mediator",
"href": "03-part-iii-distributed.html#sec-configurable-mediator",
"title": "4  Part III — Make it actually distributed",
"section": "4.5 The mediator becomes an ordinary service",
"text": "4.5 The mediator becomes an ordinary service\nBefore removing the mediators, one asymmetry gets removed: the services receive their work as messages, while the mediator received its route as shell arguments. So the mediator is given only a name, ConfigurableMediator mediator1, from which it derives one permanent control mailbox, mediators/mediator1/inbox, and the route arrives as a message:\nROUTE\nconsoleIn/outbox\nrot13/inbox\nfrom and to travel in one message on purpose: as two, the mediator would briefly hold a new source with the old destination and forward to the wrong place. A route is one fact, and one fact belongs in one message.\nA short-lived orchestrator publishes both routes and exits, so the topology is visible in one place and is not in the data path. Running it after the services, and typing a line before it, shows both halves at once: the early line is stranded, the later one flows.\nWhat improved: the mediator now has an identity, takes configuration through its own inbox, keeps a generic capability, and gets its topology from an orchestrator. What did not improve: the data path. It is still event → mediator → copied event, still a process in the availability chain, still copying every message without adding meaning. And this version accepts exactly one route: waitForRoute(...) returns, then the mediator enters watch(route.from(), …) and never reads its control inbox again. Live rewiring is not promised, because one blocking watch cannot serve a control inbox and a source at the same time — the reason a subscription helper appears later.",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "03-part-iii-distributed.html#sec-part-iii-result",
"href": "03-part-iii-distributed.html#sec-part-iii-result",
"title": "4  Part III — Make it actually distributed",
"section": "4.6 What part III moved",
"text": "4.6 What part III moved\n\n\n\n\n\n\n\n\nstage\nwhere the topology lives\nin the data path?\n\n\n\n\nstep 18\nthe operator’s command lines\nthe mediators are\n\n\nstep 27\nan orchestrator, published as Intent\nthe mediators still are\n\n\n\nThe question the part ends on is therefore sharp rather than rhetorical: why can’t the service interested in the data simply listen to it itself?",
"crumbs": [
"<span class='chapter-number'>4</span>  <span class='chapter-title'>[Part III — Make it actually distributed]{.en}[Partie III — Le rendre réellement distribué]{.fr}[Teil III — Es wirklich verteilen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html",
"href": "04-part-iv-rewind.html",
"title": "5  Part IV — Rewind",
"section": "",
"text": "5.1 The obvious shortcut, and its trap\nSteps 28 to 34 go back to one JVM on purpose. With no replication delay and no five-terminal setup, the only thing that can change is who knows whom — so the idea can be tried in seconds instead of in a distributed debugging session.\nIf the first mediator only copies messages, delete it and let ROT13 read the source itself:\nThe mediator is gone. But ask the recurring question: ROT13 now contains the name of ConsoleIn’s mailbox. The topology moved out of the mediator and into the service. As the material puts it: “We removed the mediator… and put topology back into the service. Oops.”",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-the-trap",
"href": "04-part-iv-rewind.html#sec-the-trap",
"title": "5  Part IV — Rewind",
"section": "",
"text": "listen(\"consoleIn.outbox\");",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-capability-vs-topology",
"href": "04-part-iv-rewind.html#sec-capability-vs-topology",
"title": "5  Part IV — Rewind",
"section": "5.2 Capability is not topology",
"text": "5.2 Capability is not topology\nROT13 may know two things: I can transform text, and I am capable of listening for compatible text messages. It may not know my input always comes from consoleIn.outbox — that is deployment topology.\nSo the name is not compiled in; it arrives at runtime:\nTOPIC consoleIn.outbox\nROT13 learns its wiring from data. Note who sends it: in DynamicQueueRot13.java it is main() that publishes both TOPIC messages — a configurator, outside the data path, in the role the orchestrator played before. It cannot be ConsoleIn: if ConsoleIn told ROT13 what to subscribe to, ConsoleIn would have to know ROT13 exists, and the topology would simply have moved into a different capability.",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-dynamic-mechanics",
"href": "04-part-iv-rewind.html#sec-dynamic-mechanics",
"title": "5  Part IV — Rewind",
"section": "5.3 What changes in the code",
"text": "5.3 What changes in the code\nlisten(...) is nothing exotic: a virtual thread that repeatedly calls take() on one of the same queues. subscribe(...) starts one such thread per subscribed name. The consequence is visible in the mailboxes:\n\nROT13 takes straight from consoleIn.outbox — the name it was told;\nrot13.inbox is no longer a payload mailbox. It carries control messages, and ROT13’s loop reads it to decide whether a message is a TOPIC to act on.\n\nNothing writes into rot13.inbox to move data anymore. The mailbox did not disappear; it changed job, from carrying payload to carrying Intent.\nOne observation from running it: after Ctrl+D, output stops but the program stays up. Nothing was interrupted — runConsoleIn returns on end of input, so the producer is gone, while both subscriber threads sit blocked in take() on sources that will never publish again. The JVM stays alive because main ends with Thread.currentThread().join(). “The flow stopped” always has to be traced to which participant stopped.",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{
"objectID": "04-part-iv-rewind.html#sec-route-topic-intent",
"href": "04-part-iv-rewind.html#sec-route-topic-intent",
"title": "5  Part IV — Rewind",
"section": "5.4 ROUTE and TOPIC are Intent",
"text": "5.4 ROUTE and TOPIC are Intent\nApply two tests to TOPIC consoleIn.outbox. Does it describe something that happened? No. Something currently true? No. It says please begin listening here — desired behaviour, which is Intent. The mediator’s ROUTE is the same kind of message: please forward from here to there.\nOne trap worth naming, because it is tempting in a defence: publishing an Intent is of course something that happened. Classification follows what the message says, not the fact that it exists.\nAnd one condition, which returns later: the dynamic version is not automatically superior. It makes sense only if the consumer actually understands the producer’s message contract.\nSTATIC MEDIATED DYNAMIC DIRECT\nProducer → Mediator → Consumer Intent → (Producer ──► Consumer)",
"crumbs": [
"<span class='chapter-number'>5</span>  <span class='chapter-title'>[Part IV — Rewind]{.en}[Partie IV — Rembobinage]{.fr}[Teil IV — Zurückspulen]{.de}</span>"
]
},
{ {
"objectID": "glossary.html", "objectID": "glossary.html",
"href": "glossary.html", "href": "glossary.html",
@@ -1,12 +0,0 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #2780e3;--bs-indigo: #6610f2;--bs-purple: #613d7c;--bs-pink: #e83e8c;--bs-red: #ff0039;--bs-orange: #f0ad4e;--bs-yellow: #ff7518;--bs-green: #3fb618;--bs-teal: #20c997;--bs-cyan: #9954bb;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-default: #5a6879;--bs-primary: #20666f;--bs-secondary: #5a6879;--bs-success: #3fb618;--bs-info: #9954bb;--bs-warning: #ff7518;--bs-danger: #ff0039;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-default-rgb: 90, 104, 121;--bs-primary-rgb: 32, 102, 111;--bs-secondary-rgb: 90, 104, 121;--bs-success-rgb: 63, 182, 24;--bs-info-rgb: 153, 84, 187;--bs-warning-rgb: 255, 117, 24;--bs-danger-rgb: 255, 0, 57;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-primary-text-emphasis: rgb(12.8, 40.8, 44.4);--bs-secondary-text-emphasis: rgb(36, 41.6, 48.4);--bs-success-text-emphasis: rgb(25.2, 72.8, 9.6);--bs-info-text-emphasis: rgb(61.2, 33.6, 74.8);--bs-warning-text-emphasis: rgb(102, 46.8, 9.6);--bs-danger-text-emphasis: rgb(102, 0, 22.8);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(210.4, 224.4, 226.2);--bs-secondary-bg-subtle: rgb(222, 224.8, 228.2);--bs-success-bg-subtle: rgb(216.6, 240.4, 208.8);--bs-info-bg-subtle: rgb(234.6, 220.8, 241.4);--bs-warning-bg-subtle: rgb(255, 227.4, 208.8);--bs-danger-bg-subtle: rgb(255, 204, 215.4);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(165.8, 193.8, 197.4);--bs-secondary-border-subtle: rgb(189, 194.6, 201.4);--bs-success-border-subtle: rgb(178.2, 225.8, 162.6);--bs-info-border-subtle: rgb(214.2, 186.6, 227.8);--bs-warning-border-subtle: rgb(255, 199.8, 162.6);--bs-danger-border-subtle: rgb(255, 153, 175.8);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #1b2430;--bs-body-color-rgb: 27, 36, 48;--bs-body-bg: #fbfcfd;--bs-body-bg-rgb: 251, 252, 253;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(27, 36, 48, 0.75);--bs-secondary-color-rgb: 27, 36, 48;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(27, 36, 48, 0.5);--bs-tertiary-color-rgb: 27, 36, 48;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #20666f;--bs-link-color-rgb: 32, 102, 111;--bs-link-decoration: underline;--bs-link-hover-color: rgb(25.6, 81.6, 88.8);--bs-link-hover-color-rgb: 26, 82, 89;--bs-code-color: #1b2430;--bs-highlight-bg: rgb(255, 227.4, 208.8);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dae0e8;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(32, 102, 111, 0.25);--bs-form-valid-color: #3fb618;--bs-form-valid-border-color: #3fb618;--bs-form-invalid-color: #ff0039;--bs-form-invalid-border-color: #ff0039}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(121.2, 163.2, 168.6);--bs-secondary-text-emphasis: rgb(156, 164.4, 174.6);--bs-success-text-emphasis: rgb(139.8, 211.2, 116.4);--bs-info-text-emphasis: rgb(193.8, 152.4,Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #fbfcfd;--quarto-body-color: #1b2430;--quarto-text-muted: #6c757d;--quarto-border-color: #dae0e8;--quarto-border-width: 1px}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #fbfcfd;--mermaid-edge-color: #5a6879;--mermaid-node-fg-color: #1b2430;--mermaid-fg-color: #1b2430;--mermaid-fg-color--lighter: rgb(45.36, 60.48, 80.64);--mermaid-fg-color--lightest: rgb(63.72, 84.96, 113.28);--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #fbfcfd;--mermaid-label-fg-color: #20666f;--mermaid-node-bg-color: rgba(32, 102, 111, 0.1);--mermaid-node-fg-color: #1b2430}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(94, 94, 94)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0 1 .5.5vLine truncated
@@ -0,0 +1,12 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #375a7f;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #e83e8c;--bs-red: #e74c3c;--bs-orange: #fd7e14;--bs-yellow: #f39c12;--bs-green: #00bc8c;--bs-teal: #20c997;--bs-cyan: #3498db;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #ebebeb;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #444;--bs-gray-800: #343a40;--bs-gray-900: #222;--bs-default: rgb(67.15, 67.15, 67.15);--bs-primary: #375a7f;--bs-secondary: rgb(67.15, 67.15, 67.15);--bs-success: #00bc8c;--bs-info: #3498db;--bs-warning: #f39c12;--bs-danger: #e74c3c;--bs-light: rgb(111.35, 111.35, 111.35);--bs-dark: rgb(45.05, 45.05, 45.05);--bs-default-rgb: 67, 67, 67;--bs-primary-rgb: 55, 90, 127;--bs-secondary-rgb: 67, 67, 67;--bs-success-rgb: 0, 188, 140;--bs-info-rgb: 52, 152, 219;--bs-warning-rgb: 243, 156, 18;--bs-danger-rgb: 231, 76, 60;--bs-light-rgb: 111, 111, 111;--bs-dark-rgb: 45, 45, 45;--bs-primary-text-emphasis: rgb(22, 36, 50.8);--bs-secondary-text-emphasis: rgb(26.86, 26.86, 26.86);--bs-success-text-emphasis: rgb(0, 75.2, 56);--bs-info-text-emphasis: rgb(20.8, 60.8, 87.6);--bs-warning-text-emphasis: rgb(97.2, 62.4, 7.2);--bs-danger-text-emphasis: rgb(92.4, 30.4, 24);--bs-light-text-emphasis: #444;--bs-dark-text-emphasis: #444;--bs-primary-bg-subtle: rgb(215, 222, 229.4);--bs-secondary-bg-subtle: rgb(217.43, 217.43, 217.43);--bs-success-bg-subtle: rgb(204, 241.6, 232);--bs-info-bg-subtle: rgb(214.4, 234.4, 247.8);--bs-warning-bg-subtle: rgb(252.6, 235.2, 207.6);--bs-danger-bg-subtle: rgb(250.2, 219.2, 216);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(175, 189, 203.8);--bs-secondary-border-subtle: rgb(179.86, 179.86, 179.86);--bs-success-border-subtle: rgb(153, 228.2, 209);--bs-info-border-subtle: rgb(173.8, 213.8, 240.6);--bs-warning-border-subtle: rgb(250.2, 215.4, 160.2);--bs-danger-border-subtle: rgb(245.4, 183.4, 177);--bs-light-border-subtle: #ebebeb;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #fff;--bs-body-color-rgb: 255, 255, 255;--bs-body-bg: #222;--bs-body-bg-rgb: 34, 34, 34;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(255, 255, 255, 0.75);--bs-secondary-color-rgb: 255, 255, 255;--bs-secondary-bg: #ebebeb;--bs-secondary-bg-rgb: 235, 235, 235;--bs-tertiary-color: rgba(255, 255, 255, 0.5);--bs-tertiary-color-rgb: 255, 255, 255;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #00bc8c;--bs-link-color-rgb: 0, 188, 140;--bs-link-decoration: underline;--bs-link-hover-color: rgb(0, 150.4, 112);--bs-link-hover-color-rgb: 0, 150, 112;--bs-code-color: inherit;--bs-highlight-bg: rgb(252.6, 235.2, 207.6);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(55, 90, 127, 0.25);--bs-form-valid-color: #00bc8c;--bs-form-valid-border-color: #00bc8c;--bs-form-invalid-color: #e74c3c;--bs-form-invalid-border-color: #e74c3c}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #222;--bs-body-bg-rgb: 34, 34, 34;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b2e31;--bs-tertiary-bg-rgb: 43, 46, 49;--bs-primary-text-emphasis: rgb(135, 156, 178.2);--bs-secondary-text-emphasis: rgb(142.29, 142.29, 142.29);--bs-success-text-emphasis: rgb(102, 214.8, 186);-Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #222;--quarto-body-color: #fff;--quarto-text-muted: #6c757d;--quarto-border-color: rgb(67.15, 67.15, 67.15);--quarto-border-width: 1px;--quarto-border-radius: 0.25rem}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #222;--mermaid-edge-color: rgb(67.15, 67.15, 67.15);--mermaid-node-fg-color: #fff;--mermaid-fg-color: #fff;--mermaid-fg-color--lighter: white;--mermaid-fg-color--lightest: white;--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #222;--mermaid-label-fg-color: #375a7f;--mermaid-node-bg-color: rgba(55, 90, 127, 0.1);--mermaid-node-fg-color: #fff}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(212, 208, 171)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0Line truncated
@@ -0,0 +1,12 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #2780e3;--bs-indigo: #6610f2;--bs-purple: #613d7c;--bs-pink: #e83e8c;--bs-red: #ff0039;--bs-orange: #f0ad4e;--bs-yellow: #ff7518;--bs-green: #3fb618;--bs-teal: #20c997;--bs-cyan: #9954bb;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-default: #343a40;--bs-primary: #2780e3;--bs-secondary: #343a40;--bs-success: #3fb618;--bs-info: #9954bb;--bs-warning: #ff7518;--bs-danger: #ff0039;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-default-rgb: 52, 58, 64;--bs-primary-rgb: 39, 128, 227;--bs-secondary-rgb: 52, 58, 64;--bs-success-rgb: 63, 182, 24;--bs-info-rgb: 153, 84, 187;--bs-warning-rgb: 255, 117, 24;--bs-danger-rgb: 255, 0, 57;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-primary-text-emphasis: rgb(15.6, 51.2, 90.8);--bs-secondary-text-emphasis: rgb(20.8, 23.2, 25.6);--bs-success-text-emphasis: rgb(25.2, 72.8, 9.6);--bs-info-text-emphasis: rgb(61.2, 33.6, 74.8);--bs-warning-text-emphasis: rgb(102, 46.8, 9.6);--bs-danger-text-emphasis: rgb(102, 0, 22.8);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(211.8, 229.6, 249.4);--bs-secondary-bg-subtle: rgb(214.4, 215.6, 216.8);--bs-success-bg-subtle: rgb(216.6, 240.4, 208.8);--bs-info-bg-subtle: rgb(234.6, 220.8, 241.4);--bs-warning-bg-subtle: rgb(255, 227.4, 208.8);--bs-danger-bg-subtle: rgb(255, 204, 215.4);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(168.6, 204.2, 243.8);--bs-secondary-border-subtle: rgb(173.8, 176.2, 178.6);--bs-success-border-subtle: rgb(178.2, 225.8, 162.6);--bs-info-border-subtle: rgb(214.2, 186.6, 227.8);--bs-warning-border-subtle: rgb(255, 199.8, 162.6);--bs-danger-border-subtle: rgb(255, 153, 175.8);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #343a40;--bs-body-color-rgb: 52, 58, 64;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(52, 58, 64, 0.75);--bs-secondary-color-rgb: 52, 58, 64;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(52, 58, 64, 0.5);--bs-tertiary-color-rgb: 52, 58, 64;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #2761e3;--bs-link-color-rgb: 39, 97, 227;--bs-link-decoration: underline;--bs-link-hover-color: rgb(31.2, 77.6, 181.6);--bs-link-hover-color-rgb: 31, 78, 182;--bs-code-color: #7d12ba;--bs-highlight-bg: rgb(255, 227.4, 208.8);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(39, 128, 227, 0.25);--bs-form-valid-color: #3fb618;--bs-form-valid-border-color: #3fb618;--bs-form-invalid-color: #ff0039;--bs-form-invalid-border-color: #ff0039}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(125.4, 178.8, 238.2);--bs-secondary-text-emphasis: rgb(133.2, 136.8, 140.4);--bs-success-text-emphasis: rgb(139.8, 211.2, 116.4);--bs-info-text-emphasis: rgb(193.8, 152.Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #fff;--quarto-body-color: #343a40;--quarto-text-muted: #6c757d;--quarto-border-color: #dee2e6;--quarto-border-width: 1px}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #fff;--mermaid-edge-color: #343a40;--mermaid-node-fg-color: #343a40;--mermaid-fg-color: #343a40;--mermaid-fg-color--lighter: rgb(74.8620689655, 83.5, 92.1379310345);--mermaid-fg-color--lightest: rgb(97.724137931, 109, 120.275862069);--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #fff;--mermaid-label-fg-color: #2780e3;--mermaid-node-bg-color: rgba(39, 128, 227, 0.1);--mermaid-node-fg-color: #343a40}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(105, 105, 105)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9Line truncated
@@ -66,6 +66,8 @@
padding: 0.35rem 0.1rem 0.1rem; padding: 0.35rem 0.1rem 0.1rem;
scroll-margin-top: 5rem; scroll-margin-top: 5rem;
} }
/* Quarto greys every summary (#6c757d): 3.4:1 on darkly */
.exo-sol > summary { color: var(--calc-muted, #57606a); }
/* in a numbered part, the fold lines up with the part's text */ /* in a numbered part, the fold lines up with the part's text */
.exo li > details { margin-left: 0; } .exo li > details { margin-left: 0; }
@@ -62,8 +62,7 @@ mjx-container a {
scroll-margin-top: 5rem; scroll-margin-top: 5rem;
} }
.gls-back { .gls-back {
font-size: 0.85em; font-size: 0.85em; /* smaller, not fainter: at 0.75 opacity the link read 3.4:1 */
opacity: 0.75;
} }
/* standalone property cards keep the section flow (no indent) */ /* standalone property cards keep the section flow (no indent) */
@@ -43,8 +43,8 @@
cursor: pointer; cursor: pointer;
list-style: none; /* remove the default triangle ... */ list-style: none; /* remove the default triangle ... */
user-select: none; user-select: none;
opacity: 0.7; font-style: italic; /* quiet by style and --calc-muted (theme.css), not by
font-style: italic; opacity, which took it under 4.5:1 */
} }
.calc-note > summary::-webkit-details-marker { display: none; } .calc-note > summary::-webkit-details-marker { display: none; }
.calc-note > summary::before { content: "▸ "; font-style: normal; } .calc-note > summary::before { content: "▸ "; font-style: normal; }
@@ -42,9 +42,65 @@ main table:not(.ltx-table) { display: block; max-width: 100%; overflow-x: auto;
element is oversized, so only the text itself overflows. */ element is oversized, so only the text itself overflows. */
#quarto-document-content :is(a, code) { overflow-wrap: break-word; } #quarto-document-content :is(a, code) { overflow-wrap: break-word; }
/* Quarto lets inline code wrap only inside a <p> (white-space: pre-wrap);
in a list item or a table it keeps one line, and a formula such as
"{PersN} → {PersN, Name, Position, Room, …}" pushed a page to 947px. */
#quarto-document-content :not(pre) > code:not(.sourceCode) { white-space: pre-wrap; }
/* A long compound in running text — "Unternehmensarchitekturmanagement" in
a list item is 348px — has no break opportunity. The page's lang picks
the hyphenation dictionary; overflow-wrap is the fallback without one. */
#quarto-document-content { hyphens: auto; overflow-wrap: break-word; }
/* An inline formula MathJax cannot break (one long fraction or product)
is wider than a phone: 413px in ModernPhysics' first exercise. It scrolls
inside its own box instead of pushing the page; the padding keeps tall
glyphs clear of the box's edge. */
/* A Bootstrap grid (::: {.grid} with .g-col-* items) has 12 columns and 11
gaps of 1.5rem: 264px of gaps alone, more than a callout on a phone
(248px in SoftwareEngineering's git appendix), so the columns collapse to
0 and a full-width item overflows. A smaller gap keeps the layout;
min-width: 0 lets an item's text wrap instead of widening its track. */
.grid { --bs-gap: 0.75rem; }
.grid > [class*="g-col"] { min-width: 0; }
#quarto-document-content mjx-container:not([display="true"]) {
display: inline-block;
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
vertical-align: middle;
padding-block: 0.15em;
}
/* Quarto's own previous/next footer: the chapter titles are laid out in a /* Quarto's own previous/next footer: the chapter titles are laid out in a
row that will not shrink, so a long title pushes the page sideways. */ row that will not shrink, so a long title pushes the page sideways. */
.page-navigation { flex-wrap: wrap; row-gap: 0.75em; } .page-navigation { flex-wrap: wrap; row-gap: 0.75em; }
.nav-page, .nav-page .nav-page-text { min-width: 0; } .nav-page, .nav-page .nav-page-text { min-width: 0; }
.nav-page .chapter-title { overflow-wrap: break-word; } .nav-page .chapter-title { overflow-wrap: break-word; }
/* A long compound in a heading — "Implementierungsentscheidungen" is 366px
at h3 size — is wider than a 320px screen. The page's lang picks the
hyphenation dictionary; overflow-wrap is the fallback without one. */
#quarto-document-content :is(h1, h2, h3, h4, h5, h6),
.quarto-title .title {
hyphens: auto;
overflow-wrap: break-word;
}
/* The bar at the top of a phone page: menu button, the chapter's title,
search. The title is a flex item that will not shrink, so a long one
("3 Komplexitätsanalyse" in darkly's wider font) pushes the search button
off the screen. It now shrinks and ends in an ellipsis. */
.quarto-secondary-nav nav.quarto-page-breadcrumbs { min-width: 0; }
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb {
flex-wrap: nowrap;
min-width: 0;
}
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
} }
@@ -75,6 +75,103 @@ body.quarto-dark main img[src$=".svg"]:not(.no-invert) {
filter: invert(1) hue-rotate(180deg); filter: invert(1) hue-rotate(180deg);
} }
/* --- captions -----------------------------------------------------------
Quarto's caption grey reads 4.4:1 on cosmo's white, under WCAG AA. The
muted token reads about 6.4:1 in light and in dark, and high contrast
makes it the foreground. The list ends with Quarto's most specific caption
selector so that :is() gives every entry its weight. */
:is(.panel-caption, .figure-caption, .subfigure-caption, .table-caption,
figcaption, caption, .margin-caption, .column-margin figcaption,
.quarto-layout-cell[data-ref-parent] caption) {
color: var(--calc-muted, #57606a);
}
/* --- breadcrumbs --------------------------------------------------------
Quarto greys the current page (#6c757d) and Bootstrap the separators; on
darkly's breadcrumb band that reads 2.1:1. The ink token passes in every
mode. `body` outweighs Quarto's own selectors; pseudo-elements cannot go
inside :is(), hence the separate rule. */
body :is(.quarto-title-breadcrumbs .breadcrumb li:last-of-type a,
.breadcrumb-item.active) {
color: var(--calc-ink, #1a1a1a);
}
body .breadcrumb-item + .breadcrumb-item::before,
body .quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item::before,
body .quarto-secondary-nav nav.quarto-page-breadcrumbs a {
color: var(--calc-ink, #1a1a1a);
}
/* --- Quarto's other greys -----------------------------------------------
Quarto hard-codes #6c757d for every fold label (details > summary) and for
the previous/next page links, and a mid grey for section numbers: 3.4:1 on
darkly, 4.4:1 on cosmo. The muted token reads about 6.4:1 in both, and
high contrast makes it the foreground. An exercise hint keeps its accent
(.exo-hint > summary outweighs these), and the active entry of the
contents still inherits its colour. */
body details > summary,
body .nav-page a,
body .header-section-number {
color: var(--calc-muted, #57606a);
}
/* Quoted text: Quarto's .blockquote grey is 4.4:1 on cosmo, and it names the
paragraphs, so they are named here too. */
body :is(blockquote, .blockquote, blockquote p, .blockquote p) {
color: var(--calc-muted, #57606a);
}
/* Inline code: Bootstrap's pill is #f8f9fa in both themes, so darkly's light
code text sat on near-white (1.05:1). The pill is now a faint tint of the
page, which keeps each theme's code colour readable, and inherited muted
text (code in a caption) too. */
body :not(pre) > code:not(.sourceCode) {
background-color: color-mix(in srgb, var(--calc-faint, #e7e9ec) 60%,
var(--calc-surface, #ffffff));
}
/* A code block inside a tinted box (exercise, hint, solution, "to go
further", quiz): Quarto's block ground is 65% opaque, so the tint shows
through and a11y-light's keyword red drops to 4.4:1. Here the ground is
opaque, and the same light grey as on the page. */
body :is(.exo, .exo-hint, .exo-sol, .further, .quiz) div.sourceCode {
background-color: color-mix(in srgb, var(--calc-faint, #e7e9ec) 45%,
var(--calc-surface, #ffffff));
}
/* A static (not executed) block also gives its <code> the translucent
ground, so the two layers stack and darken it. The block carries the
ground; the code inside is transparent, as in an executed cell. */
body div.sourceCode > pre > code.sourceCode { background-color: transparent; }
/* --- Jupyter output: ANSI colours ---------------------------------------
A traceback comes out in the notebook's terminal palette, made for a dark
terminal: yellow is 1.9:1 and cyan 2.0:1 on the page. Each colour name
takes the matching token with a fifth of ink, which keeps the hue and passes
in all four modes. IPython's 256-colour spans carry inline styles and no
name, so they take the text colour. */
body :is(.ansi-black-fg, .ansi-bright-black-fg) { color: var(--calc-ink); }
body :is(.ansi-white-fg, .ansi-bright-white-fg) { color: var(--calc-muted); }
body :is(.ansi-red-fg, .ansi-bright-red-fg) {
color: color-mix(in srgb, var(--calc-danger) 85%, var(--calc-ink));
}
body :is(.ansi-green-fg, .ansi-bright-green-fg) {
color: color-mix(in srgb, var(--calc-accent-c) 75%, var(--calc-ink));
}
body :is(.ansi-yellow-fg, .ansi-bright-yellow-fg) {
color: color-mix(in srgb, var(--calc-accent-b) 75%, var(--calc-ink));
}
body :is(.ansi-blue-fg, .ansi-bright-blue-fg) {
color: color-mix(in srgb, var(--calc-accent-a) 80%, var(--calc-ink));
}
body :is(.ansi-magenta-fg, .ansi-bright-magenta-fg) {
color: color-mix(in srgb, var(--calc-furthercolor) 85%, var(--calc-ink));
}
body :is(.ansi-cyan-fg, .ansi-bright-cyan-fg) {
color: color-mix(in srgb,
color-mix(in srgb, var(--calc-accent-a) 50%, var(--calc-accent-c)) 75%,
var(--calc-ink));
}
body .ansi-escaped-output span[style*="color"] { color: inherit !important; }
/* --- higher contrast --------------------------------------------------- /* --- higher contrast ---------------------------------------------------
The high-contrast pair lives in high-contrast.css, which is loaded with The high-contrast pair lives in high-contrast.css, which is loaded with
this file and keys off `hc` on <html>. */ this file and keys off `hc` on <html>. */
@@ -107,6 +204,20 @@ body.quarto-dark :is(.aa-Autocomplete, .aa-DetachedFormContainer)
color: var(--calc-muted, #9aa4b2); color: var(--calc-muted, #9aa4b2);
} }
/* --- search: the selected result ----------------------------------------
Quarto marks it with cosmo's primary (#2780e3) under white text, 3.97:1,
and its matched words with a lighter blue, worse still. The same hue at a
lower lightness passes. Night mode (darkly's #375a7f, 7.2:1) and high
contrast (high-contrast.css) keep their own. */
html:not(.hc) body:not(.quarto-dark) :is(.aa-DetachedOverlay, #quarto-search-results)
li.aa-Item[aria-selected="true"] :is(.search-item, .search-item *:not(mark, .mark)) {
background-color: oklch(from var(--bs-primary, #2780e3) 0.42 c h);
}
html:not(.hc) body:not(.quarto-dark) :is(.aa-DetachedOverlay, #quarto-search-results)
li.aa-Item[aria-selected="true"] .search-item :is(mark.search-match, .search-match.mark) {
background-color: oklch(from var(--bs-primary, #2780e3) 0.52 c h);
}
/* --- the high-contrast switch ------------------------------------------- /* --- the high-contrast switch -------------------------------------------
Built by calc-notes.js next to Quarto's light/dark toggle, and styled to Built by calc-notes.js next to Quarto's light/dark toggle, and styled to
sit with it rather than stand out. */ sit with it rather than stand out. */
@@ -1,34 +1,34 @@
/* quarto syntax highlight colors */ /* quarto syntax highlight colors */
:root { :root {
--quarto-hl-ot-color: #003B4F; --quarto-hl-ot-color: #d91e18;
--quarto-hl-at-color: #657422; --quarto-hl-at-color: #a55a00;
--quarto-hl-ss-color: #20794D; --quarto-hl-ss-color: #008000;
--quarto-hl-an-color: #5E5E5E; --quarto-hl-an-color: #696969;
--quarto-hl-fu-color: #4758AB; --quarto-hl-fu-color: #06287e;
--quarto-hl-st-color: #20794D; --quarto-hl-st-color: #008000;
--quarto-hl-cf-color: #003B4F; --quarto-hl-cf-color: #d91e18;
--quarto-hl-op-color: #5E5E5E; --quarto-hl-op-color: #00769e;
--quarto-hl-er-color: #AD0000; --quarto-hl-er-color: #7928a1;
--quarto-hl-bn-color: #AD0000; --quarto-hl-bn-color: #7928a1;
--quarto-hl-al-color: #AD0000; --quarto-hl-al-color: #7928a1;
--quarto-hl-va-color: #111111; --quarto-hl-va-color: #a55a00;
--quarto-hl-bu-color: inherit; --quarto-hl-bu-color: inherit;
--quarto-hl-ex-color: inherit; --quarto-hl-ex-color: inherit;
--quarto-hl-pp-color: #AD0000; --quarto-hl-pp-color: #7928a1;
--quarto-hl-in-color: #5E5E5E; --quarto-hl-in-color: #696969;
--quarto-hl-vs-color: #20794D; --quarto-hl-vs-color: #008000;
--quarto-hl-wa-color: #5E5E5E; --quarto-hl-wa-color: #696969;
--quarto-hl-do-color: #5E5E5E; --quarto-hl-do-color: #696969;
--quarto-hl-im-color: #00769E; --quarto-hl-im-color: inherit;
--quarto-hl-ch-color: #20794D; --quarto-hl-ch-color: #008000;
--quarto-hl-dt-color: #AD0000; --quarto-hl-dt-color: #7928a1;
--quarto-hl-fl-color: #AD0000; --quarto-hl-fl-color: #a55a00;
--quarto-hl-co-color: #5E5E5E; --quarto-hl-co-color: #696969;
--quarto-hl-cv-color: #5E5E5E; --quarto-hl-cv-color: #696969;
--quarto-hl-cn-color: #8f5902; --quarto-hl-cn-color: #d91e18;
--quarto-hl-sc-color: #5E5E5E; --quarto-hl-sc-color: #00769e;
--quarto-hl-dv-color: #AD0000; --quarto-hl-dv-color: #7928a1;
--quarto-hl-kw-color: #003B4F; --quarto-hl-kw-color: #d91e18;
} }
/* other quarto variables */ /* other quarto variables */
@@ -38,44 +38,44 @@
/* syntax highlight based on Pandoc's rules */ /* syntax highlight based on Pandoc's rules */
pre > code.sourceCode > span { pre > code.sourceCode > span {
color: #003B4F; color: #545454;
} }
code.sourceCode > span { code.sourceCode > span {
color: #003B4F; color: #545454;
} }
div.sourceCode, div.sourceCode,
div.sourceCode pre.sourceCode { div.sourceCode pre.sourceCode {
color: #003B4F; color: #545454;
} }
/* Normal */ /* Normal */
code span { code span {
color: #003B4F; color: #545454;
} }
/* Alert */ /* Alert */
code span.al { code span.al {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* Annotation */ /* Annotation */
code span.an { code span.an {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* Attribute */ /* Attribute */
code span.at { code span.at {
color: #657422; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* BaseN */ /* BaseN */
code span.bn { code span.bn {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
@@ -86,56 +86,55 @@ code span.bu {
/* ControlFlow */ /* ControlFlow */
code span.cf { code span.cf {
color: #003B4F; color: #d91e18;
font-weight: bold;
font-style: inherit; font-style: inherit;
} }
/* Char */ /* Char */
code span.ch { code span.ch {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Constant */ /* Constant */
code span.cn { code span.cn {
color: #8f5902; color: #d91e18;
font-style: inherit; font-style: inherit;
} }
/* Comment */ /* Comment */
code span.co { code span.co {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* CommentVar */ /* CommentVar */
code span.cv { code span.cv {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
/* Documentation */ /* Documentation */
code span.do { code span.do {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
/* DataType */ /* DataType */
code span.dt { code span.dt {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* DecVal */ /* DecVal */
code span.dv { code span.dv {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* Error */ /* Error */
code span.er { code span.er {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
@@ -146,86 +145,84 @@ code span.ex {
/* Float */ /* Float */
code span.fl { code span.fl {
color: #AD0000; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* Function */ /* Function */
code span.fu { code span.fu {
color: #4758AB; color: #06287e;
font-style: inherit; font-style: inherit;
} }
/* Import */ /* Import */
code span.im { code span.im {
color: #00769E;
font-style: inherit; font-style: inherit;
} }
/* Information */ /* Information */
code span.in { code span.in {
color: #5E5E5E; color: #696969;
font-style: inherit; font-style: inherit;
} }
/* Keyword */ /* Keyword */
code span.kw { code span.kw {
color: #003B4F; color: #d91e18;
font-weight: bold;
font-style: inherit; font-style: inherit;
} }
/* Operator */ /* Operator */
code span.op { code span.op {
color: #5E5E5E; color: #00769e;
font-style: inherit; font-style: inherit;
} }
/* Other */ /* Other */
code span.ot { code span.ot {
color: #003B4F; color: #d91e18;
font-style: inherit; font-style: inherit;
} }
/* Preprocessor */ /* Preprocessor */
code span.pp { code span.pp {
color: #AD0000; color: #7928a1;
font-style: inherit; font-style: inherit;
} }
/* SpecialChar */ /* SpecialChar */
code span.sc { code span.sc {
color: #5E5E5E; color: #00769e;
font-style: inherit; font-style: inherit;
} }
/* SpecialString */ /* SpecialString */
code span.ss { code span.ss {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* String */ /* String */
code span.st { code span.st {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Variable */ /* Variable */
code span.va { code span.va {
color: #111111; color: #a55a00;
font-style: inherit; font-style: inherit;
} }
/* VerbatimString */ /* VerbatimString */
code span.vs { code span.vs {
color: #20794D; color: #008000;
font-style: inherit; font-style: inherit;
} }
/* Warning */ /* Warning */
code span.wa { code span.wa {
color: #5E5E5E; color: #696969;
font-style: italic; font-style: italic;
} }
@@ -233,4 +230,4 @@ code span.wa {
content: "</"; content: "</";
} }
/*# sourceMappingURL=39d13593ecb7db6d02e40e1582482a0e.css.map */ /*# sourceMappingURL=0a12fef89ae5056e90fb92cad957d154.css.map */
@@ -0,0 +1,234 @@
/* quarto syntax highlight colors */
:root {
--quarto-hl-ot-color: #ffa07a;
--quarto-hl-at-color: #ffd700;
--quarto-hl-ss-color: #abe338;
--quarto-hl-an-color: #d4d0ab;
--quarto-hl-fu-color: #ffd700;
--quarto-hl-st-color: #abe338;
--quarto-hl-cf-color: #ffa07a;
--quarto-hl-op-color: #00e0e0;
--quarto-hl-er-color: #dcc6e0;
--quarto-hl-bn-color: #dcc6e0;
--quarto-hl-al-color: #dcc6e0;
--quarto-hl-va-color: #f5ab35;
--quarto-hl-bu-color: #f5ab35;
--quarto-hl-ex-color: #ffd700;
--quarto-hl-pp-color: #dcc6e0;
--quarto-hl-in-color: #d4d0ab;
--quarto-hl-vs-color: #abe338;
--quarto-hl-wa-color: #d4d0ab;
--quarto-hl-do-color: #d4d0ab;
--quarto-hl-ch-color: #abe338;
--quarto-hl-dt-color: #dcc6e0;
--quarto-hl-fl-color: #f5ab35;
--quarto-hl-co-color: #d4d0ab;
--quarto-hl-cv-color: #d4d0ab;
--quarto-hl-cn-color: #ffa07a;
--quarto-hl-sc-color: #00e0e0;
--quarto-hl-dv-color: #dcc6e0;
--quarto-hl-kw-color: #ffa07a;
}
/* other quarto variables */
:root {
--quarto-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
/* syntax highlight based on Pandoc's rules */
pre > code.sourceCode > span {
color: #f8f8f2;
}
code.sourceCode > span {
color: #f8f8f2;
}
div.sourceCode,
div.sourceCode pre.sourceCode {
color: #f8f8f2;
}
/* Normal */
code span {
color: #f8f8f2;
}
/* Alert */
code span.al {
color: #dcc6e0;
font-style: inherit;
}
/* Annotation */
code span.an {
color: #d4d0ab;
font-style: inherit;
}
/* Attribute */
code span.at {
color: #ffd700;
font-style: inherit;
}
/* BaseN */
code span.bn {
color: #dcc6e0;
font-style: inherit;
}
/* BuiltIn */
code span.bu {
color: #f5ab35;
font-style: inherit;
}
/* ControlFlow */
code span.cf {
color: #ffa07a;
font-style: inherit;
}
/* Char */
code span.ch {
color: #abe338;
font-style: inherit;
}
/* Constant */
code span.cn {
color: #ffa07a;
font-style: inherit;
}
/* Comment */
code span.co {
color: #d4d0ab;
font-style: inherit;
}
/* CommentVar */
code span.cv {
color: #d4d0ab;
font-style: italic;
}
/* Documentation */
code span.do {
color: #d4d0ab;
font-style: italic;
}
/* DataType */
code span.dt {
color: #dcc6e0;
font-style: inherit;
}
/* DecVal */
code span.dv {
color: #dcc6e0;
font-style: inherit;
}
/* Error */
code span.er {
color: #dcc6e0;
font-style: inherit;
}
/* Extension */
code span.ex {
color: #ffd700;
font-style: inherit;
}
/* Float */
code span.fl {
color: #f5ab35;
font-style: inherit;
}
/* Function */
code span.fu {
color: #ffd700;
font-style: inherit;
}
/* Import */
code span.im {
font-style: inherit;
}
/* Information */
code span.in {
color: #d4d0ab;
font-style: inherit;
}
/* Keyword */
code span.kw {
color: #ffa07a;
font-style: inherit;
}
/* Operator */
code span.op {
color: #00e0e0;
font-style: inherit;
}
/* Other */
code span.ot {
color: #ffa07a;
font-style: inherit;
}
/* Preprocessor */
code span.pp {
color: #dcc6e0;
font-style: inherit;
}
/* SpecialChar */
code span.sc {
color: #00e0e0;
font-style: inherit;
}
/* SpecialString */
code span.ss {
color: #abe338;
font-style: inherit;
}
/* String */
code span.st {
color: #abe338;
font-style: inherit;
}
/* Variable */
code span.va {
color: #f5ab35;
font-style: inherit;
}
/* VerbatimString */
code span.vs {
color: #abe338;
font-style: inherit;
}
/* Warning */
code span.wa {
color: #d4d0ab;
font-style: italic;
}
.prevent-inlining {
content: "</";
}
/*# sourceMappingURL=02314e985f2be8e35f214ed82eec63a7.css.map */
+6 -6
View File
@@ -1,7 +1,7 @@
e1b695980dee84de5bfa19ff7bfab6c2 README.md 5b7e9e47a1d66e992b69f7ac91901349 README.md
a86fced789dc540cf13974d26391c92d _extension.yml 41f8fa1eb18e957e8423e0c97275af73 _extension.yml
9037e06faf2c5fde7b3d614039652eed audit-page.js 9037e06faf2c5fde7b3d614039652eed audit-page.js
f9f1c739b8a198b3e9c2c087a5904f85 audit.py f6fbbba5aecc3141f06bf2aca93fccac audit.py
a2f486f6e2dc382624f99801db209b75 calc-notes.css a2f486f6e2dc382624f99801db209b75 calc-notes.css
e9500e2554429fc8da7e9b2a6b51c8f1 calc-notes.js e9500e2554429fc8da7e9b2a6b51c8f1 calc-notes.js
c06ae335d8506b347298d2a8f0e04ef2 calc-notes.lua c06ae335d8506b347298d2a8f0e04ef2 calc-notes.lua
@@ -20,9 +20,9 @@ e380e93d24a5968cc483dcbe48d99613 exo.css
061f762946d63ea672d4f989f762baf7 latex-tables.css 061f762946d63ea672d4f989f762baf7 latex-tables.css
bab632a49553476bc5275b9c583f457e latex-tables.lua bab632a49553476bc5275b9c583f457e latex-tables.lua
b846f2c4afd59aa0c9a328c71633425f narrow.css b846f2c4afd59aa0c9a328c71633425f narrow.css
f5b63a6c6c5d3f9df63766ade2719ff2 quiz.css 21b27640373cee858ad28cd9aaa1e858 quiz.css
79e94885bf370abe27eeb6df81666946 quiz.js d03bb30f6a18c048173c24a0bcba5e24 quiz.js
1695d57dcb6deb45f4fb2303dee6aa09 quiz.lua fb8f6092f6d5c3d2d407f8dac41bd2af quiz.lua
2b8ca7ff531d30903bc41240e8b77691 si-mathjax.lua 2b8ca7ff531d30903bc41240e8b77691 si-mathjax.lua
d32141259df2ce229400779c2ed284d9 sync.sh d32141259df2ce229400779c2ed284d9 sync.sh
838bac386bf1e2b1e0323d91119c3632 theme.css 838bac386bf1e2b1e0323d91119c3632 theme.css
+24 -6
View File
@@ -31,6 +31,8 @@ exo:
quiz: quiz:
pdf-answers: inline # PDF: answers under the quiz (default: end of chapter) pdf-answers: inline # PDF: answers under the quiz (default: end of chapter)
points: 3 # points one question is worth (default 3)
penalty: 1 # points one wrong statement costs (default 1)
label: "Quiz" # labels follow `lang` (en/fr/de); override any of label: "Quiz" # labels follow `lang` (en/fr/de); override any of
question: "Question" # label, question, answers, answer, check, reset, question: "Question" # label, question, answers, answer, check, reset,
check: "Vérifier" # right, wrong, score, true, false, hint, page check: "Vérifier" # right, wrong, score, true, false, hint, page
@@ -194,13 +196,29 @@ a single question). Numbering is chapter.n, as for exercises.
In HTML the options are real checkboxes and one **Check** button at the end of In HTML the options are real checkboxes and one **Check** button at the end of
the quiz marks every option, reveals the explanations for the mistakes and the quiz marks every option, reveals the explanations for the mistakes and
scores the quiz; **Reset** clears it. A question counts as correct only when scores the quiz; **Reset** clears it. A question counts as correct — the
*all* of its options are in the right state — the exam's multiple-true-false verdict line — only when *all* of its options are in the right state, which is
rule. the exam's multiple-true-false rule.
In the PDF the boxes are empty, to tick with a pen, and the answers are **Points.** A question is worth `points` (default 3). Every statement whose box
printed at the end of the chapter with a page reference back to the quiz disagrees with its truth value costs `penalty` (default 1): an unticked true
(`quiz: pdf-answers: inline` keeps them in place). statement and a ticked false one both count as one miss. The result floors at
zero, so three misses empty a 3-point question and a fourth cannot take the
total negative. The quiz's headline is the sum over its questions, "4 of 6
points". Set the pair book-wide under `quiz:` in `_quarto.yml`, or per quiz and
per question:
```markdown
::::{.quiz title="..." points="6" penalty="2"}
::: {.question points="3"}
```
A question's own attribute wins over the quiz's, which wins over the metadata.
In the PDF the boxes are empty, to tick with a pen, the points a question is
worth are printed next to its heading, and the answers are printed at the end
of the chapter with a page reference back to the quiz (`quiz: pdf-answers:
inline` keeps them in place).
Correct answers are part of the built HTML, as solutions are: the quiz is a Correct answers are part of the built HTML, as solutions are: the quiz is a
self-check, not an assessment. self-check, not an assessment.
+1 -1
View File
@@ -1,6 +1,6 @@
title: notes title: notes
author: Matsune author: Matsune
version: 2.8.18 version: 2.9.0
quarto-required: ">=1.4.0" quarto-required: ">=1.4.0"
contributes: contributes:
filters: filters:
+12
View File
@@ -83,6 +83,18 @@ def main():
futs = {ex.submit(load, SHELLS[-1], f"http://127.0.0.2:{port}/{p}", w): (p, w) for p, w in jobs} futs = {ex.submit(load, SHELLS[-1], f"http://127.0.0.2:{port}/{p}", w): (p, w) for p, w in jobs}
for f in cf.as_completed(futs): for f in cf.as_completed(futs):
results[futs[f]] = f.result() results[futs[f]] = f.result()
# Under load the little http server sometimes drops a file: a page then
# gives no result, or loads without the extension (no ◐ button, no
# narrow.css) and shows overflow that is not there. Retry those runs
# alone, twice, before reporting them.
def suspect(r):
return "error" in r or not r.get("hasHcButton")
for _ in range(2):
again = [k for k, r in results.items() if suspect(r)]
for p, w in again:
r = load(SHELLS[-1], f"http://127.0.0.2:{port}/{p}", w)
if not suspect(r) or "error" in results[(p, w)]:
results[(p, w)] = r
srv.shutdown() srv.shutdown()
shutil.rmtree(os.path.dirname(dst), ignore_errors=True) shutil.rmtree(os.path.dirname(dst), ignore_errors=True)
+40
View File
@@ -113,6 +113,31 @@
margin-top: 0.5rem; margin-top: 0.5rem;
} }
/* ---- the per-question points badge ---------------------------------- */
/* The head now always exists (it is where the badge lands), so an empty one
on a single-question quiz must not leave a gap. */
.quiz-q-head:empty { display: none; }
.quiz-q-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 0.6rem;
}
.quiz-q-score {
font-size: 0.82rem;
font-weight: 400;
color: var(--quiz-ink);
white-space: nowrap;
}
.quiz-q-score b { color: var(--calc-notecolor, #B45309); font-weight: 600; }
/* green and red stay reserved for a judged answer; the badge follows the
verdict right below it so the two never disagree */
.quiz-q-score.quiz-ok b { color: var(--quiz-ok); }
.quiz-q-score.quiz-bad b { color: var(--quiz-bad); }
/* ---- verdict and bar ------------------------------------------------ */ /* ---- verdict and bar ------------------------------------------------ */
.quiz-verdict { .quiz-verdict {
@@ -160,6 +185,18 @@
/* ---- dark theme ----------------------------------------------------- */ /* ---- dark theme ----------------------------------------------------- */
/* High contrast remaps the whole palette, and --quiz-ok / --quiz-bad are local
to this file, so they have to be pointed at the HC pair by hand: without
this the verdict and the points badge keep their ordinary-mode green and
red, which is exactly what a reader turns HC on to avoid. `body` makes it
outweigh body.quarto-dark .quiz below, or dark + HC would keep the plain
dark pair. */
html.hc body .quiz {
--quiz-ok: var(--hc-success);
--quiz-bad: var(--hc-danger);
--quiz-ink: var(--hc-fg);
}
body.quarto-dark .quiz { body.quarto-dark .quiz {
--quiz-ok: #4cb08a; --quiz-ok: #4cb08a;
--quiz-bad: #e2798f; --quiz-bad: #e2798f;
@@ -174,5 +211,8 @@ body.quarto-dark .quiz {
*/ */
@media print { @media print {
.quiz-bar { display: none; } .quiz-bar { display: none; }
/* on paper the points are printed in the statement by quiz.lua, so the
screen badge would say the same thing twice */
.quiz-q-score { display: none; }
.quiz-opt.quiz-ok, .quiz-opt.quiz-bad { background: none; } .quiz-opt.quiz-ok, .quiz-opt.quiz-bad { background: none; }
} }
+88 -31
View File
@@ -1,16 +1,22 @@
// quiz — judge the tick boxes of one quiz, explain what went wrong // quiz — judge the tick boxes of one quiz, score it in points, explain mistakes
// //
// Every label the reader sees is written into the markup by quiz.lua, so the // Every label the reader sees is written into the markup by quiz.lua, so the
// wording follows the book's language and nothing is translated twice. A // wording follows the book's language and nothing is translated twice. A
// quiz carries: // quiz carries:
// data-quiz-score "{n} of {m} questions correct" ({n}/{m} substituted) // data-quiz-score "{n} of {m} questions correct"
// data-quiz-points "{n} of {m} points" (the headline)
// data-quiz-qpoints "{n}/{m} points" (one question's badge)
// data-quiz-right verdict of a question answered correctly // data-quiz-right verdict of a question answered correctly
// data-quiz-wrong verdict of a question answered wrongly // data-quiz-wrong verdict of a question answered wrongly
// and each question carries data-points / data-penalty.
// //
// A question is right only when every one of its options is in the right // SCORING. A question is worth data-points (default 3). Every statement whose
// state: ticked when true, left empty when false. That is the "multiple // box disagrees with its truth value — an unticked true one, or a ticked false
// true/false" rule of the exam, and it is why a half-ticked question counts // one — costs data-penalty (default 1). The result floors at zero, so a
// as wrong. // question can never drag the total down. The quiz total is the sum over its
// questions. A question still counts as "correct" for the verdict line only
// when every one of its statements is right, which is the exam's
// multiple-true-false rule.
(function () { (function () {
"use strict"; "use strict";
@@ -18,12 +24,41 @@
return quiz.querySelectorAll(".quiz-opt"); return quiz.querySelectorAll(".quiz-opt");
} }
// Number(undefined) || 3 would also swallow a deliberate 0, so test first.
function num(el, name, dflt) {
var raw = el.dataset ? el.dataset[name] : null;
if (raw === undefined || raw === null || raw === "") return dflt;
var n = Number(raw);
return isFinite(n) ? n : dflt;
}
// Substitute {n} and {m} into a template from metadata, building text nodes
// rather than markup: the template is author text, never trusted as HTML.
function render(el, template, n, m) {
el.innerHTML = "";
var parts = template.split(/\{n\}|\{m\}/);
var values = (template.match(/\{n\}|\{m\}/g) || []).map(function (token) {
return token === "{n}" ? n : m;
});
parts.forEach(function (text, i) {
el.appendChild(document.createTextNode(text));
if (i < values.length) {
var b = document.createElement("b");
b.textContent = String(values[i]);
el.appendChild(b);
}
});
}
function judge(quiz) { function judge(quiz) {
var questions = quiz.querySelectorAll(".quiz-q"); var questions = quiz.querySelectorAll(".quiz-q");
var right = 0; var right = 0, scored = 0, available = 0;
questions.forEach(function (q) { questions.forEach(function (q) {
var ok = true; var ok = true;
var misses = 0;
var pts = num(q, "points", 3);
var pen = num(q, "penalty", 1);
q.querySelectorAll(".quiz-opt").forEach(function (opt) { q.querySelectorAll(".quiz-opt").forEach(function (opt) {
var box = opt.querySelector(".quiz-box"); var box = opt.querySelector(".quiz-box");
@@ -34,13 +69,27 @@
opt.classList.toggle("quiz-ok", hit); opt.classList.toggle("quiz-ok", hit);
opt.classList.toggle("quiz-bad", !hit); opt.classList.toggle("quiz-bad", !hit);
// the explanation of an option is for the reader who got it wrong // the explanation of an option is for the reader who got it wrong.
var why = opt.querySelector(".quiz-why"); // :scope > keeps this to the option's own .why — a question-level
// .quiz-why-q also carries the class quiz-why.
var why = opt.querySelector(":scope > .quiz-why");
if (why) why.hidden = hit; if (why) why.hidden = hit;
if (!hit) ok = false; if (!hit) { ok = false; misses++; }
}); });
var got = Math.max(0, pts - misses * pen);
scored += got;
available += pts;
var badge = q.querySelector(".quiz-q-score");
if (badge) {
badge.hidden = false;
render(badge, quiz.dataset.quizQpoints || "{n}/{m}", got, pts);
badge.classList.toggle("quiz-ok", misses === 0);
badge.classList.toggle("quiz-bad", got === 0 && pts > 0);
}
var verdict = q.querySelector(".quiz-verdict"); var verdict = q.querySelector(".quiz-verdict");
if (verdict) { if (verdict) {
verdict.hidden = false; verdict.hidden = false;
@@ -60,22 +109,8 @@
var score = quiz.querySelector(".quiz-score"); var score = quiz.querySelector(".quiz-score");
if (score) { if (score) {
var template = quiz.dataset.quizScore || "{n}/{m}"; score.hidden = false;
score.innerHTML = ""; render(score, quiz.dataset.quizPoints || "{n}/{m}", scored, available);
// built as nodes, not markup: the template comes from metadata
var parts = template.split(/\{n\}|\{m\}/);
var values = [];
(template.match(/\{n\}|\{m\}/g) || []).forEach(function (token) {
values.push(token === "{n}" ? right : questions.length);
});
parts.forEach(function (text, i) {
score.appendChild(document.createTextNode(text));
if (i < values.length) {
var b = document.createElement("b");
b.textContent = String(values[i]);
score.appendChild(b);
}
});
} }
} }
@@ -84,7 +119,7 @@
var box = opt.querySelector(".quiz-box"); var box = opt.querySelector(".quiz-box");
if (box) box.checked = false; if (box) box.checked = false;
opt.classList.remove("quiz-ok", "quiz-bad"); opt.classList.remove("quiz-ok", "quiz-bad");
var why = opt.querySelector(".quiz-why"); var why = opt.querySelector(":scope > .quiz-why");
if (why) why.hidden = true; if (why) why.hidden = true;
}); });
quiz.querySelectorAll(".quiz-verdict").forEach(function (v) { quiz.querySelectorAll(".quiz-verdict").forEach(function (v) {
@@ -92,9 +127,14 @@
v.textContent = ""; v.textContent = "";
v.classList.remove("quiz-ok", "quiz-bad"); v.classList.remove("quiz-ok", "quiz-bad");
}); });
quiz.querySelectorAll(".quiz-q-score").forEach(function (b) {
b.hidden = true;
b.textContent = "";
b.classList.remove("quiz-ok", "quiz-bad");
});
quiz.querySelectorAll(".quiz-why-q").forEach(function (w) { w.hidden = true; }); quiz.querySelectorAll(".quiz-why-q").forEach(function (w) { w.hidden = true; });
var score = quiz.querySelector(".quiz-score"); var score = quiz.querySelector(".quiz-score");
if (score) score.textContent = ""; if (score) { score.textContent = ""; score.hidden = false; }
} }
document.addEventListener("click", function (event) { document.addEventListener("click", function (event) {
@@ -112,15 +152,32 @@
} }
}); });
// re-ticking a box after checking clears that row's verdict, so a stale // Re-ticking a box after checking clears that row's verdict, so a stale
// green or red never sits next to a box the reader has just changed // green or red never sits next to a box the reader has just changed — and
// with it the question's badge and the headline, which would otherwise
// still claim a score for an answer that has since moved.
document.addEventListener("change", function (event) { document.addEventListener("change", function (event) {
var box = event.target; var box = event.target;
if (!box.closest || !box.classList || !box.classList.contains("quiz-box")) return; if (!box.closest || !box.classList || !box.classList.contains("quiz-box")) return;
var opt = box.closest(".quiz-opt"); var opt = box.closest(".quiz-opt");
if (!opt) return; if (!opt) return;
opt.classList.remove("quiz-ok", "quiz-bad"); opt.classList.remove("quiz-ok", "quiz-bad");
var why = opt.querySelector(".quiz-why"); var why = opt.querySelector(":scope > .quiz-why");
if (why) why.hidden = true; if (why) why.hidden = true;
var q = opt.closest(".quiz-q");
if (q) {
var badge = q.querySelector(".quiz-q-score");
if (badge) { badge.hidden = true; badge.textContent = ""; }
var verdict = q.querySelector(".quiz-verdict");
if (verdict) { verdict.hidden = true; verdict.textContent = ""; }
var qwhy = q.querySelector(".quiz-why-q");
if (qwhy) qwhy.hidden = true;
}
var quiz = opt.closest(".quiz");
if (quiz) {
var score = quiz.querySelector(".quiz-score");
if (score) score.textContent = "";
}
}); });
})(); })();
+74 -19
View File
@@ -54,23 +54,29 @@ local LABELS = {
right = "Correct", wrong = "Not quite", right = "Correct", wrong = "Not quite",
score = "{n} of {m} questions correct", score = "{n} of {m} questions correct",
["true"] = "true", ["false"] = "false", ["true"] = "true", ["false"] = "false",
hint = "Tick every statement you think is true.", page = "p." }, hint = "Tick every statement you think is true.", page = "p.",
qpoints = "{n}/{m} points", totalpoints = "{n} of {m} points",
avail = "{m} points" },
fr = { label = "Quiz", question = "Question", answers = "Réponses du quiz", fr = { label = "Quiz", question = "Question", answers = "Réponses du quiz",
answer = "Réponses", check = "Vérifier", reset = "Réinitialiser", answer = "Réponses", check = "Vérifier", reset = "Réinitialiser",
right = "Correct", wrong = "Pas tout à fait", right = "Correct", wrong = "Pas tout à fait",
score = "{n} question(s) correcte(s) sur {m}", score = "{n} question(s) correcte(s) sur {m}",
["true"] = "vrai", ["false"] = "faux", ["true"] = "vrai", ["false"] = "faux",
hint = "Cochez chaque énoncé que vous pensez vrai.", page = "p." }, hint = "Cochez chaque énoncé que vous pensez vrai.", page = "p.",
qpoints = "{n}/{m} points", totalpoints = "{n} points sur {m}",
avail = "{m} points" },
de = { label = "Quiz", question = "Frage", answers = "Quiz-Lösungen", de = { label = "Quiz", question = "Frage", answers = "Quiz-Lösungen",
answer = "Lösungen", check = "Prüfen", reset = "Zurücksetzen", answer = "Lösungen", check = "Prüfen", reset = "Zurücksetzen",
right = "Richtig", wrong = "Nicht ganz", right = "Richtig", wrong = "Nicht ganz",
score = "{n} von {m} Fragen richtig", score = "{n} von {m} Fragen richtig",
["true"] = "wahr", ["false"] = "falsch", ["true"] = "wahr", ["false"] = "falsch",
hint = "Kreuzen Sie jede Aussage an, die Sie für wahr halten.", page = "S." }, hint = "Kreuzen Sie jede Aussage an, die Sie für wahr halten.", page = "S.",
qpoints = "{n}/{m} Punkte", totalpoints = "{n} von {m} Punkten",
avail = "{m} Punkte" },
} }
local labels = {} local labels = {}
local opts = { pdf_answers = "end" } local opts = { pdf_answers = "end", points = 3, penalty = 1 }
local TICKED, EMPTY = "\u{2612}", "\u{2610}" -- ☒ ☐, what pandoc's task_lists writes local TICKED, EMPTY = "\u{2612}", "\u{2610}" -- ☒ ☐, what pandoc's task_lists writes
@@ -119,6 +125,14 @@ local function read_meta(meta)
if meta.quiz["pdf-answers"] ~= nil then if meta.quiz["pdf-answers"] ~= nil then
opts.pdf_answers = str(meta.quiz["pdf-answers"]) opts.pdf_answers = str(meta.quiz["pdf-answers"])
end end
-- numeric, so they go through tonumber and never through the label loop
-- above: a label is a string, and arithmetic on a string fails silently.
if meta.quiz.points ~= nil then
opts.points = tonumber(str(meta.quiz.points)) or opts.points
end
if meta.quiz.penalty ~= nil then
opts.penalty = tonumber(str(meta.quiz.penalty)) or opts.penalty
end
end end
if quarto ~= nil and quarto.doc ~= nil then if quarto ~= nil and quarto.doc ~= nil then
@@ -181,45 +195,68 @@ local function split_why(blocks)
return body, why return body, why
end end
-- one question -> { statement = Blocks, options = { {ok, body, why} }, why = Blocks } -- one question -> { statement, options = { {ok, body, why} }, why, points, penalty }
local function parse_question(div) -- `dflt` is what the quiz div (or the book metadata) set; a question may override
-- either number with its own points= / penalty= attribute.
local function parse_question(div, dflt)
local statement, options, qwhy = pandoc.Blocks({}), {}, pandoc.Blocks({}) local statement, options, qwhy = pandoc.Blocks({}), {}, pandoc.Blocks({})
for _, b in ipairs(div.content) do for _, b in ipairs(div.content) do
if is_why(b) then if is_why(b) then
qwhy:extend(b.content) qwhy:extend(b.content)
elseif b.t == "BulletList" then elseif b.t == "BulletList" then
local consumed = true -- Every item has to be a task item for the list to be the options. A
local found = {} -- list that is PARTLY ticked is almost always a typo rather than an
-- ordinary bullet list in the statement, and silently swallowing it
-- costs the author a whole question, so say so.
local found, plain = {}, 0
for _, item in ipairs(b.content) do for _, item in ipairs(b.content) do
local mark, blocks = task_marker(item) local mark, blocks = task_marker(item)
if mark == nil then consumed = false; break end if mark == nil then
plain = plain + 1
else
local body, why = split_why(blocks) local body, why = split_why(blocks)
found[#found + 1] = { ok = (mark == TICKED), body = body, why = why } found[#found + 1] = { ok = (mark == TICKED), body = body, why = why }
end end
if consumed and #found > 0 then end
if plain == 0 and #found > 0 then
for _, o in ipairs(found) do options[#options + 1] = o end for _, o in ipairs(found) do options[#options + 1] = o end
else else
if #found > 0 then
io.stderr:write("[quiz] a bullet list mixes " .. #found
.. " task item(s) with " .. plain .. " plain one(s), so none of it"
.. " became options -- write every option as `- [x]` or `- [ ]`\n")
end
statement:insert(b) -- an ordinary bullet list belongs to the statement statement:insert(b) -- an ordinary bullet list belongs to the statement
end end
else else
statement:insert(b) statement:insert(b)
end end
end end
return { statement = statement, options = options, why = qwhy } local a = div.attributes or {}
return {
statement = statement, options = options, why = qwhy,
points = tonumber(a.points) or dflt.points,
penalty = tonumber(a.penalty) or dflt.penalty,
}
end end
local function parse_quiz(el) local function parse_quiz(el)
local intro, questions = pandoc.Blocks({}), {} local intro, questions = pandoc.Blocks({}), {}
local a = el.attributes or {}
local dflt = {
points = tonumber(a.points) or opts.points,
penalty = tonumber(a.penalty) or opts.penalty,
}
for _, b in ipairs(el.content) do for _, b in ipairs(el.content) do
if is_question(b) then if is_question(b) then
questions[#questions + 1] = parse_question(b) questions[#questions + 1] = parse_question(b, dflt)
else else
intro:insert(b) intro:insert(b)
end end
end end
-- a quiz written without ::: {.question} is one question -- a quiz written without ::: {.question} is one question
if #questions == 0 then if #questions == 0 then
local single = parse_question(el) local single = parse_question(el, dflt)
if #single.options > 0 then if #single.options > 0 then
return pandoc.Blocks({}), { single } return pandoc.Blocks({}), { single }
end end
@@ -248,11 +285,16 @@ local function raw(fmt, text) return pandoc.RawBlock(fmt, text) end
------------------------------------------------------------------ html ------------------------------------------------------------------ html
local function html_question(q, i, total) local function html_question(q, i, total)
local out = pandoc.Blocks({ raw("html", '<div class="quiz-q">') }) local out = pandoc.Blocks({ raw("html",
if total > 1 then '<div class="quiz-q" data-points="' .. tostring(q.points)
out:insert(raw("html", '<p class="quiz-q-head"><strong>' .. '" data-penalty="' .. tostring(q.penalty) .. '">') })
.. esc_html(labels.question .. " " .. i) .. "</strong></p>")) -- The head is emitted even for a one-question quiz: it is where the score
end -- lands after Check, so it cannot be conditional on there being a number.
out:insert(raw("html", '<p class="quiz-q-head">'
.. (total > 1
and ("<strong>" .. esc_html(labels.question .. " " .. i) .. "</strong>")
or "")
.. '<span class="quiz-q-score" hidden></span></p>'))
out:extend(q.statement) out:extend(q.statement)
out:insert(raw("html", '<ul class="quiz-opts">')) out:insert(raw("html", '<ul class="quiz-opts">'))
@@ -286,6 +328,8 @@ local function html_quiz(num, title, intro, questions)
local out = pandoc.Blocks({ raw("html", local out = pandoc.Blocks({ raw("html",
'<div class="quiz" id="quiz-' .. esc_html(num) .. '"' '<div class="quiz" id="quiz-' .. esc_html(num) .. '"'
.. ' data-quiz-score="' .. esc_html(labels.score) .. '"' .. ' data-quiz-score="' .. esc_html(labels.score) .. '"'
.. ' data-quiz-points="' .. esc_html(labels.totalpoints) .. '"'
.. ' data-quiz-qpoints="' .. esc_html(labels.qpoints) .. '"'
.. ' data-quiz-right="' .. esc_html(labels.right) .. '"' .. ' data-quiz-right="' .. esc_html(labels.right) .. '"'
.. ' data-quiz-wrong="' .. esc_html(labels.wrong) .. '">') }) .. ' data-quiz-wrong="' .. esc_html(labels.wrong) .. '">') })
@@ -319,8 +363,19 @@ end
local function latex_question(q, i, total) local function latex_question(q, i, total)
local out = pandoc.Blocks({}) local out = pandoc.Blocks({})
-- The points a question is worth are printed in the statement, because a
-- reader working on paper has no Check button to tell them afterwards.
local avail = fill(labels.avail, 0, q.points)
if total > 1 then if total > 1 then
out:insert(pandoc.Para({ pandoc.Strong({ pandoc.Str(labels.question .. " " .. i) }) })) out:insert(pandoc.Para({
pandoc.Strong({ pandoc.Str(labels.question .. " " .. i) }),
enspace(),
pandoc.RawInline("latex", "{\\small\\itshape (" .. esc_tex(avail) .. ")}"),
}))
else
out:insert(pandoc.Para({
pandoc.RawInline("latex", "{\\small\\itshape (" .. esc_tex(avail) .. ")}"),
}))
end end
out:extend(q.statement) out:extend(q.statement)
+2
View File
@@ -14,6 +14,8 @@ book:
- 00-orientation.qmd - 00-orientation.qmd
- 01-part-i-calls.qmd - 01-part-i-calls.qmd
- 02-part-ii-processes.qmd - 02-part-ii-processes.qmd
- 03-part-iii-distributed.qmd
- 04-part-iv-rewind.qmd
# language menu, relative to _book/de/ # language menu, relative to _book/de/
appendices: appendices:
- glossary.qmd - glossary.qmd
+2
View File
@@ -8,6 +8,8 @@ book:
- 00-orientation.qmd - 00-orientation.qmd
- 01-part-i-calls.qmd - 01-part-i-calls.qmd
- 02-part-ii-processes.qmd - 02-part-ii-processes.qmd
- 03-part-iii-distributed.qmd
- 04-part-iv-rewind.qmd
# language menu, relative to _book/ # language menu, relative to _book/
appendices: appendices:
- glossary.qmd - glossary.qmd
+2
View File
@@ -12,6 +12,8 @@ book:
- 00-orientation.qmd - 00-orientation.qmd
- 01-part-i-calls.qmd - 01-part-i-calls.qmd
- 02-part-ii-processes.qmd - 02-part-ii-processes.qmd
- 03-part-iii-distributed.qmd
- 04-part-iv-rewind.qmd
# language menu, relative to _book/fr/ # language menu, relative to _book/fr/
appendices: appendices:
- glossary.qmd - glossary.qmd
+3 -3
View File
@@ -14,7 +14,7 @@ The full log is split into one file per tutorial part, in [`conv/`](conv/). Each
| [Part V — Replay the Dynamic Idea Across Processes](conv/05-part-V.md) | 35–38 | 63–67 | done | | [Part V — Replay the Dynamic Idea Across Processes](conv/05-part-V.md) | 35–38 | 63–67 | done |
| [Part VI — Replay It Over Syncthing](conv/06-part-VI.md) | 39–47 | 68–76 | done | | [Part VI — Replay It Over Syncthing](conv/06-part-VI.md) | 39–47 | 68–76 | done |
| [Part VII — Now Merge the Two Architectural Ideas](conv/07-part-VII.md) | 48–52 | 77–83 | done | | [Part VII — Now Merge the Two Architectural Ideas](conv/07-part-VII.md) | 48–52 | 77–83 | done |
| Part VIII — The Filesystem Has Done Its Job | 53 | — | not started | | [Part VIII — The Filesystem Has Done Its Job](conv/08-part-VIII-IX.md) | 53 | 84 | done |
| Part IX — MQTT (+ optional epilogue) | 54–81 | — | not started | | [Part IX — MQTT (+ optional epilogue)](conv/08-part-VIII-IX.md) | 54–81 | 85– | in progress |
**Current position:** Part VIII, Step 53 — what the filesystem transport taught, before MQTT. **Current position:** Part IX, Step 55 — first contact with MQTT; Mosquitto being installed on the home server.
@@ -0,0 +1,12 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #375a7f;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #e83e8c;--bs-red: #e74c3c;--bs-orange: #fd7e14;--bs-yellow: #f39c12;--bs-green: #00bc8c;--bs-teal: #20c997;--bs-cyan: #3498db;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #ebebeb;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #444;--bs-gray-800: #343a40;--bs-gray-900: #222;--bs-default: rgb(67.15, 67.15, 67.15);--bs-primary: #375a7f;--bs-secondary: rgb(67.15, 67.15, 67.15);--bs-success: #00bc8c;--bs-info: #3498db;--bs-warning: #f39c12;--bs-danger: #e74c3c;--bs-light: rgb(111.35, 111.35, 111.35);--bs-dark: rgb(45.05, 45.05, 45.05);--bs-default-rgb: 67, 67, 67;--bs-primary-rgb: 55, 90, 127;--bs-secondary-rgb: 67, 67, 67;--bs-success-rgb: 0, 188, 140;--bs-info-rgb: 52, 152, 219;--bs-warning-rgb: 243, 156, 18;--bs-danger-rgb: 231, 76, 60;--bs-light-rgb: 111, 111, 111;--bs-dark-rgb: 45, 45, 45;--bs-primary-text-emphasis: rgb(22, 36, 50.8);--bs-secondary-text-emphasis: rgb(26.86, 26.86, 26.86);--bs-success-text-emphasis: rgb(0, 75.2, 56);--bs-info-text-emphasis: rgb(20.8, 60.8, 87.6);--bs-warning-text-emphasis: rgb(97.2, 62.4, 7.2);--bs-danger-text-emphasis: rgb(92.4, 30.4, 24);--bs-light-text-emphasis: #444;--bs-dark-text-emphasis: #444;--bs-primary-bg-subtle: rgb(215, 222, 229.4);--bs-secondary-bg-subtle: rgb(217.43, 217.43, 217.43);--bs-success-bg-subtle: rgb(204, 241.6, 232);--bs-info-bg-subtle: rgb(214.4, 234.4, 247.8);--bs-warning-bg-subtle: rgb(252.6, 235.2, 207.6);--bs-danger-bg-subtle: rgb(250.2, 219.2, 216);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(175, 189, 203.8);--bs-secondary-border-subtle: rgb(179.86, 179.86, 179.86);--bs-success-border-subtle: rgb(153, 228.2, 209);--bs-info-border-subtle: rgb(173.8, 213.8, 240.6);--bs-warning-border-subtle: rgb(250.2, 215.4, 160.2);--bs-danger-border-subtle: rgb(245.4, 183.4, 177);--bs-light-border-subtle: #ebebeb;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #fff;--bs-body-color-rgb: 255, 255, 255;--bs-body-bg: #222;--bs-body-bg-rgb: 34, 34, 34;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(255, 255, 255, 0.75);--bs-secondary-color-rgb: 255, 255, 255;--bs-secondary-bg: #ebebeb;--bs-secondary-bg-rgb: 235, 235, 235;--bs-tertiary-color: rgba(255, 255, 255, 0.5);--bs-tertiary-color-rgb: 255, 255, 255;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #00bc8c;--bs-link-color-rgb: 0, 188, 140;--bs-link-decoration: underline;--bs-link-hover-color: rgb(0, 150.4, 112);--bs-link-hover-color-rgb: 0, 150, 112;--bs-code-color: inherit;--bs-highlight-bg: rgb(252.6, 235.2, 207.6);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(55, 90, 127, 0.25);--bs-form-valid-color: #00bc8c;--bs-form-valid-border-color: #00bc8c;--bs-form-invalid-color: #e74c3c;--bs-form-invalid-border-color: #e74c3c}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #222;--bs-body-bg-rgb: 34, 34, 34;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b2e31;--bs-tertiary-bg-rgb: 43, 46, 49;--bs-primary-text-emphasis: rgb(135, 156, 178.2);--bs-secondary-text-emphasis: rgb(142.29, 142.29, 142.29);--bs-success-text-emphasis: rgb(102, 214.8, 186);-Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #222;--quarto-body-color: #fff;--quarto-text-muted: #6c757d;--quarto-border-color: rgb(67.15, 67.15, 67.15);--quarto-border-width: 1px;--quarto-border-radius: 0.25rem}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #222;--mermaid-edge-color: rgb(67.15, 67.15, 67.15);--mermaid-node-fg-color: #fff;--mermaid-fg-color: #fff;--mermaid-fg-color--lighter: white;--mermaid-fg-color--lightest: white;--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #222;--mermaid-label-fg-color: #375a7f;--mermaid-node-bg-color: rgba(55, 90, 127, 0.1);--mermaid-node-fg-color: #fff}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(212, 208, 171)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9.5 1a.5.5 0 0Line truncated
@@ -0,0 +1,12 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/@import"https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Serif:ital,wght@0,400;0,600;1,400&family=IBM+Plex+Mono:wght@400;500&display=swap";:root,[data-bs-theme=light]{--bs-blue: #2780e3;--bs-indigo: #6610f2;--bs-purple: #613d7c;--bs-pink: #e83e8c;--bs-red: #ff0039;--bs-orange: #f0ad4e;--bs-yellow: #ff7518;--bs-green: #3fb618;--bs-teal: #20c997;--bs-cyan: #9954bb;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-default: #343a40;--bs-primary: #2780e3;--bs-secondary: #343a40;--bs-success: #3fb618;--bs-info: #9954bb;--bs-warning: #ff7518;--bs-danger: #ff0039;--bs-light: #f8f9fa;--bs-dark: #343a40;--bs-default-rgb: 52, 58, 64;--bs-primary-rgb: 39, 128, 227;--bs-secondary-rgb: 52, 58, 64;--bs-success-rgb: 63, 182, 24;--bs-info-rgb: 153, 84, 187;--bs-warning-rgb: 255, 117, 24;--bs-danger-rgb: 255, 0, 57;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 52, 58, 64;--bs-primary-text-emphasis: rgb(15.6, 51.2, 90.8);--bs-secondary-text-emphasis: rgb(20.8, 23.2, 25.6);--bs-success-text-emphasis: rgb(25.2, 72.8, 9.6);--bs-info-text-emphasis: rgb(61.2, 33.6, 74.8);--bs-warning-text-emphasis: rgb(102, 46.8, 9.6);--bs-danger-text-emphasis: rgb(102, 0, 22.8);--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: rgb(211.8, 229.6, 249.4);--bs-secondary-bg-subtle: rgb(214.4, 215.6, 216.8);--bs-success-bg-subtle: rgb(216.6, 240.4, 208.8);--bs-info-bg-subtle: rgb(234.6, 220.8, 241.4);--bs-warning-bg-subtle: rgb(255, 227.4, 208.8);--bs-danger-bg-subtle: rgb(255, 204, 215.4);--bs-light-bg-subtle: rgb(251.5, 252, 252.5);--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: rgb(168.6, 204.2, 243.8);--bs-secondary-border-subtle: rgb(173.8, 176.2, 178.6);--bs-success-border-subtle: rgb(178.2, 225.8, 162.6);--bs-info-border-subtle: rgb(214.2, 186.6, 227.8);--bs-warning-border-subtle: rgb(255, 199.8, 162.6);--bs-danger-border-subtle: rgb(255, 153, 175.8);--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-font-monospace: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-root-font-size: 17px;--bs-body-font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.66;--bs-body-color: #343a40;--bs-body-color-rgb: 52, 58, 64;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(52, 58, 64, 0.75);--bs-secondary-color-rgb: 52, 58, 64;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(52, 58, 64, 0.5);--bs-tertiary-color-rgb: 52, 58, 64;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #2761e3;--bs-link-color-rgb: 39, 97, 227;--bs-link-decoration: underline;--bs-link-hover-color: rgb(31.2, 77.6, 181.6);--bs-link-hover-color-rgb: 31, 78, 182;--bs-code-color: #7d12ba;--bs-highlight-bg: rgb(255, 227.4, 208.8);--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.25rem;--bs-border-radius-sm: 0.2em;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(39, 128, 227, 0.25);--bs-form-valid-color: #3fb618;--bs-form-valid-border-color: #3fb618;--bs-form-invalid-color: #ff0039;--bs-form-invalid-border-color: #ff0039}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: rgb(42.5, 47.5, 52.5);--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: rgb(125.4, 178.8, 238.2);--bs-secondary-text-emphasis: rgb(133.2, 136.8, 140.4);--bs-success-text-emphasis: rgb(139.8, 211.2, 116.4);--bs-info-text-emphasis: rgb(193.8, 152.Line truncated
*
* ansi colors from IPython notebook's
*
* we also add `bright-[color]-` synonyms for the `-[color]-intense` classes since
* that seems to be what ansi_up emits
*
*/.ansi-black-fg{color:#3e424d}.ansi-black-bg{background-color:#3e424d}.ansi-black-intense-black,.ansi-bright-black-fg{color:#282c36}.ansi-black-intense-black,.ansi-bright-black-bg{background-color:#282c36}.ansi-red-fg{color:#e75c58}.ansi-red-bg{background-color:#e75c58}.ansi-red-intense-red,.ansi-bright-red-fg{color:#b22b31}.ansi-red-intense-red,.ansi-bright-red-bg{background-color:#b22b31}.ansi-green-fg{color:#00a250}.ansi-green-bg{background-color:#00a250}.ansi-green-intense-green,.ansi-bright-green-fg{color:#007427}.ansi-green-intense-green,.ansi-bright-green-bg{background-color:#007427}.ansi-yellow-fg{color:#ddb62b}.ansi-yellow-bg{background-color:#ddb62b}.ansi-yellow-intense-yellow,.ansi-bright-yellow-fg{color:#b27d12}.ansi-yellow-intense-yellow,.ansi-bright-yellow-bg{background-color:#b27d12}.ansi-blue-fg{color:#208ffb}.ansi-blue-bg{background-color:#208ffb}.ansi-blue-intense-blue,.ansi-bright-blue-fg{color:#0065ca}.ansi-blue-intense-blue,.ansi-bright-blue-bg{background-color:#0065ca}.ansi-magenta-fg{color:#d160c4}.ansi-magenta-bg{background-color:#d160c4}.ansi-magenta-intense-magenta,.ansi-bright-magenta-fg{color:#a03196}.ansi-magenta-intense-magenta,.ansi-bright-magenta-bg{background-color:#a03196}.ansi-cyan-fg{color:#60c6c8}.ansi-cyan-bg{background-color:#60c6c8}.ansi-cyan-intense-cyan,.ansi-bright-cyan-fg{color:#258f8f}.ansi-cyan-intense-cyan,.ansi-bright-cyan-bg{background-color:#258f8f}.ansi-white-fg{color:#c5c1b4}.ansi-white-bg{background-color:#c5c1b4}.ansi-white-intense-white,.ansi-bright-white-fg{color:#a1a6b2}.ansi-white-intense-white,.ansi-bright-white-bg{background-color:#a1a6b2}.ansi-default-inverse-fg{color:#fff}.ansi-default-inverse-bg{background-color:#000}.ansi-bold{font-weight:bold}.ansi-underline{text-decoration:underline}:root{--quarto-body-bg: #fff;--quarto-body-color: #343a40;--quarto-text-muted: #6c757d;--quarto-border-color: #dee2e6;--quarto-border-width: 1px}table.gt_table{color:var(--quarto-body-color);font-size:1em;width:100%;background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_column_spanner_outer{color:var(--quarto-body-color);background-color:rgba(0,0,0,0);border-top-width:inherit;border-bottom-width:inherit;border-color:var(--quarto-border-color)}table.gt_table th.gt_col_heading{color:var(--quarto-body-color);font-weight:bold;background-color:rgba(0,0,0,0)}table.gt_table thead.gt_col_headings{border-bottom:1px solid currentColor;border-top-width:inherit;border-top-color:var(--quarto-border-color)}table.gt_table thead.gt_col_headings:not(:first-child){border-top-width:1px;border-top-color:var(--quarto-border-color)}table.gt_table td.gt_row{border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-width:0px}table.gt_table tbody.gt_table_body{border-top-width:1px;border-bottom-width:1px;border-bottom-color:var(--quarto-border-color);border-top-color:currentColor}div.columns{display:initial;gap:initial}div.column{display:inline-block;overflow-x:initial;vertical-align:top;width:50%}.code-annotation-tip-content{word-wrap:break-word}.code-annotation-container-hidden{display:none !important}dl.code-annotation-container-grid{display:grid;grid-template-columns:min-content auto}dl.code-annotation-container-grid dt{grid-column:1}dl.code-annotation-container-grid dd{grid-column:2}pre.sourceCode.code-annotation-code{padding-right:0}code.sourceCode .code-annotation-anchor{z-index:100;position:relative;float:right;background-color:rgba(0,0,0,0)}input[type=checkbox]{margin-right:.5ch}:root{--mermaid-bg-color: #fff;--mermaid-edge-color: #343a40;--mermaid-node-fg-color: #343a40;--mermaid-fg-color: #343a40;--mermaid-fg-color--lighter: rgb(74.8620689655, 83.5, 92.1379310345);--mermaid-fg-color--lightest: rgb(97.724137931, 109, 120.275862069);--mermaid-font-family: IBM Plex Sans, system-ui, -apple-system, sans-serif;--mermaid-label-bg-color: #fff;--mermaid-label-fg-color: #2780e3;--mermaid-node-bg-color: rgba(39, 128, 227, 0.1);--mermaid-node-fg-color: #343a40}@media print{:root{font-size:11pt}#quarto-sidebar,#TOC,.nav-page{display:none}.page-columns .content{grid-column-start:page-start}.fixed-top{position:relative}.panel-caption,.figure-caption,figcaption{color:#666}}body.quarto-light .dark-content{display:none !important}body.quarto-dark .light-content{display:none !important}.code-copy-button{position:absolute;top:0;right:0;border:0;margin-top:5px;margin-right:5px;background-color:rgba(0,0,0,0);z-index:3}.code-copy-button-tooltip{font-size:.75em}.code-copy-button>.bi::before{display:inline-block;height:1rem;width:1rem;content:"";vertical-align:-0.125em;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="rgb(105, 105, 105)" viewBox="0 0 16 16"><path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/><path d="M9Line truncated
File diff suppressed because it is too large. Load diff
Binary file not shown.
+7
View File
@@ -0,0 +1,7 @@
/*!
* Bootstrap v5.3.1 (https://getbootstrap.com/)
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap=e()}(this,(function(){"use strict";const t=new Map,e={set(e,i,n){t.has(e)||t.set(e,new Map);const s=t.get(e);s.has(i)||0===s.size?s.set(i,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`)},get:(e,i)=>t.has(e)&&t.get(e).get(i)||null,remove(e,i){if(!t.has(e))return;const n=t.get(e);n.delete(i),0===n.size&&t.delete(e)}},i="transitionend",n=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),s=t=>{t.dispatchEvent(new Event(i))},o=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),r=t=>o(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(n(t)):null,a=t=>{if(!o(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),i=t.closest("details:not([open])");if(!i)return e;if(i!==t){const e=t.closest("summary");if(e&&e.parentNode!==i)return!1;if(null===e)return!1}return e},l=t=>!t||t.nodeType!==Node.ELEMENT_NODE||!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled")),c=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?c(t.parentNode):null},h=()=>{},d=t=>{t.offsetHeight},u=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,m=t=>{var e;e=()=>{const e=u();if(e){const i=t.NAME,n=e.fn[i];e.fn[i]=t.jQueryInterface,e.fn[i].Constructor=t,e.fn[i].noConflict=()=>(e.fn[i]=n,t.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of f)t()})),f.push(e)):e()},g=(t,e=[],i=t)=>"function"==typeof t?t(...e):i,_=(t,e,n=!0)=>{if(!n)return void g(t);const o=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:i}=window.getComputedStyle(t);const n=Number.parseFloat(e),s=Number.parseFloat(i);return n||s?(e=e.split(",")[0],i=i.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(i))):0})(e)+5;let r=!1;const a=({target:n})=>{n===e&&(r=!0,e.removeEventListener(i,a),g(t))};e.addEventListener(i,a),setTimeout((()=>{r||s(e)}),o)},b=(t,e,i,n)=>{const s=t.length;let o=t.indexOf(e);return-1===o?!i&&n?t[s-1]:t[0]:(o+=i?1:-1,n&&(o=(o+s)%s),t[Math.max(0,Math.min(o,s-1))])},v=/[^.]*(?=\..*)\.|.*/,y=/\..*/,w=/::\d+$/,A={};let E=1;const T={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function O(t,e){return e&&`${e}::${E++}`||t.uidEvent||E++}function x(t){const e=O(t);return t.uidEvent=e,A[e]=A[e]||{},A[e]}function k(t,e,i=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===i))}function L(t,e,i){const n="string"==typeof e,s=n?i:e||i;let o=I(t);return C.has(o)||(o=t),[n,s,o]}function S(t,e,i,n,s){if("string"!=typeof e||!t)return;let[o,r,a]=L(e,i,n);if(e in T){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};r=t(r)}const l=x(t),c=l[a]||(l[a]={}),h=k(c,r,o?i:null);if(h)return void(h.oneOff=h.oneOff&&s);const d=O(r,e.replace(v,"")),u=o?function(t,e,i){return function n(s){const o=t.querySelectorAll(e);for(let{target:r}=s;r&&r!==this;r=r.parentNode)for(const a of o)if(a===r)return P(s,{delegateTarget:r}),n.oneOff&&N.off(t,s.type,e,i),i.apply(r,[s])}}(t,i,r):function(t,e){return function i(n){return P(n,{delegateTarget:t}),i.oneOff&&N.off(t,n.type,e),e.apply(t,[n])}}(t,r);u.delegationSelector=o?i:null,u.callable=r,u.oneOff=s,u.uidEvent=d,c[d]=u,t.addEventListener(a,u,o)}function D(t,e,i,n,s){const o=k(e[i],n,s);o&&(t.removeEventListener(i,o,Boolean(s)),delete e[i][o.uidEvent])}function $(t,e,i,n){const s=e[i]||{};for(const[o,r]of Object.entries(s))o.includes(n)&&D(t,e,i,r.callable,r.delegationSelector)}function I(t){return t=t.replace(y,""),T[t]||t}const N={on(t,e,i,n){S(t,e,i,n,!1)},one(t,e,i,n){S(t,e,i,n,!0)},off(t,e,i,n){if("string"!=typeof e||!t)return;const[s,o,r]=L(e,i,n),a=r!==e,l=x(t),c=l[r]||{},h=e.startsWith(".");if(void 0===o){if(h)for(const i of Object.keys(l))$(t,l,i,e.slLine truncated
//# sourceMappingURL=bootstrap.bundle.min.js.map
+7
View File
@@ -0,0 +1,7 @@
/*!
* clipboard.js v2.0.11
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return b}});var e=n(279),i=n.n(e),e=n(370),u=n.n(e),e=n(817),r=n.n(e);function c(t){try{return document.execCommand(t)}catch(t){return}}var a=function(t){t=r()(t);return c("cut"),t};function o(t,e){var n,o,t=(n=t,o="rtl"===document.documentElement.getAttribute("dir"),(t=document.createElement("textarea")).style.fontSize="12pt",t.style.border="0",t.style.padding="0",t.style.margin="0",t.style.position="absolute",t.style[o?"right":"left"]="-9999px",o=window.pageYOffset||document.documentElement.scrollTop,t.style.top="".concat(o,"px"),t.setAttribute("readonly",""),t.value=n,t);return e.container.appendChild(t),e=r()(t),c("copy"),t.remove(),e}var f=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof t?n=o(t,e):t instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==t?void 0:t.type)?n=o(t.value,e):(n=r()(t),c("copy")),n};function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var s=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},e=t.action,n=void 0===e?"copy":e,o=t.container,e=t.target,t=t.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==e){if(!e||"object"!==l(e)||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return t?f(t,{container:o}):e?"cut"===n?a(e):f(e,{container:o}):void 0};function p(t){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(n){var o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=v(n);return t=o?(t=v(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),e=this,!(t=t)||"object"!==p(t)&&"function"!=typeof t?function(t){if(void 0!==t)return t;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(e):t}}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){t="data-clipboard-".concat(t);if(e.hasAttribute(t))return e.getAttribute(t)}var b=function(){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(r,i());var t,e,n,o=h(r);function r(t,e){var n;return function(t){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}(this),(n=o.call(this)).resolveOptions(e),n.listenClick(t),n}return t=r,n=[{key:"copy",value:function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(t,e)}},{key:"cut",value:function(t){return a(t)}},{key:"isSupported",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof t?[t]:t,e=!!document.queryCommandSupported;return t.forEach(function(t){e=e&&!!document.queryCommandSupported(t)}),e}}],(e=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===p(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=u()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget,n=this.action(e)||"copy",t=s({action:n,container:thLine truncated
@@ -0,0 +1,88 @@
/* exo — exercise cards, hint folds (sequential unlock), solution fold */
.exo {
margin: 1.2rem 0;
padding: 0.6rem 0.9rem;
border: 1px solid color-mix(in srgb, var(--calc-notecolor, #B45309) 35%, transparent);
border-left: 3px solid var(--calc-notecolor, #B45309);
border-radius: 0.35rem;
scroll-margin-top: 5rem;
}
/* keep wide content inside the card: display math (and tables/code) scroll
on their own rather than spilling past the border. overflow-y stays hidden
so Firefox doesn't add a phantom vertical bar, as in .calc */
.exo mjx-container[display="true"],
.exo .katex-display {
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 0.35em; /* keep descenders clear of a horizontal bar */
/* a centred overflowing box clips its left side out of reach, so centre
only while the formula fits (browsers without `safe` keep plain centring) */
display: flex;
justify-content: center;
justify-content: safe center;
}
.exo .math.display { display: block; max-width: 100%; }
.exo :is(pre, table) { max-width: 100%; overflow-x: auto; }
.exo img, .exo svg { max-width: 100%; }
.exo-head p { margin: 0 0 0.4rem; }
.exo-head strong { color: var(--calc-notecolor, #B45309); }
.exo details {
margin: 0.45rem 0;
border-radius: 0.3rem;
}
.exo details > summary {
cursor: pointer;
list-style: none;
user-select: none;
font-size: 0.9em;
font-weight: 600;
}
.exo details > summary::-webkit-details-marker { display: none; }
.exo details > summary::before { content: "▸ "; }
.exo details[open] > summary::before { content: "▾ "; }
/* hints: small highlight boxes */
.exo-hint {
background: color-mix(in srgb, var(--calc-notecolor, #B45309) 6%, transparent);
border: 1px solid color-mix(in srgb, var(--calc-notecolor, #B45309) 30%, transparent);
padding: 0.25rem 0.6rem;
}
.exo-hint > summary { color: var(--calc-notecolor, #B45309); }
/* locked hints: unlock one by one */
.exo-hint.exo-locked > summary {
cursor: not-allowed;
opacity: 0.45;
}
.exo-hint.exo-locked > summary::before { content: "🔒 "; }
/* solution: closed by default, visually separated */
.exo-sol {
border-top: 1px dashed color-mix(in srgb, var(--calc-notecolor, #B45309) 40%, transparent);
padding: 0.35rem 0.1rem 0.1rem;
scroll-margin-top: 5rem;
}
/* Quarto greys every summary (#6c757d): 3.4:1 on darkly */
.exo-sol > summary { color: var(--calc-muted, #57606a); }
/* in a numbered part, the fold lines up with the part's text */
.exo li > details { margin-left: 0; }
/* hand-in extracts (handin.sh, html output) */
.exo-handin-sol, .exo-handin-hint {
margin: 0.6rem 0;
padding: 0.2rem 0 0.2rem 0.8rem;
border-left: 2px solid var(--calc-notecolor, #B45309);
}
.exo-fold-body { margin-top: 0.3rem; }
.exo-fold-body > p:first-child { margin-top: 0; }
.exo-fold-body > p:last-child { margin-bottom: 0; }
@media print {
.exo details > summary::before { content: ""; }
.exo-hint.exo-locked > summary { opacity: 1; cursor: default; }
}
@@ -0,0 +1,39 @@
// exo — hints unlock one by one within a part; everything unfolds for printing
(function () {
// block opening a locked hint
document.addEventListener("click", function (e) {
var s = e.target.closest ? e.target.closest("details.exo-hint.exo-locked > summary") : null;
if (s) e.preventDefault();
});
// opening hint n of a part unlocks hint n+1 of the same part, wherever it
// sits in the exercise (toggle doesn't bubble: use capture)
document.addEventListener("toggle", function (e) {
var d = e.target;
if (!d.classList || !d.classList.contains("exo-hint") || !d.open) return;
var chain = d.getAttribute("data-exo-chain");
var n = parseInt(d.getAttribute("data-exo-hint"), 10);
if (!chain || isNaN(n)) return;
var hints = document.querySelectorAll("details.exo-hint[data-exo-chain]");
for (var i = 0; i < hints.length; i++) {
if (hints[i].getAttribute("data-exo-chain") === chain &&
parseInt(hints[i].getAttribute("data-exo-hint"), 10) === n + 1) {
hints[i].classList.remove("exo-locked");
}
}
}, true);
// print: open all hints/solutions, restore afterwards
window.addEventListener("beforeprint", function () {
document.querySelectorAll(".exo details").forEach(function (d) {
d.dataset.exoWasOpen = d.open ? "1" : "0";
d.open = true;
});
});
window.addEventListener("afterprint", function () {
document.querySelectorAll(".exo details").forEach(function (d) {
d.open = d.dataset.exoWasOpen === "1";
delete d.dataset.exoWasOpen;
});
});
})();
@@ -0,0 +1,34 @@
/* further — "to go further" notes: optional material, set apart in purple */
.further {
margin: 1.1rem 0;
padding: 0.5rem 0.9rem 0.6rem;
border: 1px solid color-mix(in srgb, var(--calc-furthercolor, #6B3FA0) 30%, transparent);
border-left: 3px solid var(--calc-furthercolor, #6B3FA0);
border-radius: 0.35rem;
background: color-mix(in srgb, var(--calc-furthercolor, #6B3FA0) 4%, transparent);
}
.further-head {
color: var(--calc-furthercolor, #6B3FA0);
font-weight: 600;
font-size: 0.92em;
margin-bottom: 0.35rem;
}
.further-body > p:first-child { margin-top: 0; }
.further-body > p:last-child { margin-bottom: 0; }
/* keep wide content inside the box, as .calc and .exo do */
.further mjx-container[display="true"],
.further .katex-display {
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 0.35em;
display: flex;
justify-content: center;
justify-content: safe center;
}
.further :is(pre, table) { max-width: 100%; overflow-x: auto; }
.further img, .further svg { max-width: 100%; }
@@ -0,0 +1,76 @@
/* glossary — usages, entries, hover tooltip */
/* usages: dotted underline, keep math color */
a.gls-sym,
mjx-container a {
color: inherit;
text-decoration: none;
}
.gls-sym {
border-bottom: 1px dotted currentColor;
cursor: help;
}
/* rendered glossary list */
.glossary .gls-entry {
margin: 0.8rem 0;
padding: 0.35rem 0.7rem;
border-left: 3px solid var(--calc-notecolor, #B45309);
scroll-margin-top: 5rem; /* don't hide behind Quarto's sticky header */
}
.glossary .gls-entry p { margin: 0 0 0.2rem; }
.glossary .gls-entry:target {
background: color-mix(in srgb, var(--calc-notecolor, #B45309) 10%, transparent);
border-radius: 0.25rem;
}
/* floating hover tooltip (filled by glossary.js) */
.gls-float {
position: absolute;
z-index: 1000;
max-width: 26rem;
padding: 0.5rem 0.75rem;
border: 1px solid var(--calc-notecolor, #B45309);
border-radius: 0.4rem;
background: var(--calc-surface, #fff);
color: var(--bs-body-color, #1a1a1a);
box-shadow: 0 4px 14px var(--calc-shadow, rgba(0, 0, 0, 0.15));
font-size: 0.9em;
line-height: 1.4;
}
.gls-float p { margin: 0 0 0.25rem; }
.gls-float p:last-child { margin-bottom: 0; }
/* in-place definition cards and property sub-entries */
.gls-inline {
margin: 1rem 0;
padding: 0.4rem 0.8rem;
border-left: 3px solid var(--calc-notecolor, #B45309);
scroll-margin-top: 5rem;
}
.gls-inline p { margin: 0 0 0.3rem; }
.gls-inline:target,
.gls-prop-entry:target {
background: color-mix(in srgb, var(--calc-notecolor, #B45309) 10%, transparent);
border-radius: 0.25rem;
}
.gls-prop-entry {
margin: 0.5rem 0 0.5rem 1.2rem;
padding: 0.25rem 0.6rem;
border-left: 2px solid color-mix(in srgb, var(--calc-notecolor, #B45309) 45%, transparent);
font-size: 0.95em;
scroll-margin-top: 5rem;
}
.gls-back {
font-size: 0.85em; /* smaller, not fainter: at 0.75 opacity the link read 3.4:1 */
}
/* standalone property cards keep the section flow (no indent) */
.gls-prop-entry.gls-standalone {
margin-left: 0;
font-size: 1em;
}
.glossary .gls-prop-line {
margin: 0.1rem 0 0.1rem 1.2rem;
font-size: 0.9em;
}
@@ -0,0 +1,68 @@
// glossary — hover tooltip for .gls-sym usages (prose links and MathJax \class nodes)
(function () {
var tip = null;
function ensureTip() {
if (tip === null) {
tip = document.createElement("div");
tip.className = "gls-float";
tip.style.display = "none";
document.body.appendChild(tip);
}
return tip;
}
function keyOf(el) {
if (el.dataset && el.dataset.glsKey) return el.dataset.glsKey;
for (var i = 0; i < el.classList.length; i++) {
var c = el.classList[i];
if (c.indexOf("gls-key-") === 0) return c.slice(8);
}
return null;
}
function show(target) {
var key = keyOf(target);
if (!key) return;
var entry = document.getElementById("gls-" + key);
var t = ensureTip();
if (entry) {
// for a main entry, don't drag every property into the popup
var node = entry.cloneNode(true);
node.querySelectorAll(".gls-prop-entry").forEach(function (n) { n.remove(); });
t.innerHTML = node.innerHTML;
} else if (window.__glsData && window.__glsData[key]) {
// entry lives on another page (book chapters render separately)
t.innerHTML = window.__glsData[key];
} else {
return;
}
t.style.display = "block";
if (window.MathJax && window.MathJax.typesetPromise) {
window.MathJax.typesetPromise([t]).catch(function () {});
}
var r = target.getBoundingClientRect();
var x = r.left + window.scrollX;
var y = r.bottom + window.scrollY + 6;
// keep it on screen horizontally
var w = t.offsetWidth;
var maxX = window.scrollX + document.documentElement.clientWidth - w - 12;
t.style.left = Math.max(window.scrollX + 8, Math.min(x, maxX)) + "px";
t.style.top = y + "px";
}
function hide() {
if (tip !== null) tip.style.display = "none";
}
document.addEventListener("mouseover", function (e) {
var el = e.target.closest ? e.target.closest(".gls-sym") : null;
if (el) show(el);
});
document.addEventListener("mouseout", function (e) {
var el = e.target.closest ? e.target.closest(".gls-sym") : null;
if (el) hide();
});
document.addEventListener("click", hide);
window.addEventListener("scroll", hide, { passive: true });
})();
@@ -0,0 +1,45 @@
/* latex-tables — HTML rendering of LaTeX tabular environments */
.ltx-table {
border-collapse: collapse;
margin: 1rem auto;
max-width: 100%;
overflow-x: auto;
display: table;
}
.ltx-table th,
.ltx-table td {
padding: 0.35em 0.7em;
vertical-align: top;
line-height: 1.4;
}
.ltx-table th {
font-weight: 600;
}
/* alignment */
.ltx-l { text-align: left; }
.ltx-c { text-align: center; }
.ltx-r { text-align: right; }
/* vertical rules (from | in the column spec) */
.ltx-bl { border-left: 1px solid currentColor; }
.ltx-br { border-right: 1px solid currentColor; }
/* horizontal rules: t = above the row, b = below.
1 = \hline / \midrule / \cline, 2 = booktabs \toprule / \bottomrule,
d = doubled rule (\hline\hline) */
.ltx-t1 { border-top: 1px solid currentColor; }
.ltx-b1 { border-bottom: 1px solid currentColor; }
.ltx-t2 { border-top: 1.6px solid currentColor; }
.ltx-b2 { border-bottom: 1.6px solid currentColor; }
.ltx-td { border-top: 3px double currentColor; }
.ltx-bd { border-bottom: 3px double currentColor; }
/* keep wide tables usable on narrow screens */
@media (max-width: 700px) {
.ltx-table { font-size: 0.9em; }
.ltx-table th, .ltx-table td { padding: 0.25em 0.45em; }
}
@@ -0,0 +1,115 @@
/* calc-notes — HTML layout for the calc / calc* environments */
.calc {
display: grid;
/* lhs | rhs | notes | equation number */
grid-template-columns: max-content max-content minmax(8rem, 1fr) auto;
column-gap: 0.35rem;
row-gap: 0.6rem;
align-items: baseline;
margin: 1rem 0 1.4rem;
/* allow horizontal scrolling for very wide equations, but never show a
vertical bar (Firefox computes phantom vertical overflow otherwise) */
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 0.4em; /* keep descenders clear of a horizontal bar */
}
.calc-row { display: contents; }
.calc-lhs { grid-column: 1; justify-self: end; }
.calc-rhs { grid-column: 2; justify-self: start; }
.calc-full { grid-column: 1 / 3; justify-self: start; }
/* ---- notes ------------------------------------------------------- */
.calc-notes {
grid-column: 3;
display: flex;
flex-wrap: wrap;
gap: 0.35rem 0.75rem;
align-items: baseline;
min-width: 0;
padding-left: 0.9rem;
}
.calc-note {
color: var(--calc-notecolor, #B45309);
font-size: 0.85em;
line-height: 1.35;
}
.calc-note > summary {
cursor: pointer;
list-style: none; /* remove the default triangle ... */
user-select: none;
font-style: italic; /* quiet by style and --calc-muted (theme.css), not by
opacity, which took it under 4.5:1 */
}
.calc-note > summary::-webkit-details-marker { display: none; }
.calc-note > summary::before { content: "▸ "; font-style: normal; }
.calc-note[open] > summary::before { content: "▾ "; }
.calc-note > summary:hover { opacity: 1; }
.calc-note[open] {
background: color-mix(in srgb, var(--calc-notecolor, #B45309) 8%, transparent);
border-left: 2px solid var(--calc-notecolor, #B45309);
border-radius: 0.25rem;
padding: 0.15rem 0.45rem;
}
.calc-note-body { margin-top: 0.1rem; }
.calc-note-body p { margin: 0; }
/* \mnote: math note (no extra styling needed — body is typeset math) */
.calc-note-math .calc-note-body { padding: 0.1rem 0; }
/* ---- calc*: boxed final result ----------------------------------- */
.calc-box {
display: inline-block;
border: 1.5px solid currentColor;
border-radius: 0.3em;
padding: 0.3em 0.65em;
margin-top: 0.15em;
background: color-mix(in srgb, currentColor 4%, transparent);
}
/* ---- labelled blocks: equation number on the last line ----------- */
.calc-tag {
grid-column: 4;
justify-self: end;
padding-left: 1rem;
white-space: nowrap;
}
/* ---- printing: show notes unfolded, like the PDF ------------------ */
@media print {
.calc-note > summary { display: none; }
.calc-note[open] { background: none; border: none; padding: 0; }
}
/* small screens: notes drop under the equation line */
@media (max-width: 560px) {
.calc { grid-template-columns: max-content 1fr; }
.calc-notes { grid-column: 1 / 3; padding-left: 1.5rem; }
.calc-full { grid-column: 1 / 3; }
.calc-tag { grid-column: 1 / -1; }
}
/* --- interactive figures ------------------------------------------------
A figure that is dragged — a rotatable 3d view, a point moved with the
mouse — must not select its own labels while the pointer travels over
them: the browser would paint the axis names and captions as selected
text. The readouts and captions around the drawing stay selectable, so a
value can still be copied. The hooks are the ones every course's figure
scripts build into. */
[data-notes-fig] svg,
[data-notes-plot] svg,
[data-notes-fig] canvas,
[data-notes-plot] canvas {
-webkit-user-select: none;
user-select: none;
}
@@ -0,0 +1,70 @@
// calc-notes — open every note before printing, restore afterwards
(function () {
window.addEventListener("beforeprint", function () {
document.querySelectorAll("details.calc-note").forEach(function (d) {
d.dataset.calcWasOpen = d.open ? "1" : "0";
d.open = true;
});
});
window.addEventListener("afterprint", function () {
document.querySelectorAll("details.calc-note").forEach(function (d) {
d.open = d.dataset.calcWasOpen === "1";
delete d.dataset.calcWasOpen;
});
});
})();
// --- high contrast: a switch of its own, beside Quarto's light/dark one ----
// The class is already set before the first paint by the script calc-notes.lua
// puts in the head; this only builds the control and remembers a choice.
// Precedence: what the reader picked here, then `high-contrast: true` in the
// book, then the reader's system setting.
(function () {
var KEY = "notes-contrast";
var root = document.documentElement;
var LABELS = {
de: { on: "Hoher Kontrast aus", off: "Hoher Kontrast ein" },
fr: { on: "Désactiver le contraste élevé", off: "Activer le contraste élevé" },
en: { on: "Turn high contrast off", off: "Turn high contrast on" }
};
var lang = (root.lang || "en").slice(0, 2).toLowerCase();
var L = LABELS[lang] || LABELS.en;
function store(v) {
try { localStorage.setItem(KEY, v ? "more" : "normal"); } catch (e) {}
}
function paint() {
var on = root.classList.contains("hc");
document.querySelectorAll(".notes-contrast-toggle").forEach(function (b) {
b.setAttribute("aria-pressed", String(on));
b.setAttribute("title", on ? L.on : L.off);
b.setAttribute("aria-label", on ? L.on : L.off);
});
}
function build() {
var anchors = document.querySelectorAll(".quarto-color-scheme-toggle");
if (anchors.length === 0) return; // a page without Quarto's own tools
anchors.forEach(function (a) {
var b = document.createElement("button");
b.type = "button";
b.className = "quarto-navigation-tool px-1 notes-contrast-toggle";
// bootstrap-icons ships with these books; the glyph is the fallback
b.innerHTML = '<i class="bi bi-circle-half" aria-hidden="true"></i>';
b.addEventListener("click", function () {
var on = !root.classList.contains("hc");
root.classList.toggle("hc", on);
store(on);
paint();
});
a.parentNode.insertBefore(b, a.nextSibling);
});
paint();
}
if (document.readyState === "loading") {
document.addEventListener("DOMContentLoaded", build);
} else { build(); }
})();
@@ -0,0 +1,316 @@
/* high-contrast.css — the high-contrast pair, taken from GitHub's
"GitHub Light High Contrast" and "GitHub Dark High Contrast" VS Code
themes (the Primer `light_high_contrast` / `dark_high_contrast` scales).
It is switched by `hc` on <html>, which calc-notes.lua sets from
high-contrast: true
in the document metadata, and which the same in-header script sets for a
reader whose system asks for `prefers-contrast: more`. One class rather
than a class and a media query, so the palette below is written once.
It rides on top of the ordinary light/dark pair: `html.hc` restyles the
light theme, `html.hc body.quarto-dark` the night one, so the reader's own
light/dark toggle keeps working.
GitHub's two high-contrast themes separate things by outline rather than by
fill: text sits at full strength (fg.muted == fg.default), borders are
strong, and the tinted panels of the ordinary themes lose their tint. The
rules here do the same to the notes environments. */
/* ---------------------------------------------------------------- light -- */
html.hc {
/* Primer light_high_contrast */
--hc-canvas: #ffffff; /* canvas.default */
--hc-inset: #ffffff; /* canvas.inset — separation is by border */
--hc-fg: #0e1116; /* fg.default, and fg.muted, which equals it */
--hc-subtle: #66707b; /* fg.subtle — the only softened ink */
--hc-border: #20252c; /* border.default */
--hc-border-soft: #88929d; /* border.muted */
--hc-accent: #0349b4; /* accent.fg */
--hc-danger: #a0111f; /* danger.fg */
--hc-success: #055d20; /* success.fg */
--hc-attention: #4e2c00; /* attention.fg */
--hc-severe: #702c00; /* severe.fg */
--hc-done: #622cbc; /* done.fg */
/* the extension's own tokens */
--calc-ink: var(--hc-fg);
--calc-muted: var(--hc-fg);
--calc-line: var(--hc-border);
--calc-grid: var(--hc-border-soft);
--calc-accent-a: var(--hc-accent);
--calc-accent-b: var(--hc-severe);
--calc-accent-c: var(--hc-success);
--calc-danger: var(--hc-danger);
--calc-surface: var(--hc-canvas);
--calc-faint: var(--hc-border-soft);
--calc-shadow: rgba(14, 17, 22, 0.4);
--calc-domface: var(--hc-canvas);
--calc-domtop: #d8dee4;
--calc-notecolor: var(--hc-attention);
--calc-furthercolor: var(--hc-done);
/* the page itself */
--bs-body-bg: var(--hc-canvas);
--bs-body-color: var(--hc-fg);
--bs-emphasis-color: var(--hc-fg);
--bs-secondary-color: var(--hc-fg);
--bs-tertiary-color: var(--hc-subtle);
--bs-border-color: var(--hc-border);
--bs-link-color: var(--hc-accent);
--bs-link-hover-color: var(--hc-accent);
--bs-code-color: var(--hc-fg);
--bs-heading-color: var(--hc-fg);
}
/* ----------------------------------------------------------------- dark -- */
html.hc body.quarto-dark {
/* Primer dark_high_contrast, except for the canvas: the theme's own
#0a0c10 still reads as a very dark grey next to a black one, so the page
goes fully black and every other value keeps its relation to it. */
--hc-canvas: #000000; /* canvas.default is #0a0c10 upstream */
--hc-inset: #000000; /* canvas.inset */
--hc-subtle-bg: #272b33; /* canvas.subtle */
--hc-fg: #f0f3f6; /* fg.default == fg.muted */
--hc-subtle: #9ea7b3; /* fg.subtle */
--hc-border: #7a828e; /* border.default */
--hc-border-soft: #7a828e; /* border.muted — the same in this theme */
--hc-accent: #71b7ff; /* accent.fg */
--hc-danger: #ff9492; /* danger.fg */
--hc-success: #26cd4d; /* success.fg */
--hc-attention: #f0b72f; /* attention.fg */
--hc-severe: #ff803d; /* severe.fg */
--hc-done: #cb9eff; /* done.fg */
/* a stroke on near-black wants the text colour, not the border grey */
--calc-line: var(--hc-fg);
--calc-grid: var(--hc-border);
--calc-domface: var(--hc-subtle-bg);
--calc-domtop: #3d444d;
--calc-shadow: rgba(1, 4, 9, 0.8);
}
/* the tokens that only alias, so they follow whichever block is in force */
html.hc body.quarto-dark {
--calc-ink: var(--hc-fg);
--calc-muted: var(--hc-fg);
--calc-accent-a: var(--hc-accent);
--calc-accent-b: var(--hc-severe);
--calc-accent-c: var(--hc-success);
--calc-danger: var(--hc-danger);
--calc-surface: var(--hc-canvas);
--calc-faint: var(--hc-border);
--calc-notecolor: var(--hc-attention);
--calc-furthercolor: var(--hc-done);
--bs-body-bg: var(--hc-canvas);
--bs-body-color: var(--hc-fg);
--bs-emphasis-color: var(--hc-fg);
--bs-secondary-color: var(--hc-fg);
--bs-tertiary-color: var(--hc-subtle);
--bs-border-color: var(--hc-border);
--bs-link-color: var(--hc-accent);
--bs-link-hover-color: var(--hc-accent);
--bs-code-color: var(--hc-fg);
--bs-heading-color: var(--hc-fg);
}
/* --------------------------------------------------------- page chrome -- */
/* Quarto's own furniture is compiled from the bootswatch theme, so the
variables above do not reach all of it. */
html.hc body {
background-color: var(--hc-canvas);
color: var(--hc-fg);
}
html.hc :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, caption, figcaption, th, td) {
color: var(--hc-fg);
}
html.hc :is(.text-muted, .quarto-figure figcaption, figcaption.figure-caption,
.quarto-title-meta-heading, .quarto-title-meta-contents,
.callout-title-container, .footnotes) {
color: var(--hc-fg);
}
html.hc a:not(.nav-link):not(.sidebar-item-text) { color: var(--hc-accent); }
html.hc a:focus-visible,
html.hc button:focus-visible,
html.hc summary:focus-visible { outline: 2px solid var(--hc-accent); outline-offset: 2px; }
html.hc :is(#quarto-sidebar, #quarto-margin-sidebar, .sidebar, .sidebar-navigation,
#quarto-header, .navbar, .quarto-secondary-nav) {
background-color: var(--hc-canvas);
color: var(--hc-fg);
border-color: var(--hc-border);
}
html.hc :is(.sidebar-item-text, .sidebar .nav-link, nav[role="doc-toc"] a, .navbar .nav-link,
.quarto-secondary-nav .nav-link) {
color: var(--hc-fg);
opacity: 1;
}
html.hc .sidebar nav[role="doc-toc"] ul > li > a,
html.hc .sidebar-navigation .sidebar-item a,
html.hc .sidebar-navigation .sidebar-item .sidebar-item-text {
color: var(--hc-fg);
opacity: 1;
}
/* the active entry: Quarto writes its colour with !important, so this is the
one place the palette has to answer in kind */
html.hc .sidebar nav[role="doc-toc"] ul > li > a.active,
html.hc .sidebar nav[role="doc-toc"] ul > li > ul > li > a.active,
html.hc .sidebar nav[role="doc-toc"] ul > li > a:hover,
html.hc .sidebar-navigation .sidebar-item a.active,
html.hc .sidebar-navigation .sidebar-item a:hover {
color: var(--hc-accent) !important;
border-left-color: var(--hc-accent);
font-weight: 600;
}
html.hc nav[role="doc-toc"] { border-left: 1px solid var(--hc-border-soft); }
/* the breadcrumb of the collapsed header carries its own fill in both
bootswatch themes, and its ink is the weakest contrast on the page */
html.hc .breadcrumb {
background-color: var(--hc-canvas);
border: 1px solid var(--hc-border);
}
html.hc :is(.breadcrumb, .breadcrumb-item, .breadcrumb-item a, .quarto-btn-toggle) {
color: var(--hc-fg);
}
html.hc .breadcrumb-item a { color: var(--hc-accent); }
html.hc :is(hr, .quarto-title-block .quarto-title-banner, header#title-block-header) {
border-color: var(--hc-border);
}
html.hc hr { background-color: var(--hc-border); opacity: 1; }
html.hc blockquote {
border-left: 4px solid var(--hc-border);
color: var(--hc-fg);
}
html.hc :is(table, th, td) { border-color: var(--hc-border-soft); }
html.hc thead { border-bottom: 2px solid var(--hc-border); }
/* ------------------------------------------------------------- code ----- */
/* GitHub's high-contrast themes give a block an outline instead of a fill. */
html.hc :is(pre, div.sourceCode, pre.sourceCode) {
background-color: var(--hc-inset);
border: 1px solid var(--hc-border);
color: var(--hc-fg);
}
html.hc :not(pre) > code {
background-color: var(--hc-inset);
border: 1px solid var(--hc-border-soft);
border-radius: 3px;
color: var(--hc-fg);
padding: 0 0.2em;
}
html.hc code { color: var(--hc-fg); }
/* the syntax palette of the same two themes, mapped onto pandoc's classes */
html.hc code span:is(.co, .cv, .do, .an, .in) { color: var(--hc-subtle); font-style: italic; }
html.hc code span:is(.kw, .cf) { color: var(--hc-danger); }
html.hc code span:is(.st, .ch, .sc, .ss, .vs){ color: #032563; }
html.hc code span:is(.dv, .bn, .fl, .cn) { color: #023b95; }
html.hc code span:is(.fu, .ex) { color: #512598; }
html.hc code span:is(.va, .at) { color: var(--hc-severe); }
html.hc code span:is(.dt, .bu) { color: var(--hc-success); }
html.hc code span:is(.im, .pp) { color: var(--hc-severe); }
html.hc code span:is(.er, .wa, .al) { color: var(--hc-danger); font-weight: 600; }
html.hc code span:is(.op, .ot) { color: var(--hc-fg); }
html.hc body.quarto-dark code span:is(.st, .ch, .sc, .ss, .vs) { color: #addcff; }
html.hc body.quarto-dark code span:is(.dv, .bn, .fl, .cn) { color: #91cbff; }
html.hc body.quarto-dark code span:is(.fu, .ex) { color: #dbb7ff; }
html.hc body.quarto-dark code span:is(.co, .cv, .do, .an, .in) { color: #bdc4cc; }
/* ------------------------------------------- the notes environments ----- */
/* out goes the tint; the outline carries the box, at full accent strength */
html.hc :is(.exo, .further, .quiz, .gls-inline, .gls-float, .calc-note,
.exo-sol, .exo-hint, .quiz-opt) {
background: var(--hc-canvas);
}
html.hc .exo { border-color: var(--calc-notecolor); }
html.hc :is(.exo-sol, .exo-hint) { border-color: var(--calc-notecolor); }
html.hc .exo-head strong,
html.hc .exo-hint > summary { color: var(--calc-notecolor); }
html.hc .further { border-color: var(--calc-furthercolor); }
html.hc .gls-float { border-color: var(--calc-notecolor); box-shadow: 0 4px 14px var(--calc-shadow); }
html.hc :is(.gls-inline, .calc-note) { border-left-width: 4px; }
html.hc .gls-sym { text-decoration-color: var(--calc-notecolor); }
html.hc .quiz { --quiz-ok: var(--hc-success); --quiz-bad: var(--hc-danger); --quiz-ink: var(--hc-fg); }
html.hc :is(.quiz-opt.quiz-ok, .quiz-opt.quiz-bad) { background: var(--hc-canvas); }
html.hc .quiz-opt.quiz-ok { outline: 2px solid var(--hc-success); }
html.hc .quiz-opt.quiz-bad { outline: 2px solid var(--hc-danger); }
/* Quarto's own callouts, so a page does not mix outlined boxes with filled
ones; the callout keeps its colour, in its left bar and its title */
html.hc .callout {
background-color: var(--hc-canvas) !important;
border: 1px solid var(--hc-border);
}
html.hc .callout > .callout-header {
background-color: var(--hc-canvas) !important;
border-bottom: 1px solid var(--hc-border-soft);
}
html.hc :is(.callout-body, .callout-title-container, .callout-body-container p) {
color: var(--hc-fg);
}
html.hc .callout.callout-style-default > div.callout-header { font-weight: 600; }
/* Quarto's search box: its widget is not themed by the bootswatch pair, so it
stays white on a dark page unless it is told otherwise (see theme.css) */
html.hc :is(.aa-Form, .aa-InputWrapper, .aa-Panel, .aa-Item) {
background-color: var(--hc-canvas);
color: var(--hc-fg);
border-color: var(--hc-border);
}
html.hc :is(.aa-Autocomplete, .aa-DetachedFormContainer)
.aa-Form .aa-InputWrapper .aa-Input,
html.hc :is(.aa-Autocomplete, .aa-DetachedFormContainer)
.aa-Form .aa-InputWrapperSuffix .aa-ClearButton,
html.hc :is(.aa-Autocomplete, .aa-DetachedFormContainer)
.aa-Form .aa-InputWrapperPrefix :is(.aa-Label, .aa-LoadingIndicator) svg {
color: var(--hc-fg);
}
html.hc :is(.aa-Autocomplete, .aa-DetachedFormContainer)
.aa-Form .aa-InputWrapper .aa-Input::placeholder {
color: var(--hc-fg);
opacity: 0.75;
}
/* the results panel: Quarto colours the cards through an id, so this does too */
html.hc :is(.aa-DetachedOverlay, #quarto-search-results) li.aa-Item .search-item,
html.hc :is(.aa-DetachedOverlay, #quarto-search-results) li.aa-Item .search-item
:is(.search-result-title-container, .search-result-text-container,
.search-result-section, .search-result-text, .search-result-more) {
background-color: var(--hc-canvas);
color: var(--hc-fg);
}
html.hc :is(.aa-DetachedOverlay, #quarto-search-results) li.aa-Item[aria-selected="true"] .search-item,
html.hc :is(.aa-DetachedOverlay, #quarto-search-results) li.aa-Item[aria-selected="true"] .search-item
:is(.search-result-title-container, .search-result-text-container,
.search-result-section, .search-result-text, .search-result-more) {
background-color: var(--hc-accent);
color: var(--hc-canvas);
}
/* a hit is marked by weight and a rule, not by a block of colour */
html.hc :is(.aa-DetachedOverlay, #quarto-search-results) li.aa-Item .search-item
:is(mark.search-match, .search-match.mark) {
background-color: transparent;
color: inherit;
font-weight: 700;
text-decoration: underline;
}
/* the figure buttons of the animated schemes */
html.hc :is(.ns-btn, .nc-btn, .nd-replay) {
background: var(--hc-canvas);
color: var(--hc-fg);
border-color: var(--hc-border);
}
html.hc :is(.notes-spiral, .notes-cantor) :is(.ns-btn, .nc-btn)[aria-pressed="true"] {
background: var(--hc-canvas);
border-color: var(--hc-accent);
color: var(--hc-accent);
font-weight: 600;
}
/* the last tinted fills: a calc box and a note keep their outline instead */
html.hc :is(.calc-box, .calc-note, .calc-note[open]) { background: transparent; }
@@ -0,0 +1,106 @@
/* narrow.css — the book on a phone.
Nothing in the flow may be wider than the screen: a wide formula, table or
figure scrolls inside its own box instead of pushing the whole page
sideways (which leaves the text cut off at the left edge).
Loaded with calc-notes.css, so every page of every book gets it. */
/* --- display maths ------------------------------------------------------
The boxes of this extension (.calc, .exo, .further) already scroll their
own maths; this covers every other display formula on the page. */
:is(main, .quarto-title-block) :is(mjx-container[display="true"], .math.display) {
max-width: 100%;
overflow-x: auto;
overflow-y: hidden; /* Firefox computes phantom vertical overflow */
padding-bottom: 0.35em; /* keep descenders clear of a scrollbar */
/* a centred formula that overflows would hide its left side out of reach,
so centre it only while it fits */
justify-content: safe center;
}
/* --- everything else that can be wider than a phone ---------------------- */
main :is(pre, .sourceCode) { max-width: 100%; overflow-x: auto; }
main :is(img, svg) { max-width: 100%; height: auto; }
main table:not(.ltx-table) { display: block; max-width: 100%; overflow-x: auto; }
/* the animated figures of lesson-style chapters */
.notes-cantor, .notes-spiral, .notes-dominos { max-width: 100%; overflow-x: auto; }
/* the glossary popup: never wider than the screen */
.gls-float { max-width: min(92vw, 26rem); }
/* --- phone-sized screens ------------------------------------------------- */
@media (max-width: 575.98px) {
/* the equation number of a labelled calc block goes under the line, so the
formula keeps the full width */
.calc { grid-template-columns: max-content 1fr; }
/* figure captions and the fold summaries read better tight */
.exo, .further { padding-left: 0.6rem; padding-right: 0.6rem; }
/* A bare url in prose, or a long identifier in a code span, is one word to
the line breaker and paints past its block on a narrow screen — no
element is oversized, so only the text itself overflows. */
#quarto-document-content :is(a, code) { overflow-wrap: break-word; }
/* Quarto lets inline code wrap only inside a <p> (white-space: pre-wrap);
in a list item or a table it keeps one line, and a formula such as
"{PersN} → {PersN, Name, Position, Room, …}" pushed a page to 947px. */
#quarto-document-content :not(pre) > code:not(.sourceCode) { white-space: pre-wrap; }
/* A long compound in running text — "Unternehmensarchitekturmanagement" in
a list item is 348px — has no break opportunity. The page's lang picks
the hyphenation dictionary; overflow-wrap is the fallback without one. */
#quarto-document-content { hyphens: auto; overflow-wrap: break-word; }
/* An inline formula MathJax cannot break (one long fraction or product)
is wider than a phone: 413px in ModernPhysics' first exercise. It scrolls
inside its own box instead of pushing the page; the padding keeps tall
glyphs clear of the box's edge. */
/* A Bootstrap grid (::: {.grid} with .g-col-* items) has 12 columns and 11
gaps of 1.5rem: 264px of gaps alone, more than a callout on a phone
(248px in SoftwareEngineering's git appendix), so the columns collapse to
0 and a full-width item overflows. A smaller gap keeps the layout;
min-width: 0 lets an item's text wrap instead of widening its track. */
.grid { --bs-gap: 0.75rem; }
.grid > [class*="g-col"] { min-width: 0; }
#quarto-document-content mjx-container:not([display="true"]) {
display: inline-block;
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
vertical-align: middle;
padding-block: 0.15em;
}
/* Quarto's own previous/next footer: the chapter titles are laid out in a
row that will not shrink, so a long title pushes the page sideways. */
.page-navigation { flex-wrap: wrap; row-gap: 0.75em; }
.nav-page, .nav-page .nav-page-text { min-width: 0; }
.nav-page .chapter-title { overflow-wrap: break-word; }
/* A long compound in a heading — "Implementierungsentscheidungen" is 366px
at h3 size — is wider than a 320px screen. The page's lang picks the
hyphenation dictionary; overflow-wrap is the fallback without one. */
#quarto-document-content :is(h1, h2, h3, h4, h5, h6),
.quarto-title .title {
hyphens: auto;
overflow-wrap: break-word;
}
/* The bar at the top of a phone page: menu button, the chapter's title,
search. The title is a flex item that will not shrink, so a long one
("3 Komplexitätsanalyse" in darkly's wider font) pushes the search button
off the screen. It now shrinks and ends in an ellipsis. */
.quarto-secondary-nav nav.quarto-page-breadcrumbs { min-width: 0; }
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb {
flex-wrap: nowrap;
min-width: 0;
}
.quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
@@ -0,0 +1,240 @@
/* theme.css — one palette for every part of the notes extension, in light
mode, in night mode and in high contrast.
Night mode keys off Quarto's own `body.quarto-dark`, which the light/dark
toggle sets — never off `prefers-color-scheme`, so a book configured
light-only stays light for a reader whose system is dark.
A book opts in with, in _quarto.yml:
format:
html:
theme:
light: [cosmo]
dark: [darkly]
High contrast is a separate sheet, high-contrast.css, after GitHub's two
high-contrast VS Code themes. It keys off `hc` on <html>, which
calc-notes.lua sets from `high-contrast: true` in the metadata and for a
reader whose system asks for `prefers-contrast: more`.
Loaded with calc-notes.css, so every page of every book has these tokens. */
:root {
--calc-ink: #1a1a1a; /* figure text, strong strokes */
--calc-muted: #57606a; /* captions, readouts, button text */
--calc-line: #444444; /* axes and rules */
--calc-grid: #cccccc; /* lattice dots, faint grid */
--calc-accent-a: #1F6FB4; /* lineA of the tikz preamble */
--calc-accent-b: #D1541F; /* lineB */
--calc-accent-c: #2E8B57; /* lineC */
--calc-danger: #B91C1C; /* an error state, e.g. a failed code run */
--calc-surface: var(--bs-body-bg, #ffffff);
--calc-faint: #e7e9ec; /* hairlines between rows */
--calc-shadow: rgba(0, 0, 0, 0.15); /* floats above the page */
--calc-domface: #DCE7F2; /* the domino figure's front face */
--calc-domtop: #B8CFE4; /* its top face */
/* --calc-notecolor-src and --calc-furthercolor-src come from the document
metadata (calc-notes.lua / further.lua) and are the book's own colours;
--calc-notecolor and --calc-furthercolor are what everything draws with,
and equal the source here. The dark block lifts them. */
}
body.quarto-dark {
--calc-ink: #e6e9ed;
--calc-muted: #9aa4b2;
--calc-line: #b6bec7;
--calc-grid: #4b535d;
--calc-accent-a: #6fb0ea;
--calc-accent-b: #f0956a;
--calc-accent-c: #64c49a;
--calc-danger: #f08a8a;
--calc-faint: #3a4049;
--calc-shadow: rgba(0, 0, 0, 0.55);
--calc-domface: #2b3b4d;
--calc-domtop: #365070;
/* The book's own accent is kept, not replaced: its print value is too dim
on a dark ground, so it is lifted to a light tone at the same hue rather
than swapped for a generic amber. A book that wants a specific night
value sets `notecolor-dark:` / `furthercolor-dark:` in its metadata.
On a browser without relative colour syntax the lift is dropped and the
book's own colour is used unchanged. */
--calc-notecolor:
var(--calc-notecolor-dark,
oklch(from var(--calc-notecolor-src, #B45309) 0.78 c h));
--calc-furthercolor:
var(--calc-furthercolor-dark,
oklch(from var(--calc-furthercolor-src, #6B3FA0) 0.80 c h));
}
/* --- generated line art -------------------------------------------------
The tikz figures are black-and-colour line drawings on transparent white.
Inverting them keeps the drawing readable and, with the hue rotation,
keeps blue blue and orange orange. Photographs live under img/ and are
left alone; an svg that is a photograph, or that carries its own dark
palette, opts out with class="no-invert". */
body.quarto-dark main img[src$=".svg"]:not(.no-invert) {
filter: invert(1) hue-rotate(180deg);
}
/* --- captions -----------------------------------------------------------
Quarto's caption grey reads 4.4:1 on cosmo's white, under WCAG AA. The
muted token reads about 6.4:1 in light and in dark, and high contrast
makes it the foreground. The list ends with Quarto's most specific caption
selector so that :is() gives every entry its weight. */
:is(.panel-caption, .figure-caption, .subfigure-caption, .table-caption,
figcaption, caption, .margin-caption, .column-margin figcaption,
.quarto-layout-cell[data-ref-parent] caption) {
color: var(--calc-muted, #57606a);
}
/* --- breadcrumbs --------------------------------------------------------
Quarto greys the current page (#6c757d) and Bootstrap the separators; on
darkly's breadcrumb band that reads 2.1:1. The ink token passes in every
mode. `body` outweighs Quarto's own selectors; pseudo-elements cannot go
inside :is(), hence the separate rule. */
body :is(.quarto-title-breadcrumbs .breadcrumb li:last-of-type a,
.breadcrumb-item.active) {
color: var(--calc-ink, #1a1a1a);
}
body .breadcrumb-item + .breadcrumb-item::before,
body .quarto-secondary-nav nav.quarto-page-breadcrumbs .breadcrumb-item::before,
body .quarto-secondary-nav nav.quarto-page-breadcrumbs a {
color: var(--calc-ink, #1a1a1a);
}
/* --- Quarto's other greys -----------------------------------------------
Quarto hard-codes #6c757d for every fold label (details > summary) and for
the previous/next page links, and a mid grey for section numbers: 3.4:1 on
darkly, 4.4:1 on cosmo. The muted token reads about 6.4:1 in both, and
high contrast makes it the foreground. An exercise hint keeps its accent
(.exo-hint > summary outweighs these), and the active entry of the
contents still inherits its colour. */
body details > summary,
body .nav-page a,
body .header-section-number {
color: var(--calc-muted, #57606a);
}
/* Quoted text: Quarto's .blockquote grey is 4.4:1 on cosmo, and it names the
paragraphs, so they are named here too. */
body :is(blockquote, .blockquote, blockquote p, .blockquote p) {
color: var(--calc-muted, #57606a);
}
/* Inline code: Bootstrap's pill is #f8f9fa in both themes, so darkly's light
code text sat on near-white (1.05:1). The pill is now a faint tint of the
page, which keeps each theme's code colour readable, and inherited muted
text (code in a caption) too. */
body :not(pre) > code:not(.sourceCode) {
background-color: color-mix(in srgb, var(--calc-faint, #e7e9ec) 60%,
var(--calc-surface, #ffffff));
}
/* A code block inside a tinted box (exercise, hint, solution, "to go
further", quiz): Quarto's block ground is 65% opaque, so the tint shows
through and a11y-light's keyword red drops to 4.4:1. Here the ground is
opaque, and the same light grey as on the page. */
body :is(.exo, .exo-hint, .exo-sol, .further, .quiz) div.sourceCode {
background-color: color-mix(in srgb, var(--calc-faint, #e7e9ec) 45%,
var(--calc-surface, #ffffff));
}
/* A static (not executed) block also gives its <code> the translucent
ground, so the two layers stack and darken it. The block carries the
ground; the code inside is transparent, as in an executed cell. */
body div.sourceCode > pre > code.sourceCode { background-color: transparent; }
/* --- Jupyter output: ANSI colours ---------------------------------------
A traceback comes out in the notebook's terminal palette, made for a dark
terminal: yellow is 1.9:1 and cyan 2.0:1 on the page. Each colour name
takes the matching token with a fifth of ink, which keeps the hue and passes
in all four modes. IPython's 256-colour spans carry inline styles and no
name, so they take the text colour. */
body :is(.ansi-black-fg, .ansi-bright-black-fg) { color: var(--calc-ink); }
body :is(.ansi-white-fg, .ansi-bright-white-fg) { color: var(--calc-muted); }
body :is(.ansi-red-fg, .ansi-bright-red-fg) {
color: color-mix(in srgb, var(--calc-danger) 85%, var(--calc-ink));
}
body :is(.ansi-green-fg, .ansi-bright-green-fg) {
color: color-mix(in srgb, var(--calc-accent-c) 75%, var(--calc-ink));
}
body :is(.ansi-yellow-fg, .ansi-bright-yellow-fg) {
color: color-mix(in srgb, var(--calc-accent-b) 75%, var(--calc-ink));
}
body :is(.ansi-blue-fg, .ansi-bright-blue-fg) {
color: color-mix(in srgb, var(--calc-accent-a) 80%, var(--calc-ink));
}
body :is(.ansi-magenta-fg, .ansi-bright-magenta-fg) {
color: color-mix(in srgb, var(--calc-furthercolor) 85%, var(--calc-ink));
}
body :is(.ansi-cyan-fg, .ansi-bright-cyan-fg) {
color: color-mix(in srgb,
color-mix(in srgb, var(--calc-accent-a) 50%, var(--calc-accent-c)) 75%,
var(--calc-ink));
}
body .ansi-escaped-output span[style*="color"] { color: inherit !important; }
/* --- higher contrast ---------------------------------------------------
The high-contrast pair lives in high-contrast.css, which is loaded with
this file and keys off `hc` on <html>. */
/* --- Quarto's search box -------------------------------------------------
The search widget keeps its own white surface whatever the bootswatch
theme says, so on a dark page it is a white slab with dark text. It is
given the page's own surface here rather than in each book. */
body.quarto-dark :is(.aa-Form, .aa-InputWrapper, .aa-Panel, .aa-Item,
.aa-DetachedContainer, .aa-DetachedFormContainer) {
background-color: var(--calc-surface, #222);
color: var(--calc-ink, #e6e9ed);
border-color: var(--calc-faint, #3a4049);
}
/* The ink inside the form is a separate problem from its surface: Quarto's
dark bundle sets the input, its placeholder, the clear button and the
magnifier to rgb(45,45,45) through a four-class selector, so a short one
loses the cascade and the typed text stays unreadable. The shape below
matches Quarto's own, which is the only way to win without !important. */
body.quarto-dark :is(.aa-Autocomplete, .aa-DetachedFormContainer)
.aa-Form .aa-InputWrapper .aa-Input,
body.quarto-dark :is(.aa-Autocomplete, .aa-DetachedFormContainer)
.aa-Form .aa-InputWrapperSuffix .aa-ClearButton,
body.quarto-dark :is(.aa-Autocomplete, .aa-DetachedFormContainer)
.aa-Form .aa-InputWrapperPrefix :is(.aa-Label, .aa-LoadingIndicator) svg {
color: var(--calc-ink, #e6e9ed);
}
body.quarto-dark :is(.aa-Autocomplete, .aa-DetachedFormContainer)
.aa-Form .aa-InputWrapper .aa-Input::placeholder {
color: var(--calc-muted, #9aa4b2);
}
/* --- search: the selected result ----------------------------------------
Quarto marks it with cosmo's primary (#2780e3) under white text, 3.97:1,
and its matched words with a lighter blue, worse still. The same hue at a
lower lightness passes. Night mode (darkly's #375a7f, 7.2:1) and high
contrast (high-contrast.css) keep their own. */
html:not(.hc) body:not(.quarto-dark) :is(.aa-DetachedOverlay, #quarto-search-results)
li.aa-Item[aria-selected="true"] :is(.search-item, .search-item *:not(mark, .mark)) {
background-color: oklch(from var(--bs-primary, #2780e3) 0.42 c h);
}
html:not(.hc) body:not(.quarto-dark) :is(.aa-DetachedOverlay, #quarto-search-results)
li.aa-Item[aria-selected="true"] .search-item :is(mark.search-match, .search-match.mark) {
background-color: oklch(from var(--bs-primary, #2780e3) 0.52 c h);
}
/* --- the high-contrast switch -------------------------------------------
Built by calc-notes.js next to Quarto's light/dark toggle, and styled to
sit with it rather than stand out. */
.notes-contrast-toggle {
background: none;
border: 0;
color: inherit;
line-height: 1;
cursor: pointer;
opacity: 0.85;
}
.notes-contrast-toggle:hover { opacity: 1; }
.notes-contrast-toggle[aria-pressed="true"] {
opacity: 1;
color: var(--calc-accent-a, #1F6FB4);
}
.notes-contrast-toggle:focus-visible {
outline: 2px solid var(--calc-accent-a, #1F6FB4);
outline-offset: 2px;
}
Loaded 100 of 116 files, more files were not shown because too many files have changed in this diff. Show more