Skip to content

Commit 76ca258

Browse files
committed
Fixes for slides for session 3
1 parent f3ea109 commit 76ca258

File tree

1 file changed

+27
-9
lines changed

1 file changed

+27
-9
lines changed

session3_scientific_ecosystem/slides_session3.ipynb

Lines changed: 27 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
}
216216
},
217217
"source": [
218-
"<img src=\"images/optimization.png\" style=\"600px\">"
218+
"<img src=\"images/optimization.png\" style=\"height:700px;\">"
219219
]
220220
},
221221
{
@@ -1148,7 +1148,9 @@
11481148
}
11491149
},
11501150
"source": [
1151-
"# Buy faster hardware"
1151+
"# Buy faster hardware\n",
1152+
"\n",
1153+
"Okay, that one is easy, you need only enough money!"
11521154
]
11531155
},
11541156
{
@@ -1159,8 +1161,6 @@
11591161
}
11601162
},
11611163
"source": [
1162-
"Okay, that one is easy, you need only enough money!\n",
1163-
"\n",
11641164
"<img src=\"images/lotto.jpg\" style=\"width:800px\">"
11651165
]
11661166
},
@@ -1315,6 +1315,7 @@
13151315
}
13161316
},
13171317
"source": [
1318+
"<small><pre>\n",
13181319
" L1 cache reference 0.5 ns\n",
13191320
" Branch mispredict 5 ns\n",
13201321
" L2 cache reference 7 ns 14x L1 cache\n",
@@ -1334,7 +1335,8 @@
13341335
" -----\n",
13351336
" 1 ns = 10^-9 seconds\n",
13361337
" 1 us = 10^-6 seconds = 1,000 ns\n",
1337-
" 1 ms = 10^-3 seconds = 1,000 us = 1,000,000 ns"
1338+
" 1 ms = 10^-3 seconds = 1,000 us = 1,000,000 ns\n",
1339+
"<pre></small>"
13381340
]
13391341
},
13401342
{
@@ -2407,7 +2409,11 @@
24072409
},
24082410
{
24092411
"cell_type": "markdown",
2410-
"metadata": {},
2412+
"metadata": {
2413+
"slideshow": {
2414+
"slide_type": "slide"
2415+
}
2416+
},
24112417
"source": [
24122418
"# Numpy: this is how you make things fast!"
24132419
]
@@ -3245,7 +3251,11 @@
32453251
},
32463252
{
32473253
"cell_type": "markdown",
3248-
"metadata": {},
3254+
"metadata": {
3255+
"slideshow": {
3256+
"slide_type": "slide"
3257+
}
3258+
},
32493259
"source": [
32503260
"# Exercise\n",
32513261
"\n",
@@ -3287,7 +3297,11 @@
32873297
},
32883298
{
32893299
"cell_type": "markdown",
3290-
"metadata": {},
3300+
"metadata": {
3301+
"slideshow": {
3302+
"slide_type": "slide"
3303+
}
3304+
},
32913305
"source": [
32923306
"# Exercise: solution"
32933307
]
@@ -3343,7 +3357,11 @@
33433357
{
33443358
"cell_type": "code",
33453359
"execution_count": 88,
3346-
"metadata": {},
3360+
"metadata": {
3361+
"slideshow": {
3362+
"slide_type": "slide"
3363+
}
3364+
},
33473365
"outputs": [],
33483366
"source": [
33493367
"# axis=0 <-- canvas x\n",

0 commit comments

Comments
 (0)