-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvideos.html
336 lines (288 loc) · 11.8 KB
/
videos.html
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
<!DOCTYPE html>
<HTML>
<HEAD>
<title>TLA+ Video Course</title>
<STYLE type="text/css">
body { background-color: #e4e4e4; max-width:700px;
font-family:Calibri,Trebuchet MS,Verdana,sans-serif;
font-size:18px; margin-left:15px}
H1 {margin-bottom:0px}
H2 {line-height:45px; margin-bottom:0px; text-align: left; font-size:26px;
color:#000000}
H3 {line-height:10px; margin-bottom:8px; text-align: left}
UL {margin-top:-10px}
LI {margin-top:15px}
</STYLE>
</HEAD>
<body>
<h1>The TLA+ Video Course</h1>
<i>Last modified 23 October 2021</i>
<hr>
This is a series of video lectures to teach programmers and software
engineers how to write their own TLA+ specifications. It assumes
a basic understanding of programming concepts. Some knowledge of
elementary mathematics, such as might be taught in a beginning
university math course for computer scientists, would also be
helpful.
<p>
<b>A Word of Warning</b>
These videos are not light entertainment.
They require careful viewing and actual thinking.
You may often stop a video to digest what you've just seen, and
perhaps to skip back and view it again.
To accompany the videos, coffee will be better than popcorn.
<p style="font-size:16px">
The lectures can be watched on the Web. However, people with
slow network connections might prefer to download lower resolution
versions of the videos and watch them off-line.
Instructions on how to do that are given
<a href="#download">below</a>.
<!--
</p>
<p style="font-size:16px;margin-top:-5px">
-->
<p>
The script of each video is also provided.
It contains everything shown and said on the video, except for shots
of the author.
The hearing impaired and viewers not fluent in English will find it
helpful to read the script as they watch the video.
The script can also be read instead of watching the video by those who
want to review the lecture and those who hate videos.
However, the html file that displays the video may be needed to download
material.
</p>
<h2>The Lectures</h2>
<ol style="margin-top:-5px">
<!-- Lecture 1 -->
<li> <b>Introduction to TLA+</b><br>
Explains what TLA+ is and why you might want to use it.
It introduces the concept of a state machine.
Length: 21:18 <br>
<a href="intro.html">Web version</a>
-
<a href="corrections.html#lecture1">Correction</a>
-
Offline Version:
<a href="init2.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/bab3/13798ec2-8479-4062-8aaf-94215670bab3/init2.mp4 --->
<a href="init2.zip">zip file</a>
- <a href="video1-script.pdf">Script</a>
</li>
<!-- Lecture 2 -->
<li> <b>State Machines in TLA+</b><br>
Shows how a simple state machine is described in TLA+,
giving the first glimpse of a TLA+ specification.
Length: 15:40 <br>
<a href="smintla.html">Web version</a>
-
Offline version:
<a href="smintla.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/600e/6778acd2-6347-4ab2-bbd2-661aac0b600e/smintla.mp4 --->
<a href="smintla.zip">zip file</a>
- <a href="video2-script.pdf">Script</a>
</li>
<!-- Lecture 3 -->
<li> <b>Resources and Tools</b><br>
Describes resources for learning about TLA+.
Explains how to download the Toolbox and shows how
to use it to open a spec, view the pretty-printed version,
and run TLC on it.
The script does not display what is being said in some portions
of the video that demonstrate the use of the Toolbox.
Length: 11:13 <br>
<a href="video3.html">Web version</a>
-
<a href="corrections.html#lecture3">Correction</a>
-
Offline version:
<a href="video3.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/c905/9fe4877f-dcd8-4d88-ba24-17795f2cc905/video3.mp4 -->
<a href="video3.zip">zip file</a>
- <a href="video3-script.pdf">Script</a>
</li>
<!-- Lecture 4 -->
<li> <b>Die Hard</b><br>
We save the lives of two Hollywood action heroes.
On the way, you will start learning to write
TLA+ specs and checking them with the parser and with TLC.
Length: 19:39 <br>
<a href="video4.html">Web version</a>
-
<a href="corrections.html#lecture4">Correction</a>
-
Offline version:
<a href="video4.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/7625/d068b1a0-08be-4547-81ef-5e0048117625/video4.mp4 -->
<a href="video4.zip">zip file</a>
- <a href="video4-script.pdf">Script</a>
</li>
<!-- Lecture 5 -->
<li> <b>Transaction Commit</b><br>
Commitment, in marriage and
database transactions, is specified. You also
learn
how to use mathematical functions in specifications.
Length: 24:39 <br>
<a href="video5.html">Web version</a>
-
<a href="corrections.html#lecture5">Correction</a>
-
Offline version:
<a href="video5.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/a5c9/c5a12cbb-4620-4198-8d42-5286a21da5c9/video5.mp4 -->
<a href="video5.zip">zip file</a>
- <a href="video5-script.pdf">Script</a>
</li>
<!-- Lecture 6 -->
<li> <b>Two-Phase Commit</b><br>
How commitment is achieved, in marriage and database
transactions. You also learn about records in TLA+
and some more about using TLC.
Length: 21:22 <br>
<a href="video6.html">Web version</a>
-
<a href="corrections.html#lecture6">Correction</a>
-
Offline version:
<a href="video6v2.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/6171/b1c5f0b7-f8d8-433d-b678-5784fda66171/video6v2.mp4 -->
<!-- VERSION 1
<a href="video6.mp4">video file</a>
-->
<a href="video6.zip">zip file</a>
- <a href="video6-script.pdf">Script</a>
</li>
<!-- Lecture 7 -->
<li> <b>Paxos Commit</b><br>
Specifies a real fault-tolerant algorithm
for committing database transactions. It explains a few
mathematical operations for constructing and combining sets.
Length: 19:46 <br>
<a href="video7.html">Web version</a>
-
<a href="corrections.html#lecture7">Correction</a>
-
Offline version:
<a href="video7.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/1466/1de5477f-a3fc-4e08-934d-60b65a411466/video7.mp4 -->
<a href="video7.zip">zip file</a>
- <a href="video7-script.pdf">Script</a>
</li>
<!-- Lecture 8 -->
<li> <b>Implementation</b><br>
A two-part lecture that introduces temporal formulas and
explains what it means for one specification to implement
another.
Length: Part 1: 15:53, Part 2: 12:13 <br>
<b>Part 1: Preliminaries</b><br>
<a href="video8a.html">Web version</a>
-
<a href="corrections.html#lecture8-1">Correction</a>
-
Offline version:
<a href="video8a.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/7358/ecf31f88-af9c-4379-89cd-5bfb2a9b7358/video8a.mp4 -->
<a href="video8a.zip">zip file</a>
- <a href="video8a-script.pdf">Script</a>
<!-- Length: 15:53 -->
<br>
<b>Part 2: How it Works</b><br>
<a href="video8b.html">Web version</a>
-
Offline version:
<a href="video8b.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/edd0/c6acd5e9-bf8b-431c-a968-a2920be8edd0/video8b.mp4 -->
<a href="video8b.zip">zip file</a>
- <a href="video8b-script.pdf">Script</a>
<!-- Length: 12:13 -->
<!-- Lecture 9 -->
<li> <b>The Alternating Bit Protocol</b><br>
A two-part lecture that explains liveness, which describes what
<i>must</i> happen, and fairness.<br>
<b>Part 1: The High Level Specification</b><br>
<a href="video9a.html">Web version</a>
-
Offline version:
<a href="video9a.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/01b7/ffb25564-80e9-446a-9a09-692ba0e801b7/video9a.mp4 -->
<a href="video9a.zip">zip file</a>
- <a href="video9a-script.pdf">Script</a>
Length: 20:51
<br>
<b>Part 2: The Protocol</b><br>
<a href="video9b.html">Web version</a>
-
<a href="corrections.html#lecture9-2">Correction</a>
-
Offline version:
<a href="video9b.mp4">video file</a>,
<!-- Old channel 9 version
https://sec.ch9.ms/ch9/4d9f/38d14603-b582-4277-a141-3d93ff014d9f/video9b.mp4 -->
<a href="video9b.zip">zip file</a>
- <a href="video9b-script.pdf">Script</a>
Length: 18:45
<!-- Lecture 10 -->
<li> <b>Implementation with Refinement</b><br>
A two-part lecture that explains the general meaning of implementation,
which involves refinement mappings.<br>
<b>Part 1: Preliminaries</b><br>
<a href="video10a.html">Web version</a>
-
<a href="corrections.html#lecture10-1">Correction</a>
-
Offline version:
<a href="video10a.mp4">video file</a>,
<a href="video10a.zip">zip file</a>
- <a href="video10a-script.pdf">Script</a>
Length: 19:53
<br>
<b>Part 2: Refinement Mappings</b><br>
<a href="video10b.html">Web version</a>
-
Offline version:
<a href="video10b.mp4">video file</a>,
<a href="video10b.zip">zip file</a>
- <a href="video10b-script.pdf">Script</a>
Length: 21:26
</ol>
<A name="download"><h2>Downloading Instructions</h2></a>
Before watching any lecture off-line, download
<a href="tla-video-files.zip"><code>tla-video-files.zip</code></a>
and extract its contents into a folder. Let's suppose you name the
folder <code>tla-lectures</code> .
That folder should then contain
the files
<code>tlastyles.css</code> and
<code>tlavideo.js</code> and the folder
<code>dist</code> .
<p>
To watch a lecture off-line, download the lecture's video file and
zip file, which will have the same first names, into the
folder <code>tla-lectures</code> .
Let's suppose those files are named
<code>smandtla.mp4</code>
and <code>smandtla.zip</code> .
Extract the contents of <code>smandtla.zip</code> into
folder <code>tla-lectures</code> .
One of the extracted files will
be named <code>smandtla.html</code> .
(For most lectures, the zip file will contain only that file.)
To view the video, open a Web browser on this html file.
</body> </HTML>