slides/modules/ephemeral-workspaces.html
2025-07-21 14:43:11 +02:00

171 lines
5 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<title>Ephemeral workspaces</title>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<!-- Original reveal JS stylesheets-->
<link rel="stylesheet" href="../reveal.js/dist/reset.css">
<link rel="stylesheet" href="../reveal.js/dist/reveal.css">
<link rel="stylesheet" href="../reveal.js/dist/theme/beige.css">
<!-- custom styles, e.g., imgcredit -->
<link rel="stylesheet" href="../custom/css/main-no-copy.css">
<!-- Used for printing PDFs (append ?print-pdf to URL in browser)-->
<script src="../custom/js/printpdf.js"></script>
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="../reveal.js/plugin/highlight/monokai.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<section data-markdown data-transition="none"><script type="text/template">
# Ephemeral workspaces
(short-lived workspaces)
</script></section>
<section>
<h2>My $HOME is my castle...</h2>
...and contains my entire career
<pre><code class="zsh" data-trim>
# number of files
% find -type f | wc -l
1402095
# number of directories
% find -type d |wc -l
539862
# oldest file
% find -type f -printf '%T+ %p\n' | sort | head -n1
2004-06-11+12:14:07.00 ./hacking/old/tikapp/gui/src/backprophiddenlayeritem.cpp
</code></pre>
<aside class="notes">
Note to self
</aside>
<p>What are the chances that putting all stuff in a directory for 15 years yields a comprehensible, manageable data structure?</p>
</section>
<section>
<h2>Trinity of research data handling</h2>
<table>
<tr><td style="vertical-align:middle"><img src="../img/concepts/ephemeral_infra.svg" width="800" />
</td><td>
<dl>
<dt>$EXPLORE (laptop, workstation)</dt>
<dd><ul>
<li>fully flexible/undefined structure</li>
<li>limited storage</li>
<li>minor computational resources</li>
</ul></dd>
<dt>$COMPUTE (cluster, HPC, cloud)</dt>
<dd><ul>
<li>analysis-defined structure</li>
<li>analysis-appropriate resources</li>
</ul></dd>
<dt>$DATA</dt>
<dd><ul>
<li>fully-determined, domain-agnostic structure</li>
<li>"unlimited" storage</li>
<li>managed backups</li>
</ul></dd>
</dl>
</tr>
</table>
<aside class="notes">
Note to self
</aside>
</section>
<section>
<h2>Research data flow</h2>
<table>
<tr><td><img src="../img/concepts/ephemeral_infra.svg" width="800" />
</td><td>
<ul>
<li>Researchers are free to do whatever at <strong>$EXPLORE</strong> (within limits)</li>
<li><strong>$COMPUTE</strong> pulls data (exclusively) from <strong>$DATA</strong></li>
<li>Results from <strong>$COMPUTE</strong> are immediately/eventually pushed back to <strong>$DATA</strong></li>
</ul>
</tr>
</table>
<dl>
<dt>Impact of ephemeral $EXPLORE and $COMPUTE</dt>
<dd>
<ul>
<li>No limits to tinkering and exploration of data</li>
<li>Anything that needs to scale requires researchers to use <strong>$COMPUTE</strong> and thereby <strong>$DATA</strong>
<li>Anything that is/was relevant for computation is tracked in <strong>$DATA</strong></li>
<li>The only trusted place for any data is <strong>$DATA</strong>, hence anything that could be important is there</li>
</ul></dd></dl>
<aside class="notes">
Note to self
</aside>
</section>
<section data-markdown><script type="text/template">
## What data are important?
- recently modified
- dependency of recent/many other dataset(s)
- dependency of publication (dataset)
- contribution by **$PERSON**
- ...
Many other properties inferable through metadata queries.
All information available directly from **$DATA**
<aside class="notes">
Note to self
</aside>
</script></section>
</section>
</div>
</div>
<script src="../reveal.js/dist/reveal.js"></script>
<script src="../reveal.js/plugin/notes/notes.js"></script>
<script src="../reveal.js/plugin/markdown/markdown.js"></script>
<script src="../reveal.js/plugin/highlight/highlight.js"></script>
<script>
// Full list of configuration options available at:
// https://revealjs.com/config/
Reveal.initialize({
// The "normal" size of the presentation, aspect ratio will be preserved
// when the presentation is scaled to fit different resolutions. Can be
// specified using percentage units.
width: 1280,
height: 960,
// Factor of the display size that should remain empty around the content
margin: 0.1,
// Bounds for smallest/largest possible scale to apply to content
minScale: 0.2,
maxScale: 1.0,
controls: true,
progress: true,
history: true,
center: true,
transition: 'slide', // none/fade/slide/convex/concave/zoom
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ]
});
</script>
</body>
</html>