summaryrefslogtreecommitdiffstats
path: root/2022/organizers-notebook.md
blob: 4ebc1da020145a2f9cabd6c650843224656f3eed (plain) (blame)
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
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
<!-- organizers-notebook.md is exported from organizers-notebook/index.org, please modify that instead. -->
[[!sidebar content=""]]

This file is automatically exported from [/2022/organizers-notebook/index.org](/2022/organizers-notebook/index.org). You might prefer to navigate this as an Org file instead. To do so, [clone the wiki repository](https://emacsconf.org/edit/).


# Table of Contents

-   [Cadence](#cadence)
-   [Overall priorities](#overall)
-   [Projects and other long-running tasks](#projects)
-   [Ideas for next year](#maybe-projects):nextyear:
-   [Things to figure out / decisions to make](#decisions)
-   [Roles needed](#roles)
-   [Infrastructure notes](#infra)
-   [Other tasks and processes](#other)
-   [In case of](#exceptions)
-   [Task archive](#archive)
-   [Communications](#comms)
-   [Supporting code](#code)
-   [Lessons learned](#lessons)

Projects and tasks:

-   [Manage front0 and live0 size](#resize):bandali:
-   [Finalize the files to be used for streaming](#files)
-   [Look for ways to reduce risk](#derisk):derisk:
-   [Make checkin and Q&A process slide](#qa):sachac:
-   [Caption talks and make chapter headings](#caption)
-   [Prepare intros for the hosts to read](#host-intros)
-   [Set up talks on Toobnix and YouTube](#video-platforms):sachac:yt:toobnix:
-   [Do another run](#dry-run)
-   [Turn off file upload service on media.emacsconf.org](#upload-off):sachac:infra:
-   [Review notebook for tasks, priorities, and scheduling](#review)
-   [Use Mumble for backchannel coordination and also on-stage](#mumble)
-   [Satellite events](#satellite)
-   [Volunteer update](#volunteer-2022-11-14)
-   [Make a linear hyperlist for managing EmacsConf](#hyperlist):sachac:
-   [Record intro/outro for day-1 and day-2](#rec-intro):zaeph:
-   [Add category tags and possibly links between talks across 2022 and all previous years](#link-pages):quiliro:wiki:
-   [JS/CSS enhancement](#watch-css):emacsconf:
-   [Build up the ansible playbook](#ansible):sachac:opal:
-   [Consider breakout rooms for lunch break](#breakouts)
-   [Work on the OBS scenes](#obs-scenes):zaeph:corwin:sachac:
-   [Plan Etherpad use and hosting](#etherpad):sachac:ansible:

Schedule by status: (gray: waiting, light yellow: processing, yellow: to assign, light green: captioning, green: captioned and ready) - Updated by conf.org and the wiki repository

![img](schedule.svg)


<a id="cadence"></a>

# Cadence

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">Week ending</td>
<td class="org-left">Work</td>
<td class="org-left">Speakers</td>
<td class="org-left">Volunteers</td>
<td class="org-left">Public</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-09-30 Fri]</span></span></td>
<td class="org-left">&#xa0;</td>
<td class="org-left"><a href="#acceptance">acceptance, reply to confirm</a></td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-10-09 Sun]</span></span></td>
<td class="org-left">&#xa0;</td>
<td class="org-left"><a href="#check-sched">schedule, reply if not okay</a></td>
<td class="org-left"><a href="#overall">overall priorities</a></td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-10-16 Sun]</span></span></td>
<td class="org-left"><a href="#etherpad">Etherpad</a>, <a href="#upload">stream</a></td>
<td class="org-left">&#xa0;</td>
<td class="org-left">infra update</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-10-23 Sun]</span></span></td>
<td class="org-left"><a href="#upload">file upload</a>, </td>
<td class="org-left"><a href="#mail-upload">file upload instructions</a>, backstage</td>
<td class="org-left"><a href="#volunteer-2022-10-23">training</a></td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-10-30 Sun]</span></span></td>
<td class="org-left"><a href="#streaming">OBS in the cloud</a></td>
<td class="org-left">&#xa0;</td>
<td class="org-left">caption kickoff</td>
<td class="org-left"><a href="#announce-program">schedule</a>, posters?</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-11-06 Sun]</span></span></td>
<td class="org-left"><a href="#intro">intro, exit</a>, <a href="#dry-run">dry run</a>, prerecs</td>
<td class="org-left"><a href="#ack-prerec">prerec confirmation</a>/reminder, <a href="#approve-captions">caption progress</a></td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-11-13 Sun]</span></span></td>
<td class="org-left">captions</td>
<td class="org-left">tech check, bio, support links (ex: Liberapay)?</td>
<td class="org-left"><a href="#shifts">shifts</a></td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-11-20 Sun]</span></span></td>
<td class="org-left">captions</td>
<td class="org-left">checkin instructions and schedule updates</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-11-27 Sun]</span></span></td>
<td class="org-left">captions</td>
<td class="org-left">last weekend before EmacsConf</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">watching</td>
</tr>
</tbody>
</table>


<a id="overall"></a>

# Overall priorities

This table makes it easier to move the slider depending on who wants
to volunteer and how much we can get done. At some point, we&rsquo;ll figure
out how to track our current status so we know what we need to
scramble to do in order to get the conference off the ground. **bold**
is our current goal. Feel free to volunteer for anything that
interests you!

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">&#xa0;</th>
<th scope="col" class="org-left">Good</th>
<th scope="col" class="org-left">Better</th>
<th scope="col" class="org-left">Best</th>
</tr>
</thead>

<tbody>
<tr>
<td class="org-left"><a href="#conforg">conf.org management</a></td>
<td class="org-left">on sachac&rsquo;s laptop</td>
<td class="org-left">S: on res.emacsconf.org</td>
<td class="org-left"><b>DONE S/Z: other people know how to work with it</b></td>
</tr>


<tr>
<td class="org-left"><a href="#prepare-prerec-process">prerec</a></td>
<td class="org-left">convert to webm</td>
<td class="org-left">normalize audio</td>
<td class="org-left"><b><a href="#mastering">DONE Z: reduce noise</a></b></td>
</tr>


<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">DONE S: link to stream, pad, IRC</td>
<td class="org-left"><b>S: link to prerec when live</b></td>
<td class="org-left">embed stream, pad, IRC, prerec</td>
</tr>


<tr>
<td class="org-left"><a href="#sched-decision">schedule</a></td>
<td class="org-left">one track</td>
<td class="org-left"><b>DONE S: two tracks</b></td>
<td class="org-left">aligned times, full roster</td>
</tr>


<tr>
<td class="org-left"><a href="#upload">upload</a></td>
<td class="org-left">FTP</td>
<td class="org-left"><b>DONE S: web-based</b></td>
<td class="org-left">auto-encoded, preview (SReview?)</td>
</tr>


<tr>
<td class="org-left"><a href="#streaming">streaming</a></td>
<td class="org-left">ffmpeg from computer</td>
<td class="org-left">OBS</td>
<td class="org-left"><b>DONE: OBS in cloud, switchable hosts</b></td>
</tr>


<tr>
<td class="org-left"><a href="#other-streams">other streams</a></td>
<td class="org-left">480p</td>
<td class="org-left">+ Toobnix</td>
<td class="org-left"><b>S: + YouTube</b></td>
</tr>


<tr>
<td class="org-left"><a href="#coordinate-volunteers">volunteer coordination</a></td>
<td class="org-left">ad-hoc</td>
<td class="org-left"><b>DONE playbook</b></td>
<td class="org-left">training meetings + recordings</td>
</tr>


<tr>
<td class="org-left">BBB rooms</td>
<td class="org-left">about 5 rooms that we cycle through</td>
<td class="org-left">&#xa0;</td>
<td class="org-left"><b>DONE S: one room per speaker</b></td>
</tr>


<tr>
<td class="org-left">host</td>
<td class="org-left">no host, speaker reads pad</td>
<td class="org-left"><b>host reads pad</b></td>
<td class="org-left">host monitors IRC and helps with BBB as well</td>
</tr>


<tr>
<td class="org-left">BBB Q&amp;A</td>
<td class="org-left">none</td>
<td class="org-left"><b>DONE open to community</b></td>
<td class="org-left">moderated by speaker and host</td>
</tr>


<tr>
<td class="org-left">BBB Q&amp;A start</td>
<td class="org-left">awkward silence while waiting</td>
<td class="org-left"><b>speaker can demo a little</b></td>
<td class="org-left">host has prepared questions just in case no one shows up</td>
</tr>


<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">tracks</td>
<td class="org-left">+ IRC</td>
<td class="org-left"><b>DONE S: + talk info</b>, maybe even current/recent/next</td>
</tr>


<tr>
<td class="org-left"><a href="#etherpad">pad</a></td>
<td class="org-left">one pad for conf</td>
<td class="org-left">one pad per talk, wikimedia</td>
<td class="org-left"><b>DONE S: one pad per talk, self-hosted</b> so we can access API</td>
</tr>


<tr>
<td class="org-left"><a href="#irc">IRC</a></td>
<td class="org-left">#emacsconf, -org</td>
<td class="org-left"><b>DONE #emacsconf, -gen, -dev, -org</b></td>
<td class="org-left">IRC volunteer copying to pads; maybe even IRC bots</td>
</tr>


<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">ERC commands</td>
<td class="org-left"><b>DONE S: hook-based</b></td>
<td class="org-left">timer-based</td>
</tr>


<tr>
<td class="org-left"><a href="#publishing-sched">sched update</a></td>
<td class="org-left"><b>DONE S: publish at start</b></td>
<td class="org-left">update main sched</td>
<td class="org-left">update talk pages</td>
</tr>


<tr>
<td class="org-left"><a href="#video-platforms">other platforms</a></td>
<td class="org-left"><b>S: Toobnix &amp; YT after event</b></td>
<td class="org-left">&#xa0;</td>
<td class="org-left">S: Toobnix + YT when live</td>
</tr>


<tr>
<td class="org-left">schedule view</td>
<td class="org-left">text table</td>
<td class="org-left">imagemap fallback</td>
<td class="org-left"><b>DONE S: interactive SVG</b></td>
</tr>


<tr>
<td class="org-left"><a href="#caption-workflow">caption workflow</a></td>
<td class="org-left">YT autosubs</td>
<td class="org-left">Whisper autosubs</td>
<td class="org-left"><b>DONE: Whisper + more granular timestamps</b></td>
</tr>


<tr>
<td class="org-left"><a href="#wiki-design">wiki</a></td>
<td class="org-left">plain text, markdown</td>
<td class="org-left"><b>DONE S: some JS and CSS enrichment</b></td>
<td class="org-left">more JS and CSS, embeds, videoplayer</td>
</tr>


<tr>
<td class="org-left"><a href="#ansible">ansible</a></td>
<td class="org-left">none</td>
<td class="org-left"><b>DONE S: some automation</b></td>
<td class="org-left">comprehensive, can also work against containers</td>
</tr>


<tr>
<td class="org-left"><a href="#intro">intro and exit</a></td>
<td class="org-left"><b>DONE: slide on screen, host on Mumble</b></td>
<td class="org-left">per-talk video, recorded voiceover</td>
<td class="org-left">Emacs thing so we can display info, countdowns, IRC</td>
</tr>
</tbody>
</table>


<a id="projects"></a>

# Projects and other long-running tasks

-   [Manage front0 and live0 size](#resize):bandali:
-   [Finalize the files to be used for streaming](#files)
-   [Look for ways to reduce risk](#derisk):derisk:
-   [Make checkin and Q&A process slide](#qa):sachac:
-   [Caption talks and make chapter headings](#caption)
-   [Prepare intros for the hosts to read](#host-intros)
-   [Set up talks on Toobnix and YouTube](#video-platforms):sachac:yt:toobnix:
-   [Do another run](#dry-run)
-   [Turn off file upload service on media.emacsconf.org](#upload-off):sachac:infra:
-   [Review notebook for tasks, priorities, and scheduling](#review)
-   [Use Mumble for backchannel coordination and also on-stage](#mumble)
-   [Satellite events](#satellite)
-   [Volunteer update](#volunteer-2022-11-14)
-   [Make a linear hyperlist for managing EmacsConf](#hyperlist):sachac:
-   [Record intro/outro for day-1 and day-2](#rec-intro):zaeph:
-   [Add category tags and possibly links between talks across 2022 and all previous years](#link-pages):quiliro:wiki:
-   [JS/CSS enhancement](#watch-css):emacsconf:
-   [Build up the ansible playbook](#ansible):sachac:opal:
-   [Consider breakout rooms for lunch break](#breakouts)
-   [Work on the OBS scenes](#obs-scenes):zaeph:corwin:sachac:
-   [Plan Etherpad use and hosting](#etherpad):sachac:ansible:


<a id="resize"></a>

## TODO Manage front0 and live0 size     :bandali:


### TODO Resize front0 and live0 in the Linode administration console     :bandali:

[20:23:48] <bandali> aha okay thanks. yeah i think i&rsquo;ll do at least 8gb or 16gb for front0, maybe even one or two larger
[20:24:19] <bandali> and for live0 probably the same as last year, maybe slightly larger


### CANCELLED Check fps after resize     :sachac:


### DONE Back up dumps from live0

media.emacsconf.org:~/emacsconf-2021-stream-dumps/
res.emacsconf.org:/data/emacsconf/2021/dumps/

Now there should be more space in case we want to enable dumping before the resize


### DONE Update ansible configuration     :sachac:

Waiting for resize
Clean up the media root

in all.yml

test\_mode: false

then

ansible-playbook -i inventory.yml prod-playbook.yml &#x2013;tags media
ansible-playbook -i inventory.yml prod-playbook.yml &#x2013;tags stream
ansible-playbook -i inventory.yml prod-playbook.yml &#x2013;tags publish

Confirm that

-   icecast dumps recordings
-   <https://media.emacsconf.org/2022> is unprotected
-   <https://media.emacsconf.org/2022/backstage> is protected


<a id="files"></a>

## STARTED Finalize the files to be used for streaming

Verify that all the files load

    (let ((info (emacsconf-prepare-for-display (emacsconf-get-talk-info))))
    	(mapconcat
    	 (lambda (track)
    		 (concat "- " (plist-get track :name) "\n"
    		 (mapconcat
    			(lambda (talk)
    				(if (plist-get talk :video-file)
    						(format "  - [ ] [[elisp:(emacsconf-stream-play-talk-on-change \"%s\")][Play %s]]\n"
    														(plist-get talk :slug) (plist-get talk :slug))
    					""))
    			(emacsconf-filter-talks-by-track track info))))
    	 emacsconf-tracks))

How about the ones that might be live

    (let ((info (emacsconf-prepare-for-display (emacsconf-get-talk-info))))
    	(mapconcat
    	 (lambda (track)
    		 (concat "- " (plist-get track :name) "\n"
    		 (mapconcat
    			(lambda (talk)
    				(if (null (plist-get talk :video-file))
    						(format "  - [ ] [[elisp:(emacsconf-stream-play-talk-on-change \"%s\")][Play %s]]\n"
    														(plist-get talk :slug) (plist-get talk :slug))
    					""))
    			(emacsconf-filter-talks-by-track track info))))
    	 emacsconf-tracks))


### TODO Fix my audio volume for intros


### DONE Remove first eight seconds of Jupyter if possible, and the last 16 seconds or so

screen -S jupyter-trim ffmpeg -y -ss 8 -to 00:16:40 -i emacsconf-2022-jupyter&#x2013;edit-live-jupyter-notebook-cells-with-emacs&#x2013;blaine-mooers&#x2013;final.webm emacsconf-2022-jupyter&#x2013;edit-live-jupyter-notebook-cells-with-emacs&#x2013;blaine-mooers&#x2013;trimmed.webm


### TODO Regenerate overlays to accommodate different layout


<a id="derisk"></a>

## Look for ways to reduce risk     :derisk:

<https://pad.emacsconf.org/premortem>


### DONE Click on stuff with xdotool

(emacsconf-stream-bbb &ldquo;journalism&rdquo;)
(emacsconf-stream-xdotool-set-up-bbb &ldquo;journalism&rdquo;)
;; get into backstage area
xdotool mousemove 806 385 click 1

(progn
)

(let ((pos (emacsconf-stream-xdotool &ldquo;General&rdquo; &ldquo;getmouselocation&rdquo;)))
  (when (string-match &ldquo;x:\\$[0-9]+\$ y:\\$[0-9]+\$&rdquo; pos)
    (insert (format &ldquo;(emacsconf-stream-xdotool \\&rdquo;General\\&ldquo; \\&rdquo;mousemove %s %s click 1\\&ldquo;)\n&rdquo; (match-string 1 pos) (match-string 2 pos)))))

(emacsconf-stream-track-ssh
 (emacsconf-get-track &ldquo;General&rdquo;)
 (split-string &ldquo;xdotool &rdquo;))

xdotool mousemove 253 176 click 1
xdotool mousemove 215 164 click 1
xdotool key f11


### DONE Make copyable version of bbb redirect     :derisk:


### DONE Make sure all the important tasks are scheduled over the next two weeks

    (defun emacsconf-prep-agenda ()
      (interactive)
      (let* ((notebook (expand-file-name "index.org" (expand-file-name "organizers-notebook" (expand-file-name emacsconf-year emacsconf-directory))))
             (org-agenda-custom-commands
             `(("a" "Agenda"
                ((tags-todo "-PRIORITY=\"C\"-SCHEDULED={.}-nextyear"
                            ((org-agenda-files (list ,notebook))))
                 (agenda ""
                         ((org-agenda-files (list ,notebook))
                          (org-agenda-span 7)))
                 )))))
          (org-agenda nil "a")))


### DONE Try a reboot before the resize     :sachac:

-   After rebooting live0, we should still be able to:
    -   [X] SSH to it
    -   [X] Stream gen to it
    -   [X] Start up the fallbacks: screen-fallbacks
        -   test: mpv <https://live0.emacsconf.org/gen-fallback.webm>
    -   [X] Play gen stream: mpv <https://live0.emacsconf.org/gen.webm>
    -   [X] Play gen 480p stream: mpv <https://live0.emacsconf.org/gen-480p.webm>
    -   [X] Go to watch page for gen:
        -   <https://emacsconf.org/2022/watch/gen/>
        -   <https://live.emacsconf.org/2022/watch/gen/>
    -   [X] Start test restream to toobnix
        -   screen-restream-test-toobnix.sh
        -   <https://toobnix.org/w/dmibQFkBTNcJyTVVQTyd5C>
    -   Test dev as well (optional)
        -   [X] Stream dev to it
        -   [X] Play dev stream
        -   [X] Play dev 480p stream
        -   [X] Go to watch page for dev
-   After rebooting front0, we should still be able to:
    -   [X] View the wiki <https://emacsconf.org/2022/>
    -   [X] Update the status page [edit](file://ssh:front0.emacsconf.org:/var/www/status.emacsconf.org/index.html) <https://status.emacsconf.org>
    -   [ ] Go to the pad: <https://pad.emacsconf.org/2022>


### DONE icecast fallback     :derisk:sachac:


#### Creating the files

ffmpeg -y -f lavfi -i anullsrc=channel\_layout=stereo:sample\_rate=48000 -loop 1 -r 20 -t 10 -i sorry.png -c:v libvpx -c:a libvorbis -color\_primaries 1 -color\_trc 1 -colorspace 1 -crf 30 -g 120 -minrate 1.5M -b:v 1500 -g 120 -maxrate 1.5M -cluster\_time\_limit 5100 -shortest sorry.webm

ffmpeg -y -f lavfi -i anullsrc=channel\_layout=stereo:sample\_rate=48000 -loop 1 -r 20 -t 10 -i sorry.png -vf scale=854:480 -c:v libvpx -c:a libvorbis -color\_primaries 1 -color\_trc 1 -colorspace 1 -crf 30 -g 120 -minrate 1.5M -b:v 1500 -g 120 -maxrate 1.5M -cluster\_time\_limit 5100 -shortest sorry-480p.webm

icecast 2.4.4
  Stream #0:0: Video: vp8, yuv420p(tv, bt709, progressive), 1280x720, SAR 1:1 DAR 16:9, 20 fps, 20 tbr, 1k tbn, 1k tbc (default)
  Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp (default)

Okay. I can ffmpeg to /gen-sorry.webm with
orga@live0:/usr/share/icecast2/web$ ffmpeg -r 20  -re -stream\_loop -1 -i gen-fallback.webm -f webm -content\_type video/webm -c:a copy -c:v copy icecast://https://emacsconf.org/2022/talks/$PASSWORD@localhost:8001/gen-sorry.webm


##### TODO Add test pattern to part of the screen


##### gen

Input #0, matroska,webm, from &rsquo;http://live0.emacsconf.org:8001/gen.webm&rsquo;:
  Metadata:
    ENCODER         : Lavf58.20.100
    icy-pub         : 0
    icy-metadata    : 1
  Duration: N/A, start: 39.061000, bitrate: N/A
  Stream #0:0: Video: vp8, yuv420p(tv, bt709, progressive), 1280x720, SAR 1:1 DAR 16:9, 20 fps, 20 tbr, 1k tbn, 1k tbc (default)
  Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp (default)


##### fallback

Input #0, matroska,webm, from &rsquo;http://live0.emacsconf.org:8001/gen.webm&rsquo;:
  Metadata:
    ENCODER         : Lavf58.20.100
    icy-pub         : 0
    icy-metadata    : 1
  Duration: N/A, start: 19.473000, bitrate: N/A
  Stream #0:0: Video: vp8, yuv420p(tv, bt709, progressive), 1280x720, SAR 1:1 DAR 16:9, 20 fps, 20 tbr, 1k tbn, 1k tbc (default)
  Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp (default)


#### DONE Create fallback for 480p as well


#### DONE Create fallback video


#### DONE Add more ffmpeg options from the OBS profile to try to get them to match as closely as possible


#### DONE Detect fallback and reload the video player

<https://stackoverflow.com/questions/36280764/audio-stops-playing-while-moving-to-fallback-mount-using-icecast#36332739>

     // @license magnet:?xt=urn:btih:90dc5c0be029de84e523b9b3922520e79e0e6f08&dn=cc0.txt txt CC0-1.0
     // Copyright (c) 2022 Sacha Chua - CC0 Public Domain
    var video = document.querySelector('video.reload');
    if (video) {
      var myVar = setInterval(reloadAsNeeded, 1000);
      var oldTime = '';
      function reloadAsNeeded() {
        if ((video.paused != true && (video.currentTime - oldTime) == 0 && video.currentTime != 0)) {
          var source = video.querySelector('source');
          var oldVideo = source.src;
          source.src = '';
          source.src = oldVideo;
          video.load();
          video.play();
        }
        oldTime = video.currentTime;
      };
    }
    // @license-end


### DONE Make sure things are okay for me to handle both streams     :sachac:


#### DONE Add keyboard shortcuts

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">S-g</td>
<td class="org-left">gen VNC</td>
</tr>


<tr>
<td class="org-left">S-d</td>
<td class="org-left">dev VNC</td>
</tr>


<tr>
<td class="org-left">S-G</td>
<td class="org-left">gen console</td>
</tr>


<tr>
<td class="org-left">S-D</td>
<td class="org-left">dev console</td>
</tr>


<tr>
<td class="org-left">S-o</td>
<td class="org-left">orga@res console</td>
</tr>
</tbody>
</table>


#### DONE figure out left/right to keep track of both streams

I&rsquo;m just going to do this with pavucontrol so that it&rsquo;s not too complicated


#### CANCELLED Tweak my audio setup for push-to-talk?

<https://news.ycombinator.com/item?id=23160101>
<https://gist.github.com/zouppen/bdd40a42c77ca387fae8bace0f2ed3e0>


#### DONE Guard against over-announcing by paying attention to erc

Goal: Don&rsquo;t spam the channel with talk announcements

If it was announced in the last 5 minutes, don&rsquo;t reannounce it as part
of the hook, but allow reannouncements if called manually.

How to detect announcements:

If it was the most recently announced talk in the channel, don&rsquo;t re-announce it

(with-eval-after-load &rsquo;erc (add-hook &rsquo;erc-insert-pre-hook &rsquo;emacsconf-erc-notice-announcements))


<a id="qa"></a>

## TODO Make checkin and Q&A process slide     :sachac:

Low-priority because people were able to manage fine last year
Even better if we can add in-between slides (ex:
<https://media.emacsconf.org/2022/in-between/journalism>) for slide #2

asked corwin about access to bbb.emacsverse.org because uploading
presentations seems to not work on our instance. In the meantime, we
can paste in <https://emacsconf.org/2022/qa/> for tips.


<a id="caption"></a>

## Caption talks and make chapter headings


### DONE Nudge volunteers to e-mail me captions by Dec 1     :mail:sachac:


### DONE Copy chapter headings for mail talk     :emacsconf:captions:


### DONE Caption the new talks     :sachac:


<a id="host-intros"></a>

## Prepare intros for the hosts to read

<https://pad.emacsconf.org/intros>
also in :INTRO\_NOTE: in conf.org so that we can plop it into the hyperlists. 


### DONE Write intros for all the other talks

so that people on other platforms can come across EmacsConf


### DONE Record a few sample intros to test the workflow

mogrify -alpha off file.png


### DONE Write the restreaming shell scripts


### DONE Create the events and save the keys     :sachac:

[Other platforms](file:///home/sacha/proj/emacsconf/private/conf.md)

$1 is of the form rtmp://&#x2026;/stream\_key

    MOUNT=$1
    while true; do ffmpeg -loglevel 24 -i http://localhost:8000/main.webm -cluster_size_limit 2M -cluster_time_limit 5100 -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -vcodec libx264 -acodec libmp3lame -f flv $MOUNT; done

Creating the events

-   YouTube: Create - Go Live - Schedule Stream - Streaming Software
-   Toobnix: Publish - Go live
    -   max live is 5 hours


##### EmacsConf 2022 - General track

This is for the general track of EmacsConf, the conference about the joy of Emacs and Emacs Lisp.

Schedule:
Saturday Dec 3, 2022, 9 AM - 12 PM EST, 1 PM - 5 PM EST
Sunday Dec 4, 2022, 9 AM - 12 PM EST, 1 PM - 5 PM EST

Watch using free/open source software: <https://live.emacsconf.org/2022/watch/gen/>
Conference info: <https://emacsconf.org/2022/>
Schedule: <https://emacsconf.org/2022/talks/>
Chat on #emacsconf-dev via <https://chat.emacsconf.org> or irc.libera.chat
Etherpad: <https://pad.emacsconf.org/2022>

Videos are shared under the terms of the Creative Commons Attribution-ShareAlike 4.0
International (CC BY-SA 4.0) license. Please observe the guidelines for conduct: <https://emacsconf.org/conduct/>


##### EmacsConf 2022 - Development track

This is for the development track of EmacsConf, the conference about the joy of Emacs and Emacs Lisp.

Schedule:
Saturday Dec 3, 2022, 9 AM - 12 PM EST, 1 PM - 5 PM EST
Sunday Dec 4, 2022, 9 AM - 12 PM EST, 1 PM - 5 PM EST

Watch using free/open source software: <https://live.emacsconf.org/2022/watch/dev/>
Conference info: <https://emacsconf.org/2022/>
Schedule: <https://emacsconf.org/2022/talks/>
Chat on #emacsconf-dev via <https://chat.emacsconf.org> or irc.libera.chat
Etherpad: <https://pad.emacsconf.org/2022>

Videos are shared under the terms of the Creative Commons Attribution-ShareAlike 4.0
International (CC BY-SA 4.0) license. Please observe the guidelines for conduct: <https://emacsconf.org/conduct/>


### DONE Test start restream on a timer     :emacsconf:

ssh live0.emacsconf.org
confirm that Toobnix test stream isn&rsquo;t playing

echo &rsquo;/bin/bash /home/orga/screen-restream-test-toobnix.sh&rsquo; | at &rsquo;now + 1 minute&rsquo;
echo &rsquo;/bin/bash /home/orga/screen-restream-test-toobnix.sh&rsquo; | at 8:30


### TODO Process the other intros


### DONE Record more intros     :zaeph:


### DONE Record two-part introduction for RMS talk

Before Richard Stallman shares what he&rsquo;d like to see in Emacs, we will first play Richard Stallman&rsquo;s 2014 TEDx talk called &ldquo;Free Software, Free Society&rdquo;. The TEDx talk is licensed under the Creative Commons Attribution - No Derivative Works 3.0 license.

The next talk is called &ldquo;What I&rsquo;d like to see in Emacs,&rdquo; by Richard Stallman. This talk will be under the Creative Commons Attribution - ShareAlike license like the other talks at EmacsConf. Afterwards, he will answer questions via a moderated Q&A, so please put your questions in the Etherpad or IRC.


### DONE Add images to zaeph&rsquo;s intros     :sachac:


### DONE Add subtitles to intros


### DONE rerecord zachary, pronunciation


### DONE rerecord buddy, got mixed up with meetups


### DONE redo visual for health, changed the title case


### DONE rerecord indieweb, accent on the wrong syllable


### DONE rerecord jupyter intro, repetitive


### TODO consider rerecording meetups to add

Spanish subtitles are also available for this talk.

You can find them on the talk page.


### TODO Contextualize journalism talk


<a id="video-platforms"></a>

## DONE Set up talks on Toobnix and YouTube     :sachac:yt:toobnix:

so that people can find the videos on other video platforms
waiting for prerecs

category 15: science and technology
license 2: attribution - share alike
language: en
privacy 2: unlisted
tags: emacs,emacsconf


### DONE Add toobnix url on schedule


### Upload to YouTube

    (insert
     (string-join
    	(seq-take 
    	(seq-keep
    	 (lambda (o)
    		 (when (and
    						(file-exists-p
    						 (expand-file-name
    							(concat (plist-get o :video-slug) "--final.webm")
    							emacsconf-cache-dir))
    						(null (plist-get o :youtube-url)))
    			 (format "./youtube-upload --client-secrets=../../client_secret.json --title=%s --description=%s --category=%s --tags=emacs,emacsconf --recording-date=%s --default-language=en --default-audio-language=en --embeddable=True %s"
    							 (shell-quote-argument
    								(concat emacsconf-name " " emacsconf-year ": " (plist-get o :title) " - " (plist-get o :speakers-with-pronouns)))
    							 (shell-quote-argument
    								(emacsconf-publish-video-description o))
    							 (shell-quote-argument "Science & Technology")
    							 (format-time-string "%Y-%m-%dT%H:%M:%S.0Z" (plist-get o :start-time) t)
    							 (expand-file-name
    								(concat (plist-get o :video-slug) "--final.webm")
    								emacsconf-cache-dir)
    							 )))
    	 (emacsconf-get-talk-info)) 1)
    	"\n"))
    ./youtube-upload --client-secrets=../../client_secret.json --title=EmacsConf\ 2022\:\ Writing\ and\ organizing\ literature\ notes\ for\ scientific\ writing\ -\ Vidianos\ Giannitsis --description=https\://emacsconf.org/2022/talks/science'
    ''
    '00\:00\:00\ My\ second\ brain'
    '00\:28\ Contents\ of\ the\ talk'
    '01\:40\ Bibliography\ management'
    '02\:35\ Creating\ literature\ notes\:\ ivy-bibtex-edit-notes'
    '03\:04\ org-roam\ reference\ template'
    '04\:40\ Demo'
    '05\:40\ Annotating\ with\ org-noter'
    '06\:44\ Annotating\ in\ English'
    '07\:02\ Afterthoughts\ on\ an\ article'
    '07\:30\ Adding\ a\ note'
    '08\:21\ Creating\ permanent\ notes\ from\ reference\ material'
    '09\:01\ The\ organization\ problem'
    '09\:21\ zetteldesk.el'
    '10\:43\ The\ zetteldesk-desktop'
    '11\:45\ Filtering\ with\ ivy-bibtex'
    '12\:09\ Inserting\ literature'
    '13\:46\ Composing\ the\ final\ article'
    '15\:19\ Thanks'
    ''
    'You\ can\ view\ this\ and\ other\ resources\ using\ free/libre\ software\ at\ https\://emacsconf.org/2022/talks/science\ .'
    'This\ video\ is\ available\ under\ the\ terms\ of\ the\ Creative\ Commons\ Attribution-ShareAlike\ 4.0\ International\ \(CC\ BY-SA\ 4.0\)\ license. --category=Science\ \&\ Technology --tags=emacs,emacsconf --recording-date=2022-12-03T15:45:00.0Z --default-language=en --default-audio-language=en --embeddable=True /home/sacha/proj/emacsconf/cache/emacsconf-2022-science--writing-and-organizing-literature-notes-for-scientific-writing--vidianos--final.webm


### Toobnix

    (insert
     (string-join
    	(seq-keep
    	 (lambda (o)
    		 (when (and
    						(file-exists-p
    						 (expand-file-name
    							(concat (plist-get o :video-slug) "--final.webm")
    							emacsconf-cache-dir))
    						(null (plist-get o :toobnix-url)))
    			 (format "node dist/server/tools/peertube.js upload -f %s -n %s -l 2 -c 15 -P 2 -t emacs,emacsconf -L en -C emacsconf -d %s"
    							 (expand-file-name
    								(concat (plist-get o :video-slug) "--final.webm")
    								emacsconf-cache-dir)
    							 (shell-quote-argument
    								(concat emacsconf-name " " emacsconf-year ": " (plist-get o :title) " - " (plist-get o :speakers-with-pronouns)))
    							 (shell-quote-argument
    								(emacsconf-publish-video-description o)))))
    	 (emacsconf-get-talk-info))
    	"\n"))


### STARTED Upload talks to YouTube

    (seq-keep
     (lambda (o)
    	 (when (and
    					(file-exists-p
    					 (expand-file-name
    						(concat (plist-get o :video-slug) "--final.webm")
    						emacsconf-cache-dir))
    					(null (plist-get o :youtube-url)))
    		 (concat (plist-get o :video-slug) "--final.webm")))
     (emacsconf-get-talk-info))

    ;; This buffer is for text that is not saved, and for Lisp evaluation.
    ;; To create a file, visit it with C-x C-f and enter text in its buffer.
    
    ;; (let ((pos (shell-command-to-string "xdotool getmouselocation")))
    ;;   (when (string-match "x:\\([0-9]+\\) y:\\([0-9]+\\)" pos)
    ;;     (insert (format "(shell-command \"xdotool mousemove %s %s click 1\")\n" (match-string 1 pos) (match-string 2 pos)))))
    
    (setq list (seq-filter (lambda (o)
    												 (and
    													(file-exists-p
    													 (expand-file-name
    														(concat (plist-get o :video-slug) "--final.webm")
    														emacsconf-cache-dir))
    													(null (plist-get o :youtube-url))))
    						(emacsconf-prepare-for-display (emacsconf-get-talk-info))))
    
    (setq talk (pop list))
    (progn
    	;; click create
    	(shell-command "xdotool mousemove 2439 223 click 1 sleep 1")
    	;; video
    	(shell-command "xdotool mousemove 2420 260 click 1 sleep 1")
    	;; select files
    	(shell-command (concat "xdotool mousemove 1897 984 click 1 sleep 4 type "
    												 (shell-quote-argument (concat (plist-get talk :video-slug) "--final.webm"))))
    	(shell-command "xdotool mousemove 2101 961 click 1 sleep 5")
    	
    	(shell-command (concat "xdotool mousemove 1530 447 click 1 key Ctrl+a Delete sleep 1 type "
    												 (shell-quote-argument (concat
    																								emacsconf-name " "
    																								emacsconf-year ": "
    																								(plist-get talk :title)
    																								" - "
    																								(plist-get talk :speakers-with-pronouns)))))
    	
    	(emacsconf-publish-video-description talk t t))
    
    ;; next
    (progn
    	(shell-command "xdotool mousemove 2315 1488 click 1 sleep 2")
    	;; add captions
    	(shell-command "xdotool mousemove 2285 462 click 1 sleep 4")
    	(shell-command "xdotool mousemove 1576 619 click 1 sleep 3")
    	(shell-command "xdotool mousemove 2015 940 click 1 sleep 4")
    	(shell-command (concat "xdotool mousemove 1984 869 click 1 sleep 4 type "
    												 (shell-quote-argument (concat (plist-get talk :video-slug) "--main.vtt"))))
    	(progn
    		(shell-command "xdotool mousemove 2102 954 sleep 1 click 1 sleep 4")
    		;; done
    		(shell-command "xdotool mousemove 2285 500 click 1 sleep 3")
    		(shell-command "xdotool mousemove 2312 1483 click 1 sleep 1")
    		(shell-command "xdotool mousemove 2312 1483 click 1 sleep 1")
    		;; schedule
    		(shell-command "xdotool mousemove 1527 752 click 1")
    		(message "%s" (format-time-string "%Y-%m-%d %I:%M %p" (plist-get talk :start-time)
    																			emacsconf-timezone))))
    ;; (shell-command (concat "xdotool mousemove 1695 611 click 1 key Shift+PgDn Ctrl+a Del type "
    ;; 											 (format-time-string "%I:%M %p"
    ;; 																					 (plist-get talk :start-time)
    ;; 																					 emacsconf-timezone)))
    ;; copy link
    
    (progn
    	(shell-command "xdotool mousemove 2284 668 click 1 sleep 1 click 1")
    	;; schedule
    	(shell-command "xdotool mousemove 2324 1498 click 1 sleep 3")
    	(emacsconf-with-talk-heading talk
    		(org-entry-put (point) "YOUTUBE_URL" (read-string "URL: " (current-kill 0)))
    		)
    	;; close
    	(shell-command "xdotool mousemove 2100 996 click 1")
    	)


### DONE upload the rest of the files onto Toobnix


<a id="dry-run"></a>

## DONE Do another run

Summary:

-   bandali will stream from his computer; confirmed can stream to dev
-   corwin will probably connect to gen by VNC; confirmed can connect to VNC and click around, need to become more familiar with setup after trip
-   sachac will be backup streamer if bandali or corwin are unavailable

Goals: 

-   Good: Streamers are set up to broadcast from their own OBS if needed (could be a backup plan, could be the main plan)
-   Better: Streamers can connect to the VNC session for their track, manage OBS, start videos (with overlays), and browse the Q&A links
-   Best: Streamers can connect via emacsclient in orga@res.emacsconf.org, manage the task status, and have everything working

Agenda:

-   Get familiar with the setup
-   Consider whether we want to prioritize local OBS (more screen real estate) or stream OBS (easier swapping, can be controlled remotely)
-   Consider whether we want mumble to be able to quickly add audio; how do we want to set it up scene-wise?


### Checklist for later dry run

1.  Streams
    -   [ ] General stream
    -   [ ] Development stream
    -   [ ] 480p streams
2.  Scenes
    -   [ ] Intro
    -   [ ] Prerec
    -   [ ] Q&A: live
    -   [ ] Q&A: IRC
    -   [ ] Q&A: pad
3.  [ ] IRC channels
    -   [ ] Announce
    -   [ ] Question handling
    -   [ ] Timers
4.  [ ] Watching pages
    -   [ ] Before launch
    -   [ ] Streaming
    -   [ ] Emergency announcement
5.  [ ] Pads
6.  [ ] Wiki
    -   [ ] Schedule update
    -   [ ] Message on the schedule
    -   [ ] Prerec live
7.  [ ] Wind everything down

Later on

-   [ ] Toobnix stream
-   [ ] YouTube stream


### Create test

gst-launch-1.0 compositor name=mix sink\_1::xpos=1180 sink\_1::ypos=470 ! videoconvert ! autovideosink filesrc location=community-title.svg ! rsvgdec ! imagefreeze num\_buffers=100 ! mix. videotestsrc ! video/x-raw,width=400,height=300 ! mix. audiotestsrc freq ! autoaudiosink

gst-launch-1.0 compositor name=mix sink\_1::xpos=1200 sink\_1::ypos=600 ! videoconvert ! autovideosink \\
filesrc location=community-title.svg ! rsvgdec ! imagefreeze num\_buffers=100 ! mix. \\
filesrc location=background.opus ! oggdemux ! opusdec ! audioconvert ! audioresample ! mix.
videotestsrc ! video/x-raw,width=400,height=300,framerate=25/1 num\_buffers=(25 \* (4 \* 60 + 5)) ! mix.

gst-launch-1.0 webmmux name=mux ! filesink location=community.webm \\
compositor name=mix sink\_1::xpos=1200 sink\_1::ypos=600 ! videoconvert ! vp8enc ! queue ! mux.video\_0 \\
filesrc location=community-title.svg ! rsvgdec ! imagefreeze num\_buffers=2450 ! mix. \\
filesrc location=background.opus ! oggdemux ! opusdec ! audioconvert ! audioresample ! vorbisenc ! queue ! mux.audio\_0 \\
videotestsrc num\_buffers=2450 ! video/x-raw,width=400,height=300,framerate=10/1 ! mix.

1251,/home/sacha/proj/emacsconf/private/assets/titles% find -name community-title.svg -exec inkscape &#x2013;export-type=png &#x2013;export-width=1280 &#x2013;export-height=720 &#x2013;export-background-opacity=0 {} \\;


### DONE Do mini dry run


#### DONE Revisit OBS and streaming setup to prepare for the dry run next weekend


#### DONE Make mini dry run hyperlist with buttons

-   hh:mm slug
    -   hyperlist note
    -   set talk playing
        -   play intro
        -   play talk
    -   set talk closed q
        -   join bbb
    -   set talk open q
    -   set talk to archive

(emacsconf-hyperlist-show-streamer-day &ldquo;2022-12-03&rdquo;)
(emacsconf-hyperlist-show-streamer-day &ldquo;2022-12-04&rdquo;)

Testing:

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">intro</td>
<td class="org-left">talk</td>
<td class="org-left">Q&amp;A</td>
<td class="org-left">Expected</td>
</tr>


<tr>
<td class="org-left">journalism</td>
<td class="org-left">recorded</td>
<td class="org-left">live</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left">school</td>
<td class="org-left">recorded</td>
<td class="org-left">recorded</td>
<td class="org-left">IRC</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left">handwritten</td>
<td class="org-left">recorded</td>
<td class="org-left">recorded</td>
<td class="org-left">BBB</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left">treesitter</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left">health</td>
<td class="org-left">live</td>
<td class="org-left">recorded</td>
<td class="org-left">BBB</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left">jupyter</td>
<td class="org-left">live</td>
<td class="org-left">live</td>
<td class="org-left">BBB</td>
<td class="org-left">&#xa0;</td>
</tr>
</tbody>
</table>

-   journalism: recorded intro, recorded talk, live

(emacsconf-hyperlist-show-streamer-day &ldquo;2022-12-03&rdquo; nil
(list &ldquo;journalism&rdquo; &ldquo;school&rdquo; &ldquo;treesitter&rdquo; &ldquo;handwritten&rdquo; &ldquo;health&rdquo; &ldquo;jupyter&rdquo;))


### DONE Do a dry run for the dry run


<a id="upload-off"></a>

## TODO Turn off file upload service on media.emacsconf.org     :sachac:infra:

so that nginx can have more memory and we don&rsquo;t risk slowdowns


<a id="review"></a>

## DONE Review notebook for tasks, priorities, and scheduling


### TODO Review tasks


<a id="mumble"></a>

## Use Mumble for backchannel coordination and also on-stage

<span class="timestamp-wrapper"><span class="timestamp">[2022-11-19 Sat] </span></span> sachac: Confirmed that you can join the emacsconf-dev or emacsconf-gen channel if you have access, and you can speak on air in just that channel


### DONE Update the Mumble setup     :bandali:

-   [X] Add emacsconf-gen and emacsconf-dev channels
-   [X] Give the emacsconf-gen and emacsconf-dev users access to them
-   [X] Give the other organizers access to emacsconf-gen, emacsconf-dev, and org-private
-   [X] Get emacsconf-gen and -dev to join the right channels


### DONE E-mail volunteers and help them get on Mumble     :bandali:


#### Template

We plan to use Mumble as a virtual walkie-talkie during the conference
so that we can quickly talk to each other as needed. It can also be a
way for us to add our audio to the streams. Please set up your system
as follows:

1.  Install a Mumble client on the device you want to use to connect to
    the voice channel. It can be your computer or phone. You can choose
    the username that you would like to log in with.
2.  Create and backup your certificate. (This is part of the wizard for
    the desktop client, and it might be automatic on a phone client.)
3.  Connect to mumble.emacsconf.org with your desired username.
4.  Register your account on the server using the `Self > Register`
    command. This reserves your username using your certificate and
    allows me to add you to ACLs.
5.  Let me know (sachac on #emacsconf-org in IRC or
    sacha@sachachua.com) when you&rsquo;ve registered so that I can add you
    to the access control lists for the private channels. If I&rsquo;m around
    on mumble (sachac), you can say hi to me there and confirm that
    it&rsquo;s working.

You can enter a channel by double-clicking on it. (On Mumla for
Android, entering a channel is instead done by clicking on the arrow
to the right of the channel.) Then your audio will go to that channel,
and you can hear audio from that channel. We can use the
`emacsconf-gen` and `emacsconf-dev` channels to speak on air, and we
can use the `backstage` channel for coordination.

Looking forward to hearing from you!

Sacha


### DONE Generate certificates, add them to conf.org, and register the users     :sachac:


### DONE Set up Mumble and bring the volunteers on board

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">&#xa0;</th>
<th scope="col" class="org-left">Emailed</th>
<th scope="col" class="org-left">Onboarded</th>
</tr>
</thead>

<tbody>
<tr>
<td class="org-left">FlowyCoder</td>
<td class="org-left">X</td>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-11-19 Sat] </span></span> access granted, briefed</td>
</tr>


<tr>
<td class="org-left">jman</td>
<td class="org-left">X</td>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-11-21 Mon] </span></span> access granted, briefed</td>
</tr>


<tr>
<td class="org-left">vetrivln</td>
<td class="org-left">X</td>
<td class="org-left"><span class="timestamp-wrapper"><span class="timestamp">[2022-11-19 Sat] </span></span> access granted, briefed</td>
</tr>
</tbody>
</table>


### DONE set up Mumble channels for host-dev and host-gen?

zaeph wants to make it easy to talk to the host without distracting them all the time


### DONE add dry-run check of whispering to hosts


<a id="satellite"></a>

## Satellite events


### Zurich


#### DONE Link to satellite events on the wiki     :bandali:

<https://200ok.ch/posts/2022-11-01_emacsconf__with_a_new_physical_venue.html>

on the watch page


#### DONE announce on the emacsconf-discuss mailing list     :bandali:


<a id="volunteer-2022-11-14"></a>

## Volunteer update

-   talk banners, akshay


<a id="hyperlist"></a>

## Make a linear hyperlist for managing EmacsConf     :sachac:

Goal:

-   Volunteers should be able to coordinate everything by stepping through a linear list of things to do
-   The hyperlist will primarily live on orga@res.emacsconf.org and be accessed through emacsclient. (Maybe sat.org and sun.org)
-   Volunteers should be able to take breaks as needed

emacsconf-hyperlist-show-streamer-day

[How do we want to coordinate during the conference itself?](#coordination)


### DONE Try writing it to an Etherpad


### DONE Revisit the hyperlists to make sure they make sense


### DONE Add intro notes and specific talk notes to the hyperlist


### DONE Make a hyperlist for checking people in for easier copying and pasting


### DONE Send FlowyCoder hyperlist for checking people in     :mail:

[Use Mumble for backchannel coordination and also on-stage](file:///home/sacha/proj/emacsconf/wiki/2022/organizers-notebook/index.md)


#### DONE make sure live talks are on the checkin list


### DONE Make backstage redirects for pad and qa so that hosts and streamers can have an easier time

ex:
<https://media.emacsconf.org/2022/backstage/current/pad/journalism>
<https://media.emacsconf.org/2022/backstage/current/room/journalism>

Pattern:
<https://media.emacsconf.org/2022/backstage/current/slug/pad>
<https://media.emacsconf.org/2022/backstage/current/slug/room>
<https://media.emacsconf.org/2022/backstage/current/pad/slug>
<https://media.emacsconf.org/2022/backstage/current/room/slug>


### CANCELLED Regenerate hyperlist if sched changes


### CANCELLED Put shell commands on a separate line so they&rsquo;re easy to select and run


### DONE Make a hyperlist for hosts


### DONE Update etherpad hyperlist


### DONE Adjust audio levels from hyperlist


### TODO Adjust audio levels from hyperlist with a repeat-mode keymap


### DONE Link pamix to a konsole ssh


### DONE Add monitoring the streams to the hyperlist / shortcuts


### TODO Test hyperlist on obs and record quick demos


<a id="rec-intro"></a>

## TODO Record intro/outro for day-1 and day-2     :zaeph:

-   Opening remarks Sat
    -   Welcome to EmacsConf 2022
    -   What&rsquo;s new at EmacsConf?
        -   This year, we have two tracks: General and Development.
    -   Prerecorded videos will be published as soon as possible (aiming
        for publishing them as the talks stream), so you can check the
        talk page for the video and the transcript a few minutes after the
        talk starts.
    -   How to participate
        -   You can watch at live.emacsconf.org using free and open source software.
            -   Select the stream you&rsquo;re interested in.
            -   There are quick shortcuts on the watch page so that you can
                open the Etherpad, Q&A, or IRC.
                -   We recommend adding notes asking questions in the Etherpad
                    for the talk. That way, it&rsquo;s easier to organize the
                    questions and answers, and the host can read questions out
                    to the speaker as needed.
                -   You can also use the track-specific IRC channels
                    (#emacsconf-gen and #emacsconf-dev).
            -   You can look at the schedule to see what else is going on.
        -   IRC:
            -   You can use #emacsconf for hallway conversations.
            -   If you need to reach conference organizers, you can use the
                \#emacsconf-org IRC channel or e-mail sacha@sachachua.com .
        -   General feedback in pad.emacsconf.org/2022
        -   Accessibility
            -   Streaming with open captions thanks to speakers and volunteers
                -   Talks indicated with &ldquo;captioned&rdquo; on the schedule
            -   Transcript available on talk pages
            -   Encourage people to add notes, questions, and answers to the
                Etherpad, which will be archived as plain text on the talk
                pages after the conference
            -   If you need additional support, ask in #emacsconf-accessible or #emacsconf-org
-   Closing remarks Sat
    -   Thanks
        -   Thank you to all the speakers and participants.
        -   This year&rsquo;s conference will be hosted by zaeph, bandali, and
            vetrivln, and streamed by corwin, bandali, and jman.
        -   Thanks to our captioning volunteers: sachac, bhavin192, Tom
            Purl, Hannah Miller, triko, and anush, and also to the speakers
            who captioned their own talks. Thanks to quiliro for translating
            the meetups talk into Spanish. and to Akshay Gaikwad for
            contributing some designs.
        -   Thanks to the Free Software Foundation for the mailing
            lists. Thanks to Ry P for the server that we&rsquo;re using for OBS
            streaming and for processing videos.
    -   Come back tomorrow
-   Closing remarks Sun
    -   Thanks
    -


### DONE Review opening remarks from last year

<https://emacsconf.org/2021/talks/day1-open/>


<a id="link-pages"></a>

## TODO Add category tags and possibly links between talks across 2022 and all previous years     :quiliro:wiki:

-   Prerequisite: Can edit wiki pages (<https://emacsconf.org/edit/>)
-   Goal: Make it easier for people to discover interesting related talks

-   List of talks for EmacsConf 2022:  <https://emacsconf.org/talks/>
-   List of talks: <https://emacsconf.org/talks/>
-   List of categories: <https://emacsconf.org/CategoryCategory/>
-   To add something to a category, add `\[[!taglink CategoryName]]` to the bottom of its talk page (ex: 2022/talks/maint.md is in CategoryCommunity)
-   You can create new categories by making up new CategoryNames.
-   You can also link to a talk with a link like this: `\[[/2022/talks/maint|Maintaining the Maintainers: Attribution as an Economic Model for Open Source]]`
    You can make a new heading called `# Related talks`


<a id="watch-css"></a>

## TODO JS/CSS enhancement     :emacsconf:


### TODO Add start and end attributes to the brief stuff for possible JS/CSS


### TODO Consider putting the subtitles outside the video <https://stackoverflow.com/questions/61826237/is-there-a-simple-way-to-position-subtitles-below-the-hlml5-video>     :emacsconf:

<file:///home/sacha/sync/orgzly/Inbox.md>


### SOMEDAY Make video sticky and move it to the right     :js:css:nextyear:

<https://webdesign.tutsplus.com/tutorials/how-to-create-a-sticky-floating-video-on-page-scroll--cms-28342>


<a id="ansible"></a>

## TODO Build up the ansible playbook     :sachac:opal:

git@git.emacsconf.org:pub/emacsconf-ansible

Goals:

Playbook will be able to reproduce:

-   [Etherpad](#etherpad): probably okay to deploy on VPS
-   web-based file upload: probably in a docker
-   publishing environment for schedule etc.

in prod or docker container


### DONE restreamers on live0

[Set up stream events on Toobnix and YouTube](#other-streams)


### DONE icecast on live0

(find-file &ldquo;/ssh:live|sudo::/etc/icecast2/icecast.xml&rdquo;)


#### DONE Set up watch/gen-480p


### DONE publishing environment


### DONE Get ansible to run against a clean docker


### DONE Set up Etherpad with MySQL


<a id="breakouts"></a>

## SOMEDAY Consider breakout rooms for lunch break


<a id="obs-scenes"></a>

## CANCELLED Work on the OBS scenes     :zaeph:corwin:sachac:

-   [ ] corwin is out from Nov 11-20, and we should start working on them before then.


<a id="etherpad"></a>

## INPROGRESS Plan Etherpad use and hosting     :sachac:ansible:

-   Relevant links:
    -   Per-pad, nicely structured info with abstract, watching information, etc. CarpentryCon 2022 Schedule • CarpentryCon 2022 <https://2022.carpentrycon.org/>
    -   One pad per session: <https://meta.wikimedia.org/wiki/Arctic_Knot_Conference_2021/Program#Friday,_June_25th>
    -   [Etherpad integration in Jitsi ](https://community.jitsi.org/t/tutorial-etherpad-integration-in-jitsi-meetings/99697)

-   Good: One pad per session
-   Better: Some kind of monitoring so that we can link to the pads or embed
    the pads even before the conference starts while not risking too
    much vandalism
-   Best:
    -   Pad can be easily regenerated from Emacs Lisp with a check to see if people have been adding to it
    -   Pad links to next talks

Where should we host this?

-   live0: gets scaled up the most, lots of people connect to it for the conference, didn&rsquo;t hit performance constraints last time
-   front0: lower risk of interfering with stream
-   bbb: will already be put on strain with the concurrent streams (test showed it was stable with up to 10 concurrent video streams and 40 total participants)
-   opal’s: no news from owner, but beefy server that we used for reencode last  year
-   new Linode (probably 4GB or 8GB shared CPU): can easily be spun up, yay Ansible

[Ansible notes](#ansible)

Consider if we need extra scaling beyond being on a beefy live0?

-   Scale calculator: <https://scale.etherpad.org/>
    -   assuming 3 concurrent authors, 100 lurkers per pad, 3 concurrent pads
    -   1 core, 4GB RAM, bandwidth Mb/s: 7.488
-   <https://mclear.co.uk/2021/09/08/deploying-etherpad-at-scale-in-one-minute/>
-   <https://github.com/ether/etherpad-load-test>

Will need to try this again when we resize nodes. Probably just the extra memory will be enough and the CPU use from node won&rsquo;t step on the streaming, but not sure


### DONE Use the API to create pages based on all the slugs


### CANCELLED Figure out monitoring; maybe get everything daily and commit to git repo?

History or regeneration will be fine. We&rsquo;ll probably link to it shortly before the event, and we can also turn off the service until we&rsquo;re ready.


### DONE Generate talk-specific pad content


### DONE Set up nginx reverse proxy


### DONE Load-test

tl;dr: Either a separate 4GB Linode or being on live0 will probably be
okay, but I&rsquo;m not 100% sure due to the limitations of my load-testing
setup. I don&rsquo;t know if we need to shard by pad.

It looks like etherpad-load-test tends to max out at ~40 connections
on a specific node. I used GNU Parallel to run the loadtesting tool
against a 4GB Linode instance (shared CPU) from five nodes at the same
time (my X220, my 2GB Linode instance, front0, and the node with the
pad), and they all reached about 35-45 clients before failure (not
updating within 100ms).

    echo 'node node_modules/etherpad-load-test/app.js http://170.187.195.5:9001 -d 120 > ~/output.txt' | parallel -J loadtest -j 1 --onall --verbose --tag

    echo 'grep Local ~/output.txt | tail -1' | parallel -J loadtest -j 1 --onall --tag

Files were created at roughly the same time, so the max loads probably
overlapped. It would be good to have finer control over the
etherpad-load-test tool. Haven&rsquo;t figured out how to properly use `-l`
and `-a` yet.

    echo 'stat -c %y ~/output.txt' | parallel -J loadtest -j 1 --onall --tag

CPU graph went only up to 5%. Network max was 2.36 Mb/s in, 1.25 Mb/s out.
looking at top, CPU seems to go only up to about 12% or so.


### DONE Set up pad.emacsconf.org to point to live0.emacsconf.org     :bandali:


### DONE Set up letsencrypt

Waiting for DNS
add to /etc/dehydrated/domains.txt
sudo sh -x /etc/cron.daily/renew-https-cert-local


### DONE Link to pad from talk page


### DONE Add links to general conference pad

for collecting feedback


### TODO Prototype shift pads for easier scrolling

if we can get the anchor plugin


### DONE Be able to fall back to wikimedia if necessary, maybe with nginx redirects


### DONE Export pad initial content HTML to make it easier to reimport into wikimedia or elsewhere

`emacsconf-pad-export-initial-content-for-all-talks`


### SOMEDAY Cache pad times in a json or el     :emacsconf:


### DONE Confirm that we can use the time slider to move back in time


### TODO Consider monospace font for Etherpad?     :nextyear:


<a id="maybe-projects"></a>

# Ideas for next year     :nextyear:


## SOMEDAY <https://www.reddit.com/r/i3wm/comments/b1hgxm/i3wm_over_vnc_with_dual_monitors/?utm_source=share&utm_medium=android_app&utm_name=androidcss&utm_term=2&utm_content=share_button> might be interesting to have dual monitors next year


## SOMEDAY Suggest public submissions next time

would it be interesting to see if other people can build on what&rsquo;s submitted?


## SOMEDAY Match /names with speakers, maybe make a page with people currently online


## SOMEDAY EmacsWiki: Erc Robot

<https://www.emacswiki.org/emacs/ErcRobot>

After I get ikiwiki sorted out, I can use Erc to control it so that I can test it a lot before letting it mess with the real thing

Goals:
Update schedule
Publish prerec when talk is playing


### SOMEDAY Irc bot for opening

notice the message
open the Q&A specified by slug, or look it up from the channel


## TODO Consider making a bot to support announcing, updating, publishing, who&rsquo;s here, announcing when speakers are here

<https://salsa.debian.org/rhonda/schedulebot>

-   announces:
    -   $talk will start in $min minutes
    -   $talk has just begun
    -   $talk has just finished
-   seen


## SOMEDAY indentation - CSS - successive indenting of siblings after headings - Stack Overflow

<https://stackoverflow.com/questions/31872535/css-successive-indenting-of-siblings-after-headings>


## SOMEDAY html - Indent everything after h1, h2, etc. before the next, one, while stacking the indents, with CSS - Stack Overflow

<https://stackoverflow.com/questions/69711847/indent-everything-after-h1-h2-etc-before-the-next-one-while-stacking-the-in>


## Video


### SOMEDAY infrastructure/source-recording.sh at master · FOSDEM/infrastructure

<https://github.com/FOSDEM/infrastructure/blob/master/ansible/playbooks/roles/video-bbb/files/scripts/source-recording.sh>


### SOMEDAY c3voc/voctomix - Docker Image | Docker Hub

<https://hub.docker.com/r/c3voc/voctomix/>


### SOMEDAY DebConf video team / vogol · GitLab

<https://salsa.debian.org/debconf-video-team/vogol>


### SOMEDAY roles/vogol · master · DebConf video team / ansible · GitLab web interface for voctomix

<https://salsa.debian.org/debconf-video-team/ansible/-/tree/master/roles/vogol>


### SOMEDAY CarlFK/veyepar: Video Eyeball Processor and Review

<https://github.com/CarlFK/veyepar>


### SOMEDAY timvideos/streaming-system: Tim Video&rsquo;s - Live Streaming for user groups and other events.

<https://github.com/timvideos/streaming-system>


### SOMEDAY <no title> — DebConf Videoteam Ansible documentation

<https://debconf-video-team.pages.debian.net/ansible/ansible_roles/etherpad.html>


### SOMEDAY DebConf video team / ansible · GitLab

<https://salsa.debian.org/debconf-video-team/ansible>


## SOMEDAY handprint · PyPI

<https://pypi.org/project/handprint/>
That might be interesting for reviewing text recognition output


## TODO Update websocket


## TODO Idea for next year: save talk details in an org note so that I can easily send e-mails comparing previous with current

<file:///home/sacha/proj/emacsconf/wiki/2022/speakers.md>


## DONE What ideas do we want to borrow from other conferences?

-   FOSDEM had a conference track
    -   <https://archive.fosdem.org/2022/schedule/track/conference_organisation/>
-   DebConf
    -   Thorough documentation at <https://debconf-video-team.pages.debian.net/docs/>
    -   <https://debconf-video-team.pages.debian.net/docs/online_volunteer_roles.html>
    -   Ansible: <https://salsa.debian.org/debconf-video-team/ansible> , <https://debconf-video-team.pages.debian.net/ansible>
    -   SReview for cutting videos?
    -   <https://wiki.debian.org/Teams/DebConf/Video/Subtitles>
    -   Pentabarf <https://lists.debian.org/debconf-team/2008/08/msg00147.html>
    -   Schedule shows local time and DebConf time: <https://debconf21.debconf.org/schedule/>
-   LibrePlanet <https://libreplanet.org/2022/>
    
    -   libreadventure, minetest?
    
    -   <https://www.collabmagazine.com/organizing-a-multi-track-virtual-conference-with-microsoft-teams-live-events-a-technical-playbook-and-lessons-learned/> : 4-person team, post-prod, break commercials


### SOMEDAY virtual-conf-resources/foss-north.md at master · e8johan/virtual-conf-resources

<https://github.com/e8johan/virtual-conf-resources/blob/master/foss-north.md>


### SOMEDAY e8johan/virtual-conf-resources: Resources for virtual conferences

<https://github.com/e8johan/virtual-conf-resources>


## TODO Consider hosting reveal.js for EmacsConf


## TODO back up media and bbb


## TODO figure out how zaeph can run ansible


## TODO Check that the restreams can handle hiccups

<https://toobnix.org/w/dmibQFkBTNcJyTVVQTyd5C>

ugh might need to restart restreams
PTS 233286211, next:63716000 invalid dropping st:0
DTS 233286223, next:63828674 st:1 invalid dropping

screen -S restream-test-toobnix -X quit; screen-restream-test-toobnix.sh
screen -S restream-test-youtube -X quit; screen-restream-test-youtube.sh
screen -S restream-gen-toobnix -X quit; screen-restream-gen-toobnix.sh
screen -S restream-gen-youtube -X quit; screen-restream-gen-youtube.sh
screen -S restream-dev-toobnix -X quit; screen-restream-dev-toobnix.sh
screen -S restream-dev-youtube -X quit; screen-restream-dev-youtube.sh

ugh sound timestamps get all messed up


## TODO Figure out how to have a test talk for publishing


<a id="decisions"></a>

# Things to figure out / decisions to make

-   [Do we want to drop talks?](#drop)
-   [How do we want to coordinate during the conference itself?](#coordination)
-   [How do we want to make the full schedule more manageable?](#sched-decision)
-   [Do we want to skip the closed Q&A and go straight to open?](#closed)
-   [How much do we want to enrich the wiki with JS?](#wiki-design)
-   [How do we want to make better use of Etherpad?](#pad-decision)
-   [Can we nudge people to ask IRC questions in a way that will make it easier for us to follow them?](#irc-markers)
-   [Do we want people to advertise any openings with their companies or any work that they&rsquo;re looking for?](#advertising)
-   [Decision archive](#decision-archive)
-   [Think about what to do with schedule gaps due to cancelled talks](#schedule-gaps):thoughts:
-   [Split rms into two talks?](#rmstedsplit)


<a id="drop"></a>

## Do we want to drop talks?

-   **Keep the slot open, allow people to speak live**
    -   If they don&rsquo;t show up, continue with previous Q&A or have an open room


<a id="coordination"></a>

## How do we want to coordinate during the conference itself?

-   Considerations:
    -   Good to have something that the hosts and streamers can walk through step by step
    -   Do we want the check-in volunteer to also keep something
    -   Announcing and publishing are easier if the task states are updated

-   Mumble for walkie-talkie communications?
    -   Can we keep it off the stream more reliably, but still be able to choose to put it on the stream?
        -   We can keep it in the combined sink and then manually go to that
            channel in our clients when we want to talk on stream
    -   Should we have a Gen channel and a Dev channel so that we can choose to speak into ?
-   Checklist
    -   Etherpad
        -   All the volunteers can access it easily
        -   Tasks can be updated through SSH commands
    -   conf.org
        -   Run Emacs commands directly from it
        -   A little trickier in terms of access


<a id="sched-decision"></a>

## How do we want to make the full schedule more manageable?

Host role:

-   Give the speaker a heads-up before their Q&A session begins
-   If needed, read the questions from the pad to the speaker (Many speakers are comfortable reading the pad on their own.)
-   Give the speaker time warnings before the end of their Q&A session on the stream. Interested participants can continue

Streamer role:

-   Switch between playing the prerec and joining the Q&A session
-   Adjust audio volume at the beginning of the Q&A session
-   (optional) Switch scene layouts to focus on different things

Shifts will be Sat AM, Sat PM, Sun AM, or Sun PM per track. People can take multiple shifts.

<https://emacsconf.org/2022/decisions/#schedule>

-   Figure out how hosting can be done in shifts
    -   Add notes in one place
-   Figure out how streaming can be done in shifts: OBS in the cloud?
    -   [Investigate streaming options, maybe OBS in the cloud](#streaming)
-   Figure out how publishing can be done in shifts
    -   Console Emacs in a VM with everything set up for publishing to the wiki

<span class="timestamp-wrapper"><span class="timestamp">[2022-10-04 Tue]</span></span>

-   Added option H: general starts with general Org use cases and moves on to more niche things on day 2.
    -   compared to A, general audience will be more interested in Org use
        cases than in Hyperbole, and then we can look at specific
        techniques on day 2

<span class="timestamp-wrapper"><span class="timestamp">[2022-10-04 Tue]</span></span>

-   Discussed option G with zaeph on #emacsconf-org. zaeph prefers
    option A over option G because it gives people more choices -
    they can hop from talk to talk.

<span class="timestamp-wrapper"><span class="timestamp">[2022-10-03 Mon]</span></span>

-   Discussed with bandali and zaeph on #emacsconf-org
-   Decided on Option A with B, C, or F as fallbacks depending on volunteer roster
-   Better for the viewers and the volunteers


<a id="closed"></a>

## Do we want to skip the closed Q&A and go straight to open?

-   Closed: Less moderation needed in the beginning
-   Open: less coordination needed (since the host doesn&rsquo;t have to either tell me that it&rsquo;s okay to open it up or change the task status themselves), and people are generally good at meeting etiquette


<a id="wiki-design"></a>

## How much do we want to enrich the wiki with JS?

Ideas to consider:

-   Toggling local time display on the schedule
-   Making organizers-notebook nicer to browse through (or maybe use organice?)
-   Improve the video player (resolution switching? chapter markers?) - <https://github.com/sampotts/plyr> for video?


### SOMEDAY ?: Figure out JS and CSS niceties that will make organizers-notebook more enjoyable to browse through     :css:js:

-   TODO/DONE/etc. keyword highlighting?
-   Collapsible sections?


### SOMEDAY ?: Find a way to add JS libraries to the wiki but shield them from anon editing     :js:

gitolite should have some options to do this


### SOMEDAY ?: Beautify video players     :js:css:

Might not be necessary.


<a id="pad-decision"></a>

## How do we want to make better use of Etherpad?

Pain points:

-   Lots of scrolling for speakers
-   Takes some effort to move questions from IRC to the pad


### How many pads do we want?

-   One pad for everything
    -   Scroll down, down, down
    -   Easy to set up at the beginning
    -   Inertia
-   One pad per set of talks (Saturday AM, Saturday PM, Sunday AM, Sunday PM)
    -   Less scrolling
-   One pad per talk, plus one meta pad
    -   Very little scrolling
    -   Can send people directly to the pad


### Do we want to host our own?

-   Use etherpad.wikimedia.org
    -   Worked fine last year
-   Host our own
    -   Might be able to use API to append questions to it, if we want to get super fancy


### Do we want to embed the pad as an iframe on the watch page? on talk pages?

This guides people to use the pad for discussion/questions instead of IRC

Options:

-   Current: None, just a link
-   Big pad on the watch page:
-   Individual pads:
    -   Watch page needs to be updated with current pad and link to previous pad
    -   Individual talk page can embed the iframe
-   Embed the IRC channel instead


<a id="irc-markers"></a>

## Can we nudge people to ask IRC questions in a way that will make it easier for us to follow them?

Two tracks mean two IRC channels with lots of space for Q&A, so this may become less of an issue

Pain points:

-   Q&A/discussions often overlap with the next talks
-   Sometimes questions don&rsquo;t get copied to the pad
-   Fast discussions can get overwhelming

Ideas:

-   Announce pad link at the beginning of the talk and at the start of
    live Q&A, encourage most people to ask questions there
-   Encourage people to start questions with Q:
    -   A little extra work, but not as much as including the slug
    -   Easier to pick out when people search
    -   Volunteers can restate questions easily if people forget the Q:
-   Encourage people to start questions with Q-slug: (ex: Q-news: question about Emacs News Highlights, Q-journalism: &#x2026;)
    -   Easier to pick out questions even with overlapping Q&A/talks
-   Use two or three IRC channels so that talks can rotate among channels
    -   Easier to pick out questions even with overlapping Q&A/talks
    -   Needs logging and more organizer attention
-   Maybe a volunteer can have an ERC command that copies a question into a buffer, or even into the Etherpad


<a id="advertising"></a>

## Do we want people to advertise any openings with their companies or any work that they&rsquo;re looking for?

-   Speakers on their page?
-   General audience on a wiki page somewhere?


<a id="decision-archive"></a>

## Decision archive


### Where should volunteers e-mail?

-   **Default to emacsconf-org and offer emacsconf-org-private as an option**
-   emacsconf-org-private
    -   less public, e.g. if for whatever reason we might have to decline an offer of help
    -   Also, some people want to volunteer but do not want to be in the public’s eye.
-   emacsconf-org
    -   If you’re thinking about the enticement factor of having people
        volunteer publicly, we’ll still have a well-furnished list of people
        helping us run the conf somewhere on the wiki.  [11:22]
    -   i would think if someone doesn&rsquo;t want to do it publicly, they could
        opt to write to -org-private instead, but otherwise the defacto
        should be public (-org)
    -   i just think most folks would want to do this publicly unless for
        specific reasons, rather than the other way around


### CANCELLED Do we want to do alt-stream the same way again this year?

Superseded by decision to have multiple tracks

-   Alt stream joins the current session and then continues with it until the Q&A finishes; people join the BBB room if they want to ask questions
    -   Nice and convivial, Q&A still gets captured
    -   Inertia means most people get the main message
-   Multiple streams with more space between talks, people choose which stream they want to watch
    -   How other conferences do it
    -   Speakers can attend related talks more easily


### DONE Shall we put a generic e-mail address for sending feedback, maybe with different mailtos?

Pain points:

-   Many talk pages don&rsquo;t have public e-mail addresses, so it takes a
    little extra work (or is sometimes impossible) for people to follow
    up if they have questions

Options:

-   Do nothing (current)
-   Add a mailto link to emacsconf-discuss that prepopulates the subject
-   Add a mailto link to emacsconf-org
    -   Wider discussion
-   **Add a mailto to emacsconf-org-private**
    -   Private feedback that can be forwarded to the speaker


### DONE How many BBB rooms do we want to set up?

-   One per talk
    -   We can send speakers a direct link to their room and they can check into it themselves
    -   Needs a little more work when setting up rooms and when extracting videos
    -   Easier for the host to join
    -   Check-in person can just keep an ear open in that room
-   Five or so, rotating among them
    -   Check-in person directs the speaker to the next available room
    -   Worked fine last time


### DONE How easy do we want to make it to join the BBB session?

Considerations:

-   It&rsquo;s easier for the checkin person to deal with only the speaker
-   We may not want people to join the Q&A session at the beginning
-   We want to make it easy for people to join the Q&A session eventually

Options:

-   PROBABLY EASIEST: Set it to anyone can join, but the meeting needs to be started by a
    moderator. Start the meeting on the day of the talk. Announce the
    BBB URL in the pad, IRC channel, and on the talk page when the host
    is ready. Maybe add a rewrite rule when the host is ready.
-   Set an access code. Announce the access code when the host is ready.
    -   Access codes are annoying to copy and paste.
    -   Access codes might get accidentally unset or regenerated.
-   Set room so that moderators have to approve waiting users.
    -   Check-in has to watch out for waiting speaker.
    -   Host sets it to accept everyone who&rsquo;s waiting when the host is ready.
    -   Changing it to turn the option off doesn&rsquo;t seem to affect an
        ongoing meeting, even though the web interface says you should be
        able to change the setting any time.
    -   Waiting users don&rsquo;t make the user notification go ding.

Change talk status to OPEN\_Q or UNSTREAMED\_Q, and change to TO\_ARCHIVE when done.
M-x emacsconf-publish-bbb-redirect to update the redirect for a single talk
M-x emacsconf-publish-bbb-redirect-all updates all the redirects


#### DONE Add nginx redirect from emacsconf.org

/ssh:front|sudo::/etc/nginx/sites-available/emacsconf.org


### DONE How do we want to name the BBB rooms?

Needs to be easy to:

-   share all the BBB rooms for a particular shift with the check-in volunteer
-   start the BBB rooms for the morning
-   match up the recordings with the talks afterwards
-   find the BBB room for a talk or speaker
-   remove all the BBB rooms for the year

ec22-sat-am-dev Speaker Name (slugs)


### SOMEDAY Do we want to make the ikiwiki web-editable?

Pain points:

-   Speakers usually ended up going through us

Options:

-   Web-editable:
    -   Speakers and general public will be able to edit it more easily
-   Git: (current)
    -   Haven&rsquo;t had a problem with spam
    -   Reduces merge conflict potential


<a id="schedule-gaps"></a>

## TODO Think about what to do with schedule gaps due to cancelled talks     :thoughts:

-   if the previous Q&A is still going, we can stream that one
-   if there are no previous Q&As running, options:
    -   just leave it on the in-between slide: no extra effort required
    -   host a breakout room in [ec22-open](https://media.emacsconf.org/current/bbb-open.html): gives people someplaco to go, might lead to interesting conversatinos
-   big gaps: consider:
    -   substitute talk
    -   rearrange conference schedule
    -   just show the IRC
    -   replay talks from previous years


### SOMEDAY Consider fillers covering conference stuff     :thoughts:


<a id="rmstedsplit"></a>

## CANCELLED Split rms into two talks?

-   Split into a separate talk:
    -   Can more easily have intros
    -   Can post the transcript to the talk page
-   Same talk, stream files:
    -   Might as well learn how to do that anyway


### DONE Figure out what to do about rms sequence

Keep it at one talk, but figure out stream files thing


<a id="roles"></a>

# Roles needed

Each role comprises different responsibilities.  A person may have multiple roles.  An organizer might take the lead for a role, but if you want to volunteer, speak up and they&rsquo;ll probably be glad to share the load.

Some roles are also described on the <https://emacsconf.org/2022/volunteer> page. If you want to encourage people to volunteer to help, add a role description there.


## During the proposal stage

The roles below are related to the proposals in the early stages of the preparation.

-   Scheduler (SCHED: sachac)
    -   Process talks as they come and find the best place for them in the timeline
    -   Keep track of availability and thematic constraints and find solutions that accommodate most
-   Reviewer
    -   Review the proposals sent to emacsconf-submit before the speaker-notification deadline
    -   Raise flags if there are problems with a proposal (e.g. too much content for the short format)
-   Listener
    -   Receive emails from emacsconf-submit
    -   Ensure that candidates are sticking to the prescribed format (esp. the 10/20/40 duration rule)
    -   Respond to people&rsquo;s requests and suggestions, pulling in other people to help as needed
-   Publisher (PUB: sachac)
    -   Set up the wiki page
-   Infrastructure
    -   Figure out streaming options
    -   Set up file upload system that speakers will use
    -   Plan other systems that people will use


## When speakers have submitted their pre-recorded videos

-   Copy to backstage as &#x2013;original.webm and &#x2013;main.webm using M-x emacsconf-upload-copy-from-json
-   Copy to res /data/emacsconf/2022
-   Start /data/emacsconf/2022/process-captions.py if it&rsquo;s not already running
-   Use ~zaeph/scripts/reencode.sh on the file as well

-   Video processor (zaeph)
    -   Standardize and compress uploaded videos
-   Caption lead (sachac)
    -   Prepare videos and starting captions for captioning volunteers
-   Captioner
    -   Edit automatically-generated captions to correct misrecognized words
    -   Nice to have: Break up the captions in better places so that subtitles are neither too long nor too short
    -   Perk: Get access to prerecorded videos
-   Quality checker
    -   Doublecheck videos for potential encoding issues or compression artifacts that get in the way of viewing
    -   Doublecheck captions
-   Tech checker
    -   Help speakers check that their system works well with BBB for live Q&A


## During the conference

-   Streamer (STREAM)
    -   Download prerecorded videos
    -   Send the combined stream to Icecast for broadcasting
-   Director (DIR: corwin) - possibly same as streamer
    -   Switch scenes, manage audio volumes as needed
    -   Provide timekeeping information to host (especially go-live countdowns)
-   Host (HOST: zaeph)
    -   Introduce talks and speakers
    -   Read questions
    -   Give time warnings
    -   Thank speakers and transition to next talk
-   Timekeeper - possibly same as host
    -   Manage time based on all available information (prerecs durations, speakers not showing up, etc.)
-   Check in (CHECK)
    -   Notice speakers checking into IRC
    -   Get them into the correct room and help them doublecheck their audio and video quality
    -   Troubleshoot as needed
    -   Notify host about next room to join
    -   Follow up with speakers who haven&rsquo;t checked in yet
    -   Check on speakers periodically so that they&rsquo;re not waiting alone
-   Questions
    -   Copy questions from IRC and the pad to wherever the host and speaker are looking
-   Pad scribe
    -   Organize and format people&rsquo;s contributions
    -   Add notes about links, key points, questions, answers
-   Accessibility (ACCESS: dto)
    -   Describe visuals in #emacsconf-accessible
    -   Nice to have: echo the captions into #emacsconf-accessible
-   Quality checker
    -   Doublecheck stream quality and audio volume
-   Publisher (PUB: sachac)
    -   Announce talks in the IRC channels
    -   Nice to have: Update the wiki page with resources (video)
    -   Nice to have: Set resources to public as each talk is played (Toobnix, YouTube)
    -   Nice to have: Update the schedule to reflect changes throughout the day


<a id="shifts"></a>

### Shifts

<a name="shifts"></a>

AM: 9-12 PM EST, PM: 1-5 PM EST (plus a little extra for setup/transition)

Saturday Dec 3

<table id="org850c9df" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">&#xa0;</th>
<th scope="col" class="org-left">Host</th>
<th scope="col" class="org-left">Streamer</th>
<th scope="col" class="org-left">Checkin</th>
<th scope="col" class="org-left">IRC</th>
<th scope="col" class="org-left">Pad</th>
<th scope="col" class="org-left">Coord</th>
</tr>
</thead>

<tbody>
<tr>
<td class="org-left">Gen AM</td>
<td class="org-left">zaeph</td>
<td class="org-left">sachac</td>
<td class="org-left">corwin</td>
<td class="org-left">dto</td>
<td class="org-left">publicvoit</td>
<td class="org-left">sachac</td>
</tr>


<tr>
<td class="org-left">Gen PM</td>
<td class="org-left">zaeph</td>
<td class="org-left">sachac</td>
<td class="org-left">FlowyCoder</td>
<td class="org-left">bandali</td>
<td class="org-left">publicvoit</td>
<td class="org-left">sachac</td>
</tr>


<tr>
<td class="org-left">Dev AM</td>
<td class="org-left">bandali</td>
<td class="org-left">sachac</td>
<td class="org-left">corwin</td>
<td class="org-left">dto</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">sachac</td>
</tr>


<tr>
<td class="org-left">Dev PM</td>
<td class="org-left">bandali</td>
<td class="org-left">sachac</td>
<td class="org-left">FlowyCoder</td>
<td class="org-left">bandali</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">sachac</td>
</tr>
</tbody>
</table>

publicvoit - pad until 4pm on Sat, until 2pm on Sun

Sunday Dec 4

<table id="orgb8c1997" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">&#xa0;</th>
<th scope="col" class="org-left">Host</th>
<th scope="col" class="org-left">Streamer</th>
<th scope="col" class="org-left">Checkin</th>
<th scope="col" class="org-left">IRC</th>
<th scope="col" class="org-left">Pad</th>
<th scope="col" class="org-left">Coord</th>
</tr>
</thead>

<tbody>
<tr>
<td class="org-left">Gen AM</td>
<td class="org-left">zaeph</td>
<td class="org-left">sachac</td>
<td class="org-left">corwin</td>
<td class="org-left">dto</td>
<td class="org-left">publicvoit</td>
<td class="org-left">sachac</td>
</tr>


<tr>
<td class="org-left">Gen PM</td>
<td class="org-left">zaeph</td>
<td class="org-left">jman</td>
<td class="org-left">FlowyCoder</td>
<td class="org-left">bandali</td>
<td class="org-left">publicvoit</td>
<td class="org-left">sachac</td>
</tr>


<tr>
<td class="org-left">Dev AM</td>
<td class="org-left">bandali</td>
<td class="org-left">sachac</td>
<td class="org-left">corwin</td>
<td class="org-left">dto</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">sachac</td>
</tr>


<tr>
<td class="org-left">Dev PM</td>
<td class="org-left">bandali</td>
<td class="org-left">sachac</td>
<td class="org-left">FlowyCoder</td>
<td class="org-left">bandali</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">sachac</td>
</tr>
</tbody>
</table>

Backups:

-   dev host/streamer: bandali, sachac
-   gen host/streamer: zaeph, sachac
-   checkin, IRC, pad: sachac

Interested in a shift? Please e-mail <mailto:emacsconf-org-private@gnu.org> and we&rsquo;ll help you figure out what you need to learn.

    `(setq emacsconf-shifts
           (list
           ,@(apply #'append
                   (mapcar
                    (lambda (day)
                      (let ((headers (mapcar (lambda (field) (intern (concat ":" (downcase field))))
                                             (cdr (car (cadr day))))))
                        (mapcar
                         (lambda (row)
                              (apply #'append
                                     (list 'list :id
                                           (when (string-match "^\\([^ ]+\\) \\(AM\\|PM\\)" (car row))
                                             (format "%s-%s-%s"
                                                     (car day)
                                                     (downcase (match-string 2 (car row)))
                                                     (downcase (match-string 1 (car row)))))
                                           :track
                                           (if (string-match "^Gen" (car row)) "General" "Development")
                                           :start
                                           (format "%sT%s:00:00%s"
                                                   (elt day 2)
                                                   (if (string-match "AM" (car row)) "08" "13")
                                                   emacsconf-timezone-offset)
                                           :end
                                           (format "%sT%s:00:00%s"
                                                   (elt day 2)
                                                   (if (string-match "AM" (car row)) "12" "18")
                                                   emacsconf-timezone-offset))
                                     (seq-map-indexed
                                      (lambda (value index)
                                        (unless (string= value "")
                                          (list (elt headers index) value)))
                                      (cdr row))))
                            (cdr (cadr day)))
                          ))
                    (list
                     (list "sat" sat "2022-12-03")
                     (list "sun" sun "2022-12-04"))))))


## After the conference

-   Video processor
    -   Extract live segments into videos
-   Captioner
    -   Add more captions
    -   Summarize Q&A
-   Publisher
    -   Post more information


<a id="infra"></a>

# Infrastructure notes


## Uh&#x2026; how should ikiwiki be set up?

-   remove the ikiwiki\_src clone from the ansible config

<https://ikiwiki.info/rcs/git/>
bare repo has a post-update hook that updates the src repo
src repo is ~ikiwiki/emacsconf
~git/repositories/pub/emacsconf-wiki.git/hooks/post-update runs ~git/repositories/pub/emacsconf-wiki.git/hooks/post-update.h00-ikiwiki-wrapper
there is an anon mirror that&rsquo;s updated with sudo -u anon /home/anon/fetch-wiki
the git wrapper is
/home/ikiwiki/hooks/emacsconf

~anon/emacsconf-wiki.git has origin  git@git.emacsconf.org:pub/emacsconf-wiki (fetch)
but git log does not have the new stuff
Where is the new stuff?
&#x2026; hah, maybe I forgot to push


## Backstage


### File suffixes, and what they correspond to

Per categories, earlier suffixes come earlier in the process.

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<thead>
<tr>
<th scope="col" class="org-left">Suffix</th>
<th scope="col" class="org-left">Description</th>
</tr>
</thead>

<tbody>
<tr>
<td class="org-left">VIDEO</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left">&#x2013;original.EXT</td>
<td class="org-left">File as submitted by speaker</td>
</tr>


<tr>
<td class="org-left">&#x2013;reencoded.webm</td>
<td class="org-left">Reencode via ffmpeg incantation</td>
</tr>


<tr>
<td class="org-left">&#x2013;final.webm</td>
<td class="org-left">Broadcast-ready reencode with normalized audio</td>
</tr>
</tbody>

<tbody>
<tr>
<td class="org-left">AUDIO</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left">&#x2013;original.EXT</td>
<td class="org-left">Extracted audio track from speaker upload; used for speech-recognition</td>
</tr>


<tr>
<td class="org-left">&#x2013;normalized.opus</td>
<td class="org-left">Normalized audio track</td>
</tr>
</tbody>

<tbody>
<tr>
<td class="org-left">SUBTITLES</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left">&#x2013;?(incomplete-)transcript</td>
<td class="org-left">Transcript provided by speaker</td>
</tr>


<tr>
<td class="org-left">&#x2013;main.EXT</td>
<td class="org-left">Broadcast-ready reencode; different formats for different uses</td>
</tr>
</tbody>
</table>


<a id="other"></a>

# Other tasks and processes

-   [Giving conf.org access to a new volunteer or fake user](#private-access)
-   [As prerecorded talks come in](#prerec-process)
-   [When a talk is captioned](#when-captioned)
-   [Other tasks before the conference](#before)
-   [During the conference](#during-conference)
-   [After the conference](#after-conference)


<a id="private-access"></a>

## Giving conf.org access to a new volunteer or fake user

This can only be done by the admins of the gitolite instance (zaeph,
or bandali as a backup). This is because the changes need to be made
in the gitolite-admin repo that can only be accessed by admins. In a
pinch, people with access to the \`orga\` user on front0 can manually
add themselves to the list of admins and manually rebuild the
instance.

Regular process:

-   Get public key from volunteer,
-   Add key under `./key/dir/`,
-   Update permissions on `./conf/gitolite.conf`,
-   Push to origin.


<a id="prerec-process"></a>

## As prerecorded talks come in

-   Sacha: Parcel out captioning work to volunteers, help them get set up
-   Volunteers: Caption pre-recorded videos (usually starting from autogenerated ones for easier work)
-   Make sure all the links/resources mentioned are written down somewhere (web page and enriched captions for pasting into #emacsconf-accessible)


### Compress the video

Usage: `compress-video.sh original-file output-file`:

(zaeph might tinker with this)

    Q=32
    ffmpeg -y -i "$1" -c:v libvpx-vp9 -b:v 0 -crf $Q -aq-mode 2 -an -tile-columns 0 -tile-rows 0 -frame-parallel 0 -cpu-used 8 -auto-alt-ref 1 -lag-in-frames 25 -g 240 -pass 1 -f webm -threads 8 /dev/null &&
    ffmpeg -y -i "$1" -c:v libvpx-vp9 -b:v 0 -crf $Q -c:a copy -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -threads 8 "$2"

We tried using q56 before, but it was a little too aggressive. Q=32 is the default and is probably a reasonable space vs. quality compromise.

2020 version used with parallel

    Q=$1
    WIDTH=1280
    HEIGHT=720
    AUDIO_RATE=48000
    VIDEO_FILTER="scale=w=${WIDTH}:h=${HEIGHT}:force_original_aspect_ratio=1,pad=${WIDTH}:${HEIGHT}:(ow-iw)/2:(oh-ih)/2,fps=25,colorspace=all=bt709:iall=bt601-6-625:fast=1"
    FILE=$2
    SUFFIX=$Q
    shift
    shift
    if [ ! -f $FILE ]; then
        wget https://mirror.csclub.uwaterloo.ca/emacsconf/2020/$FILE
    fi
    ffmpeg -y -i "$FILE"  -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -aq-mode 2 -tile-columns 0 -tile-rows 0 -frame-parallel 0 -cpu-used 8 -auto-alt-ref 1 -lag-in-frames 25 -g 240 -pass 1 -f webm -an -threads 8 /dev/null &&
    if [[ $FILE =~ "webm" ]]; then
        ffmpeg -y -i "$FILE" $*  -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -ac 2 -threads 8 -c:a copy "${FILE%.*}--compressed$SUFFIX.webm"
    else
        ffmpeg -y -i "$FILE" $*  -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -ac 2 -threads 8 -c:a libvorbis "${FILE%.*}--compressed$SUFFIX.webm"
    fi
    rm $FILE

2022 version used with parallel to compress low version

    Q=$1
    WIDTH=1280
    HEIGHT=720
    AUDIO_RATE=48000
    VIDEO_FILTER="scale=w=${WIDTH}:h=${HEIGHT}:force_original_aspect_ratio=1,pad=${WIDTH}:${HEIGHT}:(ow-iw)/2:(oh-ih)/2,fps=25,colorspace=all=bt709:iall=bt601-6-625:fast=1"
    FILE=$2
    SUFFIX=$Q
    shift
    shift
    ffmpeg -y -i "$FILE"  -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -aq-mode 2 -tile-columns 0 -tile-rows 0 -frame-parallel 0 -cpu-used 8 -auto-alt-ref 1 -lag-in-frames 25 -g 240 -pass 1 -f webm -an -threads 8 /dev/null &&
    if [[ $FILE =~ "webm" ]]; then
        ffmpeg -y -i "$FILE" $*  -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -ac 2 -threads 8 -c:a copy "${FILE%.*}--compressed$SUFFIX.webm"
    else
        ffmpeg -y -i "$FILE" $*  -pixel_format yuv420p -vf $VIDEO_FILTER -colorspace 1 -color_primaries 1 -color_trc 1 -c:v libvpx-vp9 -b:v 0 -crf $Q -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -ac 2 -threads 8 -c:a libvorbis "${FILE%.*}--compressed$SUFFIX.webm"
    fi


### sachac

-   download to local cache
    ~/proj/emacsconf/private/sync-cache
-   upload to YouTube in case we can get autogenerated subtitles from there
    <https://studio.youtube.com/channel/UCwuyodzTl_KdEKNuJmeo99A/videos/upload?filter=%5B%5D&sort=%7B%22columnType%22%3A%22date%22%2C%22sortOrder%22%3A%22DESCENDING%22%7D>
-   upload to res:~/2022/captions
-   caption.sh
-   sync-cache to copy the vtt
-   emacsconf-make-backstage-index
-   send confirmation e-mail


### Confirmation e-mail


#### DONE Make sure all submissions have been acknowledged

-   [X] sibi
-   [X] vidianos
-   [X] bhavin
-   [X] gopar
-   [X] bala
-   [X] andrea
-   [X] andrew
-   [X] zachary for asmblox (reception confirmed by zaeph, and no problem
    with video)
-   [X] ramin (ack’d by zaeph)
-   [X] abin (meain, ack’d by zaeph)


<a id="ack-prerec"></a>

#### Acknowledge pre-rec submission

    (defun emacsconf-mail-acknowledge-submission (talk &optional template)
      (interactive (list (emacsconf-complete-talk-info)))
      (save-window-excursion
        (emacsconf-with-talk-heading (plist-get talk :slug)
          (emacsconf-cache-video-data talk)
          (when (string= (plist-get talk :status) "WAITING_FOR_PREREC")
            (org-todo "TO_PROCESS"))))
      (emacsconf-publish-backstage-index)
      (emacsconf-mail-prepare
       (or template (emacsconf-mail-merge-get-template "ack-prerec"))
       (plist-get talk :email)
       (list
       :backstage "https://media.emacsconf.org/2022/backstage/"
       :backstage-user "emacsconf"
       :backstage-password emacsconf-backstage-password
       :time (plist-get talk :time)
       :title (plist-get talk :title)
       :email (plist-get talk :email)
       :minutes (plist-get talk :video-time)
       :speakers-short (plist-get talk :speakers-short)
       :url (concat emacsconf-base-url (plist-get talk :url))
       :year emacsconf-year)))


#### Template

Hi, ${speakers-short}!

Just a quick note to let you know that I&rsquo;ve downloaded your submission
for &ldquo;${title}&rdquo;. We&rsquo;ve added your submission to the backstage area at
${backstage} (username: ${backstage-user}, password:
${backstage-password}), and we&rsquo;ll post the files on your talk page
when the talk is public. A quick check shows that your video is about
${minutes} minutes long (${time} minutes budgeted).

We&rsquo;ll be working on captioning it over the next few weeks. We&rsquo;ll
e-mail again a little closer to the conference with schedule updates
and other useful information. If you want to upload a new version, you
can upload it the same way you did the previous one.

Please feel free to e-mail us at emacsconf-submit@gnu.org if you need
help updating the talk wiki page at ${url} or if you have other
questions.

Thank you so much for all the work you put into preparing a talk for
EmacsConf ${year}, and thank you for submitting the prerecorded video
before the conference!

Sacha Chua


<a id="mastering"></a>

### Mastering the prerec’s audio-track

Mastering is the process of preparing an audio-track for a purpose.  For
us, the purpose is quite simple: maximize the intelligibility of the
speaker and minimize the noise.

We can get great results with Audacity for the vast majority of
audio-tracks.  Sometimes, however, some audio-tracks have intractable
noise-profile that require the use of model-based denoising filters that
can applied with ffmpeg.

We’ll start with the average Audacity workflow, and we’ll move on to the
model-based filters after.


#### Audacity workflow

When we process a prerec, we extract the audio of the original upload
and add it to the backstage. You should be able to find it under the
name &#x2013;original.$audio\_format or &#x2013;main.$audio\_format. If it’s not
there, it’s easy to extract the audio from the original video, but
we’d prefer if you warned core-organizers about it because it’s not
normal.

We’ve simplified the process down to these steps:

1.  Open the audio file in Audacity.
    
    You might want to increase the size of the waveform by pulling on the
    bottom of the bottom of the track.
    
    [audacity-demo-noise-reduction.webm](https://media.emacsconf.org/misc/audacity-demo-noise-reduction.webm)

2.  Find a moment of quiet in the video, and select it.
    
    We ask our speakers to include 5 seconds of quiet at the beginning or
    end of their prerecs, but even if they don’t, it’s relatively.

3.  Effects → Noise Reduction → Get Noise Profile

4.  Select → All

5.  Effects → Noise Reduction → OK
    
    You can select a spoken portion of the track before applying the
    effect and preview it to test your settings.  The default are usually
    enough (Noise reduction (dB): 12, Sensitivity: 6.00, Frequency smoothing
    (bands): 3).
    
    [audacity-demo-noise-reduction.webm](https://media.emacsconf.org/misc/audacity-demo-noise-reduction.webm)

6.  Tools → Apply Macro → Alpha
    
    Before you can apply the Alpha macro, you need to save its content to
    disk and import it via Tools → Macro Manager → Import.

    Reverb:Delay="20" DryGain="5" HfDamping="99" Reverberance="15" RoomSize="70" StereoWidth="25" ToneHigh="0" ToneLow="100" WetGain="-13" WetOnly="0"
    Amplify:Ratio="1"
    FilterCurve:f0="79.621641" f1="101.02321" FilterLength="8191" InterpolateLin="0" InterpolationMethod="B-spline" v0="5.9148936" v1="0.042552948"
    Normalize:ApplyGain="1" PeakLevel="-3" RemoveDcOffset="1" StereoIndependent="1"
    Compressor:AttackTime="0.1" NoiseFloor="-50" Normalize="1" Ratio="2" ReleaseTime="1" Threshold="-30" UsePeak="0"

1.  Export → Export Audio… → Opus Files (.opus format)
    
    Use the following settings:
    
    [audacity-export-settings.png](https://media.emacsconf.org/misc/audacity-export-settings.png)
    
    > Bit Rate: 64 kbps
    > VBR Mode: On
    > Compression: 10
    > Application: Audio
    > Frame Duration: 20 ms
    > Cutoff: Disabled


#### Model-based denoising filter

If you can’t manage to get a good result with Audacity, chances are it’s
because there’s too much noise in the video, even after profile-based
denoising.  This usually happens when the noise-pattern of an
audio-track evolves over the video, or if has an aperiodic quality.  For
those, we’re going to need a bigger boat.

Model-based denoising means using an AI-generated model to remove the
audio frequencies that are usually associated to noise and preserve
those that aren’t.  A different context (e.g. noisy room with statics,
noisy room with people chatting, etc.) means a different model; for us,
this means a model that minimizes background noise and maximizes clear
voices (the speakers’).

This is the model we’ve been using:

[audio-denoiser-model-mp.rnnn](https://media.emacsconf.org/misc/audio-denoiser-model-mp.rnnn) (download link)

Source: [rnnoise-models](https://github.com/GregorR/rnnoise-models), Model: [marathon-prescription](https://raw.githubusercontent.com/GregorR/rnnoise-models/master/marathon-prescription-2018-08-29/mp.rnnn)

You should always apply the filter on the original’s audio, as opposed
to an Audacity-processed audio.  This is to ensure that we have the most
information about the signal, which means we can have gather the most
information about the noise-profile.

Following is the ffmpeg incantation to use to apply the filter-model.
Make sure to modify the `DENOISER` variable and adapt input/output.

    DENOISER="/path/to/audio-denoiser-model-mp.rnnn"
    input="original.opus"
    output="denoised.opus"
    ffmpeg -i "$input" -af "arnndn=m=$DENOISER" "$output"

There’s no need to customize the libopus export information; the default
is more than enough for human-speech.

When you’re done with this step, you can then process the outputted
audio-track with Audacity, skipping the denoising steps (1 to 5).


#### Questions?

If you’ve got any question on the process, you canget in touch with me (zaeph)!


<a id="when-captioned"></a>

## When a talk is captioned

-   Combine captions with talk
-   Upload captions to YT and Toobnix
-   Prepare captions for wiki inclusion


<a id="before"></a>

## Other tasks before the conference

-   Coordinate volunteer schedules so all the roles are covered


### Test stream setup

[Stream](#other-streams)


<a id="mpv-captions"></a>

### Set up MPV for captions

mpv.conf profile tips are now at <https://emacsconf.org/mpv/> .


#### Suggested font: Clear Sans

Links:

-   tar.gz with all fonts: [from zaeph&rsquo;s server](https://zaeph.tk/files/emacsconf/captions/fonts.tar.gz) (more convenient)
-   WOFF from GitHub repo: [clear-sans/WOFF at main · intel/clear-sans](https://github.com/intel/clear-sans/tree/main/WOFF)


### Download prerecorded videos from ${protected}

-   STREAM: Download prerecorded videos from ${protected}
    
        rsync -avzue ssh front:/var/www/media.emacsconf.org/2021/protected/*--main.webm .


<a id="during-conference"></a>

## During the conference


### Set up


#### Arrange screens

-   CHECK:
    -   Share ${upcoming}, ${playbook}, and ${conf} via CRDT: `conf-crdt-connect-and-share`
        -   Current schedule, filenames/commands for playing, Q&A preference, IRC nick, pronunciation, intro notes, prerec duration, emergency contact information
        -   `conf-upcoming-add-subtree`
    -   Have #emacsconf-org, #emacsconf, #emacsconf-accessible, and #emacsconf-questions open
    -   Use `/opall` to get op privileges in all the channels
    -   Start backup process for pad
        
            while true; do
                curl https://etherpad.wikimedia.org/p/emacsconf-2021/export/html > emacsconf-$(date +"%Y%m%d-%H%M%S").html
              sleep 15m
            done
    -   Computer for alternate streaming:
        -   Open browser for joining BBB
        -   Open MPV for playing <http://live0.emacsconf.org:8000/main.webm>
-   HOST:
    -   rsync the newest &#x2013;main.webm from front: rsync -avze ssh front:/var/www/media.emacsconf.org/2021/protected/\*&#x2013;main.webm .
    -   Check OBS scenes for sharing windows/tabs as a virtual camera:
        -   chat.emacsconf.org with #emacsconf
        -   Etherpad
        -   Schedule
        -   next talk page
        -   Clock with current time on screen: `watch TZ=America/Toronto date`
    -   Set up backchannel for easy viewing
        -   ${upcoming}
        -   \#emacsconf-org and #emacsconf channels
    -   (?) Join organizer room S


#### Start streaming     :stream:

-   HOST: Display getting-ready message and start streaming to main.webm
-   HOST: Confirm that the stream is live at <https://live.emacsconf.org/main.webm>
-   B: Update ${status} to say that the stream is live
-   CHECK: Start low-resolution stream, confirm at <https://live.emacsconf.org/main-480p.webm>
    Call this on live0 with $CONF480PASS as the first parameter. The Icecast configuration is on `live0` at <file:///ssh:live|sudo:/etc/icecast2/icecast.xml>=.
    
        PASS=$1
        while true; do ffmpeg -loglevel 24 -f webm -reconnect_at_eof 1 -reconnect_streamed 1  -re -i http://localhost:8000/main.webm -vf scale=854:480 -f webm -c:a copy -b:v 500k -maxrate 1M -bufsize 1M  -content_type video/webm -c:v libvpx icecast://ec2020main480pmu:$PASS@localhost:8000/main-480p.webm; done
-   CHECK: Start Youtube and Toobnix streams. Call this with $YOUTUBE1PASS, $YOUTUBE2PASS, or $TOOBNIX as the parameter
    
        MOUNT=$1
        while true; do ffmpeg -loglevel 24 -i http://localhost:8000/main.webm -cluster_size_limit 2M -cluster_time_limit 5100 -b:v 1M -crf 30 -g 125 -deadline good -threads 4 -vcodec libx264 -acodec libmp3lame -f flv $MOUNT; done
-   CHECK: Verify YouTube and Toobnix streams and the CPU load on live0.
-   CHECK: Set the YouTube and Toobnix streams to public.
-   B: Verify with #emacsconf that the stream is active.
-   CHECK: Play main stream on alternate laptop. Start alternate stream and verify. Update ${status}.
-   CHECK: Announce on Twitter (@emacs, @emacsconf, @sachac) and in #emacs
    EmacsConf 2021 starting now: <https://emacsconf.org/2021/>


<a id="other-streams"></a>

##### Stream


###### Low-res stream

Needs the `$main480p` environment variable set to something of the form `icecast://username:password@site:port/mount-point.webm`. Icecast configuration can be found on `live0` at `/etc/icecast2/icecast.xml`. It was okay to run this command directly on `live0` in 2020, since that kept the speed at roughly 1x.

    while true; do ffmpeg -f webm -reconnect_at_eof 1 -reconnect_streamed 1  -re -i http://localhost:8000/main.webm -vf scale=854:480 -f webm -c:a copy -b:v 500k -maxrate 1M -bufsize 1M  -content_type video/webm -c:v libvpx  $main480p done


###### Youtube


###### Toobnix


###### DONE Add IRC links to YouTube and Toobnix descriptions


### Check in a speaker

Exception: [CHECK is unavailable](#check-gone)

-   Speaker checks in on #emacsconf-org via IRC or via e-mail ~30m before
-   CHECK notes IRC nick for speaker.
-   CHECK confirms Q&A preference: live/IRC/Etherpad, preferred way of getting questions
-   [? unknown] Thanks for checking in! How would you like to handle Q&A
    today - live video, the collaborative Etherpad at
    <https://etherpad.wikimedia.org/p/emacsconf-2021> , or IRC (like
    this)?
-   [? IRC] Thanks for checking in! Feel free to keep an eye on
    \#emacsconf for questions and discussion, and we&rsquo;ll copy things from
    the pad to there. If the volume gets overwhelming, let us know and
    we can forward questions to #emacsconf-questions for you. If you&rsquo;d
    like to try Q&A over live video or the collaborative pad instead, or
    if you need help, please let us know.
-   [? Etherpad] Thanks for checking in! The collaborative pad we&rsquo;ll be
    using for questions is at
    <https://etherpad.wikimedia.org/p/emacsconf-2021> . We&rsquo;ll collect
    questions from #emacsconf and put them there. If you&rsquo;d like to jump
    to your part of the document, you might be able to keep an eye on
    questions. Please let us know if you need help, or if you want to
    switch to live Q&A.
-   [? live] Thanks for checking in! I&rsquo;ll send you some private messages
    with instructions, so please check there. Let me know if you don&rsquo;t
    get them.
    -   Private messages:
        -   (erc-message &ldquo;PRIVMSG&rdquo; (format &ldquo;%s You can use this BBB room: %s . I&rsquo;ll join you there shortly to set up the room and do the last-minute tech check.&rdquo; nick room-url))
        -   (erc-message &ldquo;PRIVMSG&rdquo; (format &ldquo;%s The collaborative pad we&rsquo;ll be using for questions is at %s . We&rsquo;ll collect questions from #emacsconf and put them there. If you&rsquo;d like to jump to your part of the document, you might be able to keep an eye on questions. Alternatively, we can read questions to you.&rdquo; nick conf-collaborative-pad))
        -   (erc-message &ldquo;PRIVMSG&rdquo; (format &ldquo;%s Leo Vivier will join when it&rsquo;s time, and he will give you the go-ahead when it&rsquo;s time to present. See you in the BBB room!&rdquo; nick))
    -   CHECK directs speaker to available room with `/checkin <room> <nick>`
    -   Speaker joins talk room
    -   CHECK makes speaker presenter and moderator, does last-minute tech check
        -   Hello, thanks
        -   Speaker tries screen sharing and webcam (optional)
        -   check screen readability
        -   CHECK briefs speaker on process, including:
            -   live Q&A: reading questions themselves (can do in any order,
                can skip; coach possible responses for awkward things) or asking HOST to read questions to them
                -   HOST can share the pad or IRC; speaker shares screen only if doing demo
            -   encouragement of webcam, although it&rsquo;s optional
            -   how HOST will join shortly before the prerec ends and then
                give them the go-ahead
            -   closing any tabs watching the stream as their talk starts
                (otherwise the audio is confusing)
        -   If the speaker will be giving a live presentation, CHECK
            collects emergency contact information (in case of technical
            issues) and shares it with HOST in the CRDT buffer
        -   Okay to do other things until the prerec ends
    -   CHECK updates ${upcoming} with link to the talk room and
        preferences for Q&A-. CHECK will also /msg the relevant
        information.


#### bandali&rsquo;s check-in steps

-   please leave webcam quality on &rsquo;medium&rsquo;
-   please read each audience question out loud before responding
-   please mute stream on your machine if you&rsquo;re watching
-   would you like to stay around for a longer q&a?
-   would you like to share your webcam or screen? (quickly mention how)


### Present talk

-   CHECK announces the next talk on IRC and marks the previous talk as done. (`conf-announce`)
-   PAD clears pad colours.
-   [? prerec]
    -   HOST switches to MPV scene in OBS and plays the video (with captions if available).
        -   Exception: [Last-minute prerecording submission](#last-minute-prerec)
        -   Exception:
    -   [CHECK publishes information](#publish)
    -   [HOST gets a head start on handling Q&A](#questions)
    -   When prerec finishes, HOST switches the OBS scene to show BBB.
-   [? live]
    -   Exception: [Speaker does not have a prerec and has not checked in](#really-missing)
    -   HOST joins the BBB room and double-checks that recording is on.
    -   CHECK-alternate joins the BBB room and pauses main MPV.
    -   HOST switches to OBS scene for BBB.
    -   Speaker presents.
        -   Exception: [Technical issues during a live presentation](#live-issues)
    -   [? talk needs to be wrapped up]
        -   HOST nudges speaker verbally.


### Publish information

-   CHECK updates the schedule in:
    -   ${conf}
    -   ${upcoming}
    -   wiki
-   CHECK publishes the video to media.emacsconf.org using `conf-publish-files`
-   CHECK commits the wiki page and the captions for the talk.
-   CHECK publishes the video on YouTube and ToobNix using `conf-video-share`.
    -   Update description:
        
            This video is available under the terms of the
            Creative Commons Attribution-ShareAlike 4.0 International (CC
            BY-SA 4.0) license.
            
            You can view it using free and open source software at
            ${url}
            
            ${description}
    -   Mark it as public.
    -   Add it to EmacsConf 2021 playlist.
    -   Update title and description.
    -   Mark it as public.
    -   Doublecheck subtitles
    -   Add it to the EmacsConf 2021 playlist.
-   [? live sections]
    -   CHECK does a rough-cut of the recording from ${dump} to get the last X minutes or by time range. There&rsquo;s about a 1-2 minute delay.
        Ex: `(kill-new (conf-dump-get "alt" "10:24" "10:30" "qa_"))`
    -   When there&rsquo;s an opportunity to do so:
        -   CHECK finetunes the rough-cut recording (trim start and end) and posts it to:
            -   media.emacsconf.org/2021
            -   wiki page for talk


#### DONE Automatically commit to the wiki

when emacsconf-publish-autocommit-wiki is set

(emacsconf-publish-update-talk (append (list :public t) (emacsconf-resolve-talk &ldquo;journalism&rdquo;)))
(emacsconf-publish-update-talk (append (list :public nil) (emacsconf-resolve-talk &ldquo;journalism&rdquo;)))


#### DONE Make sure VTTs only get published when they&rsquo;re edited


##### publishing


##### webm


##### media directory


#### DONE Fix mapconcat error in updating task status


#### DONE Add intros to wiki pages


#### SOMEDAY Cache video data - audio processed?


#### DONE Cache video data - edited captions


##### DONE Double-check that all the edited captions have the header

    (mapcar (lambda (o)
    					(plist-get o :slug))
    				(seq-filter
    				 (lambda (o) (and
    											(string= (plist-get o :status) "TO_STREAM")
    											(null (plist-get o :captions-edited))))
    				 (emacsconf-get-talk-info)))


#### DONE Automatically commit and push the wiki


#### DONE Set publishing on a timer     :sachac:


##### DONE Single timer, batch timers for playing and closed q

(emacsconf-stream-schedule-timers)


##### DONE Take intro into account for scheduling q&a time


##### TODO Test the timer

    (let ((info (emacsconf-inflate-sexp '(journalism 


#### DONE Simplify manual setting of a timer to update task status     :sachac:

emacsconf-stream-schedule-talk-status-change


#### DONE Rename update-task-status.sh to talk     :sachac:


#### DONE make sure captions are included on the wiki page


#### DONE Set public based on time, expose more interactive functions     :sachac:

so that the wiki doesn&rsquo;t have to depend on synchronized conf.org state

    (cl-assert
     (plist-get
    	(emacsconf-add-talk-status (list :start-time (date-to-time "2022-01-01T12:00:00-0400")))
    	:public))
    (cl-assert
     (null
    	(plist-get
    	 (emacsconf-add-talk-status (list :start-time (date-to-time "2030-01-01T12:00:00-0400")))
    	 :public)))
    (cl-assert
     (plist-get
    	(emacsconf-add-talk-status (list :start-time (date-to-time "2030-01-01T12:00:00-0400")
    																	 :status "PLAYING"))
    	:public))


#### TODO figure out if we need to adapt to org-time-stamp-formats change removing brackets


### Handle Q&A

Exceptions:

-   [Speaker has not checked in](#missing)

-   [? live]
    -   CHECK-alternate joins the BBB room and pauses MPV.
    -   HOST joins the BBB room
    -   HOST starts recording in BBB or confirms that it&rsquo;s already recording
    -   HOST switches to the BBB scene in OBS.
    -   HOST describes how to ask questions.
    -   [? No questions yet]
        -   HOST thanks speaker, says nice things about talk, and asks a couple of prepared questions
    -   [? Awkward question]
        -   HOST can try rephrasing the question.
        -   HOST adds note to IRC/Etherpad that speakers can answer in any order, skip questions, answer afterwards, etc.
    -   [? Q&A needs to be wrapped up]
        -   HOST writes in Etherpad/IRC or nudges speaker verbally.
    -   CHECK notes the time that the live Q&A finished and switches back to the main stream on CHECK-alternate.
-   [? IRC/pad]
    -   HOST switches to pad/chat OBS scene.
    -   HOST describes Q&A method and shows it on the screen.
    -   While there&rsquo;s buffer time before the next talk, HOST can read out
        questions and answers, or transition to the next talk early
    -   HOST: It&rsquo;s time for the next talk, but if you want to keep
        discussing the previous talk, please feel free to continue doing
        so on IRC or the pad.
-   [? speaker will answer after the conference]
    -   HOST switches to pad/chat OBS scene.
    -   HOST says the speaker is not available right now, but we&rsquo;ll
        forward the questions to the speaker and we&rsquo;ll post the speaker&rsquo;s
        answers on the wiki page. Leave your contact information if you
        want to be notified, or subscribe to the emacsconf-discuss mailing
        list to get the announcement. Please feel free to continue
        discussing the talk on IRC or the pad.
-   [Present next talk](#present)

\*


### During each talk

-   Volunteers: post links/resources/descriptions/captions (depending on your level of energy) to #emacsconf-accessible
-   Volunteers: making sure questions get posted somewhere the speaker can see them


### Break time

-   CHECK marks the last talk as done. `conf-end-current-talk`
-   CHECK stops and restarts the Toobnix restreaming process, and re-checks the stream
-   CHECK uses `conf-upcoming-add-subtree` to add the afternoon talks to upcoming.org
-   HOST doublechecks network transfer limit and server health


### End of stream

-   CHECK removes live Q&A links
-   CHECK stops ffmpeg process for Youtube
-   CHECK stops ffmpeg process for Toobnix
-   CHECK stops ffmpeg process for main-480p
-   STREAM stops streaming
-   B updates the status pages
-   bandali figures out the downstream


<a id="after-conference"></a>

## After the conference


### Send thanks

[Thank you, next steps](#thanks)


### Extract the opening and closing remarks


### Extract the Q&A recordings, trimming as needed

From <https://bbb.emacsverse.org/b/admins/recordings>

    console.log([...document.querySelectorAll('.email-link')].map((o) => '| ' + o.closest('tr').querySelector('time').getAttribute('datetime') + ' | ' + o.closest('tr').querySelector('#recording-text').innerHTML.trim() + ' | ' + o.getAttribute('data-pres-link').trim() + ' |').join('\n'))

Make an `ids.txt` with the IDs extracted from BBB.

In the same directory:

    while read p; do
        mkdir -p "$p";
        cd "$p";
        wget "https://bbb.emacsverse.org/presentation/${p}/slides_new.xml"			\
             "https://bbb.emacsverse.org/presentation/${p}/video/webcams.webm"		\
             "https://bbb.emacsverse.org/presentation/${p}/deskshare.xml"			\
             "https://bbb.emacsverse.org/presentation/${p}/deskshare/deskshare.webm"	\
             "https://bbb.emacsverse.org/presentation/${p}/metadata.xml"
        cd ..;
    done <ids.txt

Resource explanation:

-   **slides\_new.xml:** Text chat
-   **webcams.webm:** Webcam as video stream, also has audio
-   **deskshare.xml:** start and stop time of desktop sharing, if any
-   **deskshare.webm:** Shared desktop as video
-   metadata.xml

Probably focus on grabbing the audio first and seeing what&rsquo;s worth keeping

    (defun emacsconf-extract-chat (slug speaker)
      (interactive (list
                    (emacsconf-complete-talk)
                    (completing-read "Speaker: "
                                     (seq-uniq
                                      (mapcar (lambda (node) (dom-attr node 'name))
                                              (dom-by-tag (xml-parse-region (point-min) (point-max)) 'chattimeline)))
                                     )))
      (let ((text
             (mapconcat (lambda (node)
                          (when (string= (dom-attr node 'target) "chat")
                            (let ((message
                                   (replace-regexp-in-string
                                    "\\(^[^ +]?\\): " ""
                                    (replace-regexp-in-string "<a href=\"\\(.+?\\)\" rel=\"nofollow\"><u>\\(.+?\\)</u></a>"
                                                              "<\\1>" (dom-attr node 'message)))))
                              (if (string-match speaker (dom-attr node 'name))
                                  (format "- %s: %s\n" speaker message)
                                (format "- %s\n" message)))))
                        (dom-by-tag (xml-parse-region (point-min) (point-max)) 'chattimeline)
                        "")))
        (emacsconf-edit-wiki-page slug)
        (if (re-search-forward "# Discussion" nil t)
            (progn
              (goto-char (match-end 0))
              (insert "\n\n"))
          (goto-char (point-max)))
        (kill-new text)))
    ;; TODO: Combine lines from same nick, or identify speakers with anon1/2/etc.
    (defun emacsconf-extract-chat-from-dired ()
      (interactive)
      (find-file (expand-file-name "slides_new.xml" (dired-get-file-for-visit)))
      (call-interactively 'emacsconf-extract-chat))

    (defun emacsconf-make-webcams-deskshare-spans (deskshare start-ms stop-ms strategy source-dir)
      (let ((secs (/ start-ms 1000.0))
            (webcam-video (expand-file-name "webcams.webm" source-dir))
            (deskshare-video (expand-file-name "deskshare.webm" source-dir))
            spans)
        (mapc (lambda (o)
                (unless (or (= secs (string-to-number (dom-attr o 'start_timestamp)))
                            (= (string-to-number (dom-attr o 'start_timestamp)) 0)
                            (> secs (/ stop-ms 1000.0)))
                  (setq spans (cons (list :source webcam-video
                                          :start-ms (* secs 1000)
                                          :stop-ms
                                          (* 1000
                                             (if (eq strategy 'test)
                                                 (+ secs 3)
                                               (max secs (string-to-number (dom-attr o 'start_timestamp))))))
                                    spans)))
                (when (and (<= (string-to-number (dom-attr o 'start_timestamp))
                               (/ stop-ms 1000.0))
                           (>= (string-to-number (dom-attr o 'stop_timestamp))
                               (/ start-ms 1000.0)))
                  (setq spans (cons (list :source deskshare-video
                                          :start-ms (max (* 1000 (string-to-number (dom-attr o 'start_timestamp)))
                                                         start-ms)
                                          :stop-ms
                                          (if (eq strategy 'test)
                                              (* 1000 (+ (string-to-number (dom-attr o 'start_timestamp)) 3))
                                            (min (* 1000 (string-to-number (dom-attr o 'stop_timestamp)))
                                                 stop-ms)))
                                    spans))
                  (setq secs (string-to-number (dom-attr o 'stop_timestamp)))))
              (dom-by-tag deskshare 'event))
        (unless (>= (floor (* secs 1000)) stop-ms)
          (setq spans (cons (list :source webcam-video
                                  :start-ms (* 1000 secs)
                                  :stop-ms (if (eq strategy 'test)
                                               (* 1000 (+ secs 3))
                                             stop-ms))
                            spans)))
        (if (eq strategy 'test)
            `((video ,@(reverse spans))
              (audio ,@(mapcar (lambda (o)
                                 (list :source webcam-video
                                       :start-ms (plist-get o :start-ms)
                                       :stop-ms (plist-get o :stop-ms)))
                               (reverse spans))))
          `((video ,@(nreverse spans))
            (audio (:source ,webcam-video :start-ms ,start-ms :stop-ms ,stop-ms))))))
    
    (defun emacsconf-get-ffmpeg-to-splice-webcam-and-recording (slug start-ms stop-ms info &optional strategy)
      "Return FFMPEG command for slicing.
    Strategies:
    - 'fast-cut-start-keyframe - find the keyframe before the start ms and cut from there, doing a fast copy.
    - 'start-keyframe-and-reencode - find the keyframe before the start ms and cut from there, reencoding.
    - 'cut-and-concat - seek to the keyframe before, slowly find the start-ms, reencode the snippet, and then do a fast copy of the remaining. May have encoding errors.
    - default: copy from start-ms to stop-ms, reencoding.
    "
      (let* ((source-dir (expand-file-name (concat "../questions/by-slug/" slug) emacsconf-captions-directory))
             (video-slug (plist-get (seq-find (lambda (o) (string= (plist-get o :slug) slug)) info) :video-slug))
             (output (expand-file-name (concat video-slug "--answers.webm") emacsconf-captions-directory))
             (webcam-video (expand-file-name "webcams.webm" source-dir)))
        (if (file-exists-p (expand-file-name "deskshare.webm" source-dir))
            ;; Has deskshare
            (let* ((deskshare (xml-parse-file (expand-file-name "deskshare.xml" source-dir)))
                   (final-size (compile-media-max-dimensions
                                (expand-file-name "deskshare.webm" source-dir)
                                (expand-file-name "webcams.webm" source-dir)))
                   (duration (compile-media-get-file-duration-ms (expand-file-name "webcams.webm" source-dir)))
                   (spans (emacsconf-make-webcams-deskshare-spans deskshare start-ms stop-ms strategy source-dir))
                   (compile-media-output-video-width (car final-size))
                   (compile-media-output-video-height (cdr final-size)))
              (compile-media-get-command spans output))
          ;; Just webcams
          (compile-media-get-command
           (compile-media-split-tracks
            (list (list :source webcam-video :start-ms start-ms :stop-ms stop-ms)))
           output))))

Make a table of the form

<table id="org91443f7" border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">Start</td>
<td class="org-left">End</td>
<td class="org-left">Slug</td>
<td class="org-left">Notes</td>
<td class="org-left">URL</td>
<td class="org-left">Timestamp</td>
</tr>
</tbody>
</table>

    (defun emacsconf-process-qa-recordings (qa dir)
    ;; (setq conf-qa-recordings qa)
    ;; (memoize 'conf-ffmpeg-get-closest-keyframe-in-msecs)
    ;; (memoize 'conf-ffmpeg-get-keyframes-between)
    ;; (memoize 'conf-video-dimensions)
    ;; (memoize 'compile-media-get-file-duration-ms)
    ;; (memoize-restore 'conf-ffmpeg-get-keyframes-around)
    
    (let ((info (emacsconf-get-talk-info)))
      (replace-regexp-in-string
       "captions/" "answers-slow/"
      (replace-regexp-in-string
       dir ""
       (string-join
        (nreverse
         (sort
          (delq nil
          (mapcar
           (lambda (o)
             (when (> (length (car o)) 0)
               (emacsconf-get-ffmpeg-to-splice-webcam-and-recording
                (elt o 2)
                (compile-media-timestamp-to-msecs (elt o 0))
                (compile-media-timestamp-to-msecs (elt o 1))
                info)))
    ;       (seq-take qa 2)                                 
           qa
           ))
          (lambda (a b) (string-match "trim" a))))   
        "\n")))))


### Update the wiki


### Update captions

-   Merge them into the video with `add-captions.sh`
    
        #!/usr/bin/zsh
        BASE="${1%.*}"
        BASE="${BASE%--main}"
        ffmpeg -y -i "$1" ${BASE}--main.vtt
        if [ -f "${BASE}--normalized.webm" ]; then
           ffmpeg -y -i "$1" -i "${BASE}--normalized.webm" -c:a copy -c:v copy "${BASE}--captioned.webm"
        else  
           ffmpeg -y -i "$1" -i "${BASE}--compressed.webm" -c:a copy -c:v copy "${BASE}--captioned.webm"
        fi
        cp ${BASE}--main.vtt ${BASE}--chapters.vtt ~/vendor/emacsconf-wiki/2021/captions
        scp "${BASE}--captioned.webm" "${BASE}--main.webm"
        scp "${BASE}--main.webm" front:~/protected
        scp "${BASE}--main.vtt" front:~/protected
        scp "${BASE}--chapters.vtt" front:~/protected
        ssh front 'cd protected; chmod ugo+r *'
-   Update Toobnix and Youtube captions with `conf-video-share`.
-   Update Toobnix and Youtube descriptions with chapters.
-   Update ${conf-year}/${captions}/${slug}.md in the wiki. To make this from scratch, use `M-x conf-prepare-transcript-directives` from the talk heading in the conference Org file.


### BLOCKED Downsize the server     :bandali:


<a id="exceptions"></a>

# In case of

See <https://pad.emacsconf.org/premortem> for more.

-   [Common broadcast (gen and dev)](#common):stream:
-   [Stream OBS needs to be restarted](#obs-restart):stream:
-   [Stuck wiki](#ikiwiki-stuck):publish:
-   [Cancelled talk](#cancelled):schedule:
-   [Last-minute prerecording submission](#last-minute-prerec):upload:
-   [Technical issues during a live presentation](#live-issues):stream:
-   [Big technical issues with streaming](#stream-issues):stream:
-   [Last-minute caption or file update](#last-minute-captions):upload:
-   [Pad malfunction or mess-up](#pad-broken):infra:
-   [Speaker has not checked in](#missing):sched:
-   [Speaker does not have a prerec and has not checked in](#really-missing):sched:
-   [Conduct guidelines issue](#conduct):host:
-   [CHECK is unavailable](#check-gone)
-   [HOST is unavailable](#host-gone)
-   [live0 can&rsquo;t handle the load or is close to network transfer limit](#network)
-   [People have a hard time seeing dark-mode presentations (or light-mode)](#dark-mode)
-   [Schedule update](#update-sched):sched:
-   [New talk](#new-talk):sched:
-   [In case we need to do things manually because the task status hooks don&rsquo;t work](#manual)
-   [Alternate stream volunteer wants to stream](#alternate)
-   [Video playing error, need to play with mpv manually](#play-mpv-manually):stream:
-   [Shift changes](#orgbd898c0)
-   [Need to restart 480p stream](#restart-480p):stream:
-   [Renamed talk](#renamed):sched:


<a id="common"></a>

## Common broadcast (gen and dev)     :stream:

Options:

-   mpv <https://live.emacsconf.org/emacsconf/gen.webm>
-   mpv the same video
-   join the BBB room

emacsconf-stream-rebroadcast - specify the source track

[Development -> General]((emacsconf-stream-rebroadcast "Development" "General"))
[General -> Development]((emacsconf-stream-rebroadcast "General" "Development"))


<a id="obs-restart"></a>

## Stream OBS needs to be restarted     :stream:

-   ssh to the track and run `track-obs`
-   ssh to live0.emacsconf and run whatever&rsquo;s appropriate:
    
        screen -S restream-test-toobnix -X quit; screen-restream-test-toobnix.sh
        screen -S restream-test-youtube -X quit; screen-restream-test-youtube.sh
        screen -S restream-gen-toobnix -X quit; screen-restream-gen-toobnix.sh
        screen -S restream-gen-youtube -X quit; screen-restream-gen-youtube.sh
        screen -S restream-dev-toobnix -X quit; screen-restream-dev-toobnix.sh
        screen -S restream-dev-youtube -X quit; screen-restream-dev-youtube.sh
-   check if the streams are all right


<a id="ikiwiki-stuck"></a>

## Stuck wiki     :publish:

sudo -iu ikiwiki &#x2013; ikiwiki &#x2013;setup ~ikiwiki/emacsconf.setup


<a id="cancelled"></a>

## Cancelled talk     :schedule:

1.  Update conf.org to mark the talk as cancelled.
2.  Update the `schedule-choices` block to fix the time for the following talk, or recalculate all the schedules. Check for any validation errors in the `:results:` block.
3.  When you&rsquo;re happy with the schedule, run the `draft-schedule` block.
4.  Update the talk page to add CANCELLED to the title.
5.  Publish the wiki and doublecheck it.
    -   Talk gone from the schedule?
    -   Talk listed among the cancelled talks?
    -   Talk page has cancelled info?
6.  Remove the talk from the [one-track emergency schedule](#one-track)


<a id="last-minute-prerec"></a>

## Last-minute prerecording submission     :upload:

-   COORD will copy it from the FTP upload server to orga@res.emacsconf.org:~/stream -p 46668 and name it appropriately.
-   COORD will notify STREAM with the scp command and the mpv command so that STREAM can choose.


<a id="live-issues"></a>

## Technical issues during a live presentation     :stream:

-   HOST tries to contact the speaker
-   [? back on track]
    -   [? can be squeezed into remaining time]: Continue
    -   [? need extra time]: CHECK fiddles with buffer of following talks in conf.org and updates schedule
    -   [? need too much extra time (ex: 10min)]: HOST acknowledges
        technical issues and says we may be able to follow up after the
        conference
-   [? can&rsquo;t resume]: HOST acknowledges technical issues and says we may
    be able to follow up after the conference


<a id="stream-issues"></a>

## Big technical issues with streaming     :stream:

<file://ssh:orga@front0.emacsconf.org:/var/www/status.emacsconf.org/index.html>

-   HOST notifies #emacsconf and #emacsconf-org and adds a note at the top of the ${pad}.
-   HOST updates the 2022.md wiki page
-   CHECK publishes prerecordings
    -   media.emacsconf.org
    -   wiki
    -   Toobnix
    -   Peertube
-   STREAM e-mails the mailing list


<a id="last-minute-captions"></a>

## Last-minute caption or file update     :upload:

-   CHECK uploads the &#x2013;main.vtt file to orga@res.emacsconf.org:~/stream -p 46668
-   If streaming locally, STREAM copies the VTT file and loads it into MPV with `--sub-file`

ssh orga@media.emacsconf.org
cd backstage; make all

ssh orga@res.emacsconf.org -p 46668
~/cache/update-cache
cd ~/stream
cp ~/cache/\*$SLUG\*&#x2013;main.webm .


<a id="pad-broken"></a>

## Pad malfunction or mess-up     :infra:

-   PAD resets the pad using the time slider
-   [? still not recovered]
    -   PAD reimports the pad from backup


<a id="missing"></a>

## Speaker has not checked in     :sched:

-   Let the previous talk run a little longer for Q&A; end at least in time for the prerec
-   After the previous Q&A wraps up, play the prerec
-   [? still not around after prerec finishes]
    -   HOST: Speaker might be having some difficulty connecting, but we&rsquo;ll collect your questions on the pad and send them afterwards.
    -   Show the questions and discussion, invite people into the Q&A to talk about the talk. They can share their experiences and comments.


<a id="really-missing"></a>

## Speaker does not have a prerec and has not checked in     :sched:

-   Let the previous talk do extended Q&A
-   Close to the time of the missing talk:
    -   See if any of the previous speakers want to be set up for an impromptu talk/extension in a BBB room, just in case
    -   HOST: The next speaker might be having some difficulty connecting. In the meantime, let&rsquo;s&#x2026;
        -   OR:
            -   highlight ongoing discussions
            -   invite another speaker for an impromptu extension; mplsCorwin will keep a list of possible speakers who are still active
            -   replay a short prerec
            -   let mplsCorwin or zaeph fill in


<a id="conduct"></a>

## Conduct guidelines issue     :host:

-   [? IRC]: IRC operator addresses it with a reminder and/or a kick or a ban
-   [? not resolved, or onscreen]
    -   HOST addresses it (on-camera if needed) with a reminder and/or a kick or a ban


<a id="check-gone"></a>

## CHECK is unavailable

-   COORD or STREAM does check-ins
-   HOST refers to the shift pad for Q&A preference etc.
-   STREAM checks ~/stream for prerec filenames etc.
-   Dropped goals:
    -   Publishing recordings ASAP
    -   Updating schedule/wiki on the fly


<a id="host-gone"></a>

## HOST is unavailable

-   STREAM will do the hosting.


<a id="network"></a>

## live0 can&rsquo;t handle the load or is close to network transfer limit

-   OR:
    -   Redirect some viewers via asking in #emacsconf:
        -   watch via main-480p
        -   watch via Toobnix
    -   Consider dropping the restream to Toobnix (lower audience?) or to Youtube
    -   Add additional node to Linode account for shared transfer pool (TODO: doublecheck)


<a id="dark-mode"></a>

## People have a hard time seeing dark-mode presentations (or light-mode)

mpv &#x2013;vf=negate $url


<a id="update-sched"></a>

## Schedule update     :sched:

-   Test the new schedule using the blocks near the beginning of conf.org
-   emacsconf-publish-update-schedule
-   E-mail affected speakers - see emacsconf-mail-schedule-update function


<a id="new-talk"></a>

## New talk     :sched:

-   Create entry in conf.org
-   Fit it into the schedule using the emacsconf-schedule-plan variable
-   When happy, execute the draft-schedule block to update the SCHEDULED properties
-   emacsconf-generate-talk-page
-   emacsconf-update-schedule
-   emacsconf
-   emacsconf-stream-generate-assets-for-talk


<a id="manual"></a>

## In case we need to do things manually because the task status hooks don&rsquo;t work

export SLUG=the ID of the talk

-   [TO\_STREAM -> PLAYING](#org8aa6d0e):stream:
-   [CLOSED\_Q -> OPEN\_Q](#open)
-   [OPEN\_Q -> TO\_ARCHIVE](#archive)


<a id="org8aa6d0e"></a>

### TO\_STREAM -> PLAYING     :stream:

play slug  (ex: play journalism)


<a id="open"></a>

### CLOSED\_Q -> OPEN\_Q

Example for mail talk:

STATE=open; ssh orga@media.emacsconf.org &ldquo;cp *home/orga/backstage/assets/redirects/$STATE/bbb-$SLUG.html /home/orga/2022/current*&rdquo;


<a id="archive"></a>

### OPEN\_Q -> TO\_ARCHIVE

Example for mail talk:

STATE=after; ssh orga@media.emacsconf.org &ldquo;cp *home/orga/backstage/assets/redirects/$STATE/bbb-$SLUG.html /home/orga/2022/current*&rdquo;

If you need to reset the state:

STATE=before; ssh orga@media.emacsconf.org &ldquo;cp *home/orga/backstage/assets/redirects/$STATE/bbb-$SLUG.html /home/orga/2022/current*&rdquo;


<a id="alternate"></a>

## Alternate stream volunteer wants to stream

-   CHECK gives ALTERNATE the BBB room URL for the talk they are interested in
-   ALTERNATE starts streaming to assigned end point
-   CHECK confirms stream
-   CHECK updates ${stream-status}
-   CHECK notifies STREAM and HOST
    -   After prerec plays:
        -   HOST: This talk has an extended demo/Q&A. You can go to ${alternate-url} to watch it, and we&rsquo;ll post a recording afterwards.
        -   HOST sends ${alternate-url} to IRC: Alternate stream for ${title}: ${alternate-url}
-   ALTERNATE notifies #emacsconf-org when the stream is done.
-   CHECK updates ${stream-status} to note that the alternate stream is finished.
    
    FFMPEG process for sending the desktop and audio to the $CONFALT mountpoint on Linux with X11 and Alsa:
    
    1.  Set the CONFALT environment variable to icecast://user:password@live0.emacsconf.org:8000/alt.webm
    2.  Install pavucontrol if you don&rsquo;t have it already.
    3.  Start the following command (<stream-desktop-and-audio.sh>:
        
            while true; do ffmpeg -loglevel 0 -ar 48000 -f alsa -channels 2 -sample_rate 48000 -i default -re -video_size 1280x720 -framerate 25 -f x11grab -i :0.0  -cluster_size_limit 2M -cluster_time_limit 5100 -content_type video/webm -c:v libvpx -b:v 1M -crf 30 -g 125 -deadline good -threads 4  -f webm $CONFALT; done
    4.  Use pavucontrol to set the recording source for the ffmpeg
        command to be the audio monitor, so you get system output as
        well.
        -   OR:
            -   [? splitting audio] (look for “Set up sinks for sound” under 2021/)
            -   [? same audio]
        -   Set up audio monitor as the input for FFMPEG
        -   MPV goes to MPV sink, browser goes to recording sink, FFMPEG takes in recording monitor


<a id="play-mpv-manually"></a>

## Video playing error, need to play with mpv manually     :stream:

You can skip the intro and play a video by specifying the filename, like this:
play ~/stream/emacsconf-2022-journalism-\*


<a id="orgbd898c0"></a>

## Shift changes

1.  Update [Shifts](#shifts)
2.  Evaluate the code underneath to get the setq.
3.  Put the setq in emacsconf.el.
4.  Regenerate the hyperlists: emacsconf-pad-prepopulate-hyperlists


<a id="restart-480p"></a>

## Need to restart 480p stream     :stream:

ssh live

/usr/local/bin/emacsconf-lowres-dev-on-connect
or
/usr/local/bin/emacsconf-lowres-gen-on-connect


<a id="renamed"></a>

## Renamed talk     :sched:

1.  Change conf.org heading.
2.  Change the video slug property.
3.  Rename any existing files in the backstage area.
4.  emacsconf-publish-backstage-index
5.  Change the title and heading on the wiki page.
6.  Update the schedule (emacsconf-publish-schedule).
7.  Update info pages (emacsconf-publish-info-pages).
8.  Update the watch page (emacsconf-publish-watch-pages).
9.  Update the pad, and the two previous pads.
10. Update the in-between slide (and for the following one) and upload the assets.
11. Redo the intros for that talk and the following one
    SLUG=health; ffmpeg -y -loop 1 -i ../../in-between/$SLUG.png  -i $SLUG.opus -i $SLUG.vtt -shortest ../$SLUG.webm; mpv $SLUG.webm


### DONE Rename lspbridge

rerecord lspbridge intro

lspbridge science


### DONE Rename health

health eev


<a id="archive"></a>

# Task archive


## DONE Write preparation instructions     :zaeph:

2021/prepare.md can be reused.

Extra stuff to consider adding:

-   DONE Suggestions for themes (especially wrt colourscape)
-   DONE “Please don’t squeeze your talk by fast-forwarding your speech. Trimming silences and filler words can help, though. Sometimes it&rsquo;s easier to write, record, and edit your voiceover, and then record the video to go along with it.&ldquo;
-   DONE Allowing speakers to plant questions, esp. to cover tangential stuff that couldn’t fit in the prerec


## CANCELLED Allocate extra time if possible; send e-mail     :sachac:


## DONE Review metadata for speakers in conf.org     :zaeph:

See the bottom of conf.org for some automated validation


## DONE Review the submissions in the pad (see emacsconf-org-private or conf.org for the link) and add any objections or comments by Sept 26 for possible [early speaker notification](#acceptance), Oct 7 for everything     :organizers:

-   zaeph: will start reviewing on Sep 21


## DONE Write preparation instructions     :zaeph:

2021/prepare.md can be reused.

Extra stuff to consider adding:

-   DONE Suggestions for themes (especially wrt colourscape)
-   DONE “Please don’t squeeze your talk by fast-forwarding your speech. Trimming silences and filler words can help, though. Sometimes it&rsquo;s easier to write, record, and edit your voiceover, and then record the video to go along with it.&ldquo;
-   DONE Allowing speakers to plant questions, esp. to cover tangential stuff that couldn’t fit in the prerec


## DONE Add more submissions (CFP deadline Sept 30)     :sachac:

-   Sacha: Add submissions to emacsconf-2022-private, draft 2-day schedule by Oct 10


## DONE Publish talk pages     :sachac:


## DONE Send early acceptances     :sachac:

Ideal sequence:

1.  publish /2022/prepare (zaeph)
2.  publish wiki pages
3.  send acceptance e-mails
    -   Allocate at most 20 minutes, say we&rsquo;ll try to add more time depending on the schedule (probably know by Sept 30 or Oct 1)
    -   Include review comments
4.  Send an additional e-mail introducing speakers who may want to coordinate


## DONE Prepare to export talk information to wiki     :sachac:

Tested code in a fork, can publish talk information once talks are approved.
emacsconf-publish.el
emacsconf-generate-info-pages
emacsconf-generate-main-schedule
emacsconf-generate-talk-pages


## DONE Give access to emacsconf-2022-private to dto     :zaeph:


## DONE Write better subtitle documentation     :sachac:

<https://wiki.debian.org/Teams/DebConf/Video/Subtitles>
<https://emacsconf.org/captioning>
That will help more people subtitle things


## DONE Write volunteer page     :sachac:

<https://emacsconf.org/2022/volunteer>


## DONE Review the submissions in the pad (see emacsconf-org-private or conf.org for the link) and add any objections or comments by Sept 26 for possible [early speaker notification](#acceptance), Oct 7 for everything     :organizers:

-   zaeph: will start reviewing on Sep 21


## DONE Double-check sachac’s timezone conversions for availability     :zaeph:

zaeph helped with this, even catching some based on e-mail timestamps


## DONE Copy things over from previous notebooks     :sachac:


## DONE Prepare to publish schedule     :sachac:wiki:

-   Should be understandable as plain text
-   Ideally responsive to take advantage of more screen space on monitors while still being understandable on mobile
-   Organize by tracks and then days
-   Links to jump to a track and day
-   Graphics to make it easier for people to see nearby talk options
-   Optionally, graphical view on talk pages as well (might need to publish a JSON somewhere to front)
    
    Schedule inspiration:
    
    -   [DebConf 2022](https://debconf22.debconf.org/schedule/) converted times to your local timezone
    -   [LibrePlanet 2022](https://libreplanet.org/2022/program/) used table columns for the different tracks
    -   [SFSCON 2022](https://www.sfscon.it/programs/2022/) lists sessions chronologically, indicating tracks with labels and dots on a diagram. Dropdowns act as filters.
    -   <https://css-tricks.com/building-a-conference-schedule-with-css-grid/>

-   With JS and grid CSS: <https://imgur.com/KNpGayp>
-   Fallback <https://imgur.com/HT9vX3o>

Draft:  <https://emacsconf.org/2022/draft-schedule/>


### DONE Set up main schedule as plain text

general track
day 1 and day 2

dev track
day 1 and day 2

by day
all talks


### DONE Set up talk page navigation

-   program phase: by track
-   schedule phase: chronological


### CANCELLED See if I can get the schedule to split into a nice grid on larger devices that support it

Slightly annoying to do with JS/CSS because I want it to fall back to an interleaved schedule on small screens, so we would probably need to duplicate the elements and then use media queries.


### SOMEDAY Add caption icon to schedule     :emacsconf:

so that it&rsquo;s easier for people to see which talks are accessible


### DONE Add captioned label in talk index


### TODO Display breaks and lunch in the schedule


## DONE Process confirmations as we receive them     :sachac:zaeph:

-   Reply to the speaker and Cc -submit to confirm the confirmation. Something like &ldquo;Confirming your confirmation, no reply needed to this one. Thank you!&rdquo;
-   Update talk to WAITING\_FOR\_PREREC in conf.org
-   Add a note in the logbook (C-c C-z - org-add-note) for the talk entry
-   Add :PUBLIC\_EMAIL: t if given permission to use the e-mail on the
    talk page, or set it to an alternative e-mail if provided.
-   Update the public wiki&rsquo;s ${year}/talks/{$slug}.md page to add the
    e-mail address as <mailto:person@example.com> on the speaker
    information line.
-   At some point, use `M-x emacsconf-generate-talk-pages` to update the e-mail address used in the footer.

    (let (waiting)
     (save-window-excursion
       (with-current-buffer (find-file emacsconf-org-file)
         (org-map-entries (lambda () (add-to-list 'waiting
                                                  (list (org-entry-get (point) "SLUG")
                                                        (org-entry-get (point) "ITEM")))) "TODO=\"TO_CONFIRM\"")))
     waiting)


## CANCELLED Create Org heading for scheduling caption team&rsquo;s live IRC duty shifts     :dto:

See [Shifts](#shifts)


## DONE Sacha: Organize volunteer information     :sachac:


## DONE Once talks are approved

-   sacha: Publish initial talk information pages
-   Double-check talk pages, format them nicely
-   Publish draft schedule
-   Confirm e-mail communication with all of the speakers

Process for accepting a talk:

-   Create subtree for talk and populate it with properties.
    -   Required: CUSTOM\_ID SLUG NAME NAME\_SHORT EMAIL AVAILABILITY Q\_AND\_A TRACK MAX\_TIME
    -   Optional: PRONOUNS PRONUNCIATION IRC PUBLIC\_EMAIL MIN\_TIME EMERGENCY
    -   Can be validated with `emacsconf-validate-talk-subtree`
    -   Add a talk abstract subtree
-   Add it to emacsconf-schedule-plan and fiddle with it until the flow looks good
-   Execute the draft-schedule block to update the schedule in the Org file
-   Add the talk page to the wiki with `emacsconf-add-talk-page`.
-   Stage, commit, and push the wiki files. Make sure to add the talk page and the info pages.
-   Doublecheck the wiki page on the web, since the e-mail refers to it.
-   E-mail the speaker the acceptance by using `emacsconf-draft-acceptance-for-email-group` from `organizers-notebook/`.
-   Log the acceptance using `C-c C-z` in the talk subtree in `conf.org`, noting the number of minutes.
-   Change the status to TO\_CONFIRM.


## DONE Remind people about confirming e-mail communications     :sachac:email:speakers:

Look for the TO\_CONFIRM status in conf.org, probably include in schedule e-mail


<a id="check-sched"></a>

## DONE Send people schedule information and doublecheck their availability/Q&A preference     :sachac:email:speakers:sched:

    (defun emacsconf-mail-schedule (group &optional template)
      "Send draft schedule.
    GROUP is (email . (talk talk))"
      (interactive (list (emacsconf-mail-complete-email-group)))
      (require 'emacsconf-ical)
      (let ((reply-by-date (date-to-time "2022-10-14"))
            (draft-schedule (concat emacsconf-base-url emacsconf-year "/draft-schedule/")))
        (emacsconf-mail-prepare
         (or template (emacsconf-mail-merge-get-template "check-sched"))
         (car group)
         (list
          :titles
          (mapconcat (lambda (o) (format "%s: %s"
                                         (plist-get o :slug)
                                         (format-time-string
                                          "%b %-e %-I:%M %#p %Z"
                                          (plist-get o :start-time)
                                          emacsconf-timezone)))
                     (cdr group) "; ")
          :draft-schedule
          draft-schedule
          :speakers-short
          (plist-get (cadr group) :speakers-short)
          :plural
          (if (= (length (cdr group)) 1) "" "s")
          :email
          (plist-get (cadr group) :email)
          :year
          (or (plist-get (cadr group) :year) emacsconf-year)
          :coordination-note
          (if (seq-find (lambda (o) (member (plist-get o :slug) '("journalism" "rolodex" "orgsuperlinks" "buttons" "hyperorg" "science")))
                        (cdr group))
              "I've changed the order slightly from the coordination e-mail I sent you. The sequence is now journalism - science - rolodex - orgsuperlinks - buttons - hyperorg. science is now second instead of last, and the first two talks are on Sat while the last four are on Sun. That probably means you don't have to coordinate as much, but you can still do so if you would like to build on other people's talks."
            "")
          :schedule
          (mapconcat
           (lambda (o) (format "* TODO Check time for \"%s\" (%s)  :emacsconf:\nDEADLINE: %s\n(Not a hard deadline, just encouragement to e-mail us before that date if you can)\nPlease e-mail [[mailto:emacsconf-submit@gnu.org]] if you need it changed\n%s track\n%s\nIn context: %s"
                               (plist-get o :title)
                               (plist-get o :slug)
                               (format-time-string (car org-time-stamp-formats) reply-by-date emacsconf-timezone)
                               (plist-get o :track)
                               (string-join
                                (let ((emacsconf-timezones
                                       (if (plist-get o :timezone)
                                           (seq-uniq (append (list emacsconf-timezone)
                                                             (split-string (plist-get o :timezone) " ")
                                                             (list "UTC")))
                                         emacsconf-timezones)))
                                  (emacsconf-timezone-strings o))
                                "\n")
                               draft-schedule))
           (cdr group)
           "\n----------------------------------------------------------------\n")
          :reply-by
          (format-time-string "%b %-e (%a)" reply-by-date emacsconf-timezone)
          :timezone-note
          (if (plist-get (cadr group) :timezone)
              (format "I've included timezone conversion to %s. Let me know if you'd like me to use a different timezone in future e-mails."
                      (plist-get (cadr group) :timezone) " ")
            "I can translate times into your local timezone. Let me know what timezone you'd like me to use.")
          :availability-note
          (cond
           ((seq-find (lambda (o) (string-match "yes" (or (plist-get o :availability) ""))) (cdr group))
            (format "I think you've indicated that you're available during the conference."))
           ((seq-find (lambda (o) (string-match "not indicated" (or (plist-get o :availability) ""))) (cdr group))
            (format "I think you didn't indicate any particular availability constraints in your submission."))
           (t (format "I think it respects your indicated availability, which we've noted as %s."
                      (string-join
                       (seq-uniq
                        (mapcar
                         (lambda (o) (format "\"%s\"" (plist-get o :availability)))
                         (cdr group)))
                       " and "))))))))
    
    (defun emacsconf-mail-schedule-update (group &optional template)
      "Send draft schedule update.
    GROUP is (email . (talk talk))"
      (interactive (list (emacsconf-mail-complete-email-group)))
      (require 'emacsconf-ical)
      (let ((reply-by-date (date-to-time "2022-10-14"))
            (draft-schedule (concat emacsconf-base-url emacsconf-year "/draft-schedule/")))
        (emacsconf-mail-prepare
         (or template (emacsconf-mail-merge-get-template "check-sched"))
         (car group)
         (list
          :titles
          (mapconcat (lambda (o) (format "%s: %s"
                                         (plist-get o :slug)
                                         (format-time-string
                                          "%b %-e %-I:%M %#p %Z"
                                          (plist-get o :start-time)
                                          emacsconf-timezone)))
                     (cdr group) "; ")
          :draft-schedule
          draft-schedule
          :speakers-short
          (plist-get (cadr group) :speakers-short)
          :plural
          (if (= (length (cdr group)) 1) "" "s")
          :email
          (plist-get (cadr group) :email)
          :year
          (or (plist-get (cadr group) :year) emacsconf-year)
          :coordination-note
          (if (seq-find (lambda (o) (member (plist-get o :slug) '("journalism" "rolodex" "orgsuperlinks" "buttons" "hyperorg" "science")))
                        (cdr group))
              "I've changed the order slightly from the coordination e-mail I sent you. The sequence is now journalism - science - rolodex - orgsuperlinks - buttons - hyperorg. science is now second instead of last, and the first two talks are on Sat while the last four are on Sun. That probably means you don't have to coordinate as much, but you can still do so if you would like to build on other people's talks."
            "")
          :schedule
          (mapconcat
           (lambda (o) (format "\"%s\" (%s)\n%s track\n%s\nIn context: %s"
                               (plist-get o :title)
                               (plist-get o :slug)
                               (plist-get o :track)
                               (replace-regexp-in-string
                                "^\\(.*\\)\n\\(.*\\)"
                                "\\1\nIn other timezones:\n\\2"
                                (string-join
                                 (let ((emacsconf-timezones
                                        (if (plist-get o :timezone)
                                            (seq-uniq (append (list emacsconf-timezone)
                                                              (split-string (plist-get o :timezone) " ")
                                                              (list "UTC")))
                                          emacsconf-timezones)))
                                   (emacsconf-timezone-strings o))
                                 "\n"))
                               draft-schedule))
           (cdr group)
           "\n----------------------------------------------------------------\n")
          :reply-by
          (format-time-string "%b %-e (%a)" reply-by-date emacsconf-timezone)
          :timezone-note
          (if (plist-get (cadr group) :timezone)
              (format "I've included timezone conversion to %s. Let me know if you'd like me to use a different timezone in future e-mails."
                      (plist-get (cadr group) :timezone))
            "I can translate times into your local timezone. Let me know what timezone you'd like me to use.")
          :availability-note
          (cond
           ((seq-find (lambda (o) (string-match "yes" (or (plist-get o :availability) ""))) (cdr group))
            (format "I think you've indicated that you're available during the conference."))
           ((seq-find (lambda (o) (string-match "not indicated" (or (plist-get o :availability) ""))) (cdr group))
            (format "I think you didn't indicate any particular availability constraints in your submission."))
           (t (format "I think it respects your indicated availability, which we've noted as %s."
                      (string-join
                       (seq-uniq
                        (mapcar
                         (lambda (o) (format "\"%s\"" (plist-get o :availability)))
                         (cdr group)))
                       " and "))))))))


### Template

Hi, ${speakers-short}!

Here&rsquo;s the tentative schedule for when your EmacsConf talk${plural}
will be streamed. Your talk${plural} will be streamed once, but I&rsquo;ve
included a few timezone conversions for convenience.

---

${schedule}

---

${availability-note} You&rsquo;ll also have time for Q&A afterwards, which
can be as short or as long as you like. We&rsquo;ll send you more
information about how the Q&A will work as the conference gets closer.

If you&rsquo;d like to see the other talks for context, you can check out
the draft schedule at <https://emacsconf.org/${year}/draft-schedule/> .
The times may move around a bit as we update the schedule, so I&rsquo;ll
check in with you if things change a lot. ${coordination-note}

We&rsquo;d like to publish the schedule this month, so we&rsquo;d love to hear
from you by **${reply-by}** if the times don&rsquo;t work for you. (We can
shuffle things around even after that date if something comes up.)
Also, if you think your talk${plural} would go better next to a
different talk, please let us know. ${timezone-note} Please keep
emacsconf-submit@gnu.org in To or Cc when replying. Thanks!

Sacha


### Schedule change affecting dev

(Please ignore the previous update, I included the wrong times in the
e-mail. The web version&rsquo;s been fine, though! Sorry about the extra
e-mails.)

I tweaked the schedule to put treesitter and lspbridge earlier, so
asmblox and wayland are a little later on Saturday morning. If you&rsquo;d
like to see the latest schedule for your talk, you can go to
<https://emacsconf.org/${year}/draft-schedule/> . Thanks for your
patience!

---

${schedule}

---

(no need to reply to this to confirm, unless I broke the schedule for
you and you want me to fix it)

Sacha


### Schedule change for buddy/meetup

Hi ${speakers-short}!

I tweaked the schedule to allocate a little more time for the meetups
talk, and I moved the buddy talk earlier to make space. I think this
might improve the flow as well, since the meetups will refer to how
meeting up with a buddy is a good way to get a public Emacs meetup off
the ground. If you&rsquo;d like to see the latest schedule for your talk,
you can go to <https://emacsconf.org/${year}/talks/> . Thanks for your
patience!

---

${schedule}

---

(no need to reply to this to confirm, unless I broke the schedule for
you and you want me to fix it)

Sacha


## DONE Volunteer communications: E-mail update for Oct 9, 2022     :email:volunteers:

Add your news and requests to this.


### Template so far

Hello, EmacsConf volunteers!

We&rsquo;re starting to gear up for EmacsConf 2022, and we would love to
figure out how to work with your skills, interests, and availability.
<https://emacsconf.org/2022/volunteer/> has some specific task ideas and
general roles.

<https://emacsconf.org/2022/organizers-notebook/#overall> has an
overall prioritization matrix. If any of those options look like
something you want to learn or help with, or if you want to make
things even better than what&rsquo;s in the table, let me know.

Given the number of talks this year, we&rsquo;re going to try to see if we
can pull off two tracks. I&rsquo;ve posted a draft schedule at
<https://emacsconf.org/2022/draft-schedule/> and have e-mailed speakers
to confirm their availability. This schedule staggers live Q&A
sessions so that the person managing the streams can jump back and
forth as needed. We&rsquo;ll figure out shifts once we&rsquo;ve sorted out the
processes and training info, but if you want to call dibs on
something, feel free.
<https://emacsconf.org/2022/organizers-notebook/#shifts>

Please let me know what kinds of things you&rsquo;d like to learn more about
or help out with!

Sacha Chua

(You&rsquo;re receiving this e-mail because you&rsquo;re on the emacsconf-org
mailing list. Thanks for wanting to help out!)


## DONE Delete all the EmacsConf BBB rooms from last year     :chore:bbb:zaeph:

For the admins on BBB.  The list is accessible here: [Organization Settings](https://bbb.emacsverse.org/b/admins/rooms).
Should take no more than ~20′.


## DONE Write volunteer update

Hello, folks! Here&rsquo;s the weekly update on what&rsquo;s happening backstage
for EmacsConf 2022 in case you notice something that you want to help
out with. =)

-   All the speakers have confirmed that they&rsquo;ve gotten the acceptance
    e-mails. Many speakers have confirmed that the schedule works for
    them after I reshuffled a few talks for better availability. I&rsquo;ve
    posted the schedule at <https://emacsconf.org/2022/talks/> . We&rsquo;ll
    announce the schedule on the emacsconf-discuss mailing, Reddit, and
    various places this week.

-   zaeph has been working on the ffmpeg incantations for preprocessing
    the videos that will be submitted soon. bandali is working on
    getting the FTP and web-based uploads sorted out so that speakers
    can submit their videos.

-   I created some watch pages to support viewing different tracks:
    <https://emacsconf.org/2022/watch/> . The livestreams won&rsquo;t work yet
    and it would be nice to figure out something that can dynamically
    display info for recent/current/upcoming talks, but it&rsquo;s a start.

-   We set up a self-hosted Etherpad (ex:
    <https://pad.emacsconf.org/2022-journalism>) with an easy way to
    redirect to using Wikimedia in case we run into scaling issues. I&rsquo;ve
    added it to our Ansible playbook
    (git@git.emacsconf.org:pub/emacsconf-ansible) and I&rsquo;m looking
    forward to incorporating Ry P.&rsquo;s improvements. Karl Voit gave
    feedback on the first draft of the template.

-   vetrivln volunteered for some of the dev hosting shifts, Karl Voit
    volunteered for some of the gen pad shifts, and FlowyCoder
    volunteered for some of the gen check-in shifts. Thanks!

Next week, we hope to:

-   Announce the EmacsConf 2022 schedule in the usual places (got any wording/JS/CSS suggestions?)
-   Finalize the upload instructions so that speakers can start submitting their files
-   Put together volunteer training materials
-   Set up per-speaker BBB rooms and friendly URLs

Sacha


## DONE Publish icals     :sachac:

It would be nice to have track-specific icals as well.


### DONE Check icals, create org schedule

<https://www.reddit.com/r/emacs/comments/yilmhv/emacsconf_2022_dec_3_4_schedule/ixgt1wr?utm_medium=android_app&utm_source=share&context=3>


<a id="upload"></a>

## DONE Figure out web-based file upload     :needsowner:sachac:ansible:

zaeph: I can work on it, but I’m not experienced in this domain, so I’d prefer to be a back-up.
task is currently with bandali

Lesson learned from last year: &ldquo;Since people kept running into ftp
problems, we might want to set up a web-frontend next year to minimise
problems.&rdquo;

Maybe we could ask some of the volunteers who wanted to help us with
the infra? It shouldn’t be complicated to deploy a ready-made
solution.

&ldquo;file drop&rdquo; is a common keyword for looking for information.
Considerations:

-   Probably run it on media.emacsconf.org
-   Bonus features:
    -   password-protected or hidden behind some kind of authentication or hidden behind some kind of URL, so we don&rsquo;t have to worry too much about spam
    -   extra points for sending speakers links to upload to specific folders so that we can separate resources by talk
    -   Resumable uploads would be good, since some speakers had a hard time with unreliable connections
-   What other conferences do:
    -   LibrePlanet uses plain FTP and recommends FileZilla <https://libreplanet.org/wiki/Video_upload_instructions>
    -   FOSSDEM uses Pentabarf to receive uploads  <https://archive.fosdem.org/2022/manuals/program/speaker/>
    -   DebConf uses SReview(?)
    -   FOSSGIS uses Seafile <https://vmx.cx/cgi-bin/blog/index.cgi/video-uploads-for-an-online-conference%3A2021-06-12%3Aen%2Cconference%2Cgeo>
-   Some options:
    
    <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
    
    
    <colgroup>
    <col  class="org-left" />
    
    <col  class="org-left" />
    
    <col  class="org-left" />
    
    <col  class="org-left" />
    
    <col  class="org-left" />
    </colgroup>
    <tbody>
    <tr>
    <td class="org-left">Project</td>
    <td class="org-left">Docker</td>
    <td class="org-left">Buster</td>
    <td class="org-left">Base</td>
    <td class="org-left">Notes</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://www.projectsend.org/">https://www.projectsend.org/</a></td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">php+mysql</td>
    <td class="org-left">&#xa0;</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://github.com/pomf/pomf">https://github.com/pomf/pomf</a></td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">php+mysql</td>
    <td class="org-left">&#xa0;</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://github.com/psi-4ward/psitransfer">https://github.com/psi-4ward/psitransfer</a></td>
    <td class="org-left">official</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">node</td>
    <td class="org-left">can set upload password, resumable; data volume needs uid 1000</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://github.com/epoupon/fileshelter">https://github.com/epoupon/fileshelter</a></td>
    <td class="org-left">official</td>
    <td class="org-left">ppa</td>
    <td class="org-left">C++</td>
    <td class="org-left">&#xa0;</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://github.com/mickael-kerjean/filestash">https://github.com/mickael-kerjean/filestash</a></td>
    <td class="org-left">official</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">general FTP client</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://gitlab.com/moejo42/Jirafeau">https://gitlab.com/moejo42/Jirafeau</a></td>
    <td class="org-left">official</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">php</td>
    <td class="org-left">&#xa0;</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://github.com/YouTransfer/YouTransfer">https://github.com/YouTransfer/YouTransfer</a></td>
    <td class="org-left">official</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">node</td>
    <td class="org-left">looking for maint</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://github.com/dutchcoders/transfer.sh/">https://github.com/dutchcoders/transfer.sh/</a></td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    </tr>
    
    
    <tr>
    <td class="org-left"><a href="https://github.com/eikek/sharry">https://github.com/eikek/sharry</a></td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    <td class="org-left">&#xa0;</td>
    </tr>
    </tbody>
    </table>
    
    -   NextCloud
    
    anon FTP upload currently goes to *srv/ftp/anon* on media.emacsconf.org
    
    <file:///ssh:media|sudo>
    
    Maybe I&rsquo;ll do psitransfer as a direct install


### DONE Create 2022/upload.md with the same workflow as last year for a start


### DONE Implement new workflow


<a id="irc"></a>

## DONE Update IRC instructions because of multiple tracks

Added to watch pages


<a id="publishing-sched"></a>

## DONE Move scheduling and publishing code to Emacs on a VPS so that other people can help out     :sachac:

Ideal:

-   Update pages with watching information, additional resources, etc. as talks go live
-   Update the schedule as needed (cancelled or reordered talks, etc.)

Where:

-   front? my own VPS?
    
    Nice if there&rsquo;s an Ansible playbook
    
    sachac&rsquo;s notes:
    <file:///home/sacha/code/docker/emacsconf-publish/>
-   probably good to set it up on front

It&rsquo;s now on front. 


<a id="mail-upload"></a>

## DONE Prepare email for nudging speakers to send prerec, and inform on upload workflow     :timesensitive:needsowner:


### Code

    (defun emacsconf-mail-upload (group &optional template)
      "Send upload instructions and reminder.
    GROUP is (email . (talk talk))"
      (interactive (list (emacsconf-mail-complete-email-group)))
      (let ((action-date (date-to-time "2022-11-04")))
        (emacsconf-mail-prepare
         (or template (emacsconf-mail-merge-get-template "upload"))
         (car group)
         (list
          :slugs (mapconcat (lambda (o) (plist-get o :slug)) (cdr group) " or ")
          :speakers-short (plist-get (cadr group) :speakers-short)
          :plural (if (= (length (cdr group)) 1) "" "s")
          :email (plist-get (cadr group) :email)
          :year (or (plist-get (cadr group) :year) emacsconf-year)
          :prerec-note (emacsconf-surround
                        (make-string 64 ?-)
                        (string-join (seq-uniq (mapcar
                                                (lambda (o)
                                                  (plist-get o :prerec-info))
                                                (cdr group)))
                                     "\n")
                        (make-string 64 ?-)
                        "")))))


### Template

Hi, ${speakers-short}!

${prerec-note}Here are the instructions for uploading the
video${plural} for your talk${plural}. You can find the latest version
of the instructions at https://emacsconf.org/2022/upload/ . There are
two ways to upload your talk${plural} this year, so you can pick the
one that works best for you:

-   Web-based: <https://ftp-upload.emacsconf.org> , password emacsconf
-   FTP: host: ftp-upload.emacsconf.org, port: 21, username: anonymous
    folder: upload-here

If you upload slides and other resources, we can include them on the
talk page when your talk goes live. If you happen to have a script or
a transcript, please include them as well (it’ll speed up the
captioning for us).

Please add a comment or start your filenames with the ID for the talk
that it&rsquo;s for: ${slugs}.

If you&rsquo;re still working on your talk, you might find the tips at
<https://emacsconf.org/2022/prepare> useful. In brief:

-   at least 1280x720 resolution
-   we recommend dark text on a light background, with enough contrast
    to make it easy to read
-   if possible, use a headset or external microphone to record audio
    in order to minimize computer noise
-   upload a separate 5 second recording of quiet or leave 5 seconds
    of quiet at the end of your talk video so that we can process your
    video for noise reduction

Please plan to upload your talk by November 4 (next Friday) so that we
can get started preparing it for streaming. If you can&rsquo;t make it by
then, we can accept later submissions, although it&rsquo;s a bit more of a
scramble and our stress levels go up as the conference approaches. =)
We&rsquo;d really appreciate the extra time for captioning and
double-checking. Thank you for your help in getting ready for a smooth
EmacsConf 2022!

Sacha Chua


## DONE Send backstage email

    (defun emacsconf-mail-backstage-info (group &optional template)
      (interactive (list (emacsconf-complete-talk-info)))
      (emacsconf-mail-prepare
       (or template (emacsconf-mail-merge-get-template "backstage"))
       (plist-get group :email)
       (append group
               (list
                :backstage "https://media.emacsconf.org/2022/backstage/"
                :backstage-user "emacsconf"
                :backstage-password emacsconf-backstage-password
                :conf-name emacsconf-name
                :year emacsconf-year))))
    (defun emacsconf-mail-backstage-info-to-speakers-and-captioners ()
      (interactive)
      (let ((template (emacsconf-mail-merge-get-template "backstage"))
            (speaker-groups
             (seq-uniq
              (mapcar
               (lambda (talk)
                 (list
                  :name (plist-get talk :speakers-short)
                  :email (plist-get talk :email)
                  :role "speaker"
                  :backstage-use
                  "As we add more talks, you can skim through any relevant ones to
    see if there are any points you'd like to build on in your talk.
    Also, you can get a sense of what we do behind the scenes to try
    to get as many talks captioned for broadcast, and what you can do
    to make it easier. (A text file with names and technical terms
    can be helpful. No need to type out a manual transcript if you
    don't start from a script.) After you upload your talk and we
    process the files, you can use the backstage area to check the
    quality of the reencoded video."))
               (seq-filter (lambda (o) (string= (plist-get o :status) "WAITING_FOR_PREREC"))
                           (emacsconf-filter-talks (emacsconf-get-talk-info))))))
            (volunteer-groups
             (with-current-buffer (find-file-noselect emacsconf-org-file)
               (org-map-entries (lambda ()
                                  (list :name (org-entry-get (point) "NAME_SHORT")
                                        :email (org-entry-get (point) "EMAIL")
                                        :role "captioning volunteer"
                                        :backstage-use "If you see a talk that you'd like to caption, you can e-mail me at sacha@sachachua.com and I can reserve it for you."))
                                "captions"))))
        (mapcar (lambda (g) (emacsconf-mail-backstage-info g template))
                (append
                 speaker-groups
                 (seq-remove (lambda (v) (seq-find (lambda (s) (string= (plist-get s :email)
                                                                        (plist-get v :email)))
                                                   speaker-groups))
                             volunteer-groups)))))


### Template

Hi ${name}!

You&rsquo;re getting this e-mail because you are a ${role} for ${conf-name}
${year}. (Thanks!)

I&rsquo;m so excited! =) A number of speakers have uploaded their videos,
and OpenAI Whisper looks like a promising way to get automatically
generated captions that we can use as a starting point.

We&rsquo;ve set up ${backstage} as the backstage area where you can view the
videos and resources uploaded so far. You can access it with the
username "${backstage-user}&ldquo; and the password &rdquo;${backstage-password}&ldquo;.
Please keep the backstage password and other speakers&rsquo; talk resources
secret. ${backstage-use}

Thank you!

Sacha Chua


## DONE Write playbooks


### DONE Host     :zaeph:

<https://emacsconf.org/2022/volunteer/host>


### CANCELLED Streamer     :zaeph:

Blocked by [Investigate streaming options, maybe OBS in the cloud](#streaming)

bandali and corwin/zaeph will do the streaming, so writing the streaming playbook is a little lower priority for now


### DONE Check-in

<https://emacsconf.org/2022/volunteer/checkin/>


### DONE IRC

<https://emacsconf.org/2022/volunteer/irc/>


### DONE Pad

<https://emacsconf.org/2022/volunteer/pad/>


### DONE Captions

<https://emacsconf.org/2022/volunteer/caption/>


## CANCELLED Figure out why ikiwiki is slow     :infra:wiki:

complex regular expression issues?
should the captions be outside the wiki?


## CANCELLED Add nice-to-have stuff to prepare.md     :zaeph:

-   org-reveal config
-   SIL fonts choice


<a id="volunteer-2022-10-23"></a>

## DONE Write volunteer update 2022-10-23     :update:

Hello, folks! Here&rsquo;s the weekly update on what&rsquo;s happening backstage
for EmacsConf 2022 in case you notice something that you want to help
out with. =)

-   We&rsquo;ve e-mailed the speakers instructions for uploading their files through either a web browser or an FTP client, and three speakers have already done so! Those talks are now available in the backstage area (<https://media.emacsconf.org/2022/backstage/>), along with the first set of edited captions (thanks Jai Vetrivelan!). If you don&rsquo;t have the username and password for the backstage area and you would like to access it, please e-mail me and I&rsquo;ll send you the details.
-   We&rsquo;ve created a BBB room for each speaker&rsquo;s live Q&A session. The URLs are in conf.org in the private repository if you need them.
-   We&rsquo;ve drafted some documentation for different volunteer roles. If you&rsquo;d like to volunteer as a captioner, check-in person (hmm, reception?), Etherpad scribe, IRC monitor, or host, please check out the appropriate link and let me know if I need to add anything to the docs:
    -   <https://emacsconf.org/2022/volunteer/caption>
    -   <https://emacsconf.org/2022/volunteer/irc>
    -   <https://emacsconf.org/2022/volunteer/pad>
    -   <https://emacsconf.org/2022/volunteer/checkin>
    -   <https://emacsconf.org/2022/volunteer/host>
-   Thanks to David O&rsquo;Toole for signing up for some IRC shifts! If you would like to volunteer for a shift, check out <https://emacsconf.org/2022/organizers-notebook/#shifts> .
-   We&rsquo;ve updated our streaming configuration for the General and Development tracks, and have started testing them using mpv and the watch pages. Videos aren&rsquo;t currently streaming, but you can check out the layout of the watch pages at:
    
    -   <https://emacsconf.org/2022/watch/gen/>
    -   <https://live.emacsconf.org/2022/watch/gen/>
    -   <https://emacsconf.org/2022/watch/dev/>
    -   <https://live.emacsconf.org/2022/watch/dev/>
    
    These pages could probably be a lot prettier and easier to use. If you have some ideas for improving them or if you&rsquo;d like to work on the HTML/CSS/JS, we&rsquo;d love your help!
-   There are now Q&A waiting rooms with friendly URLs so that it&rsquo;s easier for people to join the live Q&A when the host decides it&rsquo;s okay to let everyone in. They&rsquo;re linked on the watch pages (along with the pads) and they&rsquo;ll be linked from the talk pages once we&rsquo;re ready to share them.
-   zaeph has been busy tweaking the ffmpeg workflow for reencoding and normalizing videos. Thanks to Ry P. for sharing the res.emacsconf.org server with us - we&rsquo;ve been using it for all the processing that our laptops can&rsquo;t handle.
-   We experimented with using the OpenAI Whisper speech-to-text toolkit to create the auto-generated captions that captioning volunteers can edit. Looks promising! If you&rsquo;d like to compare the performance between small, medium, and large models, you can look at the VTT files for the sqlite talk in the backstage area. I&rsquo;ve also added support for tab-separated values (like Audacity label exports) and a subed-convert command to subed.el, which might give us a more concise format to work with. I&rsquo;ll work on getting word-level timing data so that our captioning workflow can be even easier.

Next week, we hope to:

-   improve the prerec and captioning workflows
-   get more captions underway

Lots of good stuff happening!

Sacha Chua  


## DONE 2022-10-30 volunteer update

Hello, everyone! Here&rsquo;s the weekly update on what&rsquo;s happening backstage
for EmacsConf 2022 in case you notice something that you want to help
out with. =)

-   Help wanted - Captioning: There are three talks open for captioning
    in <https://media.emacsconf.org/2022/backstage/> , so feel free to
    e-mail me if you&rsquo;d like to reserve one. I&rsquo;ve tweaked the captioning
    process a little bit so that I can reflow the transcripts into
    shorter subtitles before people edit the captions, so editing is
    easier to do because you don&rsquo;t have to split along the way. (If
    you&rsquo;re curious about the technical stuff, I switched to manually
    splitting the text using emacsconf-reflow from emacsconf-el and then
    the using aeneas for forced alignment, because I couldn&rsquo;t figure out
    how to get torchaudio unstuck sometimes.)
    
    If you don&rsquo;t have the username and password for the backstage area
    and you would like to access it, please e-mail me and I&rsquo;ll send you
    the details.

-   Help wanted - tech checks: For sessions with live Q&A, we&rsquo;d like to
    set up tech-checks with speakers to make sure that their setup works
    well with BigBlueButton. A rough outline of the process is in the
    tech-checking protocol heading at
    <https://emacsconf.org/2022/organizers-notebook/#tech-checks> . If you
    would like to help with tech-checks, please e-mail us with your
    general availability (including timezones) and preferred public
    contact information so that we can include you on the list at
    <https://emacsconf.org/2022/prepare/#tech-check> and in the e-mail to
    speakers.

-   Help wanted - intro/intermission slides, OBS overlay, ??: It might
    be interesting to design something to show right before and right
    after a talk so that people can see the title, speaker name, talk
    page URL, Q&A info, pad URL, pronouns, etc. Ideally we&rsquo;d be able to
    generate a whole bunch of these from the talk data, so maybe SVG or
    a TikZ picture? If this is your jam, let us know.

-   OBS in the cloud: We&rsquo;ve been able to figure out how to stream both
    streams using OBS, VNC, and PulseAudio on Ry P.&rsquo;s virtual server, so
    it&rsquo;s even more likely that we&rsquo;re going to pull off two tracks this
    year. Yay!

-   Tom Purl has joined as a captioning volunteer. Hi Tom!

This week we hope to get lots of talks submitted, processed, and on
the way to being captioned. We&rsquo;re also planning to make the captioning
workflow even better, and to improve the OBS streaming workflow. Whee!

Sacha <sacha@sachachua.com>


## Volunteer update 2022-11-07

Hi everyone!

Here&rsquo;s what&rsquo;s been happening backstage.

-   Speakers have been submitting their videos, hooray! I added a
    schedule to the backstage page at
    <https://media.emacsconf.org/2022/backstage/> so that people can see
    how the schedule&rsquo;s coming along. We expect more talks to come in the
    next two weeks. Not panicking yet. =)

-   Thanks to all the people who&rsquo;ve been working on captions so far!
    Bhavin, Andrea, and Ramin did the captions for their talks, and Jai
    captioned Bala&rsquo;s talk. Tom, Bhavin, and Hannah are currently working
    on captions. There are three more talks backstage if anyone wants to
    work on them.

-   I just posted some notes on how I reflow and edit subtitles in case
    they&rsquo;re helpful:
    <https://media.emacsconf.org/2022/backstage/editing-captions.html>
    It&rsquo;s also linked from the backstage page under More info: editing
    captions.

-   We added the Emacs development updates talk from John Wiegley and
    updated the times of other talks based on messages from the
    speakers.

-   We did a dry run of the OBS streaming setup with Leo, Amin, and
    Corwin. I think we&rsquo;re on track to being able to broadcast two
    streams this year.

-   IRC announcements, BBB redirection, and media file publishing can
    now all automatically happen when the talk status changes,
    simplifying our work during the conference. Video playback and Q&A
    browser windows can happen automatically if streaming from
    res.emacsconf.org. I want to get the publishing workflow all
    smoothed out too, so that talks and transcripts can be more easily
    published to the wiki pages during the conference.

Plans for this week:

-   More videos and captions!
-   I plan to work on talk page publishing so that it happens smoothly during the conference
-   Leo&rsquo;s going to review the videos submitted so far and prepare intros for them
-   Might be a good idea to reach out to speakers for tech checks and bios

EmacsConf is a little less than four weeks away. Stuff is happening!

Sacha


## DONE Send prerec reminder     :sachac:


### DONE Update logbook with notes from e-mails     :sachac:


### DONE Follow up with speakers based on their availability


### CANCELLED Email speakers because I&rsquo;ll be shutting down the web upload


<a id="announce-program"></a>

## DONE Send schedule-published email for emacsconf-discuss     :needsowner:timesensitive:email:

Schedule is now available; post to emacsconf-discuss, emacs-tangents
<https://lists.gnu.org/archive/html/emacsconf-discuss/2022-10/msg00000.html>


### DONE Post it to r/emacs as well     :reddit:zaeph:

Please let zaeph know when it’s live so that the post can be distinguished.


### Template

Greetings, fellow Emacsians!

On behalf of the EmacsConf 2022 organizers team, I&rsquo;m very excited to
announce the schedule for EmacsConf 2022 (Dec 3 and 4), available at:

<https://emacsconf.org/2022/talks>

All of the times listed on the schedule are in EST (UTC-5). You can
click on each talk&rsquo;s title to open its page for more information,
including its scheduled time in your local time. (Displaying local time
requires running a tiny bit of AGPLv3+-licensed free/libre JavaScript
code, included on the talk pages.)

For prerecorded talks, this time is also when the talk&rsquo;s video will be
made available on the same page. Please note that the times are
approximations, and that the schedule may change leading up to the
conference.

As the conference approaches, we&rsquo;ll post more details on how to watch
and participate.

You can subscribe to the emacsconf-discuss mailing list at
<https://lists.gnu.org/mailman/listinfo/emacsconf-discuss> to
be sure you&rsquo;ll get updates.

Want to help make EmacsConf even awesomer? Volunteer! 
<https://emacsconf.org/2022/volunteer/>

We hope to see you all around on Dec 3-4 for EmacsConf 2022!

P.S. please direct all replies to this post either to myself or to the
emacsconf-discuss list, so as to help avoid generating extra off-topic
chatter in the other lists cc&rsquo;d in this message; thank you.


## DONE Flesh out prepare.md for audio-recording tips before the prerec-deadline     :zaeph:


## DONE Write speaker e-mail for people who have already submitted their talks

To: speakers who have already submitted their talks (so that we don&rsquo;t distract people who are still working on their talks)

    (defun emacsconf-mail-speaker-after-video (group &optional template)
      (interactive (list (emacsconf-mail-complete-email-group
                          (seq-filter (lambda (o) (plist-get o :intro-note))
                                      (emacsconf-active-talks (emacsconf-get-talk-info))))))
      (setq template (or template (emacsconf-mail-merge-get-template "speaker-after-video")))
      (let ((talks (cdr group)))
        (emacsconf-mail-prepare
         template
         (car group)
         (list :speakers-short (plist-get (cadr group) :speakers-short)
               :plural (if (= (length (cdr group)) 1) "" "s")
               :email (plist-get (cadr group) :email)
               :in-between (mapconcat (lambda (talk)
                                        (emacsconf-surround "<https://media.emacsconf.org/2022/in-between/" (plist-get talk :slug) ".png>" ""))
                                      (cdr group)
                                      ", ")
               :intro
               (mapconcat (lambda (talk)
                            (string-join (org-wrap (emacsconf-surround "- " (plist-get talk :intro-note) "\n" "") 70) "\n"))
                          (cdr group)
                          "")
               :chapters
               (mapconcat (lambda (talk)
                            (format "<https://media.emacsconf.org/2022/backstage/#%s>:\n%s"
                                    (plist-get talk :slug)
                                    (mapconcat
                                     (lambda (chapter)
                                       (concat (format-seconds "%.2h:%z%.2m:%.2s"
                                                               (floor (/ (elt chapter 1) 1000)))
                                               " "
                                               (elt chapter 3) "\n"))
                                     (subed-parse-file
                                      (expand-file-name (concat (plist-get talk :video-slug) "--main--chapters.vtt") emacsconf-cache-dir)))))
                          (cdr group)
                          "\n\n")
               :caption-note
               (if (seq-find (lambda (o) (not (string= (plist-get o :status) "TO_STREAM"))) (cdr group))
                   " The captions haven't been fully edited yet, so please ignore any errors in the captions themselves."
                 "")
               :urls
               (mapconcat (lambda (o) (concat "<" emacsconf-base-url (plist-get o :url) ">"))
                          (cdr group) " , ")
               :tech-check-note
               (if (string-match "live" (or (mapconcat (lambda (o) (or (plist-get o :q-and-a) "")) (cdr group) " ") ""))
                   (format 
                    "*Tech check*
    
    Since you're planning to do a live Q&A session, you may want to
    connect to the test BBB room at <%s> to make sure you can share
    your audio, your window or screen, and your webcam (optional). Sharing
    system audio or multi-monitor setups can sometimes be tricky, so
    please let us know if you need help figuring things out. You can
    double-check by connecting with a separate device, or you can arrange
    to meet with one of the tech-check volunteers
    (<https://emacsconf.org/2022/prepare/#tech-check>).${wrap}
    
    " emacsconf-test-bbb-room) "")))
        (add-hook 'message-sent-hook
                  `(lambda ()
                     (mapc (lambda (o)
                             (emacsconf-add-to-talk-logbook o "Sent speaker-after-video email"))
                           (list
                            ,@(mapcar (lambda (talk) (plist-get talk :slug)) talks))))
                  nil t)))
    
    (defun emacsconf-mail-speakers-after-videos ()
      (interactive)
      (let* ((info (seq-filter (lambda (o) (plist-get o :intro-note))
                               (emacsconf-active-talks (emacsconf-get-talk-info))))
             (grouped (seq-group-by (lambda (o) (plist-get o :email)) info))
             (template (emacsconf-mail-merge-get-template "speaker-after-video")))
        (mapc (lambda (group)
                (emacsconf-mail-speaker-after-video group template))
              grouped)))


### Template

Hi, ${speakers-short}!

Thank you for uploading your video early! Let&rsquo;s get a few more things
sorted out for a smooth EmacsConf 2022.

${tech-check-note}\*Intro\*

I&rsquo;ve written a brief (and possibly inaccurate! =) ) intro that the
host can read out before your talk while the in-between slide
(${in-between}) is being displayed:

${intro}

Would you like to tweak it to better reflect your talk?

**Chapter markers**

I&rsquo;ve added chapter markers to your video in the backstage area to help
with navigation. You can click on them in the backstage area if you
want to easily jump around, or review the list that I&rsquo;ve included for
your convenience:

${chapters}
If you prefer other headings or timestamps, please let me know!${caption-note}

**Bio, community support links**

People often want to learn more about speakers and show their
appreciation. If you&rsquo;d like to include an author bio and any
social/support links to your talk page${plural} (${urls}), please
e-mail us the text that you&rsquo;d like to include. You can also follow the
instructions at <https://emacsconf.org/edit/> to edit your talk
page${plural} directly yourself, if you want to.${wrap}

Thanks again for all your contributions!

Sacha


<a id="prepare-prerec-process"></a>

## DONE Prepare for prerecs     :zaeph:


### DONE Optimize ffmpeg incantation

Remember to update <../prepare.md> with the new incantation.


#### Incantation from last year

    Q=32
    ffmpeg -y -i "$1" -c:v libvpx-vp9 -b:v 0 -crf $Q -aq-mode 2 -an -tile-columns 0 -tile-rows 0 -frame-parallel 0 -cpu-used 8 -auto-alt-ref 1 -lag-in-frames 25 -g 240 -pass 1 -f webm -threads 8 /dev/null &&
    ffmpeg -y -i "$1" -c:v libvpx-vp9 -b:v 0 -crf $Q -c:a copy -tile-columns 2 -tile-rows 2 -frame-parallel 0 -cpu-used -5 -auto-alt-ref 1 -lag-in-frames 25 -pass 2 -g 240 -threads 8 "$2"


#### New candidate

Changelog:

-   Disable adaptive quantization by setting aq-mode to 0 (TODO: compare samples)
-   Add `-row-mt 1` needed to support `tile-rows` (2×2 is enough for 720p)
-   Also use tiles for first pass
-   Remove `-frame-parallel 0` because it’s disabled by default (see [Notes on encoding settings · Kagami/webm.py Wiki](https://github.com/Kagami/webm.py/wiki/Notes-on-encoding-settings))
-   Put number of CPU in variable and use it for `cpu-used` and `threads`
-   Stick to default for `auto-alt-ref`
-   Stick to default for `lag-in-frames`

    Q=32
    CPU=8
    ffmpeg -y -i "$1" -c:v libvpx-vp9 -b:v 0 -crf $Q -an -row-mt 1 -tile-columns 2 -tile-rows 2 -cpu-used $CPU -g 240 -pass 1 -f webm -threads $CPU /dev/null &&
        ffmpeg -y -i "$1" -c:v libvpx-vp9 -b:v 0 -crf $Q -c:a copy -row-mt 1 -tile-columns 2 -tile-rows 2 -cpu-used $CPU -pass 2 -g 240 -threads $CPU "$2"

Other considerations:

-   We might want to tweak the time before keyframes (`-g`).


### DONE Figure out workflow for handling submitted prerecs

We need time after the prerecs get submitted to:

-   convert the videos and check that they&rsquo;ve been reencoded properly by watching the re-encoded ones all the way to the end
-   caption videos
-   capture any extra info
-   follow up with missing prerecs

Make changes in [As prerecorded talks come in](#prerec-process)


<a id="intro"></a>

## DONE Make something to display between talks     :akshay196:

Goals:

-   Reassure people that they&rsquo;re in the right stream for the talk that they&rsquo;re looking for
-   Direct them to the pad and Q&A for the talk

What to show in between talks:

-   Previous talk: title, speaker, pronouns, talk page, Q&A information (if still live)
-   Next talk: title, speaker, pronouns, talk page, Q&A information, countdown

<https://media.emacsconf.org/2022/backstage/gen-in-between.pdf>
<https://media.emacsconf.org/2022/backstage/dev-in-between.pdf>

-   Good: Static image, maybe created with LaTeX
-   Better: Video with unobtrusive sound so people can doublecheck that their audio works
-   Best: Emacs thing so that we can have a dynamic timer and last-minute announcements, and so that it&rsquo;s Emacs =)
-   Even better than that: A compact view that can be overlaid on the Q&A session using OBS

See break commercials
<https://www.collabmagazine.com/organizing-a-multi-track-virtual-conference-with-microsoft-teams-live-events-a-technical-playbook-and-lessons-learned/>

OBS scenes (maybe?):

-   splash-screen when we’re on break
-   scene when broadcasting a talk (where we might want a logo and a bar or surrounding to broadcast messages like time left in
    recording); and
-   Q&A scene with host-webcam, optional speaker-webcam, and pad with questions.
-   Q&A scene focusing on shared screen from speaker
-   Q&A scene with IRC and pad

Nothing is urgent, blocking it, or being blocked by it, so you can
play around with ideas.

We&rsquo;re experimenting with two tracks this year, so we expect that some
people will join midway through a talk or Q&A session and
would like to reorient themselves. Some Q&A sessions may end
early, so we would like to reassure people that they&rsquo;re in
the right spot for the next talk. Most Q&As will be done
live, but some Q&As will be done over IRC, so we need to
point people to the right place.

and if there&rsquo;s room for a little extra info like public e-mail
addresses or pronouns, that can help people when they discuss
things. That info will be in the pad and IRC, though, so it&rsquo;s
also okay to omit it

We can programmatically replace strings in
SVG from Emacs, so we can easily use that as an overlay.

<zaeph> …Or, if you just want to focus on the look of
things, we can think of the content on our own. 

<sachac> oh yeah, totally, you can just focus on the design and use
placeholder text

Overlay considerations:

-   talk videos will likely have subtitles; no subtitles for Q&A
-   zaeph doesn&rsquo;t like vertical text


### DONE Generate talk banners     :sachac:

![img](https://gitlab.com/akshay196/emacsconf-artwork/-/blob/main/2022/talk-banner/sample.svg)
<https://gitlab.com/akshay196/emacsconf-artwork/-/blob/main/2022/overlays/src/>


### TODO Make a list of different things to plug during commercial breaks, like Mastodon     :sachac:


### CANCELLED Create a version of in-between that we can use for Q&A, since it&rsquo;s no longer &ldquo;Coming Next&rdquo;


## DONE Find volunteers for tech-checks     :zaeph:


### DONE Add entry in 2022/volunteer.md


### DONE Write protocol for adding tech-checker volunteer

-   Invite volunteer to BBB (ask core organizers)
-   Update <prepare.md> with new tech-checker info
-   Coach tech-checker on the protocol


### DONE Write the tech-checking protocol (formerly referred to as “tech-checklist”)

From previous years:

> -   Can you speak and be heard? Is there echo?
> -   Can you hear the organizer?
> -   Can you share your screen? Is the screen readable?
> -   If you plan to show your keystrokes, is that display visible?
> -   If you want to share your webcam (optional), can you enable it? Is it visible? Will there likely be distractions in the background?
> -   Can you view the collaborative pad? Will you be comfortable reviewing questions on your own (perhaps by keeping it open beside your shared window), or will you need a volunteer to relay questions to you?
> -   Can you share contact information (ex: phone number) so that we can get in touch with you in case of technical issues or scheduling changes?
> -   Do you need help finding your way around IRC so that you can check into \`#emacsconf-org\`? What is your IRC nickname?


<a id="conforg"></a>

## DONE Move conf.org management to orga@res.emacsconf.org     :sachac:

so that more people can work with it during the conference
See the publish role in the ansible playbook


## DONE Ask speakers for bios or support nudges to include on their talk pages     :wiki:

maybe after we get the prerecs
ex: liberapay, patreon, anyone looking for a job, etc.


## DONE Set up BBB rooms and update conf.org     :sachac:

1.  Log on to bbb.emacsverse.org as an admin.
2.  Create a room. Enable **Mute users when they join**.
    
    The code below doesn&rsquo;t quite work, but might be a good starting point for future automation.
    
        (setq list (seq-drop (emacsconf-bbb-room-title-list) 3)) ; skip some if needed
        (progn
          (setq name (pop list))
          (kill-new (format "name=\"%s\";$('#create-room-block').click();$('#create-room-name').val(name);$('#room_mute_on_join').click();$('.create-room-button').click();\n"
                            name))
          (sleep-for 1)
          (shell-command "xdotool key alt+Tab sleep 3 key ctrl+v sleep 1 key Return"))

console.log(JSON.stringify([&#x2026;document.querySelectorAll(&rsquo;.delete-room&rsquo;)].map((o) => { return { name: o.getAttribute(&rsquo;data-name&rsquo;), path: o.getAttribute(&rsquo;data-path&rsquo;) }}).filter((o) => o.name.match(*^ec22*))))

see conf.org for the rest of the process


### DONE Add volunteers to the BBB rooms

-   vetrivln: sat-am-dev, sun-am-dev
-   FlowyCoder: sat-pm-gen, sun-pm-gen
-   jman: sun-pm-gen


### DONE Doublecheck mute on join

[Shifts](file:///home/sacha/proj/emacsconf/wiki/2022/organizers-notebook/index.md)

    list = [...document.querySelectorAll('.room-name-editable')].filter((o) => o.value.match(/^ec22-(sat|sun)/));
    list.reduce(async(prev, elem) => {
      await prev;
      if (!sessionStorage.getItem(elem.value)) {
        return new Promise(async (resolve, reject) => {
          card = elem.closest('.card-body');
          card.querySelector('.item-action.dropdown a').click();
          await new Promise(r => setTimeout(r, 1000));
          card.querySelector('.update-room').click();
          await new Promise(r => setTimeout(r, 1000));
          if (!document.querySelector('#room_mute_on_join').checked) {
            document.querySelector('#room_mute_on_join').click();
            sessionStorage.setItem(elem.value, true);
            await new Promise(r => setTimeout(r, 1000));
            document.querySelector('.update-only.create-room-button').click();
          } else {
            sessionStorage.setItem(elem.value, true);
            document.querySelector('#createRoomModal').click();
          }
          resolve(true);
        });
      }
    });


<a id="coordinate-volunteers"></a>

## DONE Coordinate and help volunteers     :sachac:

-   <../volunteer>
-   Figure out what information volunteers need in order to feel
    comfortable signing up for tasks. ex:
    <https://wiki.debian.org/DebConf/21/VideoVolunteering>
-   Encourage people to sign up for [Shifts](#shifts)


### DONE Plan training session(s), Q&A availability, recordings


### CANCELLED Hold Q&A session with volunteers


<a id="streaming"></a>

## DONE Investigate streaming options, maybe OBS in the cloud     :sachac:

Current status:

-   res.emacsconf.org seems to be able to handle 2x (OBS + TigerVNC + MPV, should test with Firefox as well)
-   corwin and jman will stream gen from OBS on res
-   bandali will stream dev from his laptop
-   let sachac know if you want manual control or more autopilot for the gen stream

Goals:

-   [X] Be able to start a VNC server with OBS, MPV, and Firefox, connect to it, and stream
-   [X] Have another session with the sound isolated
-   [-] Split the audio so that we can join the Q&A room before the MPV ends - handled by automatic scene switcher detecting mpv, but we can&rsquo;t share just a window, so we might as well just wait
-   [X] Control MPV from the commandline: track-mpv appears in the correct display, and it can also be controlled via the socket like this: echo &rsquo;{ &ldquo;command&rdquo;: [&ldquo;loadfile&rdquo;, &ldquo;test2.webm&rdquo;] }&rsquo; | socat - ~/mpv-socket-emacsconf-dev
-   [ ] Share the window instead of the desktop?

Prerequisites:

-   You need to be able to SSH out to res.emacsconf.org on port 46668
    and forward ports, so one of the main organizers needs to add your
    SSH public key to the authorized\_keys file. Please e-mail your SSH
    public key to sacha@sachachua.com and test that port 46668 is not
    blocked.
-   For streaming from OBS in VNC, you will need a VNC viewer like
    tigervnc-viewer.
-   For streaming from your local computer, you will need OBS and FFmpeg.

During the conference, you will:

-   play the talk video (unless it&rsquo;s automatically managed by the agenda) and update the overlays
-   display intro/intermission information as needed
-   open the Q&A windows, like the pad and the BBB room/IRC (unless it&rsquo;s automatically managed by the agenda)
-   adjust the volume if needed
-   arrange windows and focus the BBB room on the speaker&rsquo;s webcam if needed
-   if you like, you can be responsible for managing the track from conf.org on orga@res.emacsconf.org

Dry run checklist:

-   [ ] Connect to the server
    ssh orga@res.emacsconf.org -p 46668
    emacsconf   # runs emacsclient -c -a emacs
-   [ ] Forward ports and connect via VNC
-   [ ] Find the OBS or start it if it is not running
-   [ ] Start recording
-   [ ] Play a video
-   [ ] Open two Firefox windows and arrange them
-   [ ] Manage windows on the workspace
-   [ ] Adjust the volume in OBS
-   [ ] SSH to the server and play a video off-screen
-   [ ] SSH to the server with X forwarding and adjust the volume off-screen


### Broadcasting from local OBS (option A)

-   You can copy the profile from your track or look inside it for the icecast mount point details:
    -   Gen: rsync -avze &rsquo;ssh -p 46668&rsquo; emacsconf-gen@res.emacsconf.org:~/.config/obs-studio/basic/profiles/ ~/.config/obs-studio/basic/profiles/
    -   Dev: rsync -avze &rsquo;ssh -p 46668&rsquo; emacsconf-dev@res.emacsconf.org:~/.config/obs-studio/basic/profiles/ ~/.config/obs-studio/basic/profiles/

-   Sacha will turn off the OBS recordings on res so that you can test streaming from your computer
    -   If you&rsquo;re doing this independently, you can jump ahead to &ldquo;Connecting to VNC&rdquo; in order to stop the recording yourself

-   Verify with MPV:
    
        mpv https://live0.emacsconf.org/gen.webm
        mpv https://live0.emacsconf.org/dev.webm

-   With luck, the 480p streams will be up automatically as well
    
        mpv https://live0.emacsconf.org/gen-480p.webm
        mpv https://live0.emacsconf.org/dev-480p.webm


### Connecting to VNC (option B)

1.  Stop broadcasting locally if you were testing local OBS.

2.  Install a VNC viewer on your system (ex: tigervnc-viewer).

3.  Set up your local environment:
    -   gen: export TRACK=gen; export TRACK\_PORT=5905; export SSH\_PORT=46668
    -   dev: export TRACK=dev; export TRACK\_PORT=5906; export SSH\_PORT=46668

4.  Copy the password:
    
    scp emacsconf-$TRACK@res.emacsconf.org:~/.vnc/passwd vnc-passwd-$TRACK -p $SSH\_PORT

5.  Forward your local ports and connect via VNC viewer to the
    appropriate forwarded port from your laptop:
    
        ssh emacsconf-$TRACK@res.emacsconf.org -N -L $TRACK_PORT:127.0.0.1:$TRACK_PORT -p $SSH_PORT &
        sleep 5   # Give it time to establish the tunnels
        xvncviewer 127.0.0.1:$TRACK_PORT -shared -geometry 1280x720 -passwd vnc-passwd-$TRACK &
    
    (If this doesn&rsquo;t find a VNC server to connect to, you can start it with `ssh emacsconf-$TRACK@res.emacsconf.org -p $SSH_PORT /home/emacsconf-$TRACK/bin/track-vnc`)

6.  Start **recording** (not streaming). If you don&rsquo;t see OBS when you connect, it&rsquo;s probably on workspace 2, so you can switch with Alt-2. If you still don&rsquo;t see it there, you can open a terminal with Alt-Enter and then run `track-obs`. After you start recording, confirm that it is now broadcasting to the stream.

7.  Verify with MPV on your local system:
    
        mpv https://live0.emacsconf.org/$TRACK.webm &

8.  With luck, the 480p streams will be up automatically as well. On your local system:
    
        mpv https://live0.emacsconf.org/$TRACK-480p.webm &

9.  Play a video. It should display the video and update the overlays. If you need to update the overlays manually, you can copy files from `/data/emacsconf/overlays` onto `$HOME/other.png` and `$HOME/video.png`.
    
    You can play a video with `play video-id` (ex: `play meetups`), or you can specify the filename (ex: ~play ~/stream/emacsconf-2022-meetups\*.webm).
    
    termit: Ctrl-Shift-t makes a new tab
    
    i3 cheat sheet:
    
    -   Alt-Enter creates a terminal
    -   Alt-d runs a command
    -   Alt-e toggles horizontal/vertical split
    -   Alt-f toggles full-screen
    -   Alt-w switches to tabbed view
    -   Alt-1 switches to workspace 1, Alt-2 switches to workspace 2
    -   Alt-Shift-2 moves things to workspace 2
    -   Alt-Shift-Left moves the current window to the left
    -   Alt-Shift-Right moves the current window to the right

10. Test Q&A. You can either wait for the video to finish or quit it with &ldquo;q&rdquo;.
    You can paste in the URLs or use
    `firefox /data/emacsconf/2022/index-$TRACK.html`

11. Test adjusting the audio
    -   `ssh emacsconf-$TRACK@res.emacsconf.org -p 46668`
    -   Then use `qa-louder`, `qa-quieter`, or `qa-vol vol%` (ex: `qa-vol 90%`)

Other notes and tips:

-   You can use Emacs for emergency or ad-hoc announcements.
-   Use OBS or `pavucontrol` to adjust the volume of BBB as needed. You might be able to manage `pavucontrol` off-screen with `ssh emacsconf-$TRACK@res.emacsconf.org -X -p $SSH_PORT pavucontrol`.
-   You can also `ssh emacsconf-$TRACK@res.emasconf.org -p 46668` and start new processes from the command-line, such as using `track-mpv`. If you specify commands when you call SSH instead of using an interactive shell, you may need to also specify DISPLAY=:5 (for the gen track) or DISPLAY=:6 (for the dev track), since ssh won&rsquo;t pick up the variables from  `.bashrc`.
-   If you have a Wayland-only desktop without any X11 compatibility layer (example: [Sway](https://swaywm.org) with `xwayland disable`) the suggested software (`tigervnc`) might no work. You can use instead for example `gnome-remote-desktop`. The password for the VNC connection can be retrieved from the file `vnc-passwd-$TRACK` (3DES encrypted).


### Managing the stream from the agenda (option B2)

ssh orga@res.emacsconf.org -p $SSH\_PORT
emacsconf     # runs emacsclient -c -a emacs

You can then use

-   emacsconf-stream-play-video
-   emacsconf-stream-open-qa-windows-on-change
-   emacsconf-agenda-by-track
-   emacsconf-agenda

If things are going well, you can use C-c C-t on the agenda view to change a talk to PLAYING, CLOSED\_Q, or OPEN\_Q, and various things should happen in the background. If they don&rsquo;t happen in the background, use emacsconf-add-org-after-todo-state-change-hook to add the todo state change hook, then try again.

Task state shortcuts for C-c C-t:

-   **m (mpv):** PLAYING - -stream-play-video, emacsconf-stream-set-talk-info, publish the files to the media directory
-   **q (Q&A):** CLOSED\_Q
-   **o (open):** update the BBB redirect URLs to let people into the room
-   u (unstreamed)
-   r (to archive)

You can leave the emacsclient with `C-x 5 0`


#### Do Q&A

From the emacsclient on orga@res.emacsconf.org, you can open various talk-related things:

-   emacsconf-stream-open-pad
-   emacsconf-stream-join-qa
-   emacsconf-stream-join-chat

Alternatively, you can switch to the VNC viewer and use the links in
<file:///data/emacsconf/2022/index-gen.html> or
<file:///data/emacsconf/2022/index-dev.html> .

For Q&A, you may want to have the Etherpad on the left, the BBB Q&A or
IRC chat on the right, and the terminal and OBS windows on
workspace 2.


### Other tasks as needed


#### Display emergency news / announcements

M-x emacsconf-stream-broadcast  to send a message to both streams
or M-x emacsconf-stream-set-news to send a message to one stream.

If that doesn&rsquo;t work, edit the news file directly with:
`ssh emacsconf-$TRACK@res.emacsconf.org > ~/news.txt`

If that doesn&rsquo;t work, use the VNC session to switch to an Emacs window
and type your message in.


#### Kill the VNC server:

ssh emacsconf-$TRACK@res.emacsconf.org &ldquo;vncserver -kill&rdquo;

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">~/bin/track-obs</td>
<td class="org-left">start OBS with the track&rsquo;s profile and scene collection</td>
</tr>


<tr>
<td class="org-left">~/bin/track-mpv file.webm</td>
<td class="org-left">play the file using the track&rsquo;s sink</td>
</tr>
</tbody>
</table>


#### Making OBS scenes

Making OBS scenes is pretty straightforward as you can move the
different blocks on your scene in the preview window.  However, it’s
important to make sure that your video-captures and your overlays are
snapping properly to the edges of the view-port.  To do this, make sure
to right-click on the block inside the preview window, and try the
different fitting options (fit by width, height, etc.) until you find
one that works best.

We’ll probably be streaming at 720p, but since we’re also considering
a 1080p update, try to create your overlays in a format or a resolution
that would support resizing.


### Other notes

There are sockets in the home directory for MPV control if you want to keep that process.
echo &rsquo;{ &ldquo;command&rdquo;: [&ldquo;loadfile&rdquo;, &ldquo;test2.webm&rdquo;] }&rsquo; | socat - ~/mpv-socket-emacsconf-dev 


### DONE Test and document command-line way of managing audio     :sachac:


### DONE Move my conf.org setup to res so that we can control everything from there


### DONE Set timers for changing todo state

    (defun emacsconf-schedule-test-buffer (info)
      (mapcar (lambda (o) (plist-put o :buffer "1") o) info))
    (let ((emacsconf-schedule-strategies '(emacsconf-schedule-test-buffer)))
    (emacsconf-stream-schedule-timers (emacsconf-schedule-prepare
     (emacsconf-schedule-inflate-sexp
      `(("Test gen" :start ,(format-time-string "%Y-%m-%d %H:%M"
    					(time-add (current-time) (seconds-to-time 60))))
        (journalism :time "1")
        (school :time "2")
        (handwritten :time "1")
        ("Test dev" :start ,(format-time-string "%Y-%m-%d %H:%M"
    					(time-add (current-time) (seconds-to-time 60))))
        (treesitter :time "2")
        (lspbridge :time "1")
        (asmblox :time "1"))))))

the dev one worked, but the gen one gets
Couldn’t find local shell prompt for /bin/sh
Tramp: Opening connection **Async Shell Command** for emacsconf-gen@res.emacsconf.org using ssh&#x2026;failed

Maybe I need to stagger them, or maybe I need to use a shell command.
Changed to call ssh directly instead of using tramp.


### DONE Figure out how to work with the layout

<https://i3wm.org/docs/layout-saving.html>


### DONE Allow per-track configuration of todo hooks     :sachac:

emacsconf-todo-hooks


### CANCELLED Use xdotool to automate joining BBB in Firefox (signing in, clicking on listen only)


#### DONE Xdotool over ssh so that I can click things?


### CANCELLED Experiment with sharing part of the screen so that there&rsquo;s space for us to work a little off-screen

We might just have to rely on xdotool to move windows the way we want them
Window fixes that didn&rsquo;t work

-   <https://obsproject.com/forum/threads/solved-window-capture-black-screen.47082/>
-   <https://www.reddit.com/r/obs/comments/kas5ka/obs_window_capture_xcomposite_black_screen/>


### DONE Set up scenes and try them


### DONE Set up text source for URL


### DONE Create Ansible tasks for setting up sinks for MPV and Firefox for the streams, and adding the scenes appropriately


### DONE See if I can even Ansible-up the rest of the tasks

like starting up Firefox and mpv and everything


### CANCELLED obs-websocket control of OBS on the server

so that the streamer can adjust volume offscreen?


### DONE document such that someone else could use/fix it


### DONE recruit at least one more person to help operate the &ldquo;video bouncer&rdquo;


### Other notes

-   bandali doesn&rsquo;t have much cognitive bandwidth at the moment, so we can keep things simple with OBS on laptops

-   Issue: zaeph was dropping frames and couldn’t pay attention to as many things as he wanted
-   Issue: corwin needs assistance to not be locked in his chair for the whole conf.  Premptively, zaeph can do it by broadcasting OBS scenes via the rtmp (instead of just his webcam).
-   With a long day, we may want to be able to schedule hosts/streamers/publishers in shifts
-   Ideal: Easy reproducible setup to spin up an OBS VM with scenes set up, allowing multiple users to connect to it at the same time. Maybe x2go or vnc? VMs with 8 vCPUs and a vGPU cost more, so it would be good to figure out what&rsquo;s needed, spin it down, and then spin it up maybe the day before or something like that.
-   Plus points if we can control the OBS via password-protected websocket so we can tell it to switch scenes (and even more points if we do so from Emacs, maybe via that obs-websocket.el ;) ). MPV is also controllable via IPC, so we can use the same MPV player and then switch videos around. Maybe mpvc? <https://unix.stackexchange.com/questions/664728/how-can-i-control-mpv-in-command-line>
-   Probably Linode&rsquo;s Dedicated 32 GB + RTX6000 GPU x1 at $1.50 an hour for 2-3 days + dev time, since live.emacsconf.org is in Linode as well
-   We should also look into normalization across the board, especially if we have BBB participants.  pipewire + easyeffects on the box might be the easiest way to do it.

-   <https://docs.vdo.ninja/>
-   Live Streaming using low configuration vps <https://www.youtube.com/watch?v=3iBYYgkG1eM&t=953>
-   <https://snowmix.sourceforge.io/Examples/input.html>
-   <https://www.google.com/url?sa=t&source=web&rct=j&url=https://m.youtube.com/watch%3Fv%3D1y-DUYiECWQ&ved=2ahUKEwjPru_TqOv6AhVMkokEHXL9Dm4QtwJ6BAgqEAI&usg=AOvVaw17mbCEiFL6dGVY4YEBufcy>
-   [OBS Studio 26.0 | Hacker News](https://news.ycombinator.com/item?id=24633139)
-   <https://github.com/mviereck/x11docker#sound>
-   <https://vcs.fsf.org/?p=streamdesktop.git;a=tree>
-   <https://opensource.com/article/20/5/conference-free-software>
-   <https://github.com/soonum/hubangl>
-   <https://obsproject.com/forum/threads/run-obs-on-vm-in-the-cloud.122543/>


### DONE Automate in-between display?

[Think about what to do with schedule gaps due to cancelled talks](file:///home/sacha/proj/emacsconf/wiki/2022/organizers-notebook/index.md)

emacsconf-stream-display-clock-and-countdown


#### SOMEDAY Redo in-between slides


#### DONE Automatically display in-between slide if there&rsquo;s no recorded intro

Okay, what&rsquo;s the tricky part here?

todo status triggers playing, so things have to be non-interactive
intro needs to be manual

-   if manual intro
    -   open the in-between page
    -   streamer types &ldquo;play slug&rdquo; manually
-   if recorded intro

Gen:

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-left" />

<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">recorded intro</td>
<td class="org-left">live intro</td>
</tr>


<tr>
<td class="org-left">recorded talk</td>
<td class="org-left"><span title="(emacsconf-stream-play-intro &quot;school&quot;)">school</span>; play automatically</td>
<td class="org-left"><span title="(emacsconf-stream-play-intro &quot;workflows&quot;)">workflows</span>; show in-between, host intros over mumble, streamer types &ldquo;play slug&rdquo;</td>
</tr>


<tr>
<td class="org-left">live talk</td>
<td class="org-left"><span title="(emacsconf-stream-play-intro &quot;journalism&quot;)">journalism</span>; play intro automatically, join bbb</td>
<td class="org-left"><span title="(emacsconf-stream-play-intro &quot;survey&quot;)">survey</span>; join bbb, no in-between slide</td>
</tr>
</tbody>
</table>

Dev:

[async]((emacsconf-stream-play-intro "async"))


#### DONE Make sure recorded intros play

<(emacsconf-stream-play-talk-on-change "school")>  should play intro + video
<(emacsconf-stream-play-video "health")>  should play video (no recorded intro)

dev:
<(emacsconf-stream-play-talk-on-change "treesitter")>  should play intro + video


### DONE Separate mumble audio so that panic button can still bring in our audio


### DONE Prepare for rms talk and Q&A with bandali

Mumble?


#### DONE Reflow and edit VTT for RMS TEDx talk so that things are on one line

<file:///home/sacha/proj/emacsconf/lisp/emacsconf-stream.el>


### DONE Add panic button to OBS settings

Ctrl-Shift-M?


### DONE Add background music to server     :emacsconf:

zaeph suggests using shoshin&rsquo;s music

if ! screen -list | grep -q background; then
   screen -S track-mpv ~/stream/background.wav &
fi


### DONE Make it easy to rebroadcast other track (ex: rms) - might need mpv with minimal configuration, switchable profiles


#### DONE make it easy to rebroadcast


<a id="caption-workflow"></a>

## DONE Smoothen captioning workflow     :sachac:

It looks like OpenAPI needs a little less editing in terms of
capitalization and punctuation, but it produces longer captions
(likely a 30-second sliding window). I&rsquo;ll try to upload both YT and
OpenAPI captions so that people can decide what they like.

[Set up MPV for captions](#mpv-captions)


### DONE Make sure all the captioned files are marked so

    (seq-keep (lambda (o)
    						(when (and (string= (plist-get o :status) "TO_STREAM")
    											 (or (null (plist-get o :captions-edited))
    													 (null (with-temp-buffer
    														 (insert-file-contents
    															(expand-file-name (concat (plist-get o :video-slug) "--main.vtt")
    																								emacsconf-cache-dir))
    														 (goto-char (point-min))
    														 (re-search-forward "captioned by" (line-end-position) t)))))
    							(plist-get o :slug)
    							))
    															(emacsconf-get-talk-info))


### DONE Edit survey captions


### DONE Edit dbus captions


### DONE Figure out why it&rsquo;s choking on SRV2

Can I use aeneas for alignment instead?

Reflow the .txt file and reupload to res if needed
call ../run-aeneas.sh from the directory with the opus or ogg and the txt file

sachac@res-https://emacsconf.org/2022/talks/~/current/meetups$ python3 -m aeneas.tools.execute\_task emacsconf-2022-meetups&#x2013;attending-and-organizing-emacs-meetups&#x2013;bhavin-gandhi&#x2013;main.opus reflowed.srt &ldquo;task\_language=eng|os\_task\_file\_format=json|is\_text\_type=subtitles&rdquo; output.json

I might try out lhotse and torchaudio someday, but it&rsquo;s low priority. aeneas seems to do a reasonable job of 


### DONE Move publishing the backstage index to res so that we can trigger it after the files are uploaded


### DONE Compare large, medium, and small models

12 threads

Original file: 21:16  21 minutes

<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">


<colgroup>
<col  class="org-left" />

<col  class="org-right" />

<col  class="org-right" />

<col  class="org-left" />
</colgroup>
<tbody>
<tr>
<td class="org-left">&#xa0;</td>
<td class="org-right">Hours</td>
<td class="org-right">Mult</td>
<td class="org-left">Notes</td>
</tr>


<tr>
<td class="org-left"><a href="https://media.emacsconf.org/2022/backstage/emacsconf-2022-sqlite--using-sqlite-as-a-data-source-a-framework-and-an-example--andrew-hyatt--large.vtt">Large</a></td>
<td class="org-right">2:49</td>
<td class="org-right">8</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><a href="https://media.emacsconf.org/2022/backstage/emacsconf-2022-sqlite--using-sqlite-as-a-data-source-a-framework-and-an-example--andrew-hyatt--medium.vtt">Medium</a></td>
<td class="org-right">2:03</td>
<td class="org-right">5.9</td>
<td class="org-left">&#xa0;</td>
</tr>


<tr>
<td class="org-left"><a href="https://media.emacsconf.org/2022/backstage/emacsconf-2022-sqlite--using-sqlite-as-a-data-source-a-framework-and-an-example--andrew-hyatt--small.vtt">Small</a></td>
<td class="org-right">0:40</td>
<td class="org-right">2</td>
<td class="org-left">More run-on sentences</td>
</tr>
</tbody>
</table>

Large and medium might do better on a system with a GPU. I&rsquo;ll default to the small model for now.


### DONE Commit subed-tsv so that people can try a cleaner output


### DONE Investigate more granular timestamps for the output from OpenAPI Whisper

<https://git.emacsconf.org/emacsconf-ansible/tree/roles/caption/templates>


### DONE Upload srv2 from YouTube for word-level


### CANCELLED Compare with Google Cloud Speech API

~/code/speech


### DONE E-mail for bringing new captioning volunteers onboard

    (defun emacsconf-mail-backstage-intro (volunteer &optional template)
      (interactive (list (emacsconf-complete-volunteer)))
      (emacsconf-mail-prepare
       (or template (emacsconf-mail-merge-get-template "backstage-intro"))
       (assoc-default "EMAIL" volunteer 'string=)
       (list
        :backstage "https://media.emacsconf.org/2022/backstage/"
        :backstage-user "emacsconf"
        :backstage-password emacsconf-backstage-password
        :conf-name emacsconf-name
        :year emacsconf-year
        :name (assoc-default "NAME_SHORT" volunteer 'string=)
        :email (assoc-default "EMAIL" volunteer 'string=))))


#### Template

Hi ${name}!

Thank you for volunteering for ${conf-name} ${year}!

We&rsquo;ve set up ${backstage} as the backstage area where you can view the
videos and resources uploaded so far. You can access it with the
username "${backstage-user}&ldquo; and the password &rdquo;${backstage-password}&ldquo;.
Please keep the backstage password and other speakers&rsquo; talk resources
secret.

For some ideas on ways to help, you can check out
<https://emacsconf.org/2022/volunteer/> . You can also suggest other
things you might be interested in.

You can ask questions or chat with other volunteers by e-mailing the
mailing list at emacsconf-org@gnu.org or dropping by #emacsconf on the
libera.chat IRC network. You can also e-mail me or
emacsconf-org-private@gnu.org if you have private questions.

Thank you again for your help! =)

Sacha Chua


### DONE E-mail for bringing new captioning volunteers onboard

    (defun emacsconf-mail-captioning-intro (volunteer &optional template)
      (interactive (list (emacsconf-complete-volunteer)
                         (emacsconf-mail-merge-get-template "captioning-intro")))
      (emacsconf-mail-prepare
       (or template (emacsconf-mail-merge-get-template "captioning-intro"))
       (assoc-default "EMAIL" volunteer 'string=)
       (list
        :backstage "https://media.emacsconf.org/2022/backstage/"
        :backstage-user "emacsconf"
        :backstage-password emacsconf-backstage-password
        :conf-name emacsconf-name
        :year emacsconf-year
        :name (assoc-default "NAME_SHORT" volunteer 'string=)
        :email (assoc-default "EMAIL" volunteer 'string=))))


#### Template

Hi ${name}!

Thank you for volunteering to help with the captions for ${conf-name}
${year}! Last year, we were able to get almost all the talks captioned
in time for streaming. Participants found them very useful for
understanding different technical terms, names, accents, and so on.
We&rsquo;d love to be able to pull that off again this year, and it would be
great to have you on board.

We&rsquo;ve set up ${backstage} as the backstage area where you can view the
videos and resources uploaded so far. You can access it with the
username "${backstage-user}&ldquo; and the password &rdquo;${backstage-password}&ldquo;.
Please keep the backstage password and resources secret. If you see a
talk that you&rsquo;d like to caption, you can e-mail me at
sacha@sachachua.com and I can reserve it for you. Then you can correct
any misrecognized words, fix capitalizations, remove filler words as
needed, and so on.

You&rsquo;ll probably want to work with either the VTT or the TXT versions
(VTT is WebVTT format and has timestamps), but you can check the other
talk resources in case the speaker has posted scripts or other useful
things. Both VTT and TXT are plain text, so feel free to use your
favourite text or subtitle editor. I&rsquo;ve posted a brief demo of how I
edit captions at
<https://media.emacsconf.org/2022/backstage/editing-captions.html> , and
you can find more captioning tips at <https://emacsconf.org/captioning/>
. You can convert it to whatever format you like. If you prefer to
work with plain text, we can figure out the timestamps afterwards.

Let me know if you want to reserve a talk for captioning or if you have
any questions or suggestions. We&rsquo;re also in the #emacsconf-org channel
on the libera.chat IRC network, which you can connect to with your
favourite IRC client or through the web-based interface at
<https://chat.emacsconf.org/> .

Sacha Chua


### DONE Support cue IDs in subed-vtt.el


### CANCELLED jiwer · PyPI - measure error rate

<https://pypi.org/project/jiwer/>


### SOMEDAY Think about flow for YouTube captions

are they at the right length?


### DONE Check captions for rms talk


### TODO Try whisper.cpp

commented out `-mavx` to get it to compile in Debian on res

ffmpeg -y -i emacsconf-2022-rmsted&#x2013;main.ogg -acodec  pcm\_s16le -ac 1 -ar 16000 emacsconf-2022-rmsted&#x2013;main.wav
/usr/src/whisper.cpp/main -f emacsconf-2022-rmsted&#x2013;main.wav -m models/ggml-large.bin -ovtt -otxt


### DONE edit rms tedx captions, they&rsquo;re not actually edited!


### DONE realign subtitles if needed, looks like aeneas options need tweaking

    (seq-keep
     (lambda (file)
    	 (let ((subtitles (subed-parse-file file))
    				 gaps)
    		 (while (cdr subtitles)
    			 (setq gaps (cons (- (elt (cadr subtitles) 1) (elt (car subtitles) 2))
    												gaps))
    			 (setq subtitles (cdr subtitles)))
    		 ;; if there are gaps more than
    		 (let ((big-gaps (seq-filter (lambda (gap) (> gap 100)) gaps)))
    			 (when big-gaps
    					 (list (file-name-base file)
    								 (length big-gaps)
    								 (apply #'max big-gaps)))))
    	 )
     (directory-files emacsconf-cache-dir t "--main.vtt$") 
     )


## DONE Find a way to accommodate a specific return-speaker

We’re not sure if we’re going to get a presentation or a prerec for them
this year, but we need to keep this at the back of our minds.

Note on how DebConf handled incidents:
<https://www.mail-archive.com/search?l=debconf-team@lists.debian.org&q=subject:%22Re%5C%3A+DebConf+21+Incident+Response%22&o=newest&f=1>


## DONE Write check-in email     :sachac:


### DONE Switch all the rooms to allow anyone to start them - one less step for the check-in person

    //list = [...document.querySelectorAll('.room-name-editable')].filter((o) => o.value.match(/^ec22-(sat|sun)/));
    card = document.querySelector('a[href=\"%s\"] .card-body');
    card.querySelector('.item-action.dropdown a').click()
    card.querySelector('.update-room').click()
    if (!document.querySelector('#room_anyone_can_start').checked) {
        document.querySelector('#room_anyone_can_start').click();
    }
    document.querySelector('.update-only.create-room-button').click();

okay, next thing, it automatically refreshes. so I can&rsquo;t run the whole Javascript, I need to xdotool it.

    (setq list (mapcar (lambda (o) (plist-get o :bbb-room)) (emacsconf-get-talk-info)))
    (setq list (seq-drop list (seq-position list "https://bbb.emacsverse.org/b/sac-rvc-kd2-pev")))
    (progn
      (setq item (pop list))
      (when (string-match "/b/\\(.*\\)" item)
        (kill-new (format "card = document.querySelector('a[href=\"%s\"] .card-body');
    card.querySelector('.item-action.dropdown a').click()
    card.querySelector('.update-room').click()
    if (!document.querySelector('#room_anyone_can_start').checked) {
        document.querySelector('#room_anyone_can_start').click();
    }
    document.querySelector('.update-only.create-room-button').click();
    "
                          (match-string 0 item)))
        (sleep-for 2)
        (shell-command "xdotool key alt+Tab")))

Relying on xdotool seems a little fragile. Let&rsquo;s just check the page
itself for the next one that needs to be done.

    list = [...document.querySelectorAll('.room-name-editable')].filter((o) => o.value.match(/^ec22-(sat|sun)/));
    list.reduce(async(prev, elem) => {
      await prev;
      if (!sessionStorage.getItem(elem.value)) {
        return new Promise((resolve, reject) => {
          card = elem.closest('.card-body');
          card.querySelector('.item-action.dropdown a').click();
          card.querySelector('.update-room').click();
          sessionStorage.setItem(elem.value, true);
          setTimeout(function() {
            if (!document.querySelector('#room_anyone_can_start').checked) {
              document.querySelector('#room_anyone_can_start').click();
              document.querySelector('.update-only.create-room-button').click();
            } else {
              document.querySelector('#createRoomModal').click();
            }
            resolve(true);
          }, 500);
        });
      }
    });


### DONE Update checkin instructions


### Templates

Goals:

-   Ask speaker verify their scheduled time
    It has already been confirmed with them, but it might have changed slightly
    -   HOW: They should check the time at the top of their talk page on the day of the conference
-   Double-check Q&A preference, encourage tech checks for live talks/Q&A
    -   If they are available:
        -   Direct to tech-checks via <https://emacsconf.org/${year}/prepare/>
        -   Inform them of the check-in process
            -   They come say hi to us 30&rsquo; before their session in #emacsconf-org or #emacsconf (they can use chat.emacsconf.org )
            -   We get them set up in a room where they can wait until the end of the broadcast of their pretention
            -   They’re joined by the streamer and host.
-   Warning about potential emergency changes

Slightly more complex because of the conditionals

    (defun emacsconf-mail-checkin-instructions (group &optional template)
      "Send checkin instructions.
    GROUP is (email . (talk talk))"
      (interactive (list (emacsconf-mail-complete-email-group
                          (seq-filter
                           (lambda (o)
                             (or
                              (string= (plist-get o :status) "CANCELLED")
                              (null (plist-get o :email))
                              (string-match "after" (or (plist-get o :q-and-a) ""))))
                           (emacsconf-get-talk-info)))))
      (let* ((talks (seq-remove
                    (lambda (o)
                      (or
                       (string= (plist-get o :status) "CANCELLED")
                       (null (plist-get o :email))
                       (string-match "after" (or (plist-get o :q-and-a) ""))
                       (save-window-excursion
                         (emacsconf-with-talk-heading o
                           (re-search-forward "checkin instructions" (save-excursion (org-end-of-subtree)) t)))))
                    (cdr group)))
             (waiting-talks (seq-find (lambda (o) (string= (plist-get o :status) "WAITING_FOR_PREREC")) talks)))
        (when talks 
          (emacsconf-mail-prepare
           (or template (emacsconf-mail-merge-get-template "checkin-at-conf"))
           (car group)
           (list
            :year emacsconf-year
            :base-url emacsconf-base-url
            :conf-name emacsconf-name
            :email (plist-get (car talks) :email)
            :emergency emacsconf-emergency-contact
            :plural (if (> (length (cdr group)) 1) "s" "")
            :speakers-short (plist-get (car talks) :speakers-short)
            :url (mapconcat (lambda (o) (concat emacsconf-base-url (plist-get o :url)))
                            talks" , ")
            :waiting
            (cond
             ((> (length waiting-talks) 1)
              " If you can upload your talk videos before the conference, I think that might be much less stressful for everyone than doing it live. =) Please note that we will turn off the web-based upload on Dec 1 to free up memory on the server, so please upload them as early as you can.${wrap}")
             ((= (length waiting-talks) 1)
              " If you can upload your talk video before the conference, I think that might be much less stressful for everyone than doing it live. =) Please note that we will turn off the web-based upload on Dec 1 to free up memory on the server, so please upload it as early as you can.${wrap}")
             (t ""))
            :checkin-info
            (mapconcat
             (lambda (o)
               (let ((base-checkin (format-time-string "%b %-d %-l:%M %p" (plist-get o :checkin-time) emacsconf-timezone))
                     (speaker-checkin (format-time-string "%b %-d %-l:%M %p" (plist-get o :checkin-time) (plist-get o :timezone))))
                 (emacsconf-replace-plist-in-string
                  (append (list :base-url emacsconf-base-url
                                :check-in
                                (concat
                                 "Before " 
                                 base-checkin " in " emacsconf-timezone
                                 (if (string= base-checkin speaker-checkin)
                                     ""
                                   (concat
                                    ", which is the same as " speaker-checkin " in " (plist-get o :timezone))) "\n"
                                 "  (this is " (plist-get o :checkin-label) ")")
                                :qa-info-speakers
                                (cond
                                 ;; aaaaah, no prerec yet
                                 ((string= (plist-get o :status) "WAITING_FOR_PREREC")
                                  (concat "Talk and Q&A BigBlueButton room: " (plist-get o :bbb-room)))
                                 ((null (plist-get o :q-and-a)) "")
                                 ((string-match "live" (plist-get o :q-and-a)) (concat "Q&A BigBlueButton room: " (plist-get o :bbb-room)))
                                 ((string-match "irc" (plist-get o :q-and-a)) (concat "Q&A: " (plist-get o :channel) " (" (plist-get o :webchat-url) ")"))
                                 ((string-match "pad" (plist-get o :q-and-a)) "Q&A: On the pad")
                                 (t "Q&A: After the event")))
                          o)
                  "- ${title}
      Info and sched: ${base-url}${url}
      Check-in: ${check-in}
      Pad: ${pad-url}
      ${qa-info-speakers}")))
             talks "\n\n")))
          (mapc (lambda (o)
                  (emacsconf-mail-log-message-when-sent o "Sent checkin instructions"))
                talks))))


#### E-mail for speakers who are planning to be at the conference

Hello, ${speakers-short}!

We&rsquo;re looking forward to having you join us at EmacsConf!

We&rsquo;ve updated the schedule based on the submissions and cancellations,
and we&rsquo;ll probably update the schedule even on the day of the
conference. You can get a rough idea of your schedule on your talk
page${plural}. You might want to check your talk page${plural} some time next
week to get a rough sense of where it is, and then check it again on
the day of your talk${plural}. Please let me know if the times don&rsquo;t
work for you.

We&rsquo;ll try our best to keep your talk in the same general timeslot (ex:
Saturday morning, Saturday afternoon, Sunday morning, Sunday
afternoon). We&rsquo;ve done some dry-runs, but just in case it turns out
that running two tracks at the same time leaves us too frazzled, we
may drop back to one track with Q&A on an alternate stream, like last
year. If there are big changes to your schedule on the day of your
talk${plural}, you&rsquo;ll get an e-mail from us with a subject like
&ldquo;URGENT: EmacsConf 2022: &#x2026;&rdquo;.${wrap}

Here&rsquo;s your talk page URL and checkin information:

${checkin-info}

Please check in early so that we can deal with scheduling changes or
technical issues, and so that we don&rsquo;t worry too much about whether
you&rsquo;ll be ready to go for Q&A. =) You can find the check-in process at
${base-url}${year}/speakers/ .${waiting}

If something comes up, please let us know as soon as you can. Here&rsquo;s
my emergency contact information: ${emergency}

Thank you for sharing your time and energy with the EmacsConf community!

Sacha

p.s. If you need to cancel, that&rsquo;s okay too, life happens. Let me know
as soon as you can and I&rsquo;ll try to shuffle things around. Thank you!


#### E-mail for speakers who are not planning to be around, but who have sent us their prerecs

Hello, ${name}!

Thank you so much for contributing a talk for EmacsConf ${year}! We&rsquo;re
looking forward to collecting questions and forwarding them to you by
e-mail after the conference. We&rsquo;ll also post the prerecording at the
time that it gets streamed, so people will be able to access it at
${url} once it has gone live.

If it turns out that you can make it to the conference after all, feel
free to drop us a line at #emacsconf-org and we&rsquo;ll let people know
you&rsquo;re around. You can find the check-in process at
<https://emacsconf.org/${year}/speakers/> .

Thank you again for being part of EmacsConf ${year}!

Sacha


### CANCELLED Draft e-mail to send speakers who may need to do it live


### DONE Make sure IRC talks get BBB checkin information if they need to do it live     :mail:

survey, orgyear, lspbridge, eev, python


<a id="one-track"></a>

## Plan in-case-of-emergency schedule for dropping back to one track after Saturday morning     :sachac:derisk:

We might be able to do it on a modular basis (Saturday afternoon, Sunday morning, or Sunday afternoon).
We need a quick way to notify the affected speakers, and we should give them a heads-up as well.
We also need a quick way to update the schedule.


### DONE Update conf.org and the wiki based on the selected emergency schedule


### DONE Give speakers a heads-up regarding schedule tweaks and the potential for bigger schedule changes


### DONE Draft the code for mailing all the affected speakers


### Saturday afternoon

-   ![img](emergency-back-to-one-sat-pm.svg)


### Sunday morning

-   ![img](emergency-back-to-one-sun-am.svg)


### Sunday afternoon

-   ![img](emergency-back-to-one-sun-pm.svg)


### DONE Get the emergency schedule sorted out so that we can easily switch to it

To change, set emacsconf-schedule-apply to t
M-x emacsconf-update-schedule
Commit the wiki and push it
Draft the e-mail for emergency schedule


### DONE Draft e-mail for emergency schedule

    (defun emacsconf-mail-emergency-update (group &optional template)
      "Send emergency schedule update.
    GROUP is (email . (talk talk))"
      (interactive (list (emacsconf-mail-complete-email-group)))
      (setq template (or template (emacsconf-mail-merge-get-template "emergency")))
      (emacsconf-mail-prepare
       template
       (car group)
       (list
        :urls (mapconcat (lambda (o) (plist-get o :absolute-url)) (cdr group) " , ")
        :emergency emacsconf-emergency-contact
        :conf-name emacsconf-name
        :year emacsconf-year
        :email (plist-get (cadr group) :email)
        :plural (if (= (length (cdr group)) 1) "" "s")
        :schedule
        (mapconcat
         (lambda (o)
           (concat "Talk: " (plist-get o :title) "\n"
                   "URL: " (plist-get o :absolute-url) "\n"
                   "New start of talk: "
                   (format-time-string
                    "%b %-e %-I:%M %#p %Z"
                    (plist-get o :start-time)
                    emacsconf-timezone)
                   "\n"
                   (if (string= emacsconf-timezone (plist-get o :timezone))
                       ""
                     (concat
                      "which is the same as "
                      (format-time-string
                       "%b %-e %-I:%M %#p %Z"
                       (plist-get o :start-time)
                       (plist-get o :timezone))))))
         (cdr group)
         "\n\n"))))


#### Template

Sorry about the last-minute change. We needed to update the schedule
because two tracks turned out to be too much for us to handle at the
moment. The new schedule will play all the talks on one stream, and
the other stream will handle Q&A. 

Here&rsquo;s a copy of the updated schedule for your convenience:
${schedule}

Please check in at least 30 minutes before your talk (or 60 minutes if
you&rsquo;re going to do it live). <https://emacsconf.org/2022/speakers/> has
more details.

You can also find the new schedule at the page URL${plural} above.
Please let me know if you can&rsquo;t make it. We can collect the questions
and you can follow up afterwards. You can reach me by e-mail or in
\#emacsconf-org on IRC, or with this emergency contact info:
${emergency}

Thank you for your patience!

Sacha


<a id="comms"></a>

# Communications


## DONE Ask emacsconf-org-private for feedback on early submissions

The EmacsConf 2022 CFP was extended to Sept 30 with notifications to
go out on Oct 15. We&rsquo;ve got plenty of submissions and with any luck,
you&rsquo;ve been reviewing them as they come in (assuming you have access to
emacsconf-submit@).

As a courtesy to people who got their stuff together in a timely manner
and to give them extra time to prepare a prerecorded talk (which might
also translate into extra time for us to process and caption the talks),
I&rsquo;d like to send acceptances and tentative time allotments by Sept 30.
I plan to offer a max of 20 minutes with a note that additional time may
be available for Q&A depending on how many additional submissions we get.

Could everyone who wants a say in the program please add comments to
$url by ****Sept 26**** so that we can send out early acceptances? In
general, we try to say yes to everything, so here&rsquo;s your chance to
raise any red flags or suggest ways to make things even better.
Thanks!

Sacha


<a id="acceptance"></a>

## DONE Acceptance     :sachac:

We can accept early or send people a note saying notification of acceptance will be on Oct 15, because of the extended CFP.
Right before this e-mail:

-   Publish the wiki pages

Objectives for this e-mail:

-   Notify people of acceptance
-   Tell them the number of minutes to plan for\* (might get more)
-   Tell them about the target date
-   Get them to reply
-   Ask for public contact information or any changes to the wiki page

    
    (defun emacsconf-draft-acceptance-for-email-group (group &optional template)
      "GROUP is (email . (talk talk))."
      (interactive (list (emacsconf-mail-complete-email-group)))
      (let* ((template (or template (emacsconf-mail-merge-get-template "acceptance")))
             (talks (cdr group))
             (first (car talks))
             (reply-by-date (date-to-time "2022-10-08"))
             (prerec-target (date-to-time "2022-11-04"))
             (attrs `(:speakers-short
                      ,(plist-get first :speakers-short)
                      :plural
                      ,(if (= (length talks) 1) "" "s")
                      :email
                      ,(plist-get first :email)
                      :year
                      ,(or (plist-get first :year) emacsconf-year)
                      :reply-date
                      ,(format-time-string "%b %-e (%a)" reply-by-date)
                      :titles
                      ,(mapconcat (lambda (o) (format "\"%s\" (%s)"
                                                      (plist-get o :title)
                                                      (plist-get o :slug)))
                                  talks " and ")
                      :prerec-target
                      ,(format-time-string "%b %-e (%a)" prerec-target)
                      :page-urls
                      ,(mapconcat (lambda (o) (concat "- " (plist-get o :url)))
                                  talks "\n")
                      :irc
                      ,(if (plist-get first :irc) (concat (plist-get first :irc) "? ") "")
                      :acceptance-tasks
                      ,(concat
                       "* TODO Reply to acceptance e-mail in order to confirm e-mail communication  :emacsconf:
      DEADLINE: " (format-time-string "<%Y-%m-%d %a>" reply-by-date) "\n  Please include any extra information you want (ex: public e-mail, IRC nick) on\n"
    (mapconcat (lambda (o) (concat "  " (plist-get o :url)))
               talks "\n") "\n"
    (mapconcat (lambda (o) (format "* TODO Record %s-minute talk for \"%s\" (%s)  :emacsconf:
      DEADLINE: %s\n  https://emacsconf.org/%s/prepare/"
                                   (plist-get o :time)
                                   (plist-get o :title)
                                   (plist-get o :slug)
                                   (format-time-string "<%Y-%m-%d %a>" prerec-target)
                                   (plist-get o :year)))
               talks "\n"))
                      :talk-details-and-comments
                      ,(mapconcat
                        (lambda (o)
                          (format "%s minutes: %s\n%s\n\n%s"
                                  (plist-get o :time)
                                  (plist-get o :title)
                                  (plist-get o :url)
                                  (string-fill (emacsconf-replace-plist-in-string
                                                (append o
                                                        (list
                                                         :prerec-target (format-time-string "%b %-e" prerec-target)))
                                                (plist-get o :acceptance-comment)) 72)))
                        talks "\n---------------------------------------------------------------------\n"))))
        (emacsconf-mail-prepare template (car group) attrs)))
    
    (defun emacsconf-draft-all-acceptances ()
      (interactive)
      (let* ((emacsconf-talk-info-functions (append emacsconf-talk-info-functions '(emacsconf-get-talk-comments-from-subtree)))
             (info (seq-filter (lambda (o) (string= (plist-get o :status) "TO_ACCEPT"))
                               (emacsconf-filter-talks (emacsconf-get-talk-info))))
             (grouped (seq-group-by (lambda (o) (plist-get o :email)) info))
             (template (emacsconf-mail-merge-get-template "acceptance")))
        (mapc (lambda (group)
                (emacsconf-draft-acceptance-for-email-group group template))
              grouped)))


### Speaker acceptance

Hi, ${speakers-short}!

Summary:
,${acceptance-tasks}

We&rsquo;ve accepted your EmacsConf proposal${plural} for ${titles}! Thanks
for volunteering to share what you&rsquo;re learning about. I know it takes
a fair bit of work to prepare a presentation, so I appreciate that
you&rsquo;re taking the time to show what&rsquo;s possible with Emacs and
encourage people to learn more.

---

${talk-details-and-comments}

---

You&rsquo;ll have some time after your talk${plural} for Q&A, so the allocated time
can be just for your pre-recorded talk${plural}. Of course, if you like, you
can make it shorter.

We&rsquo;ve posted preparation tips at <https://emacsconf.org/${year}/prepare/> .
We&rsquo;ll send you instructions on how to upload files once we get that
set up.

Could you please plan to ****put your pre-rec${plural} together by
${prerec-target}**** (or even earlier if you want)? We&rsquo;re going to try
to caption as many talks as possible again this year, and extra time
helps a lot. People found the captions really helpful while watching
the stream, and sending your talk in early will make it more likely
that we&rsquo;ll be able to get your captions edited and reviewed before the
conference.

****Please reply to this e-mail by ${reply-date}**** (doublechecking that
emacsconf-submit@gnu.org is in the To: or Cc:) so that we can confirm
that we&rsquo;ve got the right email address for you and that messages can
get properly delivered. Also, would you like us to put ${email} as the
public contact information for you, or would you like us to add
something else to the talk page${plural}?

${page-urls}

If you have any questions, please e-mail us at
emacsconf-submit@gnu.org or pass by the #emacsconf-org IRC channel on
irc.libera.chat (Web-based: <https://chat.emacsconf.org/#/connect>).

Thank you so much!

Sacha Chua


## Future


### Captions for approval


<a id="approve-captions"></a>

#### Template

Hi ${speakers-short}!

Because you sent in your video before the conference, we were able to
caption it so that more people can find and enjoy your talk.
${captioner-volunteered} I&rsquo;ve attached the caption text file in case
you want to review it, suggest any corrections, or use the text in a
blog post or elsewhere. You can look at the attached file or watch
your video with closed captions at ${url} . I&rsquo;ve also included the
captions at the end of this e-mail for your convenience.${wrap}

${chapters-note}${intro-note}Do you have a bio or social/donation links you&rsquo;d like us
to add to the wiki page for your talk?

Thanks again for your contribution!

${captioner-thanks}Sacha

${captions}


### Speakers we haven&rsquo;t confirmed e-mail communications with

Hi, ${name}!

I think we haven&rsquo;t heard from you since we accepted your EmacsConf
${year} proposal for "${title}&ldquo;. EmacsConf coming up soon, so I wanted
to check in with you to see how you&rsquo;re doing.

Could you please e-mail us to let us know if you&rsquo;re still working on
your prerecorded video, if you&rsquo;re planning to present live, or if you
can&rsquo;t make it this year? No worries if other priorities have come up
and you don&rsquo;t have the time for a presentation.

If you&rsquo;ve been working on a presentation, fantastic! When you&rsquo;re
ready, you can upload it following the instructions at
<https://emacsconf.org/${year}/prepare/> (ideally before ${prerec-date} so
that we have time to download it, doublecheck, etc.). 

If you plan to present live, please go through the self-check at
<https://test.bigbluebutton.org/> . Some speakers have encountered
technical issues with BigBlueButton that they didn&rsquo;t have with Zoom or
Google Meet, so this is something we definitely want to look into
earlier rather than later. If that works for you, please e-mail us
back so that I can keep your timeslot. The tentative schedule for your
talk is on the talk page at ${url} .

**Please e-mail us your plans before ${date}.** I&rsquo;m
planning to shift the schedule around to give more time to confirmed
speakers for Q&A and possibly live demos. If I don&rsquo;t hear from you by
then (maybe an over-enthusiastic spam filter has been swallowing up
all our mail?), I&rsquo;ll probably reallocate the ${time} minutes that had
been set aside for your talk. We might be able to squeeze it back in
afterwards or play a video from you at the end of the conference day,
but it would be nice to get the schedule sorted out instead of
scrambling to fill gaps on the day of the conference.

Hope to hear from you by ${date}!

Sacha Chua

(Please use Reply to All to keep emacsconf-submit@gnu.org in the loop. Thanks!)


### Speakers who are missing prerecs

    (let ((template (conf-mail-merge-get-template "missing")))
      (seq-map
       (lambda (info)
         (compose-mail (plist-get info :email)
                       (conf-replace-plist-in-string info (plist-get template :subject))
                       `(("Reply-To" . ,(plist-get template :reply-to))
                         ("Mail-Followup-To" . ,(plist-get template :mail-followup-to))
                         ("Cc" . ,(plist-get template :cc))))
         (message-goto-body)
         (insert (conf-replace-plist-in-string info (plist-get template :body)))
         (plist-get info :email))
       (mapcar 'cadr
               (seq-group-by (lambda (o) (plist-get o :email))
                             (seq-filter (lambda (o) (string= (plist-get o :status) "WAITING_FOR_PREREC"))
                                         (conf-get-talk-info))))))


#### Template

Hi ${speakers},

EmacsConf is in a few days and I don&rsquo;t think we have your prerecorded
video yet, so I&rsquo;m getting miiiildly stressed about the schedule. And
you&rsquo;re probably stressing out about it too, so let&rsquo;s go figure out how
we can make this work.

Option A: If you happen to have the prerecording or can get it done by
tomorrow, we can probably squeeze it in. Please upload it to
ftp-upload.emacsconf.org by following the instructions in
<https://emacsconf.org/${year}/prepare#ftp-upload> , or send us a link using
your favourite file-sharing service (especially if FTP is giving you
problems).

Option B: If you want to present live, it might be an option. I&rsquo;m a little
worried about the potential for technical issues, since we&rsquo;ve had
problems with that in previous EmacsConfs. The tight schedule means
there&rsquo;s not a lot of time to figure things out, and it can be hard to
make something as focused as a prerecorded video when you&rsquo;re doing it
live. We will definitely want to make sure that:

-   your self-serve tech check works: <https://test.bigbluebutton.org>
    at your convenience;
-   you check in as early as possible (at least 1 hour before, so we
    know if the speaker before you needs to extend) and let us know
    that you want to do it live <https://emacsconf.org/${year}/speakers> .
    We keep adapting the schedule as things come up, so please check
    <https://emacsconf.org/${year}/schedule/> on the day of the conference.

If there are technical issues or your talk runs a little over time, we
might have to stop streaming it on the main stream when it&rsquo;s time for
the next talk. We may be able to continue streaming it on the
alternate stream. If so, people can continue watching it there if they
wish to.

Option C: If you can&rsquo;t make it, that&rsquo;s okay. Life gets crazy
sometimes. Please let us know and we can update the wiki. If you
happen to be able to make a prerecorded video afterwards, we can add
that to the wiki, playlists, and announcements. We hope you can join
us next year.

Since EmacsConf is **this weekend** (aaaaaaah), please let us know by
tomorrow noon EST (Friday; 9AM PST, 5PM GMT, 6PM CET) so that we can
keep the time allocated for you in the schedule. If we don&rsquo;t hear from
you, we&rsquo;ll probably reallocate the ${time} minutes reserved for you so
that other talks can have longer Q&A. If you can still make it, check
in early and let us know so that we can try to work out an alternate
stream for you. Hope to hear from you soon!

Sacha


### Last email before the conference

> Friends, emacsians, hackers, lend me your ears!
> 
> This is it, the final stretch until the next EmacsConf.  A couple of weeks
> ago, we’ve shared our program with you; now, it is time for us to share our
> schedule, i.e. when the talks will happen!
> 
> You can find it on our wiki:
> <https://emacsconf.org/$year/schedule/>
> 
> All the times on the program are listed in EST (UTC-5).  If a talk catches
> your eye, we invite you to click on its title to find out at what time it will
> be broadcast in your local time.  Also, if the talk is pre-recorded, it will
> also be the time at which the talk will be made available on the same page.


### Thank you, next steps


#### Code

    (defun conf-mail-thanks-after-conference ()
      (interactive)
      (let* ((template (conf-mail-merge-get-template "speaker-thanks"))
             (info (conf-get-talk-info-for-subtree)))
        (compose-mail (plist-get info :email)
                      (conf-replace-plist-in-string
                       info (plist-get template :subject)))
        (message-goto-body)
        (save-excursion
          (insert
           (string-trim
            (conf-replace-plist-in-string
             (append 
              (list :subtitle-note
                    (if (file-exists-p (expand-file-name (format "%s/captions/%s--main.vtt"
                                                                 (plist-get info :year)
                                                                 (plist-get info :video-slug)) conf-directory))
                        "You can add the subtitles by downloading them from the talk page and uploading them to your video. "
                      "We didn't quite manage to squeeze in captions for your talk during the conference, but we'll work on those soon.")
                    :qa-note
                    (if (plist-get info :qa-public)
                        "The recording of your Q&A session is also on the talk page. "
                      "")
                    )
              info) 
             (plist-get template :body)))))))


#### Text

Hi ${speakers-short}!

Thank you so much for being part of EmacsConf ${year}! Hundreds of people
enjoyed it, and I&rsquo;m sure even more will come across the videos in the
days to follow.

Your prerecorded video is available on the talk page at ${url} , and
we&rsquo;ve added the questions and comments that we&rsquo;ve collected from
IRC/BBB/Etherpad. ${qa-note}

We&rsquo;ve also uploaded your talk video to ToobNix (a PeerTube
instance) at ${toobnix-url} and YouTube at ${youtube-url} . If you
want to reupload the video to your own channel, feel free to do so.
${subtitle-note} If you let me know where you&rsquo;ve uploaded
it, I can switch our playlist to include your version of the video
instead. That way, it might be easier for you to respond to comments
on videos.

If you would like to share more resources, you can add them to the
talk page or e-mail them to us and we can add them for you.

Thanks again for speaking at EmacsConf!

Sacha


## Archive


### DONE Second announcement: CFP

Dear fellow Emacsians,

This is the second and final Call for Participation for EmacsConf 2022
now extended until September 30, and the conference itself planned for
December 3 and 4 (Sat-Sun).  Please see the CFP below for details on
how to send in your proposal(s), or chat with us about them and about
other ways of participating and volunteering around EmacsConf via our
main IRC channel #emacsconf on the Libera.Chat network.

If you&rsquo;re considering submitting a proposal but think the remaining
time may not be enough, please reach out to me off-list as soon as
possible so we could work something out.

I&rsquo;ll close this portion of the email with a thank you to all of the
folks who have submitted session proposals or expressed interest in
volunteering with EmacsConf.  We look forward to reading and reviewing
all of your messages and proposals, and getting back to you about them
and about the next steps soon. :-)

Best,
amin

P.S. please direct any replies to this post either to myself or to the
emacsconf-discuss list, so as to help avoid generating extra off-topic
chatter in the other lists cc&rsquo;d on this message.  Thank you.


### DONE First announcement: CFP

Dear fellow Emacsians,

We are excitedly calling for your participation for EmacsConf 2022,
planned for December 3 and 4, 2022 (Sat-Sun)!  The CFP will be open
until September 18.  Please see below for details on how to send in
your proposal(s), or chat with us about them and about other ways of
participating and volunteering around EmacsConf via our main IRC
channel #emacsconf on the Libera.Chat network.

As an entirely volunteer-run conference we are always looking for more
volunteers and organizers to help with various aspects of organizing
and running the conference, including reviewing session proposals and
streaming parallel tracks.  To get involved, please come by our IRC
channel or one of our public mailing lists (see below) and introduce
yourself and tell us about your interests, or contact myself or one of
the other organizers directly if you&rsquo;re feeling a bit shy; we hope to
hear from you! :)

Best,
amin

P.S. please direct any replies for this message either to me or to the
emacsconf-discuss list, so as to help avoid generating extra off-topic
chatter in the other lists Cc&rsquo;d on this message.  Thank you.


<a id="code"></a>

# Supporting code


## General

    (defvar emacsconf-danger-allow-dangerous-stuff nil
      "When non-nil, trade safety for convenience.")
    
    (defvar emacsconf-danger-asked nil
      "When non-nil, user has already been asked for security trade-off.")
    
    (defun emacsconf-danger--ask (forms)
      "Ask to run dangerous FORMS.
    Return t if the answer is “yes”."
      (when (y-or-n-p (format "FORMS:\n%s\n\nThis is dangerous.  Run anyway? "
                              (prin1-to-string forms)))
        (unless emacsconf-danger-asked
          (if (y-or-n-p "Would you like to trade security for convenience for the rest of the session? ")
              (setq-local emacsconf-danger-allow-dangerous-stuff t)
            (setq-local emacsconf-danger-asked t)))
        t))
    
    (defmacro emacsconf-danger--shield (error &rest forms)
      "Protect user from dangerous FORMS.
    Throw an error if ERROR is non-nil, skip otherwise."
      `(let ((shield (not (or emacsconf-danger-allow-dangerous-stuff
                              (emacsconf-danger--ask ',@forms)))))
         (if shield
             ,(when error
                '(user-error "Dangerous action cancelled by user"))
           ,@forms)))
    
    (defmacro emacsconf-danger-shield (&rest forms)
      "Protect user from dangerous FORMS by throwing an ERROR."
      `(emacsconf-danger--shield t ,@forms))
    
    (defmacro emacsconf-danger-skip (&rest forms)
      "Protect user from dangerous FORMS by skipping them."
      `(emacsconf-danger--shield nil ,@forms))
    
    ;; Make it easy to jump and refile
    (setq-local org-refile-targets '((nil . (:maxlevel . 5))))
    
    (message "General setup has been loaded")

    (emacsconf-danger-shield
     (setq-local org-confirm-babel-evaluate nil
                 org-confirm-elisp-link-function nil))
    (message "No longer asking for confirmation in this buffer")

    (setq-local emacsconf-danger-allow-dangerous-stuff t)
    (org-babel-ref-resolve "elisp-no-confirmation()")
    
    (message "Now allowing dangerous stuff.  Buckle up, buckaroo!")

    (kill-local-variable 'emacsconf-danger-allow-dangerous-stuff)
    (kill-local-variable 'emacsconf-danger-asked)
    (kill-local-variable 'org-confirm-babel-evaluate)
    (kill-local-variable 'org-confirm-elisp-link-function)
    (kill-local-variable 'org-refile-targets)
    
    (message "Back to safety.  Phew!")


## Prerecs


### Receive notification when new prerecs are available

    #!/usr/bin/env sh
    
    set -eu
    
    sleep_duration=600
    
    data="$(basename "$0" ".sh").data"
    
    plural () {
        if [ "$2" = 1 ] || [ "$2" = -1 ]; then
            echo "${1}"
        else
            case $1 in
                "is" )
                    echo "are"
                    ;;
                * )
                    echo "${1}s"
            esac
        fi
    }
    
    current_time() {
        date +"[%T]"
    }
    
    log() {
        printf "%s $1\n" "$(current_time)"
    }
    
    color_green="\e[32m"
    color_white="\e[0m"
    
    log2() {
        log "${color_green}$1${color_white}"
    }
    
    notify() {
        log2 "$1"
        notify-send -t 0 "EmacsConf" "$(log "$1")"
    }
    
    _sleep() {
        log "Checking again in ${sleep_duration}s"
        sleep "$sleep_duration"
    }
    
    fetch() {
        TERM=xterm ssh orga@media.emacsconf.org -- ls -1 /srv/upload | wc -l
    }
    
    clean() {
        rm -f "$data"
        log "Data file has been cleaned"
    }
    
    if [ "$#" -gt 0 ]; then
        command="$1"
        if [ "$command" = "clean" ]; then
            clean
            exit 0
        fi
    
        if [ "$command" = "clean-start" ]; then
            clean
        fi
    fi
    
    touch "$data"
    
    log2 "Currently waiting for prerec"
    
    while true; do
        prerecs_number_past=$(cat "$data")
        diff=0
    
        while true; do
            log "Checking..."
            prerecs_number_current="$(fetch)"
            diff=$((prerecs_number_current - prerecs_number_past))
            if [ $diff -gt 0 ]; then
                break
            fi
            log "No new prerec"
            _sleep
        done
    
        notify "$diff new $(plural "prerec" $diff) $(plural "is" $diff) available!"
    
        echo "$prerecs_number_current" > "$data"
    
        _sleep
    done


### Fetch upload data

    #!/usr/bin/env sh
    
    set -eu
    
    current_time() {
        date +"[%T]"
    }
    
    log() {
        printf "%s $1\n" "$(current_time)"
    }
    
    if [ -t 0 ]; then
        log "Fetching data..."
    fi
    
    TERM=xterm ssh orga@media.emacsconf.org -- cat /srv/upload/*/*json


### Fetch new talk data formatted

    #!/usr/bin/env sh
    
    set -eu
    
    echo "Fetching data..."
    data_raw="$(./fetch-upload-data.sh)"
    
    echo
    
    echo "$data_raw" | awk "$(cat << EOF
    func dewrap(a) {gsub(/^ *".*": "|",$/, "", a); return a};
    BEGIN {i=0};
    /^    "sid"/ { a[0] = dewrap(\$0); };
    /^    "name"/ { a[2] = sprintf("%s\t", dewrap(\$0)) };
    /^    "comment"/ { a[3] = sprintf("%s\t", dewrap(\$0)); if (a[3] == "\t"){a[3] = "No comment"} };
    /^    "key"/ { a[1] = dewrap(\$0); };
    /^\}/ { printf "[%d]\t%s\t%s\t%s\n\t%s\n\n", i, a[0], a[1], a[2], a[3]; i=i+1};
    EOF
          )"


## Publish this page

    (defun emacsconf-org-publish-this-page ()
      (interactive)
      (org-md-export-to-markdown)
      (org-babel-tangle)
      (magit-stage-modified)
      (magit-commit-create (list "-m" (read-string "Commit message: ")))
      (call-interactively #'magit-push-current-to-pushremote))


### Export to markdown

    (defun emacsconf-export-md-on-save ()
      "Export markdown on save.
    Meant to be used with `after-save-hook'."
      (org-md-export-to-markdown)
      (org-babel-tangle))
    
    (defvar emacsconf-export-md-on-save-configured t
      "Non-nil when the setup code-block has been executed.")

    (unless (bound-and-true-p emacsconf-export-md-on-save-configured)
       (org-babel-ref-resolve "md-export-on-save-setup()"))
    
    (add-hook 'after-save-hook #'emacsconf-export-md-on-save nil t)
    
    (when (memq #'emacsconf-export-md-on-save after-save-hook)
      (message "Hook is active"))

    (remove-hook 'after-save-hook #'emacsconf-export-md-on-save t)
    
    (unless (memq #'emacsconf-export-md-on-save after-save-hook)
      (message "Hook is no longer active"))


## Tangle and publish on save

    (defun emacsconf-export-md-on-save ()
      "Export markdown on save.
    Meant to be used with `after-save-hook'."
      (org-md-export-to-markdown)
      (org-babel-tangle))
    
    (defvar emacsconf-export-md-on-save-configured t
      "Non-nil when the setup code-block has been executed.")

    (unless (bound-and-true-p emacsconf-export-md-on-save-configured)
       (org-babel-ref-resolve "md-export-on-save-setup()"))
    
    (add-hook 'after-save-hook #'emacsconf-export-md-on-save nil t)
    
    (when (memq #'emacsconf-export-md-on-save after-save-hook)
      (message "Hook is active"))

    (remove-hook 'after-save-hook #'emacsconf-export-md-on-save t)
    
    (unless (memq #'emacsconf-export-md-on-save after-save-hook)
      (message "Hook is no longer active"))


## Review agenda

    (defcustom emacsconf-org-tag nil "Tag for your nick, for easier agenda filtering"
      :group 'emacsconf
      :type 'string)

    (defun emacsconf-show-my-agenda ()
      (interactive)
      (let* ((org-agenda-files (list (buffer-file-name)))
             (tag-filter (if emacsconf-org-tag (concat "+" emacsconf-org-tag) ""))
             (org-agenda-tag-filter-preset (list (when emacsconf-org-tag (concat "+" emacsconf-org-tag))))
             (org-agenda-custom-commands `(("a" "Agenda"
                                            ((agenda ,tag-filter)
                                             (tags-todo ,(concat tag-filter "-SCHEDULED={.+}-DEADLINE={.+}")))
                                             ((org-agenda-span 14))))))
        (org-agenda nil "a")))


## Process review comments from pad

see emacsconf-import-comments-from-etherpad-text


<a id="lessons"></a>

# Lessons learned


## From previous years

-   [ ] Shorter CFP, longer recording time
-   [ ] Ask for talk title to be subject in submission
-   [X] Fresh eyes can doublecheck that all the talks are included and that availability properties have been set/followed
-   [X] Putting ‘availability’ towards the top of the submission template would make it harder for us to miss it during reviews, and it shouldn’t change anything for speakers.
-   [X] All the personalised messages we’ve sent during the scheduling campaign should probably be kept in a repo so that it’s less work for those who will be in charge of it next.
-   [ ] Since people kept running into ftp problems, we might want to set up a web-frontend next year to minimise problems.
-   [X] Might be a good idea to avoid Thanksgiving weekend, as lots of people travel then
-   [ ] Tech-checks haven’t been really popular this year, but there are so many ways we could make them more useful.  On the <span class="timestamp-wrapper"><span class="timestamp">[2021-11-16 Tue]</span></span>, 10 days prior the conf, we thought that it could be nice to use them as recording sessions for late-prerecs, and that’s only one example.
-   [X] Having the NO\_NEWS / WAITING\_FOR\_PREREC contrast from the start of `conf.org` might have made it easier for us to ping speakers who were late to the party this year.  Rather than sending the personalised 10 days prior to the conference, we might have sent it a week after the submission of the anticipated scheduled (where we ask speakers if their allocated time is okay, based on their availability).
-   [ ] Move first dry run earlier (maybe one month before?) to give us more time for process tweaks
-   [ ] Dropping talks one week before the conf might allow us to have a near-fixed schedule to announce early.
-   [ ] CRM
    -   [ ]zaeph: Implementing a variable for `automatic-emails` would make it easier to suppress user-hooks for message-mode
    -   [ ]zaeph: Even though we’re sending emails automatically, we might want to keep trace of them in our `Sent` IMAP folder.  notmuch does it with `Fcc:` in the header, so we might need a user-customisable var here as well.
-   [ ] less tiring lighting
-   [ ] split host and streamer?
-   [ ] Cram less with different tracks
-   [ ] Review pre-recs, even late submissions in their entirety to ensure no syncing issue
-   [ ] Tight opening-remarks, possible pre-rec.
-   [X] Asking pronunciation of name as soon as application with SA-cha CHEW-ah pattern would be good.  Not a lot of diligence with it this year.
-   [ ] People need to specify their IRC handle on application (potentially forcing nick and/or first-name/last-name.
-   [ ] We might want to figure out an ffmpeg workflow for noise-suppressing on top of normalisation.  Take inspiration from Audacity macros.
-   [ ] Having a more relaxed Saturday might give us time to adjust to tech-stack.
-   [ ] Creating BBB rooms in anticipation and/or automatically, before or during, might make for smoother check-in; right now, people keep wanting to check in via email even though we told them to use chat
-   [ ] Pre-recs were a little blocky wrt encoding; we might want to bump the bitrate next year
-   [ ] we can see if bot + pads + merging will help next year, and we can also experiment with multiple streams if there are enough people to pull it off so that speakers don&rsquo;t feel like they&rsquo;ve just been dropped in a room and left to their own devices :)


## Lessons learned for next year


### CFP & Review period

-   Ask for public e-mail or contact information, IRC handle in CFP
-   Be even more stringent about the 10/20/40-min splits. A lot of
    speakers still default to the 20- or 40-min formats without
    providing us shorter formats, and that puts strain on our schedule
    and requires us to use a different template for the notification
    (which can be confusing). We need to stress that not respecting the
    format makes it harder not only for the organizers, but also for the
    speakers themselves (since they will have to rethink their
    presentation). Maybe we can have an e-mail template for a quick
    reply that says something like &ldquo;Just in case we need to squeeze
    talks into shorter times, could you please also propose an outline
    for a possible 10-minute talk that could get people interested in
    your topic and point them to where they can find out more?&rdquo;
-   Two people is the sweet number of reviewers to have for the
    proposals before sending the notifications, and there’d be
    diminishing returns with more. Two is enough to release the pressure
    on SCHED, verify the metadata (esp. speaker availability), and
    suggest a different ordering where appropriate. It can take a long
    time to comb through the proposals (roughly 10 proposals per hour),
    and whilst it’d be difficult to justify more in-depth reviewers,
    other orgas can do a shallow-pass to catch red-flags or discuss the
    submissions as they come in. Other organizers can always chime in on
    topics they particularly care about so that their encouraging
    comments or suggestions can be included in the acceptance e-mail.
-   We extended CFP-end by two weeks this year, but that made it coincide
    with speaker-notifs, and that’s awkward.  Next time, we should only
    extend the CFP by one week to avoid having to scramble with the
    schedule until the very last day.
-   Some people assume that they have to suggest longer formats even if
    they intend their talks to be 10′ or 20′.  We should change the
    wording on the CFP to ask them to only provide alternatives for
    shorter formats, not longer.
-   It was hard to squeeze all the org/hyperbole talk on day-1.
    Generally, the people who submit these kinds of talk come from all
    over the world, and US mornings are more accommodating than US
    evenings when it comes to timezones.  We might consider having two org
    **mornings** rather than an org **day**; it would give us more flexibility
    with those talks.
-   We’re starting to reach critical mass on the org-talks.  We might want
    to consider splitting the org-talks and the dev-talks into two
    distinct events to allow them to grow independently.
-   We should associate time-of-day with CFP-deadline; otherwise, the
    scheduler has to be on edge until the very end of the day.  It’s worse
    this year because we made CFP-end coincide with speaker-notif, so this
    might not be as much of a problem next year.
-   It’s easier for us to extend beyond 5pm than to go before 9am
    (especially for the West coast).  Extending beyond 5pm puts strain on
    European organizers and volunteers, though.
-   Sometimes, ikiwiki on front0 took a lot of time to process the new
    commits.  sachac assumed this is due to a faulty regex parsing.  We
    should be able to find out more by looking at the logs from ikiwiki
    after a slow commit.
-   Ask for preferred timezone in CFP
-   Check with John Wiegley re: schedule - we always happen to coincide with his work trips


### When processing prerecs

-   We should flesh out the prepare.md section on audio-recording because
    some speakers have annoying coil-whines when recording from their
    laptop’s microphone which are particularly hard to remove.  We should
    ask speaker to record some silence, listen to it in isolation, and
    gauge how silent it actually is.  It’s not a biggie though, since we
    can usually degrade the audio quality for the sake of removing the
    noise.
-   We can ask for silence in a separate recording so that we don&rsquo;t have to worry about cutting it out.


## Possible big projects for next year


### Prolog’ing the schedule


### Designing the EmacsConf suite (to make it easier for people other us to run their own versions)