This commit is contained in:
eddiesoehnel committed 2026-10-06 14:43:52 -06:00
1 parent aa58f98043
commit 304ff6e19e
32 files changed
+3302

No files matched your search

@@ -0,0 +1,43 @@
<script>
(() => {
const sections = [{"label": "Purpose", "id": "purpose", "color": "#0000FF", "ink": "#FFFFFF"}, {"label": "Where AI has been", "id": "where-ai-has-been", "color": "#9FC5E8", "ink": "#000000"}, {"label": "Where AI is now", "id": "where-ai-is-now", "color": "#00FF00", "ink": "#000000"}, {"label": "Where AI is going", "id": "where-ai-is-going", "color": "#00FFFF", "ink": "#000000"}, {"label": "Competitive implications", "id": "competitive-implications", "color": "#980000", "ink": "#FFFFFF"}, {"label": "Data ownership and model risk", "id": "data-and-model-risk", "color": "#9900FF", "ink": "#FFFFFF"}, {"label": "Efficient execution", "id": "efficient-execution", "color": "#38761D", "ink": "#FFFFFF"}, {"label": "Practical tools", "id": "practical-tools", "color": "#93C47D", "ink": "#000000"}, {"label": "Build together on PaddleNET", "id": "build-together", "color": "#FF9900", "ink": "#000000"}, {"label": "Core message", "id": "what-to-do-next", "color": "#FFFF00", "ink": "#000000"}];
function init() {
const reveal = window.Reveal;
if (!reveal || !reveal.isReady()) { setTimeout(init, 100); return; }
const slides = [...document.querySelectorAll('.reveal .slides section.slide')];
const nav = document.createElement('nav'); nav.id='es-outline'; nav.setAttribute('aria-label','Slide outline');
nav.innerHTML='<p class="outline-title">AI: Cutting Through<br>the Hype</p><a href="#/title-slide">Cover</a><a href="#/contents">Table of Contents</a>';
let current=null, group=null;
slides.forEach(slide => {
const section=sections.find(s=>s.id===slide.id);
if(section) {
current=section;
group=document.createElement('details'); group.dataset.section=section.id;
group.style.setProperty('--section-color',section.color);
const summary=document.createElement('summary'); summary.textContent=section.label;
group.append(summary); nav.append(group);
const h=slide.querySelector('h1'); if(h) { const span=document.createElement('span');span.textContent=h.textContent;h.replaceChildren(span); }
}
if(slide.classList.contains('standalone')) {current=null;group=null;}
if(current) {
slide.dataset.esSection=current.id;
const back=document.createElement('a'); back.className='es-return'; back.href='#/contents';back.textContent='Go Back To Outline Page';slide.append(back);
const foot=document.createElement('div');foot.className='es-footer';foot.style.background=current.color;foot.style.color=current.ink;
const label=document.createElement('span');label.textContent=current.label.toUpperCase();foot.append(label);
const author=document.createElement('a');author.href='https://eddiesoehnel.com/';author.textContent='Copyright © Eddie Soehnel';author.target='_blank';author.rel='noopener';foot.append(author);slide.append(foot);
const a=document.createElement('a');a.href='#/'+slide.id;a.dataset.slideId=slide.id;a.textContent=slide.querySelector('h1,h2')?.textContent || slide.id;group.append(a);
} else if(slide.classList.contains('standalone')) {
const a=document.createElement('a');a.href='#/'+slide.id;a.dataset.slideId=slide.id;a.textContent=slide.querySelector('h2')?.textContent || slide.id;nav.append(a);
}
});
slides.filter(s=>s.classList.contains('evidence')).forEach(s=>{const img=s.querySelector('img');if(!img)return;const button=document.createElement('button');button.className='chart-open';button.textContent='Open chart at full size';button.onclick=()=>{const viewer=document.createElement('div');viewer.id='chart-viewer';viewer.setAttribute('role','dialog');viewer.setAttribute('aria-label',img.alt);viewer.setAttribute('aria-modal','true');const close=document.createElement('button');close.textContent='Close chart';close.onclick=()=>{viewer.remove();button.focus();};const full=document.createElement('img');full.src=img.src;full.alt=img.alt;viewer.append(close,full);document.body.append(viewer);close.focus();viewer.onkeydown=e=>{if(e.key==='Escape')close.click();if(e.key==='Tab'){e.preventDefault();close.focus();}};};s.querySelector('figure')?.append(button);});
const help=document.createElement('p');help.className='outline-help';help.textContent='Expand a section to jump to any slide. M: menu · O: overview · S: notes · F: full screen';nav.append(help);document.body.append(nav);
const toggle=document.createElement('button');toggle.id='es-outline-toggle';toggle.textContent='Outline';toggle.setAttribute('aria-label','Show or hide slide outline');toggle.setAttribute('aria-expanded','true');
toggle.onclick=()=>{ if(window.innerWidth<=800){document.body.classList.toggle('mobile-outline');toggle.setAttribute('aria-expanded',document.body.classList.contains('mobile-outline'));}else{document.body.classList.toggle('outline-hidden');toggle.setAttribute('aria-expanded',!document.body.classList.contains('outline-hidden'));}reveal.layout();};document.body.append(toggle);
nav.addEventListener('click',e=>{const a=e.target.closest('a');if(!a)return;const id=a.hash.replace(/^#\/?/,'');const target=document.getElementById(id);if(target){e.preventDefault();const ix=reveal.getIndices(target);reveal.slide(ix.h,ix.v);}});
function update() {const s=reveal.getCurrentSlide();nav.querySelectorAll('a').forEach(a=>{if(a.hash==='#/'+s.id){a.setAttribute('aria-current','page');}else{a.removeAttribute('aria-current');}});nav.querySelectorAll('details').forEach(d=>{d.open=d.dataset.section===s.dataset.esSection;});}
reveal.on('slidechanged',update);update();reveal.layout();
}
window.addEventListener('load',init);
})();
</script>
@@ -0,0 +1,78 @@
/*-- scss:defaults --*/
$body-bg: #ffffff;
$body-color: #000000;
$link-color: #0000FF;
$font-family-sans-serif: Arial, sans-serif;
$presentation-heading-font: Arial, sans-serif;
$presentation-heading-color: #529991;
$presentation-heading-font-weight: 700;
$presentation-font-size-root: 34px;
$presentation-h1-font-size: 2.6em;
$presentation-h2-font-size: 1.42em;
$presentation-h3-font-size: 1.05em;
$presentation-line-height: 1.35;
/*-- scss:rules --*/
:root { --outline-width: 240px; }
.reveal { width: calc(100% - var(--outline-width)); margin-left: var(--outline-width); }
.reveal .slides section.slide { box-sizing: border-box; height: 900px; padding: 88px 85px 104px; }
.reveal .slides section.slide h2 { margin: 0 0 40px; line-height: 1.15; }
.reveal .slides section.slide h3 { color: #529991; margin-bottom: 24px; }
.reveal .slides section.slide p { margin-bottom: 28px; }
.reveal .slides section.slide li { margin-bottom: 26px; }
.reveal .slides section.slide ul, .reveal .slides section.slide ol { margin-left: 1.1em; }
.reveal .slides section.slide .columns { gap: 60px; }
.reveal a { text-decoration: underline; text-underline-offset: .12em; }
.reveal .slides section.slide .aside { position: static !important; width: auto !important; font-size: 23px; line-height: 1.3; color: #444; margin-top: 26px; }
.reveal .slides section.slide .aside p { margin-bottom: 10px; }
.reveal .slides section.slide aside:not(.notes) { position:static !important; display:block; width:auto !important; font-size:23px; line-height:1.3; color:#444; margin-top:26px; }
.reveal .slides section.slide aside:not(.notes) p { margin-bottom:10px; }
.reveal .slides section.slide img { object-fit: contain; max-height: 580px; margin: 0; }
.reveal .slides section.slide figure { margin: 0; }
.reveal .slides section.slide figcaption { display: none; }
.reveal .slides section.evidence { padding-top: 78px; }
.reveal .slides section.evidence h2 { margin-bottom: 18px; }
.reveal .slides section.evidence .aside { margin-top: 12px; font-size: 21px; }
.reveal .slides section.evidence aside:not(.notes) { margin-top:12px; font-size:21px; }
.reveal .slides section.evidence img { max-height:540px; }
.reveal .slides section.evidence .quarto-figure { margin-bottom: 0; }
.reveal .slides section.major-divider { padding: 180px 100px 130px; text-align: center; display: flex !important; align-items: center; justify-content: center; }
.reveal .slides section.major-divider h1 { color: #000; font-size: 100px; line-height: 1.15; max-width: 1300px; }
.reveal .slides section.major-divider h1 span { background: #FFAB40; box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 12px; }
.reveal .slides section#title-slide { box-sizing:border-box; height:900px; padding: 200px 140px 120px; text-align: center; }
.reveal .slides section#title-slide h1 { font-size: 85px; line-height: 1.12; margin-bottom: 46px; }
.reveal .slides section#title-slide .subtitle { font-size: 43px; color: #529991; }
.reveal .slides section#title-slide .quarto-title-author-name, .reveal .slides section#title-slide .date { font-size: 30px; }
.reveal .slides section.contents { padding-top: 95px; }
.reveal .slides section.contents ul { list-style: none; margin-left: 0; }
.reveal .slides section.contents li { font-size: 30px; margin-bottom: 28px; }
.reveal .slides section.statement p { font-size: 43px; line-height: 1.4; margin-bottom: 35px; }
.reveal .slides section.statement { padding-top: 110px; }
.reveal .slides section.standalone { padding-top: 100px; }
.reveal .slides section#disclaimer p { font-size: 32px; }
.reveal .slides section#sources li { font-size: 27px; }
.reveal .prompt-example { font-size: 39px; line-height: 1.45; border-left: 7px solid #529991; padding: 16px 34px; margin-top: 48px; }
.reveal .es-return { position: absolute; top: 20px; left: 0; width: 100%; text-align: center; font-size: 23px; color: #595959; line-height: 1.1; }
.reveal .es-footer { position: absolute; bottom: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; font-size: 24px; box-sizing: border-box; }
.reveal .es-footer a { color: inherit; }
#es-outline { position: fixed; left: 0; top: 0; bottom: 0; width: var(--outline-width); box-sizing: border-box; z-index: 40; background: #fff; border-right: 1px solid #ccc; padding: 18px 12px; overflow-y: auto; font: 13px/1.3 Arial,sans-serif; }
#es-outline .outline-title { color: #529991; font-size: 18px; font-weight: bold; margin: 0 0 12px; }
#es-outline a { display: block; color: #222; text-decoration: none; padding: 7px 8px; border-left: 4px solid transparent; }
#es-outline a:hover, #es-outline a:focus { background: #eee; outline: 2px solid #529991; }
#es-outline a[aria-current="page"] { font-weight: bold; background: #edf5f4; }
#es-outline details { margin: 4px 0; }
#es-outline summary { cursor: pointer; font-weight: bold; padding: 7px 0; border-bottom: 3px solid var(--section-color); }
#es-outline details a { font-size: 12px; }
#es-outline .outline-help { font-size: 11px; color: #595959; margin-top: 16px; }
#es-outline-toggle { position: fixed; top: 8px; left: calc(var(--outline-width) + 8px); z-index: 45; background: #fff; color: #333; border: 1px solid #bbb; padding: 6px 10px; font: 12px Arial,sans-serif; cursor: pointer; }
#chart-viewer { position:fixed; inset:0; z-index:100; background:#fff; overflow:auto; text-align:center; padding:12px; }
#chart-viewer img { display:block; margin:12px auto; width:auto; height:auto; max-width:100%; }
#chart-viewer button { position:sticky; top:0; display:block; margin-left:auto; background:white; border:1px solid #555; padding:10px 18px; cursor:pointer; }
.reveal .chart-open { display:block; margin:8px auto 0; background:transparent; color:#0000FF; font:21px Arial; border:0; text-decoration:underline; cursor:pointer; }
body.outline-hidden { --outline-width: 0px; }
body.outline-hidden #es-outline { display: none; }
@media (max-width: 800px) { :root { --outline-width: 0px; } #es-outline { display:none; width: 240px; } body.mobile-outline #es-outline { display:block; } }
.slide-menu { transition:none !important; }
.slide-menu--left.active { transform:translateX(0) !important; }
@media print { #es-outline, #es-outline-toggle { display:none !important; } .reveal { width:100%; margin-left:0; } }
body.print-pdf #es-outline, body.print-pdf #es-outline-toggle { display:none; }
body.print-pdf .reveal { width:100%; margin-left:0; }