Skip to content

Commit e4e6afa

Browse files
committed
Big rearrangement of instructor tools and practices section
- Not yet done, but most of the structure is there now
1 parent 648341e commit e4e6afa

16 files changed

Lines changed: 372 additions & 398 deletions

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,25 @@ workshop-organizers
4343
:maxdepth: 1
4444
4545
instructor-intro
46+
instructor-checklist
47+
instructor-computer
48+
instructor-screenshare
49+
instructor-audio
50+
team-teaching
51+
presenting
52+
presenting-inperson
53+
4654
instructor-stream
4755
livestream-teaching
48-
team-teaching
49-
Lesson presentation hints/checklist <presenting.md>
50-
instructor-tech-setup
51-
instructor-tech-online
52-
online
53-
coderefinery-mooc
5456
```
5557

5658
```{toctree}
5759
:caption: Lesson development
5860
:maxdepth: 1
5961
60-
Lesson design tutorial and reference <lesson-design.md>
61-
Lesson review checklist <lesson-review.md>
62-
Lesson contribution guide <lesson-contribution.md>
62+
lesson-design
63+
lesson-review
64+
lesson-contribution
6365
```
6466

6567
```{toctree}
@@ -81,6 +83,8 @@ online-training
8183
:caption: Misc
8284
:maxdepth: 1
8385
86+
online
87+
coderefinery-mooc
8488
Writing technical docs <tech-docs.md>
8589
meeting-checklist
8690
workshop-prep-call

instructor-audio.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Instructor audio
2+
3+
Audio quality, and balance between instructors, is *absolutely
4+
critical* to good online work, especially teaching. Consider the
5+
following:
6+
7+
* Can you adjust your microphone volume from very low to
8+
higher-than-needed? Make sure your dynamic range is larger than
9+
"barely working", so that you have some room to adjust for later.
10+
* Do you have a high-quality headset? A headset with microphone is
11+
the most reliable, but if you can get a desktop setup working
12+
well, that can be good too. Always have a high-quality headset for
13+
backup anyway.
14+
* If you have a bluetooth headset, consider:
15+
16+
* Bluetooth headsets have significant latency compared to wired or
17+
purpose-built wireless protocols like gaming headsets have.
18+
* The microphone might not have enough bandwidth (if it's part of
19+
the same headset).
20+
* Bluetooth 5 is much better in both latency and quality.
21+
* Consider investing (or getting your work to invest in) some
22+
high-quality headset or desktop audio gear.
23+
* **Recommendation: Don't use a bluetooth headset. Tell your
24+
employer you need something for meetings.**
25+
26+
* "Ducking" is when the first words are silenced/quieted by noise
27+
cancellation, until it detects speaking. To avoid this, don't use
28+
"high" noise cancellation (as low as possible is better, reduce
29+
environmental noise / use headset mic instead). If you
30+
need high cancellation because of background noise, switch to your
31+
headset.
32+
* Set your microphone's hardware volume to something relatively high -
33+
and control via the software.

instructor-checklist.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Instructor checklists
2+
3+
## Check with someone before you start teaching
4+
5+
**Most importantly, get your setup done well in advance and show your
6+
co-teachers for feedback. Feedback and time to improve is very
7+
important to make things beautiful.**
8+
9+
10+
11+
## Lesson revision checklist
12+
13+
See the lesson development section.
14+
15+
16+
## Final checklist
17+
18+
- Have you moved your configurations away and done the course setup
19+
instead (or left it unconfigured)?: `.bashrc` (or equivalent),
20+
`.gitconfig`, `.ssh`, `.conda`, etc.
21+
- Are you using a software environment as described in the workshop
22+
instructions (conda, virtualenv, etc). Is it clean and without
23+
extra stuff installed?
24+
- Is your setup as boring-looking as possible, if you are teaching at
25+
the beginning of the workshop? The first sessions aren't the time
26+
for distractions.
27+
- Is your terminal
28+
- Dark text on light background? (if not: create a profile so you
29+
can switch now or in the future)
30+
- Do you know key-bindings to change the font size quickly?
31+
- Do you have command history set up? If in doubt, use
32+
[prompt-log](https://github.com/rkdarst/prompt-log/) and `tail` the
33+
output in a separate smaller window.
34+
- Do you have a clean web browser session (different profile for
35+
demos)?
36+
- If you use an advanced shell, do you have a simpler shell (bash) set
37+
up for the demos?
38+
- (if online) have you practiced Zoom screensharing "Share a portion
39+
of the screen" in portrait-mode? See
40+
{doc}`instructor-screenshare`.
41+
- (if online) have you checked your audio settings? Join a test
42+
meeting with someone and understand your microphone sound
43+
adjustments. Can you control it for the full range from very quiet
44+
to very loud, so that you can make whatever adjustments needed? Is
45+
your best microphone/headset ready? *Audio quality and balance is
46+
critical.*
47+
- Have you shown your setup to someone else for feedback?
Lines changed: 3 additions & 136 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,4 @@
1-
# Instructor technical setup
2-
3-
```{seealso}
4-
* {doc}`instructor-tech-online` for screen sharing layouts.
5-
```
6-
7-
```{admonition} Final checklist
8-
- Have you moved your configurations away and done the course setup
9-
instead (or left it unconfigured)?: `.bashrc` (or equivalent),
10-
`.gitconfig`, `.ssh`, `.conda`, etc.
11-
- Are you using a software environment as described in the workshop
12-
instructions (conda, virtualenv, etc). Is it clean and without
13-
extra stuff installed?
14-
- Is your setup as boring-looking as possible, if you are teaching at
15-
the beginning of the workshop? The first sessions aren't the time
16-
for distractions.
17-
- Is your terminal
18-
- Dark text on light background? (if not: create a profile so you
19-
can switch now or in the future)
20-
- Do you know key-bindings to change the font size quickly?
21-
- Do you have command history set up? If in doubt, use
22-
[prompt-log](https://github.com/rkdarst/prompt-log/) and `tail` the
23-
output in a separate smaller window.
24-
- Do you have a clean web browser session (different profile for
25-
demos)?
26-
- If you use an advanced shell, do you have a simpler shell (bash) set
27-
up for the demos?
28-
- (if online) have you practiced Zoom screensharing "Share a portion
29-
of the screen" in portrait-mode? See
30-
{doc}`instructor-tech-online`.
31-
- (if online) have you checked your audio settings? Join a test
32-
meeting with someone and understand your microphone sound
33-
adjustments. Can you control it for the full range from very quiet
34-
to very loud, so that you can make whatever adjustments needed? Is
35-
your best microphone/headset ready? *Audio quality and balance is
36-
critical.*
37-
- Have you shown your setup to someone else for feedback?
38-
```
1+
# Instructor computer setup
392

403
Appearance matters. When you look at other professionally made videos
414
online, they look good. As a presenter, you also need to work to make
@@ -62,14 +25,6 @@ what is extra.
6225

6326

6427

65-
## Check with someone before you start teaching
66-
67-
**Most importantly, get your setup done well in advance and show your
68-
co-teachers for feedback. Feedback and time to improve is very
69-
important to make things beautiful.**
70-
71-
72-
7328
## Clean your environment
7429

7530
Do you have fancy ``.bashrc``, ``.gitconfig``, etc files? Move them
@@ -91,14 +46,14 @@ Relevant files that are sometimes a problem:
9146

9247
## Arrange your windows well
9348

94-
This is mostly the topic of {doc}`instructor-tech-online` (our
49+
This is mostly the topic of {doc}`instructor-screenshare` (our
9550
recommendations for in-person window arrangements aren't so
9651
up-to-date, but the same principles apply but you have a widescreen
9752
view).
9853

9954
- For online teaching, you will want to screenshare a portion of your
10055
screen: half the screen in "portrait mode" so that the other half is
101-
available. See {doc}`instructor-tech-online`.
56+
available. See {doc}`instructor-screenshare`.
10257

10358

10459

@@ -226,91 +181,3 @@ windows and colors of the prompt and text. The history is smaller and
226181
doesn't take up primary working space. The working directory is
227182
in the window titlebar.
228183
```
229-
230-
231-
232-
``````{admonition} Other command line history tools
233-
---
234-
class: dropdown
235-
---
236-
237-
We used to recommend these, and some are still recommended. But, the
238-
long text is a distraction by now, so it is hidden by default.
239-
240-
Also check the [shell exporter by
241-
sabryr](https://github.com/Sabryr/Teaching-aids), which copies recent
242-
history to a remote server.
243-
244-
**Simple**: The simple way is `PROMPT_COMMAND="history -a"` and then
245-
`tail -f -n0 ~/.bash_history`, but this doesn't capture ssh,
246-
subshells, and only shows the command after it is completed.
247-
248-
**Better yet still simple**: Many Software Carpentry instructors use
249-
[this script](https://github.com/rgaiacs/swc-shell-split-window),
250-
which sets the prompt, splits the terminal window using tmux and displays command history
251-
in the upper panel. Requirement: [tmux](https://github.com/tmux/tmux/wiki)
252-
253-
**Better (bash)**: This prints the output before the command is run,
254-
instead of after. Tail with `tail -f ~/demos.out`.
255-
256-
```
257-
BASH_LOG=~/demos.out
258-
bash_log_commands () {
259-
# https://superuser.com/questions/175799
260-
[ -n "$COMP_LINE" ] && return # do nothing if completing
261-
[[ "$PROMPT_COMMAND" =~ "$BASH_COMMAND" ]] && return # don't cause a preexec for $PROMPT_COMMAND
262-
local this_command=`HISTTIMEFORMAT= history 1 | sed -e "s/^[ ]*[0-9]*[ ]*//"`;
263-
echo "$this_command" >> "$BASH_LOG"
264-
}
265-
trap 'bash_log_commands' DEBUG
266-
```
267-
268-
**Better (zsh)**: This works like above, with zsh. Tail with `tail -f
269-
~/demos.out`.
270-
271-
```
272-
preexec() { echo $1 >> ~/demos.out }
273-
```
274-
275-
**Better (fish)**: This works like above, but for fish. Tail with
276-
`tail -f ~/demos.out`.
277-
278-
```
279-
function cmd_log --on-event fish_preexec ; echo "$argv" >> ~/demos.out ; end
280-
```
281-
282-
**Better (tmuxp)**: This will save some typing. [TmuxP](https://tmuxp.git-pull.com/) is a Python program (`pip install tmuxp`) that gives you programmable `tmux` sessions. One configuration that works (in this case for `fish` shell):
283-
284-
```yaml
285-
session_name: demo
286-
windows:
287-
- window_name: demo
288-
layout: main-horizontal
289-
options:
290-
main-pane-height: 7
291-
panes:
292-
- shell_command:
293-
- touch /tmp/demo.history
294-
- tail -f /tmp/demo.history
295-
- shell_command:
296-
- function cmd_log --on-event fish_preexec ; echo "$argv" >> /tmp/demo.history ; end
297-
```
298-
299-
**Windows PowerShell**: In [Windows Terminal](https://docs.microsoft.com/en-us/windows/terminal/),
300-
a split can be made by pressing `CTRL+SHIFT+=`. Then, in one of the splits, the following
301-
PowerShell command will start tracking the shell history:
302-
```
303-
Get-Content (Get-PSReadlineOption).HistorySavePath -Wait
304-
```
305-
Unfortunately, this only shows commands after they have been executed.
306-
307-
308-
```
309-
# used for the fish shell (note: untested)
310-
tail -f -n 0 ~/fish_history | sed -u -e s'/- cmd:/ \>/'
311-
312-
# used for zsh shell (put this into a script file)
313-
clear >$(tty)
314-
tail -n 0 -f ~/.zsh_history | awk -F\; 'NF!=1{printf("\n%s",$NF)}NF==1{printf("n %s ",$1)}'
315-
```
316-
``````

0 commit comments

Comments
 (0)