summaryrefslogtreecommitdiffstats
path: root/2020/subtitles/emacsconf-2020--12-one-big-ass-org-file-or-multiple-tiny-ones-finally-the-end-of-the-debate--leo-vivier-autogen.sbv
blob: 8207d0c3656779dcca48ffe040cc502dd37780d0 (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
0:00:00.240,0:00:03.679
I mean we are ahead of the schedule a

0:00:01.520,0:00:05.680
little bit but I mean we also was a

0:00:03.679,0:00:09.040
little bit earlier in the day

0:00:05.680,0:00:10.800
so yeah yeah I'd say that's fine go for

0:00:09.040,0:00:14.240
it take it away

0:00:10.800,0:00:16.640
sure thank you so am I live already

0:00:14.240,0:00:17.359
you are now unmuted um yep your life

0:00:16.640,0:00:18.880
hello

0:00:17.359,0:00:20.720
spell it so I'll just start the timer to

0:00:18.880,0:00:22.720
make sure that I don't go overboard

0:00:20.720,0:00:24.160
all right so you are now muted okay good

0:00:22.720,0:00:26.960
to go now so

0:00:24.160,0:00:28.240
hello again everyone so I hope you had

0:00:26.960,0:00:30.880
well quite a lot of talks

0:00:28.240,0:00:32.000
ever since the last one I did and all

0:00:30.880,0:00:35.040
more interesting

0:00:32.000,0:00:36.559
uh one after the other so um

0:00:35.040,0:00:38.239
you know I'm a bit in a bit of a weird

0:00:36.559,0:00:39.760
spot right now because I'm supposed to

0:00:38.239,0:00:40.239
be presenting to you as you can see on

0:00:39.760,0:00:42.879
my screen

0:00:40.239,0:00:44.960
one big-ass awk file multiple tiny ones

0:00:42.879,0:00:48.160
finally the end of the debate

0:00:44.960,0:00:49.760
and it sounds about as clickbaity

0:00:48.160,0:00:51.280
as you can possibly get with those

0:00:49.760,0:00:54.000
topics and by the way

0:00:51.280,0:00:55.760
uh credit where credit is due the title

0:00:54.000,0:00:57.039
is not mine it's actually from bastian

0:00:55.760,0:01:00.719
gary the current old

0:00:57.039,0:01:03.199
maintainer and yeah I wanted to

0:01:00.719,0:01:04.879
talk to you a little bit today about

0:01:03.199,0:01:07.600
this question because

0:01:04.879,0:01:09.040
if you are used to going on our slash

0:01:07.600,0:01:09.600
emacs you know the subreddit that we

0:01:09.040,0:01:11.840
have

0:01:09.600,0:01:13.200
if you go on I can use often you know

0:01:11.840,0:01:16.000
it's a question that

0:01:13.200,0:01:17.520
you see pop-up every once in a while

0:01:16.000,0:01:20.640
should I be using

0:01:17.520,0:01:24.159
one big file or should I be using

0:01:20.640,0:01:24.799
a lot of tiny files and I believe you

0:01:24.159,0:01:27.600
know

0:01:24.799,0:01:29.520
we've got defenders on both sides if I

0:01:27.600,0:01:32.479
just show you one examples

0:01:29.520,0:01:35.280
so we have carl voigt okay so he's one

0:01:32.479,0:01:37.920
of the organizers for the conference

0:01:35.280,0:01:40.000
he hears the guy who probably has the

0:01:37.920,0:01:42.000
biggest augment files

0:01:40.000,0:01:43.759
right now in all the people I know and

0:01:42.000,0:01:44.479
god knows I know plenty of people use

0:01:43.759,0:01:46.880
old mode

0:01:44.479,0:01:48.320
but if you just look at this line I hope

0:01:46.880,0:01:51.360
it's not too small you just

0:01:48.320,0:01:56.719
make it a little larger but

0:01:51.360,0:02:01.759
carl basically has a file with 126

0:01:56.719,0:02:04.560
000 lines and I'm just going to pause

0:02:01.759,0:02:06.399
and try to have you imagine how large a

0:02:04.560,0:02:08.399
file it actually is

0:02:06.399,0:02:10.000
just think about all of these lines

0:02:08.399,0:02:12.080
being tasked in your days

0:02:10.000,0:02:13.200
think about all those lines being about

0:02:12.080,0:02:14.400
little thoughts

0:02:13.200,0:02:17.200
you know that you've had throughout the

0:02:14.400,0:02:19.680
day or project that you were working on

0:02:17.200,0:02:20.720
and it's massive and you know one of the

0:02:19.680,0:02:23.920
problem that

0:02:20.720,0:02:27.680
uh calvoit actually approaches on

0:02:23.920,0:02:30.160
this topic is that it takes him roughly

0:02:27.680,0:02:32.400
20 seconds to get his old agenda going

0:02:30.160,0:02:35.680
which is a massive amount of time

0:02:32.400,0:02:37.720
I mean we have very fast computers now

0:02:35.680,0:02:39.200
you know ever since e-max was created in

0:02:37.720,0:02:42.319
1976

0:02:39.200,0:02:43.440
computers I have no idea how much faster

0:02:42.319,0:02:47.760
they've gotten

0:02:43.440,0:02:49.599
and yet you know for earth 1000 lines

0:02:47.760,0:02:51.120
emac seems to be choking and it's

0:02:49.599,0:02:52.720
certainly not reasonable in a way to

0:02:51.120,0:02:55.360
have to wait 20 seconds

0:02:52.720,0:02:57.040
just for your entire file to be passed

0:02:55.360,0:02:58.480
so basically what I want to do

0:02:57.040,0:03:00.879
and by the way I forgot to do the

0:02:58.480,0:03:02.879
presentation but I'm leova I did this

0:03:00.879,0:03:05.519
before for those who were around

0:03:02.879,0:03:06.640
and I um help maintain a software which

0:03:05.519,0:03:08.560
is called orgrom

0:03:06.640,0:03:09.840
and that's the expertise that I have on

0:03:08.560,0:03:11.760
the topic

0:03:09.840,0:03:13.599
actually if you go online I do have a

0:03:11.760,0:03:15.440
github page I will make sure that you

0:03:13.599,0:03:18.640
have all the links available afterwards

0:03:15.440,0:03:20.720
but I do publish my init files

0:03:18.640,0:03:22.319
and you can see if you scroll at the

0:03:20.720,0:03:23.200
bottom I have a little demonstration

0:03:22.319,0:03:25.519
which shows you

0:03:23.200,0:03:27.440
the fancy things that I can do with my

0:03:25.519,0:03:28.159
old mood setup and that might be even

0:03:27.440,0:03:30.720
interesting

0:03:28.159,0:03:32.319
in lights of the talk you've just had

0:03:30.720,0:03:34.080
about gtd stuff because

0:03:32.319,0:03:36.159
the first one is about how I end all my

0:03:34.080,0:03:39.680
projects the second one is about

0:03:36.159,0:03:40.000
the flow from a task uh as I work on it

0:03:39.680,0:03:41.519
so

0:03:40.000,0:03:43.120
I won't spend too much time on this but

0:03:41.519,0:03:45.440
basically that's my expertise

0:03:43.120,0:03:46.959
I have spent eight years working with

0:03:45.440,0:03:48.959
working with org mode

0:03:46.959,0:03:50.720
three of them actually thinking about

0:03:48.959,0:03:54.080
writing packages

0:03:50.720,0:03:55.680
and the thing is if I go into a little

0:03:54.080,0:03:57.760
bit of details and obviously it's only a

0:03:55.680,0:04:00.720
lighting talk so I won't have time to

0:03:57.760,0:04:01.840
actually go really in depth about it but

0:04:00.720,0:04:03.599
there is something

0:04:01.840,0:04:05.200
in the ultimate libraries which is

0:04:03.599,0:04:07.000
called org elements

0:04:05.200,0:04:08.319
and you have the name right there org

0:04:07.000,0:04:11.439
element.el

0:04:08.319,0:04:12.319
dot el being for e-lisp file and as you

0:04:11.439,0:04:14.799
can see

0:04:12.319,0:04:16.239
the page it's on the work wiki so it's

0:04:14.799,0:04:19.280
accessible by everyone

0:04:16.239,0:04:23.759
but it's basically the api that

0:04:19.280,0:04:26.400
org mode uses to pass all mode files

0:04:23.759,0:04:27.199
so for those who don't know passing

0:04:26.400,0:04:29.360
means basically

0:04:27.199,0:04:30.880
checking a file checking all the content

0:04:29.360,0:04:32.880
of the file and extracting all the

0:04:30.880,0:04:34.960
information that we need from that file

0:04:32.880,0:04:36.560
and as you can imagine you all have

0:04:34.960,0:04:38.240
augmented files in your mind

0:04:36.560,0:04:39.840
well you know they can be fairly complex

0:04:38.240,0:04:41.759
you know you can have properties

0:04:39.840,0:04:43.040
you can have contextual information like

0:04:41.759,0:04:45.199
if you write a line

0:04:43.040,0:04:46.560
which starts at column zero which means

0:04:45.199,0:04:48.000
at the left

0:04:46.560,0:04:49.680
you know it doesn't have the same

0:04:48.000,0:04:52.639
meaning whether or not it is

0:04:49.680,0:04:54.160
before the beginning of a headline or if

0:04:52.639,0:04:55.199
it is after the beginning of a red line

0:04:54.160,0:04:57.759
you know it's going to be

0:04:55.199,0:04:58.960
relatively different hierarchically

0:04:57.759,0:05:01.759
speaking

0:04:58.960,0:05:02.639
and so the problem when it comes to the

0:05:01.759,0:05:05.759
question of

0:05:02.639,0:05:08.560
many files versus one big file or

0:05:05.759,0:05:09.600
few big files is that we always have to

0:05:08.560,0:05:12.880
keep in mind

0:05:09.600,0:05:15.680
what org elements want you to do

0:05:12.880,0:05:17.440
and the thing is there are plenty of

0:05:15.680,0:05:18.400
problems when it comes to passing file

0:05:17.440,0:05:21.360
the first one

0:05:18.400,0:05:22.160
being obviously that emacs is a single

0:05:21.360,0:05:24.880
thread

0:05:22.160,0:05:26.400
process or has some threading

0:05:24.880,0:05:28.639
capabilities we're not going to go into

0:05:26.400,0:05:32.400
the details right now that's not my goal

0:05:28.639,0:05:35.919
but it makes it incredibly hard to

0:05:32.400,0:05:39.280
parallelize uh passing processes as

0:05:35.919,0:05:42.320
we currently with the current technology

0:05:39.280,0:05:44.080
and so you'd have to imagine that if you

0:05:42.320,0:05:46.479
have a very large files if you go back

0:05:44.080,0:05:49.199
to the example of carl voice from before

0:05:46.479,0:05:50.000
100 000 lines that means that you have

0:05:49.199,0:05:52.320
to scan

0:05:50.000,0:05:53.759
through every single line basically

0:05:52.320,0:05:56.080
because sometimes let's just say that

0:05:53.759,0:05:59.440
you have a property drawer for instance

0:05:56.080,0:06:03.520
which tells you oh okay uh this tree

0:05:59.440,0:06:05.120
has the tag foo so the problem is there

0:06:03.520,0:06:08.720
are multiple ways for you

0:06:05.120,0:06:11.840
to define a tag okay so you can use the

0:06:08.720,0:06:14.000
usual way which is about wrapping in

0:06:11.840,0:06:16.160
columns the tag at the end of a heading

0:06:14.000,0:06:17.360
so for instance if I I'm not going to

0:06:16.160,0:06:18.240
switch to emac that's going to waste too

0:06:17.360,0:06:21.039
much time

0:06:18.240,0:06:21.520
but that's one way to say your time but

0:06:21.039,0:06:23.520
say

0:06:21.520,0:06:25.360
you have tag inheritance which means

0:06:23.520,0:06:28.160
that when you have a parent with a tag

0:06:25.360,0:06:29.520
you also want the child to inherit the

0:06:28.160,0:06:32.400
tag so if you have

0:06:29.520,0:06:33.680
first heading with the typhoo you have

0:06:32.400,0:06:37.520
the first subheading

0:06:33.680,0:06:39.680
and the tag foo is implied now imagine

0:06:37.520,0:06:41.039
having to do that with a file that is

0:06:39.680,0:06:44.160
completely nested

0:06:41.039,0:06:47.280
a file that has maybe 9 10

0:06:44.160,0:06:49.039
11 levels of depth to it

0:06:47.280,0:06:51.039
it's mind-bogglingly complicated for the

0:06:49.039,0:06:52.639
software to do that knowing that I've

0:06:51.039,0:06:55.919
told you about tags

0:06:52.639,0:06:58.639
but any property can be inheritable

0:06:55.919,0:07:00.240
anything like priorities even though why

0:06:58.639,0:07:03.759
would you do this

0:07:00.240,0:07:05.599
you can have groups you can all this and

0:07:03.759,0:07:07.199
as someone who went through the trouble

0:07:05.599,0:07:08.560
of optimizing his old agenda so

0:07:07.199,0:07:11.280
basically if we go back to the

0:07:08.560,0:07:12.160
gifts gifs oh god we've already had this

0:07:11.280,0:07:14.479
discussion

0:07:12.160,0:07:16.400
between the git and magit and now I've

0:07:14.479,0:07:18.080
started jeff and gif and I only have one

0:07:16.400,0:07:19.599
more minute left to do so so let's just

0:07:18.080,0:07:23.599
say I'm going to say gif

0:07:19.599,0:07:26.880
just to spice people so if you go on

0:07:23.599,0:07:29.120
the way I organize my agenda what I did

0:07:26.880,0:07:30.960
in order to keep my agenda build time

0:07:29.120,0:07:33.440
under two seconds

0:07:30.960,0:07:35.520
is that I've rewritten a whole lot of

0:07:33.440,0:07:36.560
codes to be able to pass my organ gender

0:07:35.520,0:07:40.080
files

0:07:36.560,0:07:41.360
so the thing is I'm going to be talking

0:07:40.080,0:07:43.440
more about this later

0:07:41.360,0:07:44.479
I only have let's say one minutes to

0:07:43.440,0:07:47.440
conclude

0:07:44.479,0:07:48.479
so as you've gathered I'm not going to

0:07:47.440,0:07:51.039
be giving you the answer

0:07:48.479,0:07:53.440
right now I'm going to be talking about

0:07:51.039,0:07:55.680
orgrum a little later which is about

0:07:53.440,0:07:57.759
following the principle of having many

0:07:55.680,0:08:01.120
small files

0:07:57.759,0:08:02.960
but as someone who has been using

0:08:01.120,0:08:04.879
one large file to manage my life you

0:08:02.960,0:08:08.319
know I'm sitting on the fence

0:08:04.879,0:08:10.560
I do not know which one is the best

0:08:08.319,0:08:12.240
but I hope that my presentation has

0:08:10.560,0:08:15.199
given you a little id

0:08:12.240,0:08:15.520
of what goes on behind the principles

0:08:15.199,0:08:16.560
and

0:08:15.520,0:08:18.560
you also need to think about the

0:08:16.560,0:08:19.120
philosophy behind the organization of

0:08:18.560,0:08:21.039
your notes

0:08:19.120,0:08:23.280
but I hope to be approaching this topic

0:08:21.039,0:08:25.360
with you in about

0:08:23.280,0:08:27.520
two hours or so maybe one hour actually

0:08:25.360,0:08:28.960
so I'm actually finished I've decided to

0:08:27.520,0:08:31.520
leave you two minutes of questions

0:08:28.960,0:08:32.880
so uh if someone could feed me the

0:08:31.520,0:08:34.399
question that might be best

0:08:32.880,0:08:36.240
because I don't want oh actually I can

0:08:34.399,0:08:39.919
just open the year

0:08:36.240,0:08:40.800
I can just open it give me a second okay

0:08:39.919,0:08:43.039
ah

0:08:40.800,0:08:43.839
just loading up huh I might stop showing

0:08:43.039,0:08:46.959
my screen

0:08:43.839,0:08:47.519
that might make it easier so I mean if

0:08:46.959,0:08:49.360
you can make

0:08:47.519,0:08:52.000
myself big now on the screen that would

0:08:49.360,0:08:55.839
be splendid yeah sure

0:08:52.000,0:08:58.720
thank you so uh where are we

0:08:55.839,0:09:00.160
question 12. okay so what's better one

0:08:58.720,0:09:02.160
big file

0:09:00.160,0:09:03.120
I did is it did a job to tell me that I

0:09:02.160,0:09:04.240
haven't answered the question because

0:09:03.120,0:09:06.320
someone just

0:09:04.240,0:09:08.080
asked me the question well personally if

0:09:06.320,0:09:08.560
I were to give you a quick answer in

0:09:08.080,0:09:11.600
like

0:09:08.560,0:09:13.920
20 seconds personally I think it's a

0:09:11.600,0:09:15.680
question that is contextually based

0:09:13.920,0:09:17.839
do you want something that is efficient

0:09:15.680,0:09:21.200
as far as optimization is concerned

0:09:17.839,0:09:23.440
then you need to think about

0:09:21.200,0:09:24.640
this and personally for all the

0:09:23.440,0:09:26.640
organization that I do

0:09:24.640,0:09:27.760
all this stuff all the to-do's that I

0:09:26.640,0:09:30.080
handle

0:09:27.760,0:09:31.519
I like to do this in one simple big file

0:09:30.080,0:09:33.760
because you benefit from all the

0:09:31.519,0:09:36.320
refiling capabilities of log mode

0:09:33.760,0:09:37.200
so I would do that but for knowledge

0:09:36.320,0:09:40.080
management

0:09:37.200,0:09:41.279
for note-taking and all this well I'd

0:09:40.080,0:09:42.959
much rather follow the

0:09:41.279,0:09:44.480
orgrom way of doing things which is

0:09:42.959,0:09:48.240
about having many

0:09:44.480,0:09:50.000
small files okay I'm not getting any

0:09:48.240,0:09:52.080
more questions I'm not sure if there is

0:09:50.000,0:09:53.040
one on ise that could be fed to me

0:09:52.080,0:09:56.399
otherwise I'm

0:09:53.040,0:09:57.040
happy to to uh pass over to the next uh

0:09:56.399,0:09:59.360
speaker

0:09:57.040,0:10:01.360
and by the way just before I finish your

0:09:59.360,0:10:04.399
world is a lie it's not a three-piece

0:10:01.360,0:10:06.520
suit I'm wearing jeans below so I hope

0:10:04.399,0:10:09.610
that satisfies your curiosity

0:10:06.520,0:10:09.610
[Music]

0:10:10.640,0:10:15.040
okay there's one more question appearing

0:10:12.640,0:10:17.680
but otherwise one big file to have

0:10:15.040,0:10:19.760
everything so I'm putting you on the

0:10:17.680,0:10:21.040
spot I believe it was such a short talk

0:10:19.760,0:10:23.600
you know the problem is

0:10:21.040,0:10:24.720
I just wanted to give you a little

0:10:23.600,0:10:26.959
answer

0:10:24.720,0:10:27.920
a little you know path of thinking on

0:10:26.959,0:10:29.839
this topic

0:10:27.920,0:10:31.600
but obviously it's a topic I could be

0:10:29.839,0:10:33.200
spending 40 minutes on but

0:10:31.600,0:10:35.120
I'm going to be drained you're going to

0:10:33.200,0:10:35.680
be drained nobody's going to be happy if

0:10:35.120,0:10:37.920
I do this

0:10:35.680,0:10:37.920
so

0:10:39.440,0:10:42.880
and someone asked me if I switch between

0:10:41.200,0:10:46.560
british and french accents

0:10:42.880,0:10:48.480
so a little a little secret for you um

0:10:46.560,0:10:49.760
when I'm stressed I tend to relate to a

0:10:48.480,0:10:53.760
french accent

0:10:49.760,0:10:56.160
so you can measure the amount of stress

0:10:53.760,0:10:58.880
that I'm feeling during this talk

0:10:56.160,0:11:00.560
with the amount of h's that I drop and

0:10:58.880,0:11:02.720
the amount of uh

0:11:00.560,0:11:04.399
sheer fright that you can see sometimes

0:11:02.720,0:11:07.200
in my eyes when I'm thinking about what

0:11:04.399,0:11:07.200
to say next

0:11:08.240,0:11:11.360
all right sir so I mean do you believe

0:11:10.880,0:11:14.240
we can

0:11:11.360,0:11:15.519
leave it at that and uh I'll be you

0:11:14.240,0:11:17.040
people will see plenty more with me

0:11:15.519,0:11:20.000
later on anyway

0:11:17.040,0:11:20.640
right um so looking at the schedule I

0:11:20.000,0:11:23.920
think

0:11:20.640,0:11:27.120
your talk has until like 202 meaning

0:11:23.920,0:11:28.000
like five or six minutes from now oh

0:11:27.120,0:11:30.000
right

0:11:28.000,0:11:31.680
yeah so if you do like to take like one

0:11:30.000,0:11:33.920
or two questions to add two more

0:11:31.680,0:11:37.040
questions by all means

0:11:33.920,0:11:38.320
okay so uh someone has asked me what is

0:11:37.040,0:11:40.640
the emacs icon

0:11:38.320,0:11:42.880
icon sorry see another french accent

0:11:40.640,0:11:44.880
here uh in my status bar

0:11:42.880,0:11:46.640
uh oh sorry I'm not sharing anymore uh I

0:11:44.880,0:11:49.200
might just share again just so that

0:11:46.640,0:11:53.120
everyone can catch a glimpse of that

0:11:49.200,0:11:54.880
uh there we go allow

0:11:53.120,0:11:56.240
so it should be so if you could make me

0:11:54.880,0:11:56.959
small again I'm in I'm not sure if it's

0:11:56.240,0:12:00.480
going to do it

0:11:56.959,0:12:01.839
by itself but I do have a little icon

0:12:00.480,0:12:04.480
here in my status bar

0:12:01.839,0:12:05.760
which is basically a way to interact

0:12:04.480,0:12:07.279
with all protocol

0:12:05.760,0:12:09.120
uh I'm not going to look for it right

0:12:07.279,0:12:10.800
now but it's uh

0:12:09.120,0:12:12.399
it's a browser extension that is

0:12:10.800,0:12:15.680
developed by one of my friends

0:12:12.399,0:12:16.160
over at ranger whose name is v phone and

0:12:15.680,0:12:18.240
uh

0:12:16.160,0:12:19.680
it's very useful I'm someone who uses a

0:12:18.240,0:12:22.320
lot of uh

0:12:19.680,0:12:23.040
of uh all protocols and by the way I

0:12:22.320,0:12:25.279
used to teach

0:12:23.040,0:12:27.279
english okay to high schoolers and they

0:12:25.279,0:12:29.600
were supremely worried

0:12:27.279,0:12:30.800
when I show them my status line and they

0:12:29.600,0:12:34.000
so kill

0:12:30.800,0:12:36.560
and explore in my status line so as

0:12:34.000,0:12:37.839
fellow emacs users you know that

0:12:36.560,0:12:40.880
obviously kill

0:12:37.839,0:12:44.320
means to kill a selection of text and

0:12:40.880,0:12:47.279
keep it inside your clipboard

0:12:44.320,0:12:48.320
but for my students who you know they

0:12:47.279,0:12:51.600
were very worried

0:12:48.320,0:12:53.600
about what their professor was up to

0:12:51.600,0:12:55.120
doing his nights

0:12:53.600,0:12:56.560
so let's see if we've got more questions

0:12:55.120,0:12:57.920
so I'm showing you the questions on the

0:12:56.560,0:13:00.560
rainbow so let's see if

0:12:57.920,0:13:01.920
we've got more so people are posting a

0:13:00.560,0:13:03.920
lot of questions now

0:13:01.920,0:13:06.399
so how do you feel about archiving files

0:13:03.920,0:13:09.360
in old mode and how can that work in

0:13:06.399,0:13:10.240
so one of the thing when we think about

0:13:09.360,0:13:13.920
optimization

0:13:10.240,0:13:16.240
is yes archiving done trees

0:13:13.920,0:13:17.920
is a good idea because it means that if

0:13:16.240,0:13:18.720
we go back to the org element the way it

0:13:17.920,0:13:20.399
works

0:13:18.720,0:13:22.079
and we'll get into technical details

0:13:20.399,0:13:24.079
afterwards I'm giving a presentation

0:13:22.079,0:13:26.880
about all grown technical suspect

0:13:24.079,0:13:28.399
aspects sorry so I'll have a chance to

0:13:26.880,0:13:31.360
expand a little more on this

0:13:28.399,0:13:32.160
but basically all elements need to uh

0:13:31.360,0:13:35.279
every time

0:13:32.160,0:13:38.320
it sees a to do it has to consider it

0:13:35.279,0:13:40.000
even though it is a done to do why

0:13:38.320,0:13:41.839
because let's say for instance that in

0:13:40.000,0:13:45.519
your agenda you want to activate

0:13:41.839,0:13:48.959
log mode which is going to show the

0:13:45.519,0:13:49.519
tasks which are done now you could be

0:13:48.959,0:13:51.440
clever

0:13:49.519,0:13:53.360
and say oh okay the old agenda does not

0:13:51.440,0:13:54.880
need to show don items so it's not going

0:13:53.360,0:13:56.959
to look for them

0:13:54.880,0:13:58.720
but the problem is that all elements is

0:13:56.959,0:13:59.519
always called it always needs to pass

0:13:58.720,0:14:01.839
the buffer

0:13:59.519,0:14:03.519
you know uh nicodego as you who is the

0:14:01.839,0:14:05.040
french developer who's worked a whole

0:14:03.519,0:14:07.440
lot on all elements

0:14:05.040,0:14:08.399
has gone through a lot of trouble to

0:14:07.440,0:14:11.600
optimize all

0:14:08.399,0:14:13.279
elements but the problem is

0:14:11.600,0:14:14.720
there's just so much that we can do with

0:14:13.279,0:14:18.560
a concurrent process

0:14:14.720,0:14:21.120
and right now it leaves somewhat

0:14:18.560,0:14:22.079
uh you know things to be desired but

0:14:21.120,0:14:24.800
we're working on it

0:14:22.079,0:14:25.839
and one more time I feel like I spent

0:14:24.800,0:14:28.000
half of this talk

0:14:25.839,0:14:29.360
teasing my next talks but I'll be

0:14:28.000,0:14:31.279
talking more about this

0:14:29.360,0:14:32.639
in my future talks in about one to two

0:14:31.279,0:14:34.959
hours

0:14:32.639,0:14:36.079
so continuing with questions how big are

0:14:34.959,0:14:37.760
my org files

0:14:36.079,0:14:39.839
so in the background I'm just going to

0:14:37.760,0:14:40.720
check how many lines I have in my main

0:14:39.839,0:14:42.959
file

0:14:40.720,0:14:44.079
so in my own file so the one I told you

0:14:42.959,0:14:47.279
about where I keep all

0:14:44.079,0:14:50.720
my to do gtd stuff I have

0:14:47.279,0:14:54.000
38 000 lines which is

0:14:50.720,0:14:57.040
you know it's sizable definitely

0:14:54.000,0:14:58.480
but I do archive a lot of stuff

0:14:57.040,0:15:00.880
so that might be a slight difference

0:14:58.480,0:15:02.079
between uh my myself and carl voight

0:15:00.880,0:15:04.880
even though I don't remember if they

0:15:02.079,0:15:06.639
actually archive stuff

0:15:04.880,0:15:08.480
so does it not consume more resources

0:15:06.639,0:15:10.839
and time to load multiple files

0:15:08.480,0:15:12.560
files than a large file or the same

0:15:10.839,0:15:15.839
content now

0:15:12.560,0:15:19.279
theoretically yes having many files

0:15:15.839,0:15:22.240
open concurrently is slightly slower

0:15:19.279,0:15:24.160
than having one main file opened

0:15:22.240,0:15:25.279
now the problem is for those of you who

0:15:24.160,0:15:27.199
have large files

0:15:25.279,0:15:29.360
you may have noticed that when you are

0:15:27.199,0:15:32.560
scrolling in a very large file

0:15:29.360,0:15:34.480
it starts taking quite a bit of time why

0:15:32.560,0:15:35.920
it's because you know in old mode you

0:15:34.480,0:15:38.959
have a lot of content

0:15:35.920,0:15:40.959
that is hidden so when you have

0:15:38.959,0:15:43.040
the view mode which hides as much stuff

0:15:40.959,0:15:43.600
as possible means meaning that you only

0:15:43.040,0:15:45.360
see

0:15:43.600,0:15:46.880
the top heading and I'm checking the

0:15:45.360,0:15:49.360
time I mean don't worry I'm I'm finished

0:15:46.880,0:15:49.360
on this one

0:15:50.240,0:15:53.360
when you're hiding a whole lot of stuff

0:15:52.160,0:15:54.720
you know orgmo

0:15:53.360,0:15:56.959
needs to keep track or I should say

0:15:54.720,0:15:58.160
emacs needs to keep track of which areas

0:15:56.959,0:16:00.560
of text to show

0:15:58.160,0:16:02.320
and which areas of text to hide and the

0:16:00.560,0:16:04.480
problem is that when you're hiding stuff

0:16:02.320,0:16:06.320
let's say you're moving from line the

0:16:04.480,0:16:08.639
first heading to the second heading

0:16:06.320,0:16:09.839
but you've got like 10 000 lines between

0:16:08.639,0:16:11.519
those two headings

0:16:09.839,0:16:13.680
well he max needs to compute the

0:16:11.519,0:16:15.680
difference between the two passages

0:16:13.680,0:16:17.040
and that takes quite a lot of time and

0:16:15.680,0:16:18.560
in that that's my

0:16:17.040,0:16:20.560
why you might realize that it's a little

0:16:18.560,0:16:21.199
choppy when you start scrolling in large

0:16:20.560,0:16:22.560
files

0:16:21.199,0:16:24.480
anyway I could be answering questions

0:16:22.560,0:16:25.120
about org mode for literally two hours

0:16:24.480,0:16:26.720
straight

0:16:25.120,0:16:28.639
so I'm gonna end it over to the next

0:16:26.720,0:16:31.759
speakers and I'll be seeing

0:16:28.639,0:16:33.440
seeing you guys a little later thank you

0:16:31.759,0:16:36.959
very much leo

0:16:33.440,0:16:39.839
oh thank you yes bye

0:16:36.959,0:16:39.839
bye