Skip to content

Commit b273cef

Browse files
committed
safety 2
1 parent 0cf1f7e commit b273cef

File tree

2 files changed

+37
-81
lines changed

2 files changed

+37
-81
lines changed

docs/slides/custom.tape

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,20 @@ Set Shell "fish"
55
Set Padding 1
66
Set Margin 1
77
Set FontSize 16
8-
Output out.gif
8+
# Output out.gif
99
# Set Width 850
1010
# Set Height 200
1111

1212
Hide
13-
Type@10ms `rm ~/.config/isd_tui/config.yaml` Enter
14-
Type@10ms `ISD_CACHE_INPUT=false ISD_STARTUP_MODE=system ISD_FULL_REFRESH_INTERVAL_SEC=1 my_asciinema rec --overwrite --quiet --window-size 85x27 --command 'fish --private --init-command="set -g fish_autosuggestion_enabled 0"' custom.cast`
15-
Enter
1613

17-
Sleep 0.5s
14+
Type@10ms `rm ~/.config/isd_tui/config.yaml` Enter
15+
Type "clear" Enter
16+
Type@10ms `ISD_CACHE_INPUT=false ISD_STARTUP_MODE=system ISD_FULL_REFRESH_INTERVAL_SEC=1 my_asciinema rec --overwrite --quiet --window-size 85x27 --command 'fish --private --init-command="set -g fish_autosuggestion_enabled 0"' custom.cast` Enter
1817
Show
1918

2019
Sleep 1s
2120
Type "isd" Sleep 0.5s Enter
22-
Sleep 1s
21+
Sleep 2s
2322
Ctrl+N
2423
Ctrl+P
2524
Sleep 1s
@@ -30,20 +29,19 @@ Enter
3029
Sleep 1s
3130
Ctrl+N
3231
Down@50ms 11
33-
Type "o"
32+
Type "i"
3433
Type "journal_p" Sleep 1s Tab
3534
Sleep 3s Enter
36-
Type "c0" Escape
35+
Type "0" Escape
36+
Sleep 1s
3737
Ctrl+N
38+
Sleep 1s
3839
Type "i" Backspace
3940
Type "lnav" Enter
4041
Sleep 1s
41-
Type "theme: " Escape
42-
Sleep 1s
43-
Ctrl+N
44-
Type "inord" Enter
45-
Sleep 1s
46-
Escape
42+
Type "navigation_keybindings: " Tab
43+
Sleep 2s
44+
Sleep 1s Escape
4745
Ctrl+N
4846
Type ":wq" Enter
4947

@@ -52,13 +50,13 @@ Ctrl+N
5250
Sleep 1s
5351
Ctrl+Q
5452
Sleep 1s
55-
Type "isd"
53+
Type "isd" Enter
54+
Sleep 2s
5655
Ctrl+N
57-
5856
Type "awesome-"
5957
Sleep 1s
60-
Tab@100ms 3
61-
Right Sleep 1s
58+
Tab@500ms 3
59+
Sleep 1s Right Sleep 1s
6260
Enter
6361
Sleep 1s
6462
Ctrl+N
@@ -67,6 +65,7 @@ Type ":filter-in DEBUG"
6765
Sleep 2s
6866
Enter
6967
Sleep 1s
68+
Right 1
7069
Ctrl+N
7170
Sleep 1s
7271
Type "q"

docs/slides/index.html

Lines changed: 20 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ <h2>Biggest Limitation of
125125
</div>
126126
</section>
127127
<section>
128-
<h2><code>sysz</code>
129-
code snippet</h2>
128+
<h2>Core Idea of
129+
<code>sysz</code></h2>
130130
<div class="vfill">
131131
<pre>
132132
<code data-trim data-noescape class="language-bash" data-line-numbers="1-30|4,6,14">
@@ -155,6 +155,9 @@ <h2>isd Workflow</h2>
155155
<section>
156156
<div id="new_workflow.cast"></div>
157157
</section>
158+
<section>
159+
<h2>isd Configuration Primer</h2>
160+
</section>
158161
<section>
159162
<div id="custom.cast"></div>
160163
</section>
@@ -165,74 +168,28 @@ <h2>CLI tools<br>
165168
= 🚀💘🚀</h2>
166169
</section>
167170
<section>
168-
<h2>Lessons Learned</h2>
169-
</section>
170-
<section>
171-
<h3>
172-
Insight 1: Take advantage of
173-
<em>upstream</em>
174-
</h3>
175-
<ul class="vfill">
176-
<li>
177-
CLI tools expose a cherry-picked API that upstream
178-
<em>recommends</em>
179-
and
180-
<em>tests</em>
181-
against.
182-
</li>
183-
<li>
184-
Wrapping around upstream CLI tools can be a great core to develop useful TUIs.
185-
</li>
186-
<li>
187-
Using a CLI avoids re-developing a lot of the functionality.
188-
</li>
189-
</ul>
190-
</section>
191-
<section>
192-
<h3>
193-
Insight 2: Limit the scope
194-
</h3>
171+
<h3>Key Takeaways</h3>
195172
<ul class="vfill">
196173
<li>
197-
Use the
198-
<em>correct</em>
199-
tool for the job!
200-
</li>
201-
<li>
202-
Avoid recreating a worse version of a tool
203-
that you could use instead.
174+
Take advantage of
175+
<em>upstream</em>
176+
CLI tools
204177
</li>
205-
</ul>
206-
</section>
207-
<section>
208-
lnav example
209-
</section>
210-
<section>
211-
<h3>
212-
Insight 3: TUI users like customization options
213-
</h3>
214-
<ul class="vfill">
215-
<li>
216-
keybindings/shortcuts
178+
<li class="fragment">
179+
<em>Shelling</em>
180+
out is an option in higher and lower level languages
217181
</li>
218-
<li>
219-
Pager example
182+
<li class="fragment">
183+
Limit the scope/use the correct tool for the job
220184
</li>
185+
<li class="fragment">LSPs are great for editing configuration files</li>
221186
</ul>
222187
</section>
223-
<section data-preload data-background-iframe="./customization.html" data-background-interactive>
224-
<div style="position: absolute; width: 45%; bottom: 10%; right: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 5px 25px rgba(0,0,0,0.2); background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px; font-size: 20px; text-align: left;">
225-
<p>... but nobody likes to read the documentation.</p>
226-
</div>
227-
</section>
228-
<section>
229-
<h3>
230-
Insight 4: LSPs are great for configuration files
231-
</h3>
232-
</section>
233-
<section>
234-
LSP asciicast
235-
</section>
188+
<!-- <section data-preload data-background-iframe="./customization.html" data-background-interactive> -->
189+
<!-- <div style="position: absolute; width: 45%; bottom: 10%; right: 0; box-shadow: 0 1px 4px rgba(0,0,0,0.5), 0 5px 25px rgba(0,0,0,0.2); background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px; font-size: 20px; text-align: left;"> -->
190+
<!-- <p>... but nobody likes to read the documentation.</p> -->
191+
<!-- </div> -->
192+
<!-- </section> -->
236193
</div>
237194
</div>
238195
<script src="dist/reveal.js"></script>

0 commit comments

Comments
 (0)