-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocs.ijs
More file actions
8882 lines (7962 loc) · 497 KB
/
docs.ijs
File metadata and controls
8882 lines (7962 loc) · 497 KB
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
NB. sha256:d55b24e80d5be0750a7727e05f315b81eb269643db0a90fd488a7c627b3a0646
NB. JOD dictionary dump: 11 Dec 2025 12:38:30
NB. Generated with JOD version; 1.1.3 - dev; 39; 20 Apr 2025 15:46:08
NB. J version: j9.6.3/j64avx2/windows/commercial/www.jsoftware.com/2025-04-05T16:39:54/clang-18-1-8/SLEEF=1
NB. JOD put dictionary path: /docs/utils
NB.
NB. Names & DidNums on current path
NB. +----+--------------------------------------+
NB. |docs|21542885809206368433509694700989998280|
NB. +----+--------------------------------------+
9!:41 [ 1 NB.{*JOD*}
cocurrent 'base' NB.{*JOD*}
sonl_z_=: 'sonl__MK__JODobj i.4' NB.{*JOD*}
showpass_z_=:] [ 1!:2&2 NB.{*JOD*}
SOLOCALE_z_=:":>SO__JODobj NB.{*JOD*}
soput_z_=:SOLOCALE&put NB.{*JOD*}
soclear_z_=: '0 0 $ clearso__MK__JODobj 0' NB.{*JOD*}
cocurrent SO__JODobj NB.{*JOD*}
ALPHASNAKECASE=:'abcdefghijklmnopqrstuvwxyz0123456789_-.:\/'
APL385Unicode=:48 48 50 49 32 33 32 70 97 99 116 111 114 105 97 108 10 48 48 50 65 32 42 32 80 111 119 101 114 32 40 65 108 108 32 65 80 76 115 41 10 48 48 50 66 32 43 32 80 108 117 115 10 48 48 50 68 32 45 32 77 105 110 117 115 10 48 48 50 70 32 47 32 67 111 109 112 114 101 115 115 10 48 48 51 67 32 60 32 76 101 115 115 116 104 97 110 10 48 48 51 68 32 61 32 69 113 117 97 108 10 48 48 51 69 32 62 32 77 111 114 101 116 104 97 110 10 48 48 51 70 32 63 32 82 97 110 100 111 109 10 48 48 53 67 32 92 32 69 120 112 97 110 100 10 48 48 53 69 32 94 32 76 111 103 105 99 97 108 32 65 78 68 10 48 48 55 67 32 124 32 82 101 109 97 105 110 100 101 114 10 48 48 55 69 32 126 32 87 105 116 104 111 117 116 32 40 65 80 76 50 32 97 110 100 32 108 97 116 101 115 116 32 68 121 97 108 111 103 41 10 48 48 65 56 32 194 168 32 69 97 99 104 10 48 48 65 70 32 194 175 32 78 101 103 97 116 105 118 101 10 48 48 68 55 32 195 151 32 77 117 108 116 105 112 108 121 10 48 48 70 55 32 195 183 32 68 105 118 105 100 101 10 50 49 57 48 32 226 134 144 32 65 115 115 105 103 110 10 50 49 57 49 32 226 134 145 32 84 97 107 101 10 50 49 57 50 32 226 134 146 32 71 111 116 111 10 50 49 57 51 32 226 134 147 32 68 114 111 112 10 50 50 48 54 32 206 148 32 68 101 108 116 97 10 50 50 48 55 32 226 136 135 32 68 101 108 32 40 68 102 110 115 32 61 32 115 101 108 102 41 10 50 50 48 65 32 206 149 32 77 101 109 98 101 114 115 104 105 112 10 50 50 49 56 32 226 136 152 32 74 111 116 32 40 111 117 116 101 114 32 112 114 111 100 117 99 116 47 99 111 109 112 111 115 101 41 10 50 50 50 56 32 226 136 168 32 76 111 103 105 99 97 108 32 79 82 10 50 50 50 57 32 226 136 169 32 73 110 116 101 114 115 101 99 116 32 40 112 108 101 97 115 101 32 105 109 112 108 101 109 101 110 116 33 33 41 10 50 50 50 65 32 226 136 170 32 78 117 98 47 85 110 105 111 110 32 40 100 105 116 116 111 41 10 50 50 51 53 32 226 136 181 32 80 97 119 32 61 32 68 105 101 114 101 115 105 115 45 100 111 116 32 40 65 80 76 50 41 10 50 50 51 67 32 226 136 188 32 84 105 108 100 101 32 40 97 108 116 101 114 110 97 116 105 118 101 32 116 111 32 65 83 67 73 73 41 10 50 50 54 48 32 226 137 160 32 78 111 116 32 101 113 117 97 108 32 116 111 10 50 50 54 49 32 226 137 161 32 77 97 116 99 104 10 50 50 54 50 32 226 137 162 32 78 111 116 109 97 116 99 104 32 40 68 121 97 108 111 103 32 111 110 108 121 41 10 50 50 54 52 32 226 137 164 32 76 101 115 115 116 104 97 110 32 111 114 32 69 113 117 97 108 10 50 50 54 53 32 226 137 165 32 71 114 101 97 116 101 114 32 111 114 32 69 113 117 97 108 10 50 50 56 50 32 226 138 130 32 69 110 99 108 111 115 101 10 50 50 56 51 32 226 138 131 32 68 105 115 99 108 111 115 101 47 80 105 99 107 10 50 50 57 54 32 226 138 150 32 82 111 116 97 116 101 32 111 110 32 102 105 114 115 116 32 97 120 105 115 10 50 50 65 50 32 194 164 32 82 105 103 104 116 32 116 97 99 107 32 40 117 110 117 115 101 100 32 101 120 99 101 112 116 32 83 104 97 114 112 41 10 50 50 65 51 32 226 138 163 32 76 101 102 116 32 116 97 99 107 32 40 117 110 117 115 101 100 32 101 120 99 101 112 116 32 83 104 97 114 112 41 10 50 50 65 52 32 226 138 164 32 69 110 99 111 100 101 10 50 50 65 53 32 226 138 165 32 68 101 99 111 100 101 10 50 50 67 52 32 226 139 132 32 68 105 97 109 111 110 100 32 40 65 80 76 50 32 97 110 100 32 108 97 116 101 115 116 32 68 121 97 108 111 103 41 10 50 51 48 56 32 226 140 136 32 77 97 120 10 50 51 48 65 32 226 140 138 32 77 105 110 10 50 51 51 54 32 226 140 182 32 73 45 66 101 97 109 32 40 65 80 76 83 86 44 32 110 111 119 32 117 110 117 115 101 100 41 10 50 51 51 55 32 226 140 183 32 83 113 117 97 100 32 40 65 80 76 50 44 32 65 80 76 43 87 105 110 44 32 83 104 97 114 112 41 10 50 51 51 57 32 226 140 185 32 68 111 109 105 110 111 10 50 51 51 66 32 226 140 187 32 81 117 97 100 45 74 111 116 32 40 65 80 76 50 32 45 32 110 101 118 101 114 32 117 115 101 100 41 10 50 51 51 68 32 226 140 189 32 82 101 118 101 114 115 101 10 50 51 51 70 32 194 154 32 83 108 97 115 104 98 97 114 10 50 51 52 48 32 194 153 32 83 108 111 112 101 98 97 114 10 50 51 52 50 32 226 141 130 32 83 97 110 100 119 105 99 104 32 40 65 80 76 50 44 32 65 80 76 42 80 76 85 83 47 80 67 32 49 55 41 10 50 51 52 55 32 226 141 135 32 81 117 97 100 45 76 101 102 116 32 40 65 80 76 46 54 56 48 48 48 41 10 50 51 52 56 32 226 141 136 32 81 117 97 100 45 82 105 103 104 116 32 40 65 80 76 46 54 56 48 48 48 41 10 50 51 52 57 32 194 179 32 84 114 97 110 115 112 111 115 101 10 50 51 52 66 32 194 147 32 71 114 97 100 101 85 112 10 50 51 52 69 32 226 141 142 32 69 120 101 99 117 116 101 10 50 51 53 48 32 226 141 144 32 81 117 97 100 45 85 112 32 40 65 80 76 46 54 56 48 48 48 41 10 50 51 53 50 32 194 148 32 71 114 97 100 101 68 111 119 110 10 50 51 53 53 32 226 141 149 32 70 111 114 109 97 116 10 50 51 53 55 32 226 141 151 32 81 117 97 100 45 68 111 119 110 32 40 65 80 76 46 54 56 48 48 48 41 10 50 51 53 57 32 226 141 153 32 68 101 108 116 97 85 110 100 101 114 98 97 114 10 50 51 53 68 32 226 141 157 32 76 97 109 112 10 50 51 53 69 32 226 141 158 32 81 117 111 116 101 81 117 97 100 10 50 51 53 70 32 226 141 159 32 76 111 103 10 50 51 54 49 32 226 141 161 32 83 110 111 117 116 32 40 80 76 85 83 47 80 67 32 49 55 48 32 117 110 117 115 101 100 41 10 50 51 54 50 32 226 141 162 32 70 114 111 103 32 40 80 76 85 83 47 80 67 32 49 55 49 44 32 78 65 82 83 32 68 117 97 108 41 10 50 51 54 51 32 226 141 163 32 83 111 117 114 112 117 115 115 32 40 78 65 82 83 32 80 111 119 101 114 41 10 50 51 54 52 32 226 141 164 32 72 111 111 116 32 61 32 82 97 110 107 32 40 83 104 97 114 112 32 65 80 76 32 111 110 108 121 41 10 50 51 54 53 32 226 141 165 32 72 111 108 108 101 114 32 40 65 80 76 42 80 76 85 83 47 80 67 32 50 50 56 32 117 110 117 115 101 100 41 10 50 51 54 56 32 226 141 168 32 70 114 111 119 110 32 61 32 67 111 109 109 117 116 101 32 40 78 65 82 83 44 32 68 121 97 108 111 103 41 10 50 51 54 65 32 226 141 170 32 67 111 109 109 97 66 97 114 32 40 99 97 116 101 110 97 116 101 32 102 105 114 115 116 41 10 50 51 54 66 32 226 141 171 32 68 101 108 84 105 108 100 101 32 40 76 111 99 107 32 102 117 110 99 116 105 111 110 41 10 50 51 54 67 32 226 141 172 32 90 105 108 100 101 32 40 99 111 110 115 116 97 110 116 32 40 194 188 48 41 41 10 50 51 55 49 32 226 141 177 32 65 80 76 32 78 111 114 32 40 119 97 116 99 104 32 102 111 114 32 50 50 66 68 32 97 108 115 111 41 10 50 51 55 50 32 226 141 178 32 65 80 76 32 78 97 110 100 32 40 119 97 116 99 104 32 102 111 114 32 50 50 66 67 32 97 108 115 111 41 10 50 51 55 51 32 206 153 32 73 111 116 97 32 40 78 79 84 32 116 104 101 32 71 114 101 101 107 32 99 104 97 114 41 10 50 51 55 52 32 206 161 32 82 104 111 32 40 100 105 116 116 111 41 10 50 51 55 53 32 206 169 32 79 109 101 103 97 32 40 68 102 110 115 32 97 110 100 32 78 65 82 83 32 68 68 101 102 41 10 50 51 55 55 32 226 141 183 32 70 105 110 100 10 50 51 55 56 32 226 141 184 32 73 111 116 97 45 117 110 100 101 114 98 97 114 32 40 65 80 76 50 32 111 110 108 121 41 10 50 51 55 65 32 206 145 32 65 108 112 104 97 32 40 68 70 110 115 32 97 110 100 32 78 65 82 83 32 68 68 101 102 41 10 50 51 57 53 32 226 142 149 32 81 117 97 100 32 40 105 110 32 114 101 99 101 110 116 32 85 110 105 99 111 100 101 32 115 112 101 99 41 10 50 53 65 70 32 226 150 175 32 81 117 97 100 32 40 105 110 32 65 114 105 97 108 32 85 110 105 99 111 100 101 32 77 83 41 10 50 53 67 65 32 226 151 138 32 68 105 97 109 111 110 100 32 40 68 121 97 108 111 103 32 49 48 32 45 32 110 111 119 32 109 111 118 101 100 41 10 50 53 67 66 32 226 151 139 32 67 105 114 99 108 101 32 40 80 105 32 116 105 109 101 115 32 46 46 46 41 10 48 48 55 70 32 127 32 72 111 117 115 101 32 40 102 111 114 32 65 80 76 50 32 117 115 101 32 111 110 108 121 41 10 50 48 65 55 32 226 130 167 32 80 101 115 101 116 97 32 40 97 108 115 111 32 105 110 32 65 80 76 50 41 10{a.
AUTHORSFXS=:<;._1 ' :ed: :tr: :aka: :ilu:'
Antarctica_Chile_YMD=:20260112
AplwinUnicodePoints=:0 1 2 9079 8900 168 8592 7 8 9 10 8834 12 13 8835 9055 16 17 18 9067 20 21 9068 9077 8593 8595 8594 27 8867 8866 9035 9042 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 166 125 126 127 199 252 233 226 228 224 8800 231 234 235 232 239 238 8968 196 8970 201 8710 215 244 246 9109 251 9054 9017 214 220 162 163 63 9066 9064 225 237 243 250 241 209 9053 9024 191 9015 337 248 253 161 171 187 9109 9109 9109 124 124 124 124 43 43 124 124 43 43 43 43 43 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 45 209 210 211 212 213 214 43 216 217 218 219 220 221 124 255 9082 223 9075 9060 227 9073 8869 8868 9021 8854 9074 9023 8711 9033 8714 9067 8801 9049 8805 8804 9045 9038 247 34 8728 9675 8744 9076 8745 175 124 0
BADDOWNEXT=:'.baddown'
BEGINTITLE=:'BEWPTITLE'
BESOURCEDELS=:<;._1 '|[sourcecode |[/sourcecode]'
BESOURCEPREDELS=:<;._1 '|<pre class="sourceCode|</pre>'
BIBTEXMARKS=:<;._1 ' `[{_ _}]`'
BatPostMark=:'--[post-name]--'
BciDiaryStart=:2016 11 1
BlogYearWords_hashdateurl=:<;._1 '|1f1d8cea9806be945f228fb0c1adee0b8c5650366e815934b409895b8fb0bb82|09 Jan 2023 11:07:28|https://github.com/bakerjd99/Analyze-the-Data-not-the-Drivel/blob/master/wordpress/BlogYearWords.ijs'
CELLSTARTipynb=:123 10 34 99 101 108 108 95 116 121 112 101 34 58 32{a.
CKM=:226 156 147{a.
CLifeExpectancy=:82.1299999999999955
CLifeExpectancyDad=:91.6099999999999994
CLifeExpectancyMali=:85.980000000000004
CLifeExpectancyMe=:85.4300000000000068
CODEipynb=:'"code"'
DAYDOGRADES=:6 2$'@a@b@c@d@f@v'
DOCDASHPATS=:<;._1 ' -. _.-. _-. _.'
DTM=:226 151 166{a.
DadBirthDate=:1933 9 15
DoDiary_hashdateurl=:<;._1 '|e9ddfbbe72d9e0a67e8c20a7f9ccbf6d8e61870df2aff67a3bd51bcc4dc22de4|28 Oct 2024 12:29:11|no url set'
DudDiaryStart=:2009 7 14
EPUBAMBLE=:37 32 65 110 97 108 121 122 101 32 116 104 101 32 68 97 116 97 32 110 111 116 32 116 104 101 32 68 114 105 118 101 108 10 37 32 74 111 104 110 32 68 46 32 66 97 107 101 114 10 10{a.
EPUBFILE=:'bm.epub'
EPUBFRWPDIR=:'c:/pd/blog/wp2epub/'
ExtfrPtex_hashdateurl=:<;._1 '|5e85a4025b617113ab9434b20272574a30f4ea20cd59b29e4c1a5f4aeab15ee2|05 Jan 2023 15:16:48|https://github.com/bakerjd99/Analyze-the-Data-not-the-Drivel/blob/master/wordpress/ExtfrPtex.ijs'
FILETITLELEN=:20
FctDiaryStart=:2016 4 25
GOODREADSTEXTFILE=:'c:/pd/books/goodreads_library_export.txt'
GOODWRAPWIDTH=:65
GoodreadsReviews_hashdateurl=:<;._1 '|c789e783b7dcc7c93dbef0dbe5da42f6d2f025ce1bf2d0a1680a38049fc49ac3|12 Aug 2024 13:09:41|'
HTMLEXT=:'.html'
HTMLREPS=:'#<#<#>#>#"#"#&#&'
HomePIPDocs=:'c:/pd/docs'
IFACEWORDSBiblioHelper=:<;._1 ' RunBibUrlInprocess RunDudUrlInprocess RunDudprjUrlInprocess'
IFACEWORDSBlogYearWords=:,<'blogyearwords'
IFACEWORDSDoDiary=:<;._1 ' daydoacts daydofreq'
IFACEWORDSDudTeXPreprocess=:<;._1 ' DudWeek RunDudPreprocess'
IFACEWORDSExtfrPtex=:<;._1 ' CleanExtract CompExtractLatex PrepExtractLatex'
IFACEWORDSGoodreadsReviews=:<;._1 ' FormatReviewPanhtml GoodreadsReviewText LoadGoodreadsReviews'
IFACEWORDSMweccTeXPreprocess=:<;._1 ' InsertMweccVersion MweccWeek'
IFACEWORDSStdDocFiles=:<;._1 ' stddocnames leanstddocs'
IFACEWORDSTeXfrWpxml=:<;._1 ' BlogFreqs BlogHashes FixBaddown LatexFrWordpress MainMarkdown MarkdownFrLatex countYearposts retocidNavposts'
IFACEWORDSWeeks=:<;._1 ' LLSGSWeek MaliDeathDate MaliWeeksLeft MaliYearAge MeWeek MyDeathDate MyWeeksLeft MyYearAge'
IFACEWORDSantarctica_chile=:<;._1 ' antarctica_chile_dates antarctica_chile_days avgrawsize estimgcap'
IFACEWORDSbooks=:<;._1 ' bookctgstats bookctgstime booksperyear2 manyauthors manyreads stdbookstab'
showpass soput ".'nl_',SOLOCALE,'_ i.4' [ cocurrent 'base' NB.{*JOD*}
".soclear NB.{*JOD*}
cocurrent SO__JODobj NB.{*JOD*}
IFACEWORDSdaydo=:<;._1 ' daydotabs dayeff daygradehist gettxt puttxt sortdotabs taskeff tcflags toteff'
IFACEWORDSipynb=:,<'ipynbfrjod'
IFACEWORDSipynbhacks=:,<'jfripynb'
IFACEWORDSlean=:<;._1 ' b36guids bibfkeys bibkeys eracounts nbguids ncdiagrams ncgraphics ncgraphics parseutf8csv savethmtxt stddocnames'
IFACEWORDStodo=:<;._1 ' rntodo tagtodo todo bugtag'
INWIDTH=:0.330000000000000016
JWORDMARK=:' :::jword::: '
KindleMetamathTeX=:10 37 32 66 69 71 73 78 32 75 73 78 68 76 69 32 83 105 122 105 110 103 32 40 74 117 108 121 32 53 44 32 50 48 49 49 41 10 92 117 115 101 112 97 99 107 97 103 101 123 98 114 101 113 110 125 32 32 32 32 32 32 32 32 32 32 32 37 32 97 117 116 111 109 97 116 105 99 32 101 113 117 97 116 105 111 110 32 98 114 101 97 107 105 110 103 10 92 117 115 101 112 97 99 107 97 103 101 123 109 105 99 114 111 116 121 112 101 125 32 32 32 32 32 32 32 37 32 109 105 99 114 111 116 121 112 111 103 114 97 112 104 121 44 32 114 101 100 117 99 101 115 32 104 121 112 104 101 110 97 116 105 111 110 10 10 37 32 105 110 99 108 117 100 101 32 115 111 117 114 99 101 32 99 111 100 101 32 108 105 115 116 105 110 103 115 32 45 32 115 117 112 112 111 114 116 115 32 108 105 110 101 32 98 114 101 97 107 115 32 105 110 32 118 101 114 98 97 116 105 109 32 101 110 118 105 114 111 110 109 101 110 116 115 10 92 117 115 101 112 97 99 107 97 103 101 123 108 105 115 116 105 110 103 115 125 10 10 92 108 115 116 115 101 116 123 37 10 32 32 98 97 115 105 99 115 116 121 108 101 61 92 116 116 102 97 109 105 108 121 92 102 111 111 116 110 111 116 101 115 105 122 101 44 32 32 32 32 32 37 32 112 114 105 110 116 32 115 105 122 101 10 32 32 98 114 101 97 107 108 105 110 101 115 61 116 114 117 101 44 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 37 32 115 101 116 115 32 97 117 116 111 109 97 116 105 99 32 108 105 110 101 32 98 114 101 97 107 105 110 103 10 32 32 98 114 101 97 107 97 116 119 104 105 116 101 115 112 97 99 101 61 116 114 117 101 44 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 37 32 115 101 116 115 32 105 102 32 97 117 116 111 109 97 116 105 99 32 98 114 101 97 107 115 32 115 104 111 117 108 100 32 111 110 108 121 32 104 97 112 112 101 110 32 97 116 32 119 104 105 116 101 115 112 97 99 101 10 125 10 10 37 32 117 115 101 32 103 101 111 109 101 116 114 121 32 116 111 32 115 101 116 32 112 97 103 101 32 115 105 122 101 10 92 117 115 101 112 97 99 107 97 103 101 91 112 97 112 101 114 115 105 122 101 61 123 51 46 54 105 110 44 52 46 56 105 110 125 44 104 109 97 114 103 105 110 61 48 46 49 105 110 44 118 109 97 114 103 105 110 61 123 48 46 49 105 110 44 48 46 49 105 110 125 93 123 103 101 111 109 101 116 114 121 125 32 32 37 32 112 97 103 101 32 103 101 111 109 101 116 114 121 10 10 92 117 115 101 112 97 99 107 97 103 101 123 102 97 110 99 121 104 100 114 125 32 32 32 32 32 32 32 37 32 104 101 97 100 101 114 115 32 97 110 100 32 102 111 111 116 101 114 115 10 92 112 97 103 101 115 116 121 108 101 123 102 97 110 99 121 125 10 92 102 97 110 99 121 104 101 97 100 123 125 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 37 32 99 108 101 97 114 32 112 97 103 101 32 104 101 97 100 101 114 10 92 102 97 110 99 121 102 111 111 116 123 125 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 37 32 99 108 101 97 114 32 112 97 103 101 32 102 111 111 116 101 114 10 10 92 115 101 116 108 101 110 103 116 104 123 92 97 98 111 118 101 99 97 112 116 105 111 110 115 107 105 112 125 123 50 112 116 125 32 32 32 37 32 115 112 97 99 101 32 97 98 111 118 101 32 99 97 112 116 105 111 110 115 32 10 92 115 101 116 108 101 110 103 116 104 123 92 98 101 108 111 119 99 97 112 116 105 111 110 115 107 105 112 125 123 48 112 116 125 32 32 32 37 32 115 112 97 99 101 32 98 101 108 111 119 32 99 97 112 116 105 111 110 115 10 92 115 101 116 108 101 110 103 116 104 123 92 116 101 120 116 102 108 111 97 116 115 101 112 125 123 50 112 116 125 32 32 32 32 32 32 32 37 32 115 112 97 99 101 32 98 101 116 119 101 101 110 32 108 97 115 116 32 116 111 112 32 102 108 111 97 116 32 111 114 32 102 105 114 115 116 32 98 111 116 116 111 109 32 102 108 111 97 116 32 97 110 100 32 116 104 101 32 116 101 120 116 10 92 115 101 116 108 101 110 103 116 104 123 92 102 108 111 97 116 115 101 112 125 123 50 112 116 125 32 32 32 32 32 32 32 32 32 32 32 37 32 115 112 97 99 101 32 108 101 102 116 32 98 101 116 119 101 101 110 32 102 108 111 97 116 115 10 92 115 101 116 108 101 110 103 116 104 123 92 105 110 116 101 120 116 115 101 112 125 123 50 112 116 125 32 32 32 32 32 32 32 32 32 32 37 32 115 112 97 99 101 32 108 101 102 116 32 111 110 32 116 111 112 32 97 110 100 32 98 111 116 116 111 109 32 111 102 32 97 110 32 105 110 45 116 101 120 116 32 102 108 111 97 116 10 37 32 69 78 68 32 75 73 78 68 76 69 10 10{a.
L3MONTHS=:<;._1 ' jan feb mar apr may jun jul aug sep oct nov dec'
LATEXFIGURETEMPLATES=:32 10 37 32 115 116 97 110 100 97 114 100 32 102 108 111 97 116 105 110 103 32 102 105 103 117 114 101 10 37 32 92 99 97 112 116 105 111 110 115 101 116 117 112 91 102 105 103 117 114 101 93 123 108 97 98 101 108 102 111 114 109 97 116 61 101 109 112 116 121 125 10 37 32 92 98 101 103 105 110 123 102 105 103 117 114 101 125 91 104 116 98 112 93 10 37 32 92 99 101 110 116 101 114 105 110 103 10 37 32 92 104 114 101 102 123 125 123 92 105 110 99 108 117 100 101 103 114 97 112 104 105 99 115 91 119 105 100 116 104 61 48 46 53 48 92 116 101 120 116 119 105 100 116 104 93 123 125 125 10 37 32 92 99 97 112 116 105 111 110 123 125 10 37 32 92 108 97 98 101 108 123 102 105 103 58 63 63 63 63 120 48 125 10 37 32 92 101 110 100 123 102 105 103 117 114 101 125 10 32 10 37 32 99 97 112 116 105 111 110 115 32 98 101 115 105 100 101 32 102 105 103 117 114 101 10 37 32 92 99 97 112 116 105 111 110 115 101 116 117 112 91 102 105 103 117 114 101 93 123 108 97 98 101 108 102 111 114 109 97 116 61 101 109 112 116 121 125 10 37 32 92 98 101 103 105 110 123 83 67 102 105 103 117 114 101 125 10 37 32 92 99 101 110 116 101 114 105 110 103 10 37 32 92 104 114 101 102 123 125 123 92 105 110 99 108 117 100 101 103 114 97 112 104 105 99 115 91 119 105 100 116 104 61 48 46 52 48 92 116 101 120 116 119 105 100 116 104 93 123 125 125 10 37 32 92 99 97 112 116 105 111 110 123 125 10 37 32 92 108 97 98 101 108 123 102 105 103 58 63 63 63 63 120 48 125 10 37 32 92 101 110 100 123 83 67 102 105 103 117 114 101 125 10 32 10 37 32 119 114 97 112 112 101 100 32 102 105 103 117 114 101 32 45 32 111 117 116 101 114 32 115 105 122 101 32 62 32 105 110 110 101 114 32 115 105 122 101 10 37 32 92 99 97 112 116 105 111 110 115 101 116 117 112 91 102 108 111 97 116 105 110 103 102 105 103 117 114 101 93 123 108 97 98 101 108 102 111 114 109 97 116 61 101 109 112 116 121 125 10 37 32 92 98 101 103 105 110 123 102 108 111 97 116 105 110 103 102 105 103 117 114 101 125 91 108 93 123 48 46 50 51 92 116 101 120 116 119 105 100 116 104 125 10 37 32 92 99 101 110 116 101 114 105 110 103 10 37 32 92 104 114 101 102 123 125 123 92 105 110 99 108 117 100 101 103 114 97 112 104 105 99 115 91 119 105 100 116 104 61 48 46 50 50 92 116 101 120 116 119 105 100 116 104 93 123 125 125 10 37 32 92 99 97 112 116 105 111 110 123 125 10 37 32 92 108 97 98 101 108 123 102 105 103 58 63 63 63 63 120 48 125 10 37 32 92 101 110 100 123 102 108 111 97 116 105 110 103 102 105 103 117 114 101 125 10{a.
LATEXFRAGMARK=:'LLLATEXFRAGGG'
LATEXPXDEXTS=:(<<;._1 ' jod ./jodgraphics'),<<;._1 ' tex eps'
LFipynb=:92 110 34 44 10{a.
LLSGSStart=:2021 10 31
LSTLISTINGEND=:'\end{lstlisting}'
LSTLISTINGHDR=:92 98 101 103 105 110 123 108 115 116 108 105 115 116 105 110 103 125 91 102 114 97 109 101 61 115 105 110 103 108 101 44 102 114 97 109 101 114 117 108 101 61 48 112 116 44 108 97 98 101 108 61 108 115 116 58 126 126 126 76 83 84 76 65 66 69 76 126 126 126 44 10 99 97 112 116 105 111 110 61 123 115 111 117 114 99 101 32 99 97 112 116 105 111 110 125 93 10{a.
LatexFrHtml=:59 4$<;._1 '|html|-l0|||head|-l0|||title|-l0|||body|-on|||address|-l0|||h1|-l1|{\\LARGE \\textbf{|}}|h2|-l2|{\\Large \\textbf{|}}|h3|-l3|{\\large \\textbf{|}}|h4|-l4|\\textbf{|}|h5|-l5|{\\small \\textbf{|}}|h6|-l6|{\\footnotesize \\textbf{|}}|p|-l0|\nl\nl||ul|-igh|\nl\begin{itemize}|\nl\end{itemize}\nl|menu|-igh|\nl\begin{itemize}|\nl\end{itemize}\nl|dir|-gnh|\nl\begin{itemize}|\nl\end{itemize}\nl|ol|-igh|\nl\begin{enumerate}|\nl\end{enumerate}\nl|li|-l0|\nl\item ||lh|-l0|\nl\item ||dl|-igh|\nl\begin{description}|\nl\end{description}\nl|dt|-l0|\nl\item[|]|dd|-l0|||a|-l0|||q|-l0|``|''''|i|-iim|\textit{|}|em|-l0|\emph{|}|b|-l0|\textbf{|}|strong|-l0|\textbf{|}|tt|-l0|\texttt{|}|samp|-l0|\texttt{|}|kbd|-l0|\texttt{|}|var|-l0|\textsl{|}|dfn|-l0|\textsc{|}|code|-l0|\texttt{|}|blink|-l0|||cite|-l0|\emph{|}|blockquote|-igh|\begin{quotation} |\end{quotation}\nl|bq|-igh|\begin{quotation} |\end{quotation}\nl|u|-l0|\underbar{|}|pre|-verb|\begin{verbatim} |\end{verbatim}\nl|xmp|-verb|\begin{verbatim} |\end{verbatim}\nl|listing|-verb|\begin{verbatim} |\end{verbatim}\nl|br|-br|\newline\nl||hr|-l0|\vspace{1mm}\hrule ||img|-l0|||isindex|-l0|||select|-l0|||link|-l0|||center|-l0|{\centering |}|meta|-l0|||table|-l0|||tr|-l0|||td|-l0|||sup|-l0|$^{|}$|sub|-l0|$_{|}$|caption|-l0|||script|-off|||noscript|-l0|||style|-off|||font|-l0||'
LinPipLib=:'/home/john/pd/docs/piplib/'
LinuxPIPDocs=:'/home/john/pd/docs'
LocalFileColor=:'BlueViolet'
LocalPDFDir=:'/piplib/'
LstlistingExtendChars=:94 94 56 48 94 94 56 49 94 94 56 50 94 94 56 51 94 94 56 52 94 94 56 53 94 94 56 54 94 94 56 55 94 94 56 56 94 94 56 57 94 94 56 97 94 94 56 98 94 94 56 99 94 94 56 100 94 94 56 101 94 94 56 102 37 10 94 94 57 48 94 94 57 49 94 94 57 50 94 94 57 51 94 94 57 52 94 94 57 53 94 94 57 54 94 94 57 55 94 94 57 56 94 94 57 57 94 94 57 97 94 94 57 98 94 94 57 99 94 94 57 100 94 94 57 101 94 94 57 102 37 10 94 94 97 48 94 94 97 49 94 94 97 50 94 94 97 51 94 94 97 52 94 94 97 53 94 94 97 54 94 94 97 55 94 94 97 56 94 94 97 57 94 94 97 97 94 94 97 98 94 94 97 99 94 94 97 100 94 94 97 101 94 94 97 102 37 10 94 94 98 48 94 94 98 49 94 94 98 50 94 94 98 51 94 94 98 52 94 94 98 53 94 94 98 54 94 94 98 55 94 94 98 56 94 94 98 57 94 94 98 97 94 94 98 98 94 94 98 99 94 94 98 100 94 94 98 101 94 94 98 102 37 10 94 94 99 48 94 94 99 49 94 94 99 50 94 94 99 51 94 94 99 52 94 94 99 53 94 94 99 54 94 94 99 55 94 94 99 56 94 94 99 57 94 94 99 97 94 94 99 98 94 94 99 99 94 94 99 100 94 94 99 101 94 94 99 102 37 10 94 94 100 48 94 94 100 49 94 94 100 50 94 94 100 51 94 94 100 52 94 94 100 53 94 94 100 54 94 94 100 55 94 94 100 56 94 94 100 57 94 94 100 97 94 94 100 98 94 94 100 99 94 94 100 100 94 94 100 101 94 94 100 102 37 10 94 94 101 48 94 94 101 49 94 94 101 50 94 94 101 51 94 94 101 52 94 94 101 53 94 94 101 54 94 94 101 55 94 94 101 56 94 94 101 57 94 94 101 97 94 94 101 98 94 94 101 99 94 94 101 100 94 94 101 101 94 94 101 102 37 10 94 94 102 48 94 94 102 49 94 94 102 50 94 94 102 51 94 94 102 52 94 94 102 53 94 94 102 54 94 94 102 55 94 94 102 56 94 94 102 57 94 94 102 97 94 94 102 98 94 94 102 99 94 94 102 100 94 94 102 101 94 94 102 102 37 10 94 94 94 94 50 48 97 99 94 94 94 94 48 49 53 51 94 94 94 94 48 49 53 50 37 10 94 94 48 48 37 10{a.
MARKDOWNEXT=:'.markdown'
MARKDOWNFILE=:'bm.markdown'
MATHERAS=:10 2$<;._1 '|??|Unknown|Old Tally|Before 4000 BCE|Bronze River|4000 to 1001 BCE|Early Philosophic|1000 BCE to 301 BCE|Euclidean|300 BCE to 599 CE|Medieval Zero|600 AD to 1499 CE|Gutenberg|1500 AD to 1799 CE|Protoformal|1800 to 1949 CE|Turing|1950 to present|AIM|Future'
MDSECTION=:'###'
MDSECTIONPFX=:''
METAipynb=:93 44 10 34 109 101 116 97 100 97 116 97 34 58{a.
MaliBirthDate=:1959 12 11
MendeleyPDFDir=:'/Mendeley Desktop/Downloaded/'
MweccDiaryStart=:2010 11 1
MyBirthDate=:1953 7 2
NBHEADER=:123 10 32 34 99 101 108 108 115 34 58 32 91 10{a.
NBJCELL=:32 32 123 10 32 32 32 34 99 101 108 108 95 116 121 112 101 34 58 32 34 109 97 114 107 100 111 119 110 34 44 10 32 32 32 34 109 101 116 97 100 97 116 97 34 58 32 123 125 44 10 32 32 32 34 115 111 117 114 99 101 34 58 32 91 10 32 32 32 32 34 106 32 104 101 97 100 101 114 34 10 32 32 32 93 10 32 32 125 44 10 32 32 123 10 32 32 32 34 99 101 108 108 95 116 121 112 101 34 58 32 34 99 111 100 101 34 44 10 32 32 32 34 101 120 101 99 117 116 105 111 110 95 99 111 117 110 116 34 58 32 110 117 108 108 44 10 32 32 32 34 109 101 116 97 100 97 116 97 34 58 32 123 125 44 10 32 32 32 34 111 117 116 112 117 116 115 34 58 32 91 93 44 10 32 32 32 34 115 111 117 114 99 101 34 58 32 91 10 32 32 32 93 10 32 32 125 44 10{a.
NBJCELLBEG=:32 32 123 10 32 32 32 34 99 101 108 108 95 116 121 112 101 34 58 32 34 109 97 114 107 100 111 119 110 34 44 10 32 32 32 34 109 101 116 97 100 97 116 97 34 58 32 123 125 44 10 32 32 32 34 115 111 117 114 99 101 34 58 32 91 10 32 32 32 32 34 106 32 104 101 97 100 101 114 34 10 32 32 32 93 10 32 32 125 44 10 32 32 123 10 32 32 32 34 99 101 108 108 95 116 121 112 101 34 58 32 34 99 111 100 101 34 44 10 32 32 32 34 101 120 101 99 117 116 105 111 110 95 99 111 117 110 116 34 58 32 110 117 108 108 44 10 32 32 32 34 109 101 116 97 100 97 116 97 34 58 32 123 125 44 10 32 32 32 34 111 117 116 112 117 116 115 34 58 32 91 93 44 10 32 32 32 34 115 111 117 114 99 101 34 58 32 91 10{a.
NBJCELLBEGen=:32 32 32 93 10 32 32 125 44 10 32 32 123 10 32 32 32 34 99 101 108 108 95 116 121 112 101 34 58 32 34 99 111 100 101 34 44 10 32 32 32 34 101 120 101 99 117 116 105 111 110 95 99 111 117 110 116 34 58 32 110 117 108 108 44 10 32 32 32 34 109 101 116 97 100 97 116 97 34 58 32 123 125 44 10 32 32 32 34 111 117 116 112 117 116 115 34 58 32 91 93 44 10 32 32 32 34 115 111 117 114 99 101 34 58 32 91 10{a.
NBJCELLBEGst=:32 32 123 10 32 32 32 34 99 101 108 108 95 116 121 112 101 34 58 32 34 109 97 114 107 100 111 119 110 34 44 10 32 32 32 34 109 101 116 97 100 97 116 97 34 58 32 123 125 44 10 32 32 32 34 115 111 117 114 99 101 34 58 32 91 10{a.
NBJCELLEND=:32 32 32 93 10 32 32 125 44 10{a.
NBTRAILER=:93 44 10 32 34 109 101 116 97 100 97 116 97 34 58 32 123 10 32 32 34 107 101 114 110 101 108 115 112 101 99 34 58 32 123 10 32 32 32 34 100 105 115 112 108 97 121 95 110 97 109 101 34 58 32 34 74 34 44 10 32 32 32 34 108 97 110 103 117 97 103 101 34 58 32 34 74 34 44 10 32 32 32 34 110 97 109 101 34 58 32 34 106 107 101 114 110 101 108 34 10 32 32 125 44 10 32 32 34 108 97 110 103 117 97 103 101 95 105 110 102 111 34 58 32 123 10 32 32 32 34 102 105 108 101 95 101 120 116 101 110 115 105 111 110 34 58 32 34 46 105 106 115 34 44 10 32 32 32 34 109 105 109 101 116 121 112 101 34 58 32 34 116 101 120 116 47 74 34 44 10 32 32 32 34 110 97 109 101 34 58 32 34 74 34 10 32 32 125 10 32 125 44 10 32 34 110 98 102 111 114 109 97 116 34 58 32 52 44 10 32 34 110 98 102 111 114 109 97 116 95 109 105 110 111 114 34 58 32 53 10 125 10{a.
OUTWIDTH=:0.349999999999999978
PANDOCCMD=:'pandoc -o '
PREAMBLE=:'bmamble.tex'
PYESCAPECHRS=:254 92 39 254 39 254 92 92 254 92 254 92 34 254 34{a.
PostGitMark=:'--[post-github]--'
PostHashMark=:'--[post-sha256]--'
PostHeadMark=:'%\input{bmpostextract.tex} %extract-single-post::'
PostTailMark=:'%\end{document} %extract-single-post::'
PostUrlHead=:'https://github.com/bakerjd99/Analyze-the-Data-not-the-Drivel/tree/master/wp2latex/'
READCNT=:2
REVPYESCAPECHRS=:254 92 254 92 92 254 34 254 92 34{a.
showpass soput ".'nl_',SOLOCALE,'_ i.4' [ cocurrent 'base' NB.{*JOD*}
".soclear NB.{*JOD*}
cocurrent SO__JODobj NB.{*JOD*}
ROOTWORDSBiblioHelper=:<;._1 ' RunBibUrlInprocess RunDudUrlInprocess RunDudprjUrlInprocess fileurlescapes showpass'
ROOTWORDSBlogYearWords=:<;._1 ' IFACEWORDSBlogYearWords ROOTWORDSBlogYearWords VMDBlogYearWords blogyearwords'
ROOTWORDSDoDiary=:<;._1 ' daydoacts daydofreq'
ROOTWORDSDudTeXPreprocess=:<;._1 ' DudWeek RunDudPreprocess tslash'
ROOTWORDSExtfrPtex=:<;._1 ' CleanExtract CompExtractLatex IFACEWORDSExtfrPtex PrepExtractLatex ROOTWORDSExtfrPtex VMDExtfrPtex showpass'
ROOTWORDSGoodreadsReviews=:<;._1 ' FormatReviewPanhtml GoodreadsReviewText IFACEWORDSGoodreadsReviews LoadGoodreadsReviews ROOTWORDSGoodreadsReviews VMDGoodreadsReviews'
ROOTWORDSMweccTeXPreprocess=:<;._1 ' InsertMweccVersion MweccWeek'
ROOTWORDSStdDocFiles=:<;._1 ' IFACEWORDSStdDocFiles ROOTWORDSStdDocFiles leanstddocs'
ROOTWORDSTeXfrWpxml=:<;._1 ' BlogFreqs BlogHashes FixBaddown IFACEWORDSTeXfrWpxml LatexFrWordpress MainMarkdown MarkdownFrLatex ROOTWORDSTeXfrWpxml SetTeXfrWpxmlPaths blogimgs countYearposts postfiles posttex retocidNavposts showpass uedposts'
ROOTWORDSWeeks=:<;._1 ' BciWeek DadDeathDate DudWeek FctWeek IFACEWORDSWeeks LLSGSWeek MaliWeeksLeft MaliYearAge MeWeek MweccWeek MyWeeksLeft MyWeeksUntilME MyWeeksUntilSS MyYearAge ROOTWORDSWeeks VMDWeeks'
ROOTWORDSantarctica_chile=:<;._1 ' IFACEWORDSantarctica_chile ROOTWORDSantarctica_chile VMDantarctica_chile antarctica_chile_dates antarctica_chile_days estimgcap'
ROOTWORDSbooks=:<;._1 ' IFACEWORDSbooks ROOTWORDSbooks VMDbooks bookctgstime manyauthors manyreads portchars stdbookstab'
ROOTWORDSdaydo=:<;._1 ' IFACEWORDSdaydo ROOTWORDSdaydo VMDdaydo daydotabs daygradehist firstdaydomonth getmd getnb gettxt ofreqlist portchars putmd putnb puttxt sortdotabs taskeff toteff'
ROOTWORDSipynb=:<;._1 ' IFACEWORDSipynb PYESCAPECHRS ROOTWORDSipynb VMDipynb ipynbfrjod'
ROOTWORDSipynbhacks=:<;._1 ' IFACEWORDSipynbhacks PYESCAPECHRS ROOTWORDSipynbhacks jfripynb write'
ROOTWORDSlean=:<;._1 ' IFACEWORDSlean ROOTWORDSlean VMDlean b36guids nbguids ncdiagrams ncgraphics savethmtxt stddocnames'
ROOTWORDStodo=:<;._1 ' IFACEWORDStodo ROOTWORDStodo VMDtodo bugtag todo'
SCRipynb=:34 115 111 117 114 99 101 34 58 32 91 10{a.
SDCards=:2 4$16 32 64 128 4 6 4 2
SHELLMDOWN=:'pandoc -S --epub-metadata=bmmetadata.xml --epub-cover-image=bmcover.jpg --epub-embed-font=apl385.ttf -o bm.epub bm.markdown'
SOURCEBLOCKMARK=:'SSSOURCEBLOCKEEE'
SOURCEPREMARK=:'SSSSOURCEPREBEEE'
STDDOCALPHA=:'_-.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'
SourcePageTeXPts=:426.392560000000003 607.067549999999983
StdDocFiles_hashdateurl=:<;._1 '|63287476f191e142357edab5392c54ed0603aa4a6fc555511d2f8ff3b1d4221f|28 Oct 2024 12:28:28|'
TEMPTEXFILE=:'temp.tex'
TEXCENTERFIGURE=:37 92 98 101 103 105 110 123 102 105 103 117 114 101 125 91 104 116 98 112 93 10 37 92 99 101 110 116 101 114 105 110 103 10 37 92 105 110 99 108 117 100 101 103 114 97 112 104 105 99 115 91 119 105 100 116 104 61 48 46 53 53 92 116 101 120 116 119 105 100 116 104 93 123 126 126 126 73 77 71 82 65 80 72 73 67 70 73 76 69 126 126 126 125 10 37 92 99 97 112 116 105 111 110 91 116 111 99 32 99 97 112 116 105 111 110 93 123 126 126 126 73 77 67 65 80 84 73 79 78 126 126 126 125 10 37 92 108 97 98 101 108 123 102 105 103 58 126 126 126 73 77 76 65 66 69 76 126 126 126 125 10 37 92 101 110 100 123 102 105 103 117 114 101 125 10{a.
TEXEXT=:'.tex'
TEXFRWPDIR=:'c:/pd/blog/wp2latex/'
TEXINCLUSIONS=:'inclusions'
TEXPREAMBLE=:'bmamble.tex'
TEXROOTFILE=:'bm.tex'
TEXSECTIONTITLE=:92 115 117 98 115 101 99 116 105 111 110 42 123 92 104 114 101 102 123 126 126 126 80 79 83 84 85 82 76 126 126 126 125 123 126 126 126 84 73 84 76 69 84 69 88 84 126 126 126 125 125 10 92 97 100 100 99 111 110 116 101 110 116 115 108 105 110 101 123 116 111 99 125 123 115 117 98 115 101 99 116 105 111 110 125 123 126 126 126 84 73 84 76 69 84 69 88 84 126 126 126 125 10{a.
TEXWRAPFIGURE=:37 92 99 97 112 116 105 111 110 115 101 116 117 112 91 102 108 111 97 116 105 110 103 102 105 103 117 114 101 93 123 108 97 98 101 108 102 111 114 109 97 116 61 101 109 112 116 121 125 10 37 92 98 101 103 105 110 123 102 105 103 117 114 101 125 91 104 116 98 112 93 10 37 92 98 101 103 105 110 123 102 108 111 97 116 105 110 103 102 105 103 117 114 101 125 91 108 93 123 48 46 50 53 92 116 101 120 116 119 105 100 116 104 125 10 37 92 99 101 110 116 101 114 105 110 103 10 37 92 105 110 99 108 117 100 101 103 114 97 112 104 105 99 115 91 119 105 100 116 104 61 48 46 50 51 92 116 101 120 116 119 105 100 116 104 93 123 126 126 126 73 77 71 82 65 80 72 73 67 70 73 76 69 126 126 126 125 10 37 92 99 97 112 116 105 111 110 123 126 126 126 73 77 67 65 80 84 73 79 78 126 126 126 125 10 37 92 108 97 98 101 108 123 102 105 103 58 126 126 126 73 77 76 65 66 69 76 126 126 126 125 10 37 92 101 110 100 123 102 108 111 97 116 105 110 103 102 105 103 117 114 101 125 10 37 92 101 110 100 123 102 105 103 117 114 101 125 10{a.
TFWTEMPHTML=:'temp.html'
TargetPageTeXPts=:332.44135 245.717579999999998
TeXfrWpxml_hashdateurl=:<;._1 '|054a86ca48e4fa171a042a343d559d3c7d6ad4a3f3375cb4e26dfe8f5415d27e|04 Apr 2025 11:48:37|https://github.com/bakerjd99/jacks/blob/master/texfrwpxml/TeXfrWpxml.ijs'
TropicalYear=:365.242190418999996
UrlSize=:'\footnotesize'
VMDBlogYearWords=:'0.5.0';01;'09 Jan 2023 11:07:28'
VMDDoDiary=:'0.7.1';2;'28 Oct 2024 12:29:11'
VMDExtfrPtex=:'0.0.0';8;'05 Jan 2023 15:16:48'
VMDGoodreadsReviews=:'0.8.0';8;'12 Aug 2024 13:09:41'
VMDStdDocFiles=:'0.5.0';6;'28 Oct 2024 12:28:28'
VMDWeeks=:'0.9.2';5;'21 Apr 2025 16:16:50'
VMDantarctica_chile=:'0.1.0';2;'02 Dec 2025 16:59:26'
VMDbooks=:'0.5.3';3;'18 Nov 2024 14:04:22'
VMDdaydo=:'0.3.35';10;'06 Apr 2025 14:40:57'
VMDipynb=:'0.8.0';17;'12 Aug 2024 13:08:51'
VMDlean=:'0.1.37';19;'28 Oct 2024 12:27:57'
showpass soput ".'nl_',SOLOCALE,'_ i.4' [ cocurrent 'base' NB.{*JOD*}
".soclear NB.{*JOD*}
cocurrent SO__JODobj NB.{*JOD*}
VMDtemplate=:'';0;''
VMDtodo=:'0.9.0';4;'12 Aug 2024 13:06:28'
WGETCMD=:'wget --no-clobber --no-check-certificate --output-document='
WebUrlColor=:'magenta'
Weeks_hashdateurl=:<;._1 '|5e662d4836eec34414cfd53bc4f477c0e4baf3ffc00a868e28836393da064c80|21 Apr 2025 16:16:50|'
WinPipLib=:'c:/pd/docs/piplib/'
WorkPIPDocs=:'c:/Documents and Settings/jdbaker/My Documents/Ubuntu One/pipdocs/'
YEARPFX=:'_'
antarctica_chile_hashdateurl=:<;._1 '|7a439652f44d887798954c509274352c7471f4eec2a241c31fbb56a3b48c5eb0|02 Dec 2025 16:59:26|no url set'
books_hashdateurl=:<;._1 '|adddedfb605e1efaf181bc325b02e471f4e2371297ff9789f49010b2cea6b863|18 Nov 2024 14:04:22|https://github.com/bakerjd99/jackshacks/blob/main/books.ijs'
daydo_hashdateurl=:<;._1 '|e2465274198d8b8fce8816200b36d81b85eb1f56290c82d11d1dc50d6c3ebe41|06 Apr 2025 14:40:57|'
hashdateurl=:<;._1 ' '
ipynb_hashdateurl=:<;._1 '|38b05de335c3fb1ecb95696100bf042e88438de6cfc5b9d2dbd5dfd79457d06f|12 Aug 2024 13:08:51|https://github.com/bakerjd99/jacks/blob/master/ipynbfrjod/ipynb.ijs'
lean_hashdateurl=:<;._1 '|a05221b1d228a65ec81a7425fd7de2d72701c0dd9656632a1604532175fc3fcc|28 Oct 2024 12:27:58|'
todo_hashdateurl=:<;._1 '|d60daf077f8524a5e7b6acd90e9d76e479e9da0975c1747d92c1440a1cf58948|12 Aug 2024 13:06:28|https://github.com/bakerjd99/joddumps/blob/master/docs.ijs'
showpass soput ".'nl_',SOLOCALE,'_ i.4' [ cocurrent 'base' NB.{*JOD*}
".soclear NB.{*JOD*}
cocurrent SO__JODobj NB.{*JOD*}
APL385UnicodeDec=:3 : 0
NB.*APL385UnicodeDec v-- APL385 unicode font codepoints as
NB. decimal.
NB.
NB. monad: APL385UnicodeDec uuIgnore
dfh 4 {."1 ];._2 APL385Unicode -. CR
)
APL385UnicodeTest=:4 : 0
NB.*APL385UnicodeTest v-- generates UTF8 encoded APL test text.
NB.
NB. dyad: clUtf8 =. ilCpShape APL385UnicodeTest clAPL385Unicode
NB.
NB. 20 30 APL385UnicodeTest APL385Unicode
NB. decode hex unicode APL code points
ucp=. dfh 4{."1 ];._1 LF,y-.CR
NB. remove values outside of _65536 to 65535
NB. J unicode support is limited to this range
ucp=. ucp #~ (_65536&<: *. 65535&>:) ucp
NB. shape and convert to UTF8 char list
8 u: ctl 4 u: x $ ucp
)
AppendLibraryNotes=:3 : 0
NB.*AppendLibraryNotes v-- appends NOTE= items to bibliography items with notes.
NB.
NB. monad: blcl =. AppendLibraryNotes blclBibtex
b0=. (+./@:('note ='&E.))&> y
b1=. (+./@:('note ='&E.))&> y
y=. y #~ -. b0 +. b1
)
BciWeek=:3 : 0
NB.*BciWeek v-- week counter header for BCI diary.
NB.
NB. monad: BciWeek pa | ilYYYYMMDD
NB.
NB. BciWeek 0 NB. current week header
NB. BciWeek 2011 7 14 NB. week header for date
hdr=. BciDiaryStart;' to '
if. y-:0 do. hdr WeekHeader today '' else. hdr WeekHeader y end.
)
BlogFreqs=:3 : 0
NB.*BlogFreqs v-- frequencies of file extensions in blog folders.
NB.
NB. monad: bt =. BlogFreqs uuIgnore
NB. j profile !(*)=. dirtree jpath jpath_j_
cfgs=. ' ~BLOGWP ~BLOGTEX ~BLOGMD ~BLOGCLD'
('not all folder(s) configured: ',cfgs) assert iscf&> bf=. <;._1 cfgs
freqlist justext&.> {."1 ;dirtree@jpath&.> bf
)
BlogHashes=:3 : 0
NB.*BlogHashes v-- update blog hashes.
NB.
NB. monad: BlogHashes uuIgnore
NB. system word !(*)=. jpath
cfgs=. ' ~BLOGWP ~BLOGTEX ~BLOGMD ~BLOGCLD'
('blog folders not set: ',cfgs) assert iscf&> <;._1 cfgs
hstamp=. ' Last SHA256 hash: ',(timestamp ''),LF
texpath=. jpath '~BLOGTEX/'
hash=. ctl ;"1 ' ' ,&.> sha256dir texpath,'*.tex'
NB. hash=. ctl ;"1 ' ' ,&.> sha256dir texpath,'*.pdf'
(toJ hstamp,hash) write texpath,'bmpdfsha256.txt'
mdpath=. jpath '~BLOGMD/'
hash=. ctl ;"1 ' ' ,&.> sha256dir mdpath,'*.epub'
NB. hash=. hash, LF, ctl ;"1 ' ' ,&.> sha256dir mdpath,'*.azw3'
NB. hash=. hash, LF, ctl ;"1 ' ' ,&.> sha256dir mdpath,'*.mobi'
hash=. hash, LF, ctl ;"1 ' ' ,&.> sha256dir mdpath,'*.markdown'
(toJ hstamp,hash) write mdpath,'bmepubsha256.txt'
xhtmlpath=. jpath '~BLOGMD/xhtml/'
hash=. ctl ;"1 ' ' ,&.> sha256dir xhtmlpath,'*.xhtml'
hash=. hash, LF, ctl ;"1 ' ' ,&.> sha256dir xhtmlpath,'*.css'
hash=. hash, LF, ctl ;"1 ' ' ,&.> sha256dir xhtmlpath,'*.ncx'
hash=. hash, LF, ctl ;"1 ' ' ,&.> sha256dir xhtmlpath,'*.jpg'
(toJ hstamp,hash) write xhtmlpath,'bmexhtmlsha256.txt'
onedrvpath=. jpath '~BLOGCLD/'
hash=. ctl ;"1 ' ' ,&.> sha256dir onedrvpath,'*.pdf'
hash=. hash, LF, ctl ;"1 ' ' ,&.> sha256dir onedrvpath,'*.epub'
pubhash=. toJ hstamp,hash
pubhash write onedrvpath,'bmsha256.txt'
pubhash write jpath '~BLOGWP/bmsha256.txt'
)
CleanExtract=:3 : 0
NB.*CleanExtract v-- cleanup temp latex files.
NB.
NB. monad: CleanExtract uuIgnore
wfmsg=. 'missing file -> '
texpath=. jpath '~BLOGTEX/'
if. -.fexist bat=. texpath,'0bflush.bat' do. wfmsg,bat return. end.
NB. j profile !(*)=. shell
0 0$shell bat
ferase (<texpath) ,&.> 'bmpostextract.tex';'0abmextract.bat'
)
CompExtractLatex=:3 : 0
NB.*CompExtractLatex v-- process extract files.
NB.
NB. monad: clMsg =. CompExtractLatex clPostlatex
NB.
NB. NB. post file without extension
NB. ComptExtractLatex 'numpyanotheriversong5565'
wfmsg=. 'missing file -> '
texpath=. jpath '~BLOGTEX/'
NB. check bat
if. -.fexist bat=. texpath,'0abmextract.bat' do. wfmsg,bat return. end.
NB. clear any prior pdf
ferase ppdf=. texpath,y,'.pdf'
NB. compile prepared files !(*)=. shell
cmsg=. _250 {. shell bat
NB. check pdf
if. -.fexist ppdf do. wfmsg,ppdf return. end.
NB. reset tex file
ptex=. texpath,y,'.tex'
tex=. (;MPostPairOff&.> PostHeadMark;PostTailMark) changestr read ptex
tex write ptex
'extract generated -> ',ppdf,LF,cmsg
)
DadDeathDate=:3 : 0
NB.*DadDeathDate v-- dad's death date based on Wolfram average conditional life expectancy.
NB.
NB. monad: DadDeathDate uuIgnore
todate (<.CLifeExpectancyDad * TropicalYear) + todayno DadBirthDate
)
DudVersion=:3 : 0
NB.*DudVersion v-- current version of DUD (Delusional Undertakings Diary).
NB.
NB. monad: il =. DudVersion uuIgnore
' .' charsub ":versionymw DudDiaryStart
)
DudWeek=:3 : 0
NB.*DudWeek v-- week counter header for Dud diary.
NB.
NB. Weeks start on Monday and end on Sunday.
NB.
NB. monad: cl =. DudWeek paZero | ilYYYYMMDD
NB.
NB. DudWeek 0 NB. header latex format
NB.
NB. dyad: cl =. uuIgnore DudWeek paZero | ilYYYYMMDD
NB.
NB. DudWeek~ 0 NB. return table latex format
hdr=. DudDiaryStart;' --- '
if. 0-:y do. hdr WeekHeader today '' else. hdr WeekHeader y end.
:
hdr=. DudDiaryStart;' $\rightarrow$ '
if. 0-:y do. hdr WeekHeader2 today '' else. hdr WeekHeader2 y end.
)
FctWeek=:3 : 0
NB.*FctWeek v-- week counter header for FCT diary.
NB.
NB. monad: FctWeek pa | ilYYYYMMDD
NB.
NB. FctWeek 0 NB. current week header
NB. FctWeek 2016 7 14 NB. week header for date
hdr=. FctDiaryStart;' to '
if. y-:0 do. hdr WeekHeader today '' else. hdr WeekHeader y end.
)
FixBaddown=:3 : 0
NB.*FixBaddown v-- attempt to convert *.baddown files to *.markddown
NB.
NB. monad: FixBaddown uuIgnore
NB. dyad: clDirectory FixBaddown uuIgnore
EPUBFRWPDIR FixBaddown y
:
epubdir=. x
NB. collect any *.baddown files
if. #files=. 0 {"1 (1!:0) EPUBFRWPDIR,'*',BADDOWNEXT do.
files=. sortonid (<epubdir) ,&.> files
outinext=. MARKDOWNEXT;TEXEXT
fixed=. ''
for_file. files do.
tex=. rmLatexGraphics read file=. ;file
texfile=. (tlslash jpathsep epubdir),TEMPTEXFILE
(utf8 tex) write texfile
mdown=. outinext pandoc texfile
if. 0=#allwhitetrim mdown do.
smoutput 'no markdown again -> ',file
else.
fixed=. fixed,<file [ ferase file
mdown write epubdir,(justfile@winpathsep file),MARKDOWNEXT
end.
outinext cleartemps texfile
end.
1;fixed
else.
1;'no *',BADDOWNEXT,' file(s)'
end.
)
FormatReviewPanhtml=:4 : 0
NB.*FormatReviewPanhtml v-- formats pandoc html as GoodReads
NB. review text.
NB.
NB. GoodReads review text is yet another text format (YATF). This
NB. verb goes most of the way in converting pandoc html output to
NB. a form better accepted by GoodReads.
NB.
NB. verbatim:
NB.
NB. 1. prepare html with shell commands like:
NB. pandoc generationshipreview8017.markdown -o genship.html
NB.
NB. 2. edit text to grab the good bits
NB.
NB. dyad: clGrTxt =. clLink FormatReviewPanhtml clHtml
NB.
NB. blink=. 'https://analyzethedatanotthedrivel.org/2024/02/27/generation-ship-review/'
NB. grtxt=. blink FormatReviewPanhtml read jpath '~BLOGDR/goodbits.html'
NB. grtxt write jpath '~BLOGDR/goodbits.txt'
NB. blank out ctrl chars
htm=. ' ' (I. htm e. TAB,LF)} htm=. y -. CR
NB. cut into nonblank paragraphs
htm=. a: -.~ alltrim&.> (1 (0)}'<p>' E. htm) <;.1 htm
NB. remove paragraph marks and flip emphasis tags
htm=. '|<p>||</p>||<em>|<i>|</em>|</i>'&changestr&.> htm
NB. delimit paragraphs and prefix blog link
htm=. ;htm ,&.> <2#LF
blink=. 'Cross posted from my blog <a href="',x,'">Analyze the Data not the Drivel</a>.'
blink,(2#LF),htm
)
FormatReviewText=:4 : 0
NB.*FormatReviewText v-- format Goodreads nonempty review text.
NB.
NB. dyad: cl =. iaWidth FormatReviewText blclReview
(ctl ;"1 ,. ' ';' ';(x {. y), ' ' ; ' ') , '"'&allotrim GOODWRAPWIDTH wrapwords ; x { y
)
GoodreadsReviewText=:3 : 0
NB.*GoodreadsReviewText v-- Goodreads reviews as single text list.
NB.
NB. monad: clReviews =. GoodreadsReviewText btclReviews
NB.
NB. GoodreadsReviewText LoadGoodreadsReviews 0
toHOST ('#<br/>#',LF) changestr ;((0{y) i. <'My Review')&FormatReviewText&.> <"1 }. y
)
InsertDudActDietStats=:3 : 0
NB.*InsertDudActDietStats v-- updates table statistics in
NB. prjFATass-tex
NB.
NB. monad: clMsg =. InsertDudActDietStats uuIgnore
file=. 'c:/pd/diaries/projects/prjFATass.tex'
tex=. read file
NB. count table header statistics
dat=. dataActDietCnts parseActDietCnts tex
frg=. fmtActDietCnts dat
tex=. ('%<actdietavg0>';'%</actdietavg0>';frg) insertbetween tex
tex=. ('%<actdietavg1>';'%</actdietavg1>';frg) insertbetween tex
tex write file
showpass 'statistics updated ->',file
)
InsertDudVersion=:3 : 0
NB.*InsertDudVersion v-- inserts the DudVersion in prjcommon-tex
NB.
NB. monad: clVersion =. InsertDudVersion uuIgnore
file=. 'c:/pd/diaries/projects/prjcommon.tex'
tex=. read file
dudtc=. '\prjversion}{'
end=. LF,LF afterstr '}' afterstr dudtc afterstr tex
beg=. dudtc beforestr tex
dudv=. DudVersion 0
NB. removing timestamp results in to many annoying file content changes
newtex=. beg,dudtc,dudv,('}% <<JpreProc>>: '),end
NB. newtex=. beg,dudtc,dudv,('}% <<JpreProc>>: ',timestamp ''),end
newtex write file
showpass dudv
)
InsertMweccVersion=:3 : 0
NB.*InsertMweccVersion v-- inserts the MweccVersion in
NB. mwecccommon-tex
NB.
NB. monad: clVersion =. InsertMweccVersion uuIgnore
file=. 'c:/wd/mwecc/diary/mwecccommon.tex'
tex=. read file
dudtc=. '\mweccversion}{'
end=. LF,LF afterstr '}' afterstr dudtc afterstr tex
beg=. dudtc beforestr tex
dudv=. MweccVersion 0
newtex=. beg,dudtc,dudv,('}% <<JpreProc>>: ',timestamp ''),end
newtex write file
showpass dudv
)
JustifyOneVerbatim=:3 : 0
NB.*JustifyOneVerbatim v-- left justifies one verbatim text environment.
NB.
NB. monad: clTex =. JustifyOneVerbatim clTex
ttex=. ];._2 tlf y
ftex=. |."1 rebtbcol |."1 rebtbcol }.}:ttex
ctl ({. ttex) , ftex , {:ttex
)
JustifyVerbatim=:4 : 0
NB.*JustifyVerbatim v-- left justifies text in latex verbatim
NB. environments.
NB.
NB. This verb left justifies text in verbatim text environments
NB. in Norman Megill's LaTeXe document Metamath. The text is not
NB. strictly left justified. Norman uses indentation to clarify
NB. his material. I remove all strictly blank leading columns. In
NB. many cases this frees up a significant number of text spaces
NB. which really matters when formatting output for devices like
NB. the Kindle.
NB.
NB. dyad: cl =. (clBegin;clEnd) JustifyVerbatim clTex
NB.
NB. tex=. read 'c:\temp\metamath.tex'
NB.
NB. NB. Note: quotes hide environment delimiters from lstlisting parsing
NB. envdel=. ('\beg','in{verbatim}');'\end','{verbatim}'
NB. envdel=. ('\beg','in{lstlisting}[breaklines]');'\end','{lstlisting}'
NB.
NB. jtex=. envdel JustifyVerbatim tex
NB. cut verbatim and non-verbatim
'beg fin'=. x
ctex=. x splitstrs y
NB. extract verbatim
idx=. I. +./@:(beg&E.) &> ctex
vtxt=. idx { ctex
NB. format and replace verbatim
;(JustifyOneVerbatim&.> vtxt) idx} ctex
)
KindleMetamath=:3 : 0
NB.*KindleMetamath v-- generate a Kindle oriented version of metamath.
NB.
NB. This verb converts Norman Megill's metamath.tex document to a Kindle
NB. oriented format. There are still margin overflows in the
NB. the final document: mostly due to custom \verb commands in the original.
NB.
NB. monad: clNewTex=. KindleMetamath clTex
NB.
NB. tex=. read 'c:\pd\docs\pip\metamath_norman_megill.tex'
NB. new=. KindleMetamath tex
NB.
NB. NB. output file must be named 'metamath.tex'
NB. NB. clear any metamath tex output in target directory
NB. new write 'c:\temp\metamath.tex'
NB. bump up font size
tex=. '#\documentclass[leqno]{book}#\documentclass[leqno,12pt]{book}' changestr y
NB. turn off current page sizing packages
tex=. '#\usepackage{anysize}#%\usepackage{anysize}' changestr tex
tex=. '#\papersize{9in}{6in}#%\papersize{9in}{6in}' changestr tex
tex=. '#\marginsize{0.8in}{0.65in}{0.5in}{0.3in}#%\marginsize{0.8in}{0.65in}{0.5in}{0.3in}' changestr tex
NB. insert Kindle preamble code
cstr=. '\marginsize{0.8in}{0.65in}{0.5in}{0.3in}'
head=. cstr beforestr tex
head=. head,cstr
tail=. cstr afterstr tex
'bad tex split' assert tex -: head,tail
tex=. head,LF,KindleMetamathTeX,LF,tail
NB. replace verbatim with lstlisting
tex =. '#\begin{verbatim}#\begin{lstlisting}#\end{verbatim}#\end{lstlisting}' changestr tex
NB. left justify verbatim regions
('\begin{lstlisting}';'\end{lstlisting}') JustifyVerbatim tex
)
LLSGSWeek=:3 : 0
NB.*LLSGSWeek v-- week counter header for LLSGS project.
NB.
NB. Weeks start on Monday and end on Sunday.
NB.
NB. monad: cl =. LLSGSWeek paZero | ilYYYYMMDD
NB.
NB. LLSGSWeek 0 NB. header latex format
NB.
NB. dyad: cl =. uuIgnore LLSGSWeek paZero | ilYYYYMMDD
NB.
NB. LLSGSWeek~ 0 NB. return table latex format
hdr=. LLSGSStart;' --- '
if. 0-:y do. hdr WeekHeader today '' else. hdr WeekHeader y end.
:
hdr=. DudDiaryStart;' $\rightarrow$ '
if. 0-:y do. hdr WeekHeader2 today '' else. hdr WeekHeader2 y end.
)
LatexFrWordpress=:3 : 0
NB.*LatexFrWordpress v-- experimental conversion of Wordpress XML
NB. to LaTeX.
NB.
NB. monad: (iaRc;blcl) =. LatexFrWordpress clPathFileXML
NB.
NB. NB. window/linux
NB. LatexFrWordpress 'c:/pd/blog/wordpress/analyzethedatanotthedrivel.wordpress.xml'
NB. LatexFrWordpress '/home/john/pd/blog/wordpress/analyzethedatanotthedrivel.wordpress.xml'
NB.
NB. dyad: (iaRc;blcl) =. (clRoot;clPreamble;clDir;clIncl) LatexFrWordpress clPathFileXML
NB. LaTeX file & directory defaults
(TEXROOTFILE;TEXPREAMBLE;TEXFRWPDIR;TEXINCLUSIONS) LatexFrWordpress y
:
'texroot texpreamble texdir texincl'=. x
NB. must have a root tex file
if. -.fexist texdir,texroot do. 0;'missing or invalid LaTeX root file' return. end.
NB. read wordpress xml
if. fexist y do. xml=. read y else. 0;'missing or invalid XML export file' return. end.
NB. new published posts
if. #newposts=. (texdir;TEXEXT) prunePtable ptableFrwpxml xml do.
newposts=. sortposts newposts
titles=. texdir tfwTitles 1 {"1 newposts
'title post mismatch' assert (#titles) = #newposts
predir=. texpreamble;texdir
for_post. newposts do.
smoutput ;post_index{titles
pdat=. (post_index{titles),(2 3 4{post),<cdatatext;5{post
tex=. predir texFrhtml pdat
NB. append common figure code to each post
tex=. tex,CRLF,LATEXFIGURETEMPLATES
tex write texdir,(;0{post),TEXEXT
end.
NB. adjust root tex file to reference new posts
NB. no additions if files already referenced
tex=. read root=. texdir,texroot
mask=. -.(0 {"1 newposts) 1&e.@E.&> <tex
newposts=. mask#newposts
titles=. mask#titles
tex=. tex inputposts newposts
tex write root
NB. result titles of new posts
1;titles
else.
1;'no new posts'
end.
)
LoadGoodreadsReviews=:3 : 0
NB.*LoadGoodreadsReviews v-- loads and parses Goodreads export text.
NB.
NB. Goodreads export text is a tab delimited file that is created
NB. by loading the CSV my books export file downloaded from the
NB. Goodreads website into Excel and then saving the resulting sheet as
NB. TAB delimited text.
NB.
NB. monad: btclReviews =. LoadGoodreadsReviews uuIgnore
'Goodreads text file missing' assert fexist GOODREADSTEXTFILE
rgv=. SelectNonemptyReviews readtd2 GOODREADSTEXTFILE
NB. sort on date read
rgv {~ 0 , >: /: }. rgv {"1~ (0{rgv) i. <'Date Read'
)
MPostPairOff=:'@' , }. , '@' , ]
MPostPairOn=:'@' , ] , '@' , }.
MainMarkdown=:3 : 0
NB.*MainMarkdown v-- assembles *.markdown files in EPUB directory in a master
NB. file.
NB.
NB. monad: bl =. MainMarkdown clPathFile
NB.
NB. MainMarkdown 'c:/pd/blog/wordpress/analyzethedatanotthedrivel.wordpress.xml'
NB.
NB. dyad: bl =. (clMdownfile;clDirectory;clAmble) MainMarkdown clPathFile
(MARKDOWNFILE;EPUBFRWPDIR;EPUBAMBLE;MDSECTIONPFX) MainMarkdown y
:
'mdownfile epubdir epubamble mdsecpfx'=. x
NB. read wordpress xml - valid posts
if. fexist y do. xml=. read y else. 0;'missing or invalid XML export file' return. end.
pfiles=. 0 {"1 (1!:0) epubdir,'*',MARKDOWNEXT
NB. keep only post markdown files
ptable=. ptableFrwpxml xml
posts=. (0{"1 ptable) ,&.> <MARKDOWNEXT
pfiles=. pfiles -. pfiles -. posts
NB. sort files by publish date
pfiles=. ptable sortonpublishdate pfiles
files=. (<epubdir) ,&.> pfiles
NB. NOTE: sometimes posts are written long before they are published
NB. sort files by trailing post id
NB. files=. sortonid files
NB. mash posts together - affix date
epubamble=. (allwhitetrim epubamble),LF,('% ',timestamp ''),2#LF
posts=. ; (<mdsecpfx) ,&.> (allwhitetrim&.> read&.> files) ,&.> <2#LF
posts=. utf8 toHOST epubamble,(2#LF),posts
posts write file=. epubdir,mdownfile
1;((":#files),' post(s)');file
)
MaliDeathDate=:3 : 0
NB.*MaliDeathDate v-- Mali's death date based on Wolfram average
NB. conditional life expectancy.
NB.
NB. Enter "life expectancy female born december 1959" into
NB. Wolfram Alpha (https://www.wolframalpha.com/) to update
NB. (CLifeExpectancyMali).
NB.
NB. monad: MaliDeathDate uuIgnore
todate (<.CLifeExpectancyMali * TropicalYear) + todayno MaliBirthDate
)
MaliWeeksLeft=:3 : 0
NB.*MaliWeeksLeft v-- Mali's remaining weeks.
NB.
NB. monad: iaWeeks =. MaliWeeksLeft uuIgnore
(MaliBirthDate weekcount MaliDeathDate 0) - MaliBirthDate weekcount today ''
)
MaliYearAge=:3 : 0
NB.*MaliYearAge v-- Mali's precise age in years.
NB.
NB. monad: faYear =. MaliYearAge uuIgnore
TropicalYear %~ (todayno today 0) - todayno MaliBirthDate
)
MarkdownFrLatex=:3 : 0
NB.*MarkdownFrLatex v-- converts edited LaTeX post files to image
NB. free markdown.
NB.
NB. This verb converts edited *.tex files into *.markdown which
NB. are then used to build an EPUB. The markdown requires a small
NB. bit of editing, mostly to cleanup the odd LaTeX fragment that
NB. Pandoc does not convert. This is nowhere near the chore that
NB. editing the WordPress CDATA HTML to *.tex is and has the nice
NB. feature of preserving all the corrections made to the *.tex
NB. files.