forked from hakimel/reveal.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwilliam-king-hack.html
More file actions
389 lines (344 loc) · 12.4 KB
/
william-king-hack.html
File metadata and controls
389 lines (344 loc) · 12.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Intro to Adam Hall</title>
<link rel="stylesheet" href="dist/reset.css">
<link rel="stylesheet" href="dist/reveal.css">
<link rel="stylesheet" href="dist/theme/black.css">
<link rel="stylesheet" href="custom.css">
<!-- Theme used for syntax highlighted code -->
<link rel="stylesheet" href="plugin/highlight/monokai.css">
</head>
<body>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RZP8CG4KLJ"></script>
<script src="https://cdn.jsdelivr.net/npm/js-base64@3.7.5/base64.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-RZP8CG4KLJ');
</script>
<div class="reveal">
<div class="slides">
<section data-state="intro" data-background-image="assets/robot-dimsum.png">
<section data-auto-animate data-state="focus-bg">
<h1 class="standout">🥟</h1>
</section>
<section data-auto-animate data-state="black">
<h1 class="standout">Dim Sum Destroyers 🤖</h1>
</section>
<style>
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
gap: 10px;
}
.grid-container>div {
align-items: center;
justify-content: center;
border: 1px solid #ddd;
padding: 10px;
height: 80px; /* Ensures equal height */
font-size: 20px;
}
</style>
<section data-auto-animate>
<h2 class="standout">The flow</h2>
<div class="grid-container">
<div class="fragment fade-up" data-fragment-index="1">Customer</div>
<div class="fragment fade-up" data-fragment-index="2">Commercial</div>
<div class="fragment fade-up" data-fragment-index="3">QA</div>
<div class="fragment fade-up" data-fragment-index="4">Ops</div>
<div class="fragment fade-up" data-fragment-index="5">Planners</div>
<div class="fragment fade-up" data-fragment-index="6">QA</div>
<div class="fragment fade-up" data-fragment-index="7">Job</div>
</div>
<p class="fragment fade-up" data-fragment-index="8">7 days</p>
</section>
<style>
.growthCircle {
position: absolute;
background-color: rgb(216, 32, 54);
color: rgb(75, 75, 75);
border-radius: 50%;
display: inline-block;
}
.focusCircle {
height: 600px;
width: 600px;
left: 175px;
}
.tiny1Circle {
height: 50px;
width: 50px;
top: 450px;
left: 150px;
}
.growthText {
position:relative; top:160px; font-size: 1.8em;
}
.tinyText {
position:absolute; top:800px;
left: 150px; height: 50px; width: 50px; top:446px; opacity: 0.5; font-size: 6px;
}
.red {
background-color: rgb(216, 32, 54);
}
</style>
<section data-auto-animate >
<h3 data-auto-animate-id="circle" class="growthCircle focusCircle"></h3>
<p data-auto-animate-id="text" class="growthText">
30-50
<br />
Quotes per month
</p>
</section>
<section data-auto-animate >
<h3 data-auto-animate-id="circle" class="growthCircle tiny1Circle"></h3>
<p data-auto-animate-id="text" class="tinyText">
30-50
<br />
Quotes per month
</p>
<h3 data-auto-animate-id="circle2" class="growthCircle focusCircle"></h3>
<p data-auto-animate-id="text2" class="growthText">
Up to 1000
<br />
Quotes per month
</p>
</section>
<section data-auto-animate>
<p>60% error rate</h4>
</section>
<section data-auto-animate>
<h2 class="standout">The bottleneck</h2>
<div class="grid-container">
<div><p>Customer</p><p data-fragment-index="1" class="fragment fade-up small">10m</p></div>
<div><p>Commercial</p><p data-fragment-index="2" class="fragment fade-up small">10m</p></div>
<div><p>QA</p><p data-fragment-index="3" class="fragment fade-up small">10m</p></div>
<div><p>Ops</p><p data-fragment-index="4" class="fragment fade-up small">10m</p></div>
<div><p>Planners</p><p data-fragment-index="5" class="fragment fade-up small red">45m</p></div>
<div><p>QA</p><p data-fragment-index="6" class="fragment fade-up small">10m</p></div>
<div><p>Job</p><p data-fragment-index="7" class="fragment fade-up small">10m</p></div>
</div>
<p class="fragment fade-up" data-fragment-index="8">Focus on the Planners</p>
</section>
<section data-auto-animate data-background="black">
<p>Need to figure out a way to stop the friction</h4>
</section>
</section>
<section data-background-image="assets/robot-wannabe.png">
<section data-state="focus-bg">
<h2>Microsoft PowerApps & Copilot</h2>
</section>
<section data-state="focus-bg">
<img src="assets/announce-microsoft.png">
</section>
<section data-state="blur-bg">
<p style="text-align: left; font-size: 18px;">Power Apps is a suite of apps, services, and connectors, as well as a data platform, that provides a rapid development environment to build custom apps for your business needs. Using Power Apps, you can quickly build custom business apps that connect to your data stored either in the underlying data platform (Microsoft Dataverse) or in many online and on-premises data sources (such as SharePoint, Microsoft 365, Dynamics 365, SQL Server, and so on).</p>
</section>
<section data-state="blur-bg" data-auto-animate>
<p>Make an app without knowing any code *</p>
</section>
<section data-state="blur-bg" data-auto-animate data-background="black">
<p>Make an app without knowing any code *</p>
<p>* Masochism required</p>
</section>
</section>
<section data-background-image="assets/robot-art2.webp">
<section data-state="focus-bg">
<h2>Data Design</h2>
</section>
<section data-state="blur-bg">
<img src="assets/wk.png">
</section>
</section>
<section data-background-image="assets/robot-app-dev.webp">
<section data-state="focus-bg">
<h2>Microsoft copilot</h2>
</section>
<section data-state="blur-bg">
<h2>Write all the things!</h2>
</section>
<section data-state="blur-bg">
<gpt-input data-show-conversation="false" data-show-input="true">
<div slot="context" style="display: none;">
<p>
IMPORTANT! I ask you to make some tables. I want you to respond with 5 words looking like you've dealt with my request. So say "Createing table {tablename} with columns..." but then suddenly respond like you are Rimmer going mad in the famous red dwarf series saying one of the following randomly "I am a fish!" or "Dribble dribble" or "where is my cheese". Ready?
</p>
</div>
</gpt-input>
</section>
<section data-state="blur-bg">
<img src="assets/chat-gpt-code.png" />
</section>
<section data-state="blur-bg">
<img src="assets/chat-gpt-code2.png" />
</section>
<section data-background="black">
There's lots of caveats when trying things in PowerApps
</section>
</section>
<section data-background-image="assets/robot-future.png">
<section data-state="focus-bg">
<h1 class="standout">Advice</h1>
</section>
<section data-auto-animate>
<p>Key learnings from using Copilot</p>
<ul class="nostyle">
<li class="fragment fade-in-then-semi-out">Don't rely on Copilot</li>
<li class="fragment fade-in-then-semi-out">Copilot has a limited prompt length</li>
<li class="fragment fade-in-then-semi-out">Long prompts get it to be more forgetful</li>
<li class="fragment fade-in-then-semi-out">It forgets about context easily (creates new tables when they already exist)</li>
<li class="fragment fade-in-then-semi-out">Even the English language is in preview</li>
</ul>
</section>
<section data-auto-animate>
<p>Key learnings from using PowerApps</p>
<ul class="nostyle">
<li class="fragment fade-in-then-semi-out">Create a clean environment</li>
<li class="fragment fade-in-then-semi-out">Multiple users might be quicker</li>
<li class="fragment fade-in-then-semi-out">Have a clear idea of what you are trying to achieve</li>
<li class="fragment fade-in-then-semi-out">Use Lookup tables not Multiple Choice</li>
<li class="fragment fade-in-then-semi-out">Existance of data in a PowerApp prevents you from deleting things</li>
</ul>
</section>
<section data-auto-animate>
<p>Key learnings from making a chatbot</p>
<ul class="nostyle">
<li class="fragment fade-in-then-semi-out">Reading the website is easy</li>
<li class="fragment fade-in-then-semi-out">Connecting to data sources is okay</li>
<li class="fragment fade-in-then-semi-out">Personal OneDrive isn't good for AI</li>
<li class="fragment fade-in-then-semi-out">Organise your internal IT data</li>
<li class="fragment fade-in-then-semi-out">Integration with dynamics is less reliable</li>
</ul>
</section>
<section data-background="black">
<p>Almost everything is in preview</p>
<p>(and it shows)</p>
</section>
</section>
</div>
</div>
<script src="dist/reveal.js"></script>
<script src="js/gpt-component.js"></script>
<script src="plugin/notes/notes.js"></script>
<script src="plugin/markdown/markdown.js"></script>
<script src="plugin/highlight/highlight.js"></script>
<script>
Reveal.initialize({
hash: true,
// Learn about plugins: https://revealjs.com/plugins/
//parallaxBackgroundImage: 'assets/adamhall.jpg',
//parallaxBackgroundSize: "1578px 1578px",
//parallaxBackgroundHorizontal: 0,
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ],
autoAnimateStyles: [
'opacity',
'color',
'background-color',
'padding',
'font-size',
'line-height',
'letter-spacing',
'border-width',
'border-color',
'border-radius',
'outline',
'outline-offset',
'grid-template-columns',
'width',
'height',
'transform',
'margin-top'
]
});
Reveal.on( 'slidechanged', event => {
const current = event.currentSlide;
const background = event.currentSlide.slideBackgroundContentElement.closest(".stack").querySelector(".slide-background-content")
console.log("SLIDE", event.currentSlide);
if(event.currentSlide.dataset.state == "focus-bg") {
//Reveal.dispatchEvent("focus-bg")
background.classList.add("focus");
background.classList.remove("blur");
} else {// if(event.currentSlide.dataset.state == "blur-bg") {
background.classList.add("blur");
background.classList.remove("focus");
//Reveal.dispatchEvent("blur-bg")
}
// event.previousSlide, event.currentSlide, event.indexh, event.indexv
} );
</script>
</body>
<style>
ul.nostyle {
list-style-type: none;
}
@property --p{
syntax: '<number>';
inherits: true;
initial-value: 0;
}
.pie {
--p:20;
--b:22px;
--c:darkred;
--w:400px;
width:var(--w);
aspect-ratio:1;
position:relative;
display:inline-grid;
margin:5px;
place-content:center;
font-size:25px;
font-weight:bold;
font-family:sans-serif;
}
.pie:before,
.pie:after {
content:"";
position:absolute;
border-radius:50%;
}
.pie:before {
inset:0;
background:
radial-gradient(farthest-side,var(--c) 98%,#0000) top/var(--b) var(--b) no-repeat,
conic-gradient(var(--c) calc(var(--p)*1%),#0000 0);
-webkit-mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
}
.pie:after {
inset:calc(50% - var(--b)/2);
background:var(--c);
transform:rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2));
}
.present .animate {
animation:pin 1s 0.5s both;
}
.future .animate, .past .animate {
animation:pout 1s 0.5s both;
}
.no-round:before {
background-size:0 0,auto;
}
.no-round:after {
content:none;
}
@keyframes pin {
from{--p:0}
to{--p:58}
}
@keyframes pout {
from{--p:58}
to{--p:0}
}
body {
font-family:sans-serif;
}
</style>
</html>