This commit is contained in:
Oliver Kennedy 2022-04-02 13:17:03 -04:00
parent 64a4947ef3
commit bdbabced0e
Signed by: okennedy
GPG key ID: 3E5F9B3ABD3FDB60
4 changed files with 1068 additions and 68 deletions

View file

@ -6,11 +6,11 @@ title: "UB Hacking: Microkernel Notebooks"
<section>
<h2>Microkernel Notebooks</h2>
<h4 style="margin-top: 20px;">Oliver Kennedy</h4>
<p style="font-size: 75%; width: 730px; margin-right: auto; margin-left: auto; margin-top: 100px;" >
<p style="font-size: 70%; width: 730px; margin-right: auto; margin-left: auto; margin-top: 100px;" >
<a href="https://vizierdb.info">
<img src="graphics/logos/vizier-blue.svg" height="80px" style="float: left; margin-right: 20px; vertical-align: middle;" />
<img src="graphics/logos/vizier-blue.svg" height="70px" style="float: left; margin-right: 20px; vertical-align: middle;" />
</a>
Boris Glavic, Juliana Freire, Michael Brachmann, William Spoth, Poonam Kumari, Ying Yang, Su Feng, Heiko Mueller, Aaron Huber, and many more...</p>
Boris Glavic, Juliana Freire, Michael Brachmann, William Spoth, Poonam Kumari, Ying Yang, Su Feng, Heiko Mueller, Aaron Huber, Nachiket Deo, and many more...</p>
</section>
@ -25,17 +25,18 @@ title: "UB Hacking: Microkernel Notebooks"
</section>
<section>
<img src="graphics/clipart/Female-or-Male-Unisex-Geek-or-Nerd-Light-Skin.svg">
<img src="graphics/clipart/Female-or-Male-Unisex-Geek-or-Nerd-Light-Skin.svg" height="400px">
<attribution><a href="https://openclipart.org/">openclipart.org</a></attribution>
</section>
<section>
<h2>250?</h2>
<img src="graphics/2022-04-02/250-textbook.png">
<img src="graphics/2022-04-02/250-textbook.png" height="300px">
</section>
<section>
<img src="graphics/2022-04-02/Macintosh_classic_250.jpg">
<img src="graphics/2022-04-02/Macintosh_classic_250.jpg" height="400px">
<attribution>Adapted from <a href="http://creativecommons.org/licenses/by-sa/3.0/" title="Creative Commons Attribution-Share Alike 3.0">CC BY-SA 3.0</a>, <a href="https://commons.wikimedia.org/w/index.php?curid=10101">Wikimedia Commons</a></attribution>
</section>
@ -111,11 +112,6 @@ title: "UB Hacking: Microkernel Notebooks"
print(set(really_expensive_computation()))
</code></pre>
</section>
<section>
<p><b>Opportunity:</b> Views are queried frequently</p>
<p class="fragment"><b>Idea: </b> Pre-compute and save the views contents!</p>
</section>
<section>
<pre><code class="python">
@ -140,7 +136,12 @@ title: "UB Hacking: Microkernel Notebooks"
</section>
<section>
<p>Btw... the last slide was the essence of CSE 250.</p>
<p><b>Opportunity:</b> Views are queried frequently</p>
<p><b>Idea: </b> Pre-compute and save the views contents!</p>
</section>
<section>
<p>Btw... this idea is the essence of CSE 250.</p>
</section>
<section>
@ -226,11 +227,11 @@ title: "UB Hacking: Microkernel Notebooks"
<h4 class="fragment" data-fragment-index="1"><span class="fragment strike" data-fragment-index="2">Why Jupyter Sucks</span></h4>
<h2 class="fragment strike" data-fragment-index="1">Microkernel Notebooks</h2>
<h4 style="margin-top: 20px;">Oliver Kennedy</h4>
<p style="font-size: 75%; width: 730px; margin-right: auto; margin-left: auto; margin-top: 100px;" >
<p style="font-size: 70%; width: 730px; margin-right: auto; margin-left: auto; margin-top: 100px;" >
<a href="https://vizierdb.info">
<img src="graphics/logos/vizier-blue.svg" height="80px" style="float: left; margin-right: 20px; vertical-align: middle;" />
<img src="graphics/logos/vizier-blue.svg" height="70px" style="float: left; margin-right: 20px; vertical-align: middle;" />
</a>
Boris Glavic, Juliana Freire, Michael Brachmann, William Spoth, Poonam Kumari, Ying Yang, Su Feng, Heiko Mueller, Aaron Huber, and many more...</p>
Boris Glavic, Juliana Freire, Michael Brachmann, William Spoth, Poonam Kumari, Ying Yang, Su Feng, Heiko Mueller, Aaron Huber, Nachiket Deo, and many more...</p>
</section>
<section>
@ -270,7 +271,7 @@ title: "UB Hacking: Microkernel Notebooks"
Python 3.9.7 (default, Sep 10 2021, 14:59:43)
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> <span class="fragment">from pandas import pd
>>> <span class="fragment">import pandas as pd
>>> </span><span class="fragment">df = pd.read_csv("AMS-USDA-Directories-FarmersMarkets.csv")
>>> df<span>
<div class="fragment"> FMID MarketName ... WildHarvested updateTime
@ -385,8 +386,9 @@ title: "UB Hacking: Microkernel Notebooks"
<section>
<p>... but <tt>df</tt> is still around, and you can "re-use" it.</p>
<p>Idea 2: Skip cells that haven't changed.</p>
<p style="margin-top: 100px; font-weight: bold;" class="fragment">... but <u class="fragment highlight-red">you</u> need to know that.</p>
<p style="margin-top: 100px; font-weight: bold;" class="fragment">... but <u class="fragment highlight-red">you</u> need to keep track of this.</p>
</section>
</section>
@ -394,7 +396,7 @@ title: "UB Hacking: Microkernel Notebooks"
<section>
<section>
<p>Idea 2: Pull out your CSE 443 Textbooks</p>
<p>Idea 3: Pull out your CSE 443 Textbooks</p>
</section>
<section>
@ -440,7 +442,7 @@ title: "UB Hacking: Microkernel Notebooks"
</section>
<section>
<svg data-src="graphics/2022-04-02/microkernel-2.svg" height="500px" />
<svg data-src="graphics/2022-04-02/microkernel-invalidate.svg" height="500px" />
</section>
<section>
@ -452,7 +454,7 @@ title: "UB Hacking: Microkernel Notebooks"
</section>
<section>
<svg data-src="graphics/2022-04-02/microkernel-3.svg" height="500px" />
<svg data-src="graphics/2022-04-02/microkernel-multiarch.svg" height="500px" />
</section>
<section>
@ -469,10 +471,21 @@ title: "UB Hacking: Microkernel Notebooks"
<img src="graphics/logos/vizier-blue.svg" height="200px" />
</a>
</section>
<section>
<p>Time Permitting...</p>
<h2>React Sucks Too.</h2>
</section>
<section>
<a href="https://vizierdb.info">
<img src="graphics/logos/vizier-blue.svg" height="200px" />
</a>
<p><a href="https://vizierdb.info">https://vizierdb.info</a></p>
<p><a href="https://github.com/VizierDB/vizier-scala">https://github.com/VizierDB/vizier-scala</a></p>
</section>
</section>

View file

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View file

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 141 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 143 KiB

After

Width:  |  Height:  |  Size: 86 KiB