yamd 0.19.0

Yet Another Markdown Document (flavour)
Documentation
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
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
---
title: "Cosmos by Carl Sagan"
date: 2024-12-8T21:00:00+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1733689163/header/Cosmos%20by%20Carl%20Sagan.jpg
preview: "I was born in the Soviet Union and missed the whole “Pale blue dot” thing."
tags:
- books
- non-fiction
- science
- physics
---

I was born in the Soviet Union and missed the whole “Pale blue dot” thing. But there are so many references to it in
pop culture that I stopped ignoring it and bought the book at some point. The book is outdated a bit, which is expected
for a science book that is 44 years old. Now we know what killed dinosaurs. Voyager 1 is outside the solar system. The
existence of gravitational waves was experimentally proven. Etc. What is more impressive is that most of the stuff in
the book is still valid.

The book has a big chapter about Newton. I had this silly thought/idea/feeling that our ancestors had an easy time
science-wise. There were many low-hanging fruits to discover, and I thought that the greatness of scientists was
exaggerated a bit. And you know what, I was wrong. Newton was as great as one can be. The stuff he accomplished four
hundred years ago is mind-blowing as a new science.

I already knew that all elements in the universe, except hydrogen and maybe helium, were produced in stars. What I
didn’t know is that we calculated, with pretty high precision, how much gold, or any other element, is in the universe.
Given that we still don’t know how big our universe is, being able to calculate that number blows my mind.

And do you know why the Milky Way is milky? That’s because Greeks believed that the thing in the night sky was Hera’s
breast milk. Yep. Do whatever you want with that knowledge.

The most mind-blowing thing in the book is about whales. I know that whales are singing songs. I even listened to
recordings of those songs years ago. What I did not know is that whales could communicate with each other thousands
of kilometers apart. Until we polluted 20Hz frequency with engine noises. Now, it is only around 300 km. I can’t
imagine how that would feel. They also “write” those songs collaboratively and can repeat them years later. They can
even stop in the middle and then resume from the point they stopped a year later.

Throughout the book, Carl points out that even if there is another intelligent life out here, it would be rare and
different. There are no other humans in the vast universe and the fact that we are killing each other for stupid
reasons is unacceptable. And I agree.

That was a good read.

**Original Title:** Cosmos

**ISBN:** 0375508325 (ISBN13: 9780375508325)

**GoodReads:** [4.40 / 5](https://www.goodreads.com/book/show/55030.Cosmos)

---
title: "Dirk Gently’s Holistic Detective Agency by James Goss and Arvin Ethan David based on the novel by Douglas Adams."
date: 2024-12-10T19:00:00+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1733853354/header/Dirk%20Gently%E2%80%99s%20Holistic%20Detective%20Agency%20by%20James%20Goss%20and%20Arvin%20Ethan%20David%20based%20on%20the%20novel%20by%20Douglas%20Adams.jpg
preview: "That’s the best script for a play I have ever read."
tags:
- books
- fiction
- sci-fi
- script
---

That’s the best script for a play I have ever read. That is also the first one, but if there is more, I want it.

I don’t know what more to say. If you liked any work by Douglas Adams (who doesn’t?), you will like this adaptation.
Ah, it is short and can be read in less than a day. No excuses. Go and read it ☺️

Also, I would be very happy if someone played it and I could attend. Or, if you plan to play it and need assistance
with the projector, count me in.

**Original Title:** Dirk Gently's Holistic Detective Agency

**ISBN:** 0573111227 (ISBN13: 9780573111228)

**GoodReads:** [ 4.37 / 5](https://www.goodreads.com/book/show/29523645-dirk-gently-s-holistic-detective-agency)


---
title: "Mad, Bad & Dangerous to Know by Ranulph Fiennes"
date: 2024-03-31T17:30:00+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1711898500/header/Mad-Bad-and-Dangerous-to-Know-by-Ranulph-Fiennes.jpg
preview: "If you plan any adventure, this book is a must-read."
tags:
- books
- non-fiction
- biography
- adventures
---



To my surprise, I haven't heard about Ranulph Fiennes before this book. I mean, I am sure that I heard something about 
the greatest living explorer (according to the Guinness Book of Records and me) but never paid enough attention. His 
whole life is a monument of unbelievable willpower. He planned and executed adventures that I do not even dream of. 
Like crossing both poles, climbing the North Face and Everest, discovering a lost city in Oman, running seven marathons 
on seven continents in seven days, and that's not even a full list. 

While reading the book, I asked myself multiple times if that was what I wanted to do. And while I would like to see 
Everest up close, I never wanted to climb it. Or I can imagine how good one can feel when he crosses one of the ice 
caps, but I know for sure that I am not ready to cut off some of my fingertips because of frostbite. In general, I do 
not have a strong desire to be the first, fastest, or whatever. I want to be a tourist with as much adventure as I can 
take, which is not much adventure if you compare it with Ranulph's adventures or too much for some other people.  

At the end of the book, he advises the polar traveler wannabe. Which I greatly appreciate, even though I do not plan 
to go on polar expeditions. Most of that advice can be applied to any adventure, so if you plan one, read the book. 

Florian recommended that book to me. Be like Florian and recommend some good books. 

One more thing. I do not call my adventures “expeditions” yet, but if, for some unknown reason, you want 
to sponsor one of them, I am soooo ready. 

**Original Title:** Mad, Bad and Dangerous to Know: Updated and revised to celebrate the author's 75th year

**ISBN:** 1529335507 (ISBN13: 9781529335507)

**GoodReads:** [4.13 / 5](https://www.goodreads.com/book/show/51207749-mad-bad-and-dangerous-to-know)

---
title: "Point and Line to Plane by Wassily Kandinsky"
date: 2023-11-15T21:48:24+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700077931/header/Point-and-Line-to-Plane-Wassily-Kandinsky.jpg
preview: "I got some insights from that book but would not read it if I had something else to read."
tags:
- books
- non-fiction
- art
- science
---

This book was hard to read. I think the translation was done poorly. Initially, it was written in German by a
non-native speaker, and then someone translated it into English. Sometimes, sentences do not make sense at all.

But there are some good ideas that I haven’t heard before. One is that images are about space, and music is about
time. I tried hard to remember a piece of music or a picture that would break out of those constraints and failed.
Second is the idea that the canvas has built-in tension depending on its form. I can say that those two times I was
looking at an empty canvas, it felt different if they were in landscape or a portrait position. Also, the square
canvas is dead because there is no tension, which makes sense and should be used to amplify the artist’s idea.

He talks a lot about the temperature or sound of a line/dot/plane, which I was not able to follow. It felt like he was
trying to find the proper names/words for stuff he explained, but he ultimately lost me. Again, that may be a result
of a poor translation.

**Original Title:** Wassily Kandinsky: Point and Line to Plane: Bauhausbücher 9

**ISBN:** 3037786620 (ISBN13: 9783037786628)

**GoodReads:** [3.20 / 5](https://www.goodreads.com/book/show/59685874-wassily-kandinsky)
---
title: "Rust Atomics and Locks by Mara Bos"
date: 2024-02-23T19:00:00+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1708543734/header/Rust-Atomics-and-Locks-by-Mara-Bos.jpg
preview: "I remember that I wanted to read more fiction, but hear me out."
tags:
- books
- non-fiction
- software
- rust
---

I remember that I wanted to read more fiction, but hear me out.

At some point, borrow checker will force you to slap that Arc and Mutex on some of your HashMaps, Vec’s, and what have 
you. If you want to know answers to what, why, and all other important questions, as I did, I highly recommend Mara’s 
answer. 

A big chunk of the book is atomics and memory ordering. And, I think, for the first time, the ordering concept kind of 
clicked for me. One particular thing is that despite wanting the strongest guarantee possible, most of the time, you 
need a relaxed one. But it is so subtle that right now, if I need to specify memory ordering, I'll go and reread that 
chapter.

One more thing. Rust itself is good at expressing safety mechanisms like locks. This should not be news, right? But 
how often have you thought about the implementation of a Mutex? For me answer is maybe once before this book. And the 
fact that Rust allows you to express API of it in a compile-time checkable way, makes me appreciate the language even 
more. 

**Original Title:** Rust Atomics and Locks: Low-Level Concurrency in Practice

**ISBN:** 1098119444 (ISBN13: 9781098119447)

**GoodReads:** [4.79 / 5](https://www.goodreads.com/book/show/63291820-rust-atomics-and-locks)

---
title: "A Philosophy of Software Design by John Ousterhout"
date: 2021-09-27T21:48:24+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1632772550/header/a_philosophy_of_software_design.jpg
preview: "The must-read for software engineers."
tags:
- books
- non-fiction
- software
- engineering
---

A Philosophy of Software Design - the must-read for software engineers.

I would say that this is the best book I have read so far on the «building good software» topic.

Pretty often, authors forget that every technic, pattern, or trick they describe as good can be taken too far. But John Ousterhout does not fall into this trap and writes “taking it too far” chapters. Literally.

In general, every piece of advice he gives resonates with my experience. I am not sure if I would fully appreciate these advices early in my career. But still will recommend this book for everyone who wants to write good software.

And, it is short. You will not loose much time reading it. So if you into building software read it :)

**Original Title:** A Philosophy of Software Design

**ISBN:** 1732102201 (ISBN13: 9781732102200)

**GoodReads:** [4.17 / 5](https://www.goodreads.com/book/show/39996759-a-philosophy-of-software-design)
---
title: "Crafting Interpreters by Robert Nystrom"
date: 2024-10-25T20:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1729860858/header/crafting-interpreters-by-robert-nystrom.png
preview: "I wish all technical books were this good."
tags:
- books
- non-fiction
- software
- engineering
---

I wish all technical books were this good. It not only walks you through the necessary steps to create your programming
language but also includes a lot of context, memes, and references.

It is also a huge and intimidating book. I do not think I would start reading it if I would not writing
[YAMD](https://github.com/Lurk/yamd). Even though YAMD is not a programming language, one can name a resulting code -
interpreter. And I can say that most of the [recent changes](/post/yamd-0.14.0-release.html) in the codebase of YAMD
were inspired by this book.

It also enriched my vocabulary and allowed me to search for the correct stuff. The frequency of “Oh, that's what it is”
moments was unbelievably high. That is a good thing but also very distracting. My mind was constantly carried away by
new ideas requiring further reading or experiments. That significantly contributed to the amount of time I spent
reading it.

!!
! link
I want to highlight two documents Robert goes through in the book. They greatly impacted the software engineering in
general and are a good read on themselves.

[Top-down operator presence by Vaughan R. Pratt](https://tdop.github.io/)

[Goto statement considered harmful by Edgar Dijkstra](https://homepages.cwi.nl/~storm/teaching/reader/Dijkstra68.pdf)

Go and read them even if you don't plan to read the book.
!!

It will be a good read for you to geekout. It will be a great read if you want to learn what lexer, parser,
context-free grammar, AST, bytecode, etc. are.

**Original Title:** Crafting Interpreters by Robert Nystrom

**ISBN:** 0990582930 (ISBN13: 9780990582939)

**GoodReads:** [4.69 / 5](https://www.goodreads.com/book/show/58661468-crafting-interpreters)

---
title: "Designing Data-Intensive Applications by Martin Kleppmann"
date: 2023-08-12T11:47:01+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1691833825/header/designing_data_intensive_applications.jpg
preview: "The one book to read to understand software development."
tags:
- books
- non-fiction
- software
- engineering
---

If you ask me today what one book of all books I must read to understand software development, this is it. It
goes into every little detail about how the software will break and gives you tools to avoid that.

The name is a bit misleading. For some reason, I was expecting terabyte-crunching algorithms from the beginning.
But no, the book covers cases from your load that can fit into the memory of one machine, and one core is enough - to
multi-datacenter transactions and batch processing.

My only complaint - it is huge. Which is understandable, given the number of topics covered.

**Original Title:** Designing Data-Intensive Applications

**ISBN:** 1449373321 (ISBN13: 9781449373320)

**GoodReads:** [4.71 / 5](https://www.goodreads.com/book/show/23463279-designing-data-intensive-applications)
---
title: "Just for Fun: The Story of an Accidental Revolutionary by Linus Torvalds and David Diamond"
date: 2021-10-12T20:37:54+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1634063604/header/just_for_fun.jpg
preview: "All my nerdy senses were pleased by this book. I highly recommend it."
tags:
- books
- non-fiction
- biography
- linux
---

All my nerdy senses were pleased by this book. I highly recommend it.

Linus was (and still is) my Hero with capital H for a long time. But just recently, I found out that there is a book from/about him. So I bought it, and boy, it is good. All my nerdy memories (someday I will write stuff about school days, how we with my friends tried to create our operating system because windows suck) were alive again while I read it.

If you somehow missed it, as I did, and you are a nerd yourself or want to understand nerds - I highly recommend it.

And couple more words about role models. I get why guys like Steve Jobs, Mark Zuckerberg, or Elon Musk are considered role models for many people. But I don't think that we as humanity need more Steves or Marks, or even more Elon's. But I am 100% sure that we need a lot more people like Linus. The engineers that build all stuff we are using and relying on.

**Original Title:** Just for Fun: The Story of an Accidental Revolutionary

**ISBN:** 0066620732 (ISBN13: 9780066620732)

**GoodReads:** [ 3.94 / 5](https://www.goodreads.com/book/show/160171.Just_for_Fun)
---
title: "Linux Kernel Development by Robert Love"
date: 2022-05-08T15:17:01+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1652015496/header/linux_kernel_development.jpeg
preview: "A thorough guide to the design and implementation of the Linux kernel."
tags:
- books
- non-fiction
- software
- linux
---

A thorough guide to the design and implementation of the Linux kernel.

Although the book is outdated, it is an excellent overview of the Linux kernel internals. I don't think that it will be helpful for someone who already knows how the kernel works, but for a beginner like me, it is fantastic.

Now I want to know more. If you know good books on the OS design topic in general or I/O in particular - please let me know.

**Original Title:** Linux Kernel Development: A thorough guide to the design and implementation of the Linux kernel

**ISBN:** 0672329468 (ISBN13: 9780672329463)

**GoodReads:** [4.33 / 5](https://www.goodreads.com/book/show/8474434-linux-kernel-development)
---
title: "Lone Rider by Elspeth Beard"
date: 2021-11-27T17:16:25+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1638029283/header/lone_rider.jpg
preview: "The First British Woman to Motorcycle Around the World"
tags:
- books
- non-fiction
- biography
- adventures
- motorcycle
---

The First British Woman to Motorcycle Around the World

Everyone who knows me knows that I am quite an adventurous person. And one of my big dreams is to make motorcycle trip around the world. That is the reason why I started this book. Elseph made my dream trip almost 40 years ago. And that was Adventure with capital A. The story is also very personal. Reading it felt like your friend telling you the stories from her life.

And it confirms all my biases about the countries she passed through. All except Australia. I was waiting for stories about venomous spiders riding giant snakes but got Goldwing riding scum instead. And Nepal, now I want to visit this gorgeous country even more. 

Must read if you are an adventurous person, even more, if you are motorcycle adventurous :)

**Original Title:** Lone Rider: The First British Woman to Motorcycle Around the World

**ISBN:** 1782439625 (ISBN13: 9781782439622)

**GoodReads:** [ 4.5 / 5](https://www.goodreads.com/book/show/35000047-lone-rider)
---
title: "Project Hail Mary by Andy Weir"
date: 2024-01-18T18:23:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1705598039/header/project-hail-mary.jpg
preview: "The best competency porn out there."
tags:
- books
- fiction
- sci-fi
---

The best competency porn out there. 

What I like about Andy Weir’s works is that his main characters are ordinary people who are just good at their jobs. 
You can argue that astronauts are not ordinary people. And you are right. I guess. But what I meant is that they don't 
have any superpowers. Like you know, there is a problem, and they suck at solving it at the beginning. Then, they 
figure it out using their skills and a bit of luck. And when they see that problem again - they do not suck anymore. 

I want more of that everywhere. 

Being good at your job is sexy.

**Original Title:** Project Hail Mary

**ISBN:** 1529157463 (ISBN13: 9781529157468) 

**GoodReads:** [ 4.51 / 5](https://www.goodreads.com/book/show/54493401-project-hail-mary)

---
title: "Rust for Rustaceans by Jon Gjengset"
date: 2022-10-01T15:37:04+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1664632340/header/rust_for.jpeg
preview: "Idiomatic programming for experienced developers."
tags:
- books
- non-fiction
- software
- rust
---

Idiomatic programming for experienced developers.

The book goes deep into interface design, memory layout, concurrency, testing, no std, and so on. Multiple times, while reading it, I had “oh, that's how it should be done” moments. So I would say If you are writing software using Rust, this book is must read. It does not repeat the Rust book, and assumes that you already familiar with the language. In general, I like how the author explains things, and if you are not subscribed to his [YouTube channel](https://www.youtube.com/c/JonGjengset), I would suggest doing that.

**Original Title:** Rust for Rustaceans: idiomatic programming for experienced developers

**ISBN13:**9781718501850

**GoodReads:** [4.59 / 5](https://www.goodreads.com/book/show/58244064-rust-for-rustaceans)
---
title: "Systems desigh interview by Alex Xu"
date: 2023-02-03T11:54:35+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1675421924/header/systems_design_interview.jpg
preview: "The high-level design of different systems, from URL shorteners to YouTube."
tags:
- books
- non-fiction
- software
- engineering
---

The high-level design of different systems, from URL shorteners to YouTube. And It reads surprisingly fast. Sadly, I
didn't read that book earlier. That would help to avoid some mistakes I made in the past.

I understand that this was not the author's aim, and it is probably impossible to contain all details in one book, but
for me, it was not deep enough. Designing storage, CDN, video transcoder, or conflict resolution systems is hard, but
that makes it exciting, right?

Anyway, I had a nice feeling while reading it. You know, when you read something and nod to it. I think the only
surprise for me was the lack of Verimatrix in the list of DRM. But, to be honest, I do not know if they ever had a
client of a YouTube size.

Overall I am glad that I read that book.

**Original Title:** System Design Interview – An Insider's Guide

**ISBN:** 1736049100 (ISBN13: 9781736049105)

**GoodReads:** [4.29 / 5](https://www.goodreads.com/book/show/58042887-system-design-interview-an-insider-s-guide)
---
title: "The Dream Machine by M. Mitchell Waldrop"
date: 2023-01-14T12:25:12+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1673690028/header/the_dream_machine.jpg
preview: "A 500ish page instruction on how to dream big."
tags:
- books
- non-fiction
- biography
- technology
---

A 500ish page instruction on how to dream big.

This book is about how we got here. How all that connectivity and supercomputers in our pockets were envisioned and born.

We are living in a world that was the dream of a really small group of people. I am not sure if it is a manifestation of genius, or right time in the right place thing, or both. But I am glad that those particular, no doubt brilliant, people were in that place at that time. And that is one more reinforcement of the idea that people do matter.

And also how open standards eventually win. Two opposite examples are networking and printing. Networking is built mainly on open standards. Printing is primarily the opposite. The network is flourishing, and printing as an activity is universally hated. This is ironic if you consider that both ideas were under active development in PARC.

At the end of the book, you can find “Man-Computer Symbiosis” by J.C.R. Licklider. It is a must-read, even if you want to skip the book. It is pretty short and densely packed with ideas. There is no excuse not to read it, so here is the link: [Man-Computer Symbiosis](https://groups.csail.mit.edu/medg/people/psz/Licklider.html). In the book, there are two more texts, “[Intergalactic Network](https://www.kurzweilai.net/memorandum-for-members-and-affiliates-of-the-intergalactic-computer-network)” by J.C.R. Licklider and “[The computer as a communication device](https://internetat50.com/references/Licklider_Taylor_The-Computer-As-A-Communications-Device.pdf)" by J.C.R. Licklider, co-authored with Robert Taylor. They are also worth reading.

I found so many thoughts and ideas in this book that still holds that I will need to copy-paste half of it to discuss. Instead, I finish with one quote from the book, which is a quote from “Man-Computer Symbiosis” I mentioned earlier. It is about man part of Man-Computer Symbiosis.

!!
! quote left
About 85 percent of my "thinking" time was spent getting into a position to think to make a decision, to learn something I needed to know. Much more time went into finding or obtaining information than into digesting it.
!!

I can say that, 60 years later, it is true. At least for me. While information access has become infinitely faster, I still spend more than half of my “thinking“ time searching and digesting the information I need to solve current tasks, which is terrible in terms of my efficiency. But also good because I consider it as an indication that I am not solving the same problem over and over, which would be boring.

And that is what I am really curious about. How much time do people spend searching and digesting information nowadays? If you have seen some studies about that, please send me a link. Or/And write me about your personal experience.

**Original Title:** The Dream Machine

**ISBN:** 1732265119 (ISBN13: 9781732265110)

**GoodReads:** [4.57 / 5](https://www.goodreads.com/book/show/41438647-the-dream-machine)
---
title: "The End of Everything by Katie Mack"
date: 2022-06-16T13:45:22+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1655379868/header/the_end_of_everything.jpeg
preview: "Nerdy jokes and ultimate death."
tags:
- books
- non-fiction
- science
- physics
---

Nerdy jokes and ultimate death.

I do not know if it is only me or if it is like that for everybody, but I do not have any mental model for thinking
about the early times of the universe. And I celebrate moments when I found a good one. 

As I get it -  in The big bang time, universe was so full of energy that all forces we know behaved differently. By
differently, I mean there was no gravity or electromagnetic, or any other known to us, force. So yeah, no need to go to
the gym because there is no mass. Then, due to a rapid space expansion (please don't ask me why it expands), the energy
level in every part of the universe dropped enough to change the State. Katie Mack, suggests water as an analogy. The
water state is different depending on how much energy (heat) you put in. And this analogy had more value for me than 
the entire A brief history of time.

And even if the water thingy is no good for you, the book is fun to read if you like nerdy jokes.

**Original Title:** The End of Everything (Astrophysically Speaking)

**ISBN:** 198210354X (ISBN13: 9781982103545)

**GoodReads:** [4.26 / 5](https://www.goodreads.com/book/show/52767659-the-end-of-everything)
---
title: "The Manager's Path: A Guide for Tech Leaders Navigating Growth and Change by Camille Fournier"
date: 2022-01-09T11:19:40+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1641722817/header/the_managers_path.jpg
preview: "Book about how to manage people, and be managed by other people"
tags:
- books
- non-fiction
- software
- management
---

Book about how to manage people, and be managed by other people

This is the book you should read as early as possible in your tech career, despite the name. After reading it, you will understand what and why people around you want from you, which will help your daily activities.

My takeaways are:

- Now, the work I did in the past has a proper name. For example, once I managed three teams, but since our carrier ladder was awful, my position was - Systems architect. I was responsible for architecture because we had no tech lead, but what everybody wanted from me was those team productivity. Now I know that I was engineering manager, and Instead of making architectural decisions, I should have hired tech leads.
- Mentors are important. Both having and being one.
- 1-1s are super important for everybody.

**Original Title:** The Manager's Path: A Guide for Tech Leaders Navigating Growth and Change

**ISBN:** 1491973897 (ISBN13: 9781491973899)

**GoodReads:** [4.20 / 5](https://www.goodreads.com/book/show/33369254-the-manager-s-path)
---
title: "Thinking, Fast and Slow by Daniel Kahneman"
date: 2021-09-18T14:11:54+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1631968045/header/thinking_fast_and_slow.jpg
preview: "Thinking, Fast and Slow - the most useful book you can read."
tags:
- books
- non-fiction
- psychology
---

The most useful book you can read.

Have you been in a situation where you are reading a book and your thoughts run away so far that you need to reread a
couple of pages when they come back? That was constantly happening with me when I was reading this book. Not because
it is not interesting, but because almost on every page, or at least on every chapter, I was like - oh, that's why I do
this. Or - oh, that's why advertisement, news, politics, science, etc., works like that.

Not every idea was new for me, but the book goes into a detailed explanation of every experiment that was done to prove
or disprove the point. And it is fascinating.

I got this book in Russian translation, and I feel that some bits are missing during translation. The title translated
like 'Think slowly decide quickly', which is far from the original. So yeah, I definitely will reread this book in
English.

**Original Title:** Thinking, Fast and Slow

**ISBN:** 0374275637 (ISBN13: 9780374275631)

**GoodReads:** [4.16 / 5](https://www.goodreads.com/book/show/11468377-thinking-fast-and-slow)
---
title: "What If? Serious Scientific Answers to Absurd Hypothetical Questions by Randall Munroe"
date: 2021-11-17T21:47:32+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1637181907/header/what_if.jpg
preview: "If you have been on the internet for a long enough time, you know the XKCD and Randall Munroe. And he wrote the book. Good one."
tags:
- books
- non-fiction
- science
- physics
---

If you have been on the internet for a long enough time, you know the XKCD and Randall Munroe. Randall also wrote a
book. And a good one.

The book teaches you about physics, and chemistry, and biology, and history, and all other boring stuff in a fun and
entertaining way.

There is not much to say about it without spoilers, but the book does what the headline says - scientific answers to
stupid questions. You can go to the xkcd website and read some of them. One of my favorites is about baseball and the
speed of light.

**Original Title:** What If? Serious Scientific Answers to Absurd Hypothetical Questions

**ISBN:** 0544272994 (ISBN13: 9780544272996)

**GoodReads:** [ 4.12 / 5](https://www.goodreads.com/book/show/21413662-what-if-serious-scientific-answers-to-absurd-hypothetical-questions)
---
title: "Serhiy Barhamon"
date: 2023-11-11T22:01:49+01:00
image: https://res.cloudinary.com/barhamon/image/upload/e5/day%202/10_a67afr.jpg
preview: "Yup. That's about me"
tags:
- personal
---

I have been lucky to have my first computer at age six. It was Atari 65XE, with BASIC programming language built-in.
Since then, computers have been my passion, and I have never stopped programming.

I was launching some startups with various levels of success. The usual level of success was a failure. But that was
always fun and educational. 10/10. I will do it again.

In my free of screen time, I do [adventurous stuff](/tag/adventures.html) and sometimes play
[music](/music/mixed-signals-by-serhiy-barhamon.html).
---
title: "Acid Arabic & Folk Techno Mix: Hayk Karoyi | Peephole in Yerevan"
date: 2024-03-22T14:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1711114004/music/Acid-Arabic-Folk-Techno-Mix-Hayk-Karoyi-Peephole-in-Yerevan.jpg
preview: "The further I listen, the more I like it."
tags:
- music
- Hayk Karoyi
- Peephole
- dj set
- electronic
---

If you feel like you need to dance, hit play. 

Shout out to Roma, who sent me this set in the middle of a working day.

{{youtube|https://www.youtube.com/embed/VHq6j3maiUA}}


---
title: "Aphex Twin live at Barbican Hall, London, 10/10/12"
date: 2024-11-04T19:50:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1730746310/music/Aphex%20Twin%20live%20at%20Barbican%20Hall%20London%2010-10-12.jpg
preview: "the piano part 🤯"
tags:
- music
- Aphex Twin
- live
- electronic
---

I love the whole thing, but the piano part 🤯

Also the format of this post clearly sucks from any standpoint, but I do not have better idea right now, and the show
is so good that I can not help myself and want to share.

{{youtube|https://www.youtube.com/embed/jVvLf0vJJ9s}}
---
title: "Bless You by Lulu Rouge"
date: 2024-01-28T21:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1705917388/music/Bless-You-by-Lulu-Rogue.jpg
preview: "This not a new album, but I just found it. And if you missed it too, give it a try. It's a great album."
tags:
- music
- Lulu Rouge
- electronic
---

This not a new album, but I just found it. And if you missed it too, give it a try. It's a great album.

!!
! itunes
[Bless You by Lulu Rogue on iTunes](https://music.apple.com/de/album/bless-you/278856889?l=en-GB)
!!

!!
! spotify
[Bless You by Lulu Rogue on Spotify](https://open.spotify.com/album/5yilAfcCuy2ltVD57gPdsB)
!!

!!
! youtube
[Bless You by Lulu Rogue on Youtube](https://www.youtube.com/watch?v=DeYkKBfiIds&list=OLAK5uy_kJdWI6HiDWb90giYNqyupWfv6sz5l0aV4)
!!

!!
! bandcamp
[Bless You by Lulu Rogue on Bandcamp](https://lulurouge-musicfordreams.bandcamp.com/album/bless-you)
!!


---
title: "Late Night Tales by Bonobo"
date: 2019-01-08T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1699913394/music/late-night-tales-by-bonobo.jpg
preview: "Late Night Tales by Bonobo"
tags:
- music
- Bonobo
- Late Night Tales
- mix
---

This set is so gooood. 

!!
! itunes
[Late Night Tales by Bonobo on iTunes](https://music.apple.com/album/late-night-tales-bonobo-dj-mix/1587429851?l=en-GB)
!!

!!
! spotify
[Late Night Tales by Bonobo on Spotify](https://open.spotify.com/album/75mOIzgjMsFLN5hyQlpsy8)
!!

!!
! youtube
[Late Night Tales by Bonobo on Youtube](https://youtube.com/playlist?list=PLtXgoib6N-yIkjP9p3Ff5j8YCFqXXpOVd)
!!

!!
! bandcamp
[Late Night Tales by Bonobo on Bandcamp](https://latenighttales.bandcamp.com/album/late-night-tales-bonobo)
!!

---
title: "Con Todo El Mundo by Khruangbin"
date: 2019-01-12T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700041805/music/Con-Todo-El-Mundo-by-Khruangbin.jpg
preview: "A few days back, this album was a YouTube recommendation"
tags:
- music
- Khruangbin
- blues
---

A few days back, this album was a YouTube recommendation while I got my hair cut (hi Rostik!). 

And yes, if you have time, watch the live at least with one eye. It's worth it.

{{youtube|https://www.youtube.com/watch?v=q4xKvHANqjk}}

!!
! itunes
[Con Todo El Mundo by Khruangbin on iTunes](https://music.apple.com/album/con-todo-el-mundo/1299272305?l=en-GB)
!!

!!
! spotify
[Con Todo El Mundo by Khruangbin on Spotify](https://open.spotify.com/album/42j41uUwuHZT3bnedq2XtM)
!!

!!
! youtube
[Con Todo El Mundo by Khruangbin on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kuJ7H1aJ5o6nLTCfQVV3rMqUdb4LLZ8U0)
!!

!!
! bandcamp
[Con Todo El Mundo by Khruangbin on Bandcamp](https://khruangbin.bandcamp.com/album/con-todo-el-mundo-excluding-n-s-america)
!!
---
title: "Steve Reich, Drumming by Mount Allison University percussion ensemble"
date: 2023-11-18T10:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700231916/header/Steve-Reich-Drumming.jpg
preview: "King of repetition."
tags:
- music
- Steve Reich
- Mount Allison University percussion ensemble
- live
- percussion
- classic
---

I am a massive fan of Steve Reich's works. He is a true king of repetition. 

I watched a few performances of this piece, and this one is the best I've found. 

{{youtube|https://www.youtube.com/embed/uDhwFTw4VnI}}


---
title: "Duality by Lisa Gerrard & Pieter Bourke"
date: 2024-02-16T21:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1708112908/music/Duality-by-Lisa-Gerrard-and-Piet-Bourke.jpg
preview: "Sometimes you find a gem"
tags:
- music
- Lisa Gerrard
- Pieter Bourke
- soundtrack
---

Sometimes you find a gem.

I do not know how I missed this album and Lisa Gerald in general. But that exactly what I need right now. 

Get a blanket, lay down, switch off the lights and listen to this album. 

!!
! itunes
[Duality by Lisa Gerrard and Pieter Bourke on iTunes](https://music.apple.com/album/duality/1540692891?l=en-GB)
!!

!!
! spotify
[Duality by Lisa Gerrard and Pieter Bourke on Spotify](https://open.spotify.com/album/5hLaLlVflZc9iCJl0wVmGt)
!!

!!
! youtube
[Duality by Lisa Gerrard and Pieter Bourke on Youtube](https://www.youtube.com/playlist?list=PLfimnwaZdumiBwP-YrTHXjms4RepQlyea)
!!

---
title: "ECM recordings: Steve Reich"
date: 2019-01-14T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700049736/music/ECM-recordings-Steve-Reich.jpg
preview: "The Most Beautiful Sound Next to Silence"
tags:
- music
- Steve Reich
- ECM
- piano
- classic
---

“The Most Beautiful Sound Next to Silence” 

Last week, the [ECM](https://en.wikipedia.org/wiki/ECM_Records) label published all the releases that previously were 
only on vinyl online. Steve Reich is unbelievably good.

I am still looking for the full release on YouTube. That is why there is a link only to the Music for 18 Musicians.

!!
! itunes
[ECM recordings: Steve Reich on iTunes](https://music.apple.com/album/steve-reich-the-ecm-recordings/1452607382?l=en-GB)
!!

!!
! spotify
[ECM recordings: Steve Reich on Spotify](https://open.spotify.com/album/4jxxagv18Qll63cDEIqPsH)
!!

!!
! youtube
[Music for 18 Musicians by Steve Reich on Youtube](https://youtu.be/ILpCKQlDmhc?si=GSVCD9kVnahg_n1x)
!!
---
title: "Endlessness by Nala Sinephro"
date: 2024-11-29T20:30:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1732908883/music/Endlessness%20by%20Nala%20Sinephro.jpg
preview: "As beautiful as mountains"
tags:
- music
- Nala Sinephro
- jazz
- electronic
---

I heard somewhere the phrase:  `Talking about music is the same as dancing about architecture`. And that is exactly
how I feel.  I often don’t know what to say. I do not have enough vocabulary to express why some music hits in the
right place. The time is also not easy to find. Time to slow down enough to write something that makes sense is even
more rare.

If you are in a chilly mood and want something as beautiful as mountains, hit play.

!!
! bandcamp
[Endlessness by Nala Sinephro on Bandcamp](https://nalasinephro.bandcamp.com/album/endlessness)
!!

!!
! itunes
[Endlessness by Nala Sinephro on iTunes](https://music.apple.com/de/album/endlessness/1752836259?l=en-GB)
!!

!!
! spotify
[Endlessness by Nala Sinephro on Spotify](https://open.spotify.com/album/51CQQ3tQLRZlZJZ5jcpoGE)
!!

!!
! youtube
[Endlessness by Nala Sinephro on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_ndquw96IltjPD0Fl5qCB2EouN_7AJx1IM)
!!
---
title: "Haxel Princess by Cherry Glazerr"
date: 2019-01-17T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700301547/header/Haxel-Princess-by-Cherry-Glazerr.jpg
preview: "While I am waiting for a their new album, which should be released soon, it is time to listen this masterpiece again"
tags:
- music
- Cherry Glazerr
- indie
---

While I am waiting for a their new album, which should be released soon, it is time to listen this masterpiece again.

!!
! itunes
[Haxel Princess by Cherry Glazerr on iTunes](https://music.apple.com/album/haxel-princess/1176165413?l=en-GB)
!!

!!
! spotify
[Haxel Princess by Cherry Glazerr on Spotify](https://open.spotify.com/album/6ZAwYbiz9BH9XtmoxzIt5R)
!!

!!
! youtube
[Haxel Princess by Cherry Glazerr on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kD5Wh7PoxIvDv2xKhraaw8JVNVqCuTH9w)
!!

!!
! bandcamp
[Haxel Princess by Cherry Glazerr on Bandcamp](https://cherryglazerr.bandcamp.com/album/haxel-princess)
!!
---
title: "Images du Futur by Suuns"
date: 2019-01-10T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1699949856/music/suuns-images-du-futur.jpg
preview: "Images du Futur by Suuns"
tags:
- music
- Suuns
- indie
---

It's not very often that the entire album, from the first to the last song, is awesome. This is exactly the case.

I discovered it two days ago and can't stop enjoying it.

!!
! itunes
[Images du Futur by Suuns on iTunes](https://music.apple.com/de/album/images-du-futur/600608256?l=en-GB)
!!

!!
! spotify
[Images du Futur by Suuns on Spotify](https://open.spotify.com/album/77W5LXwvFtUcls7sznRxln)
!!

!!
! youtube
[Images du Futur by Suuns on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nX4iMlS8-Hub7P5UMc4TEFd-5TzQ_yxro)
!!

!!
! bandcamp
[Images du Futur by Suuns on Bandcamp](https://suuns.bandcamp.com/album/images-du-futur-2)
!!
---
title: "Let's Make Love by Brazilian Girls"
date: 2019-01-16T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700167148/music/Lets-Make-Love-by-Brazilian-Girls.jpg
preview: "Would you like to have palm trees behind you?"
tags:
- music
- Brazilian Girls
- indie
---

Would you like to have palm trees behind you, waves in front of you, sand underneath you, and Pina Colada inside? 

This album will help, even if snow melts outside the window.

!!
! itunes
[Let's Make Love by Brazilian Girls on iTunes](https://music.apple.com/de/album/lets-make-love/1346894555?l=en-GB)
!!

!!
! spotify
[Let's Make Love by Brazilian Girls on Spotify](https://open.spotify.com/album/6DUaO79JtCxTJBA7IlWrtG)
!!

!!
! youtube
[Let's Make Love by Brazilian Girls on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kl4K8YXcTPI8XAsgfmWMprM_Ri1xWrF2w)
!!

!!
! bandcamp
[Let's Make Love by Brazilian Girls on Bandcamp](https://braziliangirls.bandcamp.com/album/lets-make-love)
!!
---
title: "Live @ Yedikule Fortress by Netam"
date: 2024-08-27T21:30:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1724786530/music/Live-at-Yedikule-Fortress-by-Netam.jpg
preview: "I missed that kind of sound"
tags:
- music
- Netam
- live
- electronic
---

I missed that kind of sound: chill, a bit acidic. And that trumpet sounds so good.

!!
! youtube
[Live @ Yedikule Fortress by Netam on Youtube](https://www.youtube.com/watch?v=qCliHvF-uFw)
!!

!!
! itunes
[Live @ Yedikule Fortress by Netam on iTunes](https://music.apple.com/de/album/live-yedikule/1755610362?l=en-GB)
!!

!!
! spotify
[Live @ Yedikule Fortress by Netam on Spotify](https://open.spotify.com/album/50PwQJ52dorptVubzDJh0o)
!!

!!
! bandcamp
[Live @ Yedikule Fortress by Netam on Bandcamp](https://altorient.bandcamp.com/album/netam-live-yedikule)
!!


---
title: "Motion by The Cinematic Orchestra"
date: 2019-01-19T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700490872/music/Motion-by-The-Cinematic-Orchestra.jpg
preview: "Their first album - Motion, released in 1999"
tags:
- music
- The Cinematic Orchestra
- electronic
- soundtrack
- jazz
---

We've been waiting for a new album for 12 years. To Believe is the name of the The Cinematic Orchestra album, which 
will be released on March 15th.

To remind you why this album is worth waiting for, we will have their first album - Motion, released in 1999.

!!
! itunes
[Motion by The Cinematic Orchestra on iTunes](https://music.apple.com/album/motion/1417880006?l=en-GB)
!!

!!
! spotify
[Motion by The Cinematic Orchestra on Spotify](https://open.spotify.com/album/7juArEEjY6Eu9uPI6SvCER)
!!

!!
! youtube
[Motion by The Cinematic Orchestra on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kYVdMH-_v09JY1_LkVV8RMv76DylU-yXQ)
!!

!!
! bandcamp
[Motion by The Cinematic Orchestra on Bandcamp](https://cinematicorchestramusic.bandcamp.com/album/motion)
!!
---
title: "Night Walks on Vinyl Mixtape by Hidden Orchestra"
date: 2019-01-11T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1699991982/music/Hidden_Orchestra-Night_Walks_On_Vinyl_Mixtape.webp
preview: "Night Walks on Vinyl Mixtape by Hidden Orchestra"
tags:
- music
- Hidden Orchestra
- mix
- electronic
- jazz
- hiphop
---

This is one of those bands that you can take anything they released, and it will be good. 

This mixtape is no exception.

!!
! mixcloud
[Night Walks on Vinyl Mixtape by Hidden Orchestra on Mixcloud](https://www.mixcloud.com/truthoughts/hidden-orchestra-night-walks-on-vinyl/)
!!

---
title: "Roseland NYC live 25 by Portishead"
date: 2023-11-15T20:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700074963/music/roseland-nyc-live-25-by-portishead.webp
preview: "Twenty-five years. Jeez."
tags:
- music
- Portishead
- live
- triphop
---

If you suddenly need to celebrate something, I’ve got you covered. Celebrate 25 years since this album was released. 

Twenty-five years. Jeez.

{{youtube|https://www.youtube.com/embed/videoseries?si=lJerpyIGPNfp0mDn&list=PL2sQaj9SDK8wMBKrfP4zVD1XfDtV-Z-AW}}

!!
! itunes
[Roseland NYC live 25 by Portishead on iTunes](https://music.apple.com/album/roseland-nyc-live-25-remastered-2023/1712706758?l=en-GB)
!!

!!
! spotify
[Roseland NYC live 25 by Portishead on Spotify](https://open.spotify.com/album/2PPiJ1nPcFPek42CwW3Yav)
!!

!!
! youtube
[Roseland NYC live 25 by Portishead on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nUVgutZfLAXXt19tF_zP0JGoIjkGbM36o)
!!


---
title: "TANGK by IDLES"
date: 2024-02-20T18:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1708443377/music/TANGK-by-IDLES.jpg
preview: "Still punky, still groovy"
tags:
- music
- IDLES
- punk
---

Still punky, still groovy, and that a fifth album. 

If you need to stomp your feet and shout out loud, this is the album for you. 

!!
! bandcamp
[TANGK by IDLES on Bandcamp](https://idlesband.bandcamp.com/album/tangk)
!!

!!
! itunes
[TANGK by IDLES on iTunes](https://music.apple.com/album/tangk/1708015501)
!!

!!
! spotify
[TANGK by IDLES on Spotify](https://open.spotify.com/album/6U11VNHZAfYY3E9V4oFB2p)
!!

!!
! youtube
[TANGK by IDLES on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_n6B6iLyLBkLy4F8SeOWxxtUYTLgofhxSY)
!!
---
title: "A Hall of Mirrors by 2 Econd Class Citizen"
date: 2019-11-22T12:00:10+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668806158/music/2EcondClassCitizenAHallOfMirrors.jpg
preview: "A Hall of Mirrors by 2 Econd Class Citizen"
tags:
- music
- 2 Econd Class Citizen
- hiphop
---

Some albums are too good.

!!
! itunes
[A Hall of Mirrors by 2 Econd Class Citizen on iTunes](https://music.apple.com/ua/album/a-hall-of-mirrors/1170667550)
!!

!!
! spotify
[A Hall of Mirrors by 2 Econd Class Citizen on Spotify](https://open.spotify.com/album/786vhhmY4uonh6XUIuLvFn)
!!

!!
! youtube
[A Hall of Mirrors by 2 Econd Class Citizen on Youtube](https://www.youtube.com/playlist?list=PLkJy748yhuU82_hCtGLD8UpYkbxiyEJfO)
!!
---
title: "All Life Long by Kali Malone"
date: 2024-09-17T22:30:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1726604463/music/all-life-long-by-kali-malone.jpg
preview: "I would like to make a sound on the real pipe organ."
tags:
- music
- Kali Malone
- electronic
- classic
---

I would like to make a sound on the real pipe organ. I would like it soooooo much.



!!
! bandcamp
[All Life Long by Kali Malone on Bandcamp](https://kalimalone.bandcamp.com/album/all-life-long)
!!

!!
! itunes
[All Life Long by Kali Malone on iTunes](https://music.apple.com/de/album/all-life-long/1709378543?l=en-GB)
!!

!!
! spotify
[All Life Long by Kali Malone on Spotify](https://open.spotify.com/album/1Ft3N89bxz63EQAC3Eaift)
!!

!!
! youtube
[All Life Long by Kali Malone on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kv3DsJVvY0Ec0GMVZ42VN_Vi6yryRvS2A)
!!

---
title: "Aura by Hatis Noit"
date: 2024-05-23T13:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1716465303/music/aura-by-hatis-noit.jpg
preview: "The ability of people to create beautiful things never stops amazing me."
tags:
- music
- live
- Hatis Noit
- ambient
- voice
---

The ability of people to create beautiful things never stops amazing me.

{{youtube|https://www.youtube.com/embed/4QrhaBpJX8c}}

!!
! bandcamp
[Aura by Hatis Noit on Bandcamp](https://hatisnoit.bandcamp.com/album/aura)
!!

!!
! itunes
[Aura by Hatis Noit on iTunes](https://music.apple.com/de/album/aura/1618291304)
!!

!!
! spotify
[Aura by Hatis Noit on Spotify](https://open.spotify.com/album/1CtdQTfP0DzM3GJA95Po52)
!!

!!
! youtube
[Aura by Hatis Noit on Youtube](https://www.youtube.com/playlist?list=PLVjWWIQMML6AXnFu8C7qSyPiy8Rqr0zTB)
!!
---
title: "Behind The Eightball by Xploding Plastix"
date: 2019-01-23T12:00:35+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1715607194/music/behind_the_eightball_by_xploding_plastix.jpg
preview: "I really hope that someday they will get together and make a couple more albums."
tags:
- music
- Xploding Plastix
- electronic
---

These Norwegian guys made (and I really hope that someday they will get together and make a couple more albums) Music 
with a capital M. Each album is excellent from start to finish and not like other albums.

!!
! bandcamp
[Behind The Eightball by Xploding Plastix on Bandcamp](https://xplodingplastix.bandcamp.com/album/behind-the-eightball)
!!

!!
! itunes
[Behind The Eightball by Xploding Plastix on iTunes](https://music.apple.com/de/album/behind-the-eightball/297069322?l=en-GB)
!!

!!
! spotify
[Behind The Eightball by Xploding Plastix on Spotify](https://open.spotify.com/album/7rjYPySNMuDKvaSA5dGfNZ)
!!

!!
! youtube
[Behind The Eightball by Xploding Plastix on Youtube](https://www.youtube.com/watch?v=GtGInLyq23w&list=OLAK5uy_nhYDevrKD7g7ewORUMkt7wX-bXZyzDc4A)
!!

---
title: "Boiler Room Berlin Live Performance by David August & Deutsches Symphonie Orchester"
date: 2019-01-03T12:00:10+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667682821/music/DavidAugustDeutschesSymphonieOrchesterBoilerRoomBerlinLivePerformance.jpg
preview: "Boiler Room Berlin Live Performance by David August & Deutsches Symphonie Orchester"
tags:
- music
- David August
- Deutsches Symphonie Orchester
- live
- electronic
- classic
---

I love collaborations like that. Almost everything that emerges at the intersection of styles deserves attention.

{{youtube|https://www.youtube.com/embed/l9tRdSmVZAc}}
---
title: "Boiler Room Berlin Live Set by Author Punisher"
date: 2019-12-14T12:00:21+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1669662825/music/authorpunisherboilerroomberlinliveset.jpg
preview: "Boiler Room Berlin Live Set by Author Punisher"
tags:
- music
- Author Punisher
- Boiler Room
- live
- heavy
---

I do not know your relationship with this kind of music, but this guy is my type of cool. He builds all his 
instruments by himself and then plays on them. Live.

{{youtube|https://www.youtube.com/embed/72xrS-ezmA4}}
---
title: "Boiler Room Palestine by Muqata'a"
date: 2019-01-01T21:08:12+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667669349/music/Muqata%27aBoilerRoomPalestine.jpg
preview: "Boiler Room Palestine by Muqata'a"
tags:
- music
- Muqata'a
- live
- Boiler Room
- electronic
---

First will be Muqata’a. This live was on repeat whole December.

{{youtube|https://www.youtube.com/embed/u3dkjq_wdaE}}
---
title: "BUBBLE BATH by Blockhead"
date: 2019-11-24T12:00:15+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668806158/music/BlockheadBubbleBath.jpg
preview: "BUBBLE BATH by Blockhead"
tags:
- music
- Blockhead
- hiphop
---

I am not complaining, but is it legal to make good albums so often?

!!
! bandcamp
[BUBBLE BATH by Blockhead on Bandcamp](https://blockheadnyc.bandcamp.com/album/bubble-bath)
!!

!!
! itunes
[BUBBLE BATH by Blockhead on iTunes](https://music.apple.com/ua/album/bubble-bath/1477324886)
!!

!!
! spotify
[BUBBLE BATH by Blockhead on Spotify](https://open.spotify.com/album/5yUMiQWkjKWbn5xwUTg3Q3)
!!

!!
! youtube
[BUBBLE BATH by Blockhead on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_l0kfhVLko7aarQkgAfvxNskmpQYKZMrNA)
!!
---
title: ">>> by Beak>"
date: 2019-11-26T12:00:35+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668980604/music/Beak.jpg
preview: ">>> by Beak>"
tags:
- music
- Beak>
- KEXP
- postrock
---

AAA! Look what I found! Beck is Geoff Barrow, Billy Fuller, and Will Young. I would be pretty surprised if those guys 
made terrible albums. Check out the live, where they talk a little about the album.

{{youtube|https://www.youtube.com/embed/zsruANXfTIE}}

!!
! bandcamp
[>>> by Beak> on Bandcamp](https://beak.bandcamp.com/album/-)
!!

!!
! itunes
[>>> by Beak> on iTunes](https://music.apple.com/ua/album/1414002676)
!!

!!
! spotify
[>>> by Beak> on Spotify](https://open.spotify.com/album/60yPG02ecqockwxPD5XWSJ)
!!

!!
! youtube
[>>> by Beak> on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_l9pmHurLqUSYUgaJUEYClHlR1Vvr_glag)
!!
---
title: "Close but No Cigar by Delvon Lamarr Organ Trio"
date: 2019-08-28T12:01:01+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667938919/music/DelvonLamarrOrganTrioCloseButNoCigar.jpg
preview: "Close but No Cigar by Delvon Lamarr Organ Trio"
tags:
- music
- Delvon Lamarr Organ Trio
- live
- KEXP
- jazz
---

I never heard of those guys. I just clicked on the recommendation and liked the album and live performance. Cute detail. All organ players I have seen always take off their shoes before starting to play.

{{youtube|https://www.youtube.com/embed/tNO71hgto7c}}

!!
! bandcamp
[Close but No Cigar by Delvon Lamarr Organ Trio on Bandcamp](https://delvonlamarrorgantrio.bandcamp.com/album/close-but-no-cigar)
!!

!!
! itunes
[Close but No Cigar by Delvon Lamarr Organ Trio on iTunes](https://music.apple.com/ua/album/close-but-no-cigar/1447726312)
!!

!!
! spotify
[Close but No Cigar by Delvon Lamarr Organ Trio on Spotify](https://open.spotify.com/album/7mSHK38A3LExKFJpKPohlR)
!!

!!
! youtube
[Close but No Cigar by Delvon Lamarr Organ Trio on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_lE_omtjvBx9BUDcJ8SCn_FG0bp1mUWMc8)
!!
---
title: "Crush by Floating Points"
date: 2019-10-27T12:00:45+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668108239/music/FloatingPointsCrush.jpg
preview: "Crush by Floating Points"
tags:
- music
- Floating Points
- electronic
---

You wait for the new album from an artist. It is finally out. You put on your headphones. You press the play button.
You know that you've been waiting for this album for a reason.

!!
! bandcamp
[Crush by Floating Points on Bandcamp](https://floatingpoints.bandcamp.com/album/crush)
!!

!!
! itunes
[Crush by Floating Points on iTunes](https://music.apple.com/ua/album/crush/1475361065)
!!

!!
! spotify
[Crush by Floating Points on Spotify](https://open.spotify.com/album/1WwZwdTICfaZI51BIIEN9z)
!!

!!
! youtube
[Crush by Floating Points on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nUIraolq1Ehrp4Pf35jS2pNL_TLMuzFSo)
!!
---
title: "Deaf Safari by Felix Laband"
date: 2019-11-10T12:00:56+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668274517/music/FelixLabandDeafSafari.jpg
preview: "Deaf Safari by Felix Laband"
tags:
- music
- Felix Laband
- electronic
---

Chill, despite the cover, album.

!!
! bandcamp
[Deaf Safari by Felix Laband on Bandcamp](https://felixlaband.bandcamp.com/album/deaf-safari)
!!

!!
! itunes
[Deaf Safari by Felix Laband on iTunes](https://music.apple.com/ua/album/deaf-safari/996418916)
!!

!!
! spotify
[Deaf Safari by Felix Laband on Spotify](https://open.spotify.com/album/0ahe3C1JwEyoGYKtZGY8qx)
!!

!!
! youtube
[Deaf Safari by Felix Laband on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kb7TxGWe3Bt1MFSUBHBwDegiOMctKteqg)
!!
---
title: "Fear Inoculum by Tool"
date: 2019-09-12T12:00:44+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667938919/music/ToolFearInoculum.jpg
preview: "Fear Inoculum by Tool"
tags:
- music
- Tool
- heavy
---

If you still have not listened to this album, you must stop doing whatever you are doing right now and start listening to it.

!!
! itunes
[Fear Inoculum by Tool on iTunes](https://music.apple.com/ua/album/fear-inoculum/1475686696)
!!

!!
! spotify
[Fear Inoculum by Tool on Spotify](https://open.spotify.com/album/7acEciVtnuTzmwKptkjth5)
!!

!!
! youtube
[Fear Inoculum by Tool on Youtube](https://www.youtube.com/watch?v=q7DfQMPmJRI&list=PL3htOwmtQv_yHPXNRHNJ-naKnAsvOuclt)
!!
---
title: "Free Sweatpants by Blockhead"
date: 2019-01-21T12:00:44+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1701465061/music/free-sweatpants-by-blockhead.jpg
preview: "Last week release. Reminded me why I love hip-hop"
tags:
- music
- Blockhead
- hiphop
---

Last week release. Reminded me why I love hip-hop.

!!
! itunes
[Free Sweatpants by Blockhead on iTunes](https://music.apple.com/de/album/free-sweatpants/1659936586?l=en-GB)
!!

!!
! spotify
[Free Sweatpants by Blockhead on Spotify](https://open.spotify.com/album/5HrsEMb2kWkHo7lSZAzDUM)
!!

!!
! bandcamp
[Free Sweatpants by Blockhead on Bandcamp](https://blockheadnyc.bandcamp.com/album/free-sweatpants)
!!

!!
! youtube
[Free Sweatpants by Blockhead on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mFI55ZNOKuVN-HHpHMLkmKnNFlNMVyHDU)
!!
---
title: "Full Performance (Live on KEXP) by King Gizzard And The Lizard Wizard"
date: 2019-01-04T12:00:14+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667682821/music/KingGizzardAndTheLizardWizardFullPerformance%28liveOnKexp%29.jpg
preview: "Full Performance (Live on KEXP) by King Gizzard And The Lizard Wizard"
tags:
- music
- King Gizzard And The Lizard Wizard
- KEXP
- live
- indie
---

I just discovered this band, and they are fantastic.

{{youtube|https://www.youtube.com/embed/G5Z4bma_tUM}}
---
title: "Go Tell Fire To The Mountain by Wu Luf"
date: 2019-12-10T12:00:58+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1669149040/music/WuLufGoTellFireToTheMountain.jpg
preview: "Go Tell Fire To The Mountain by Wu Luf"
tags:
- music
- Wu Luf
- M83
- indie
---

It's like M83 on steroids.

!!
! itunes
[Go Tell Fire To The Mountain by Wu Luf on iTunes](https://music.apple.com/ua/album/go-tell-fire-to-the-mountain/438267039)
!!

!!
! spotify
[Go Tell Fire To The Mountain by Wu Luf on Spotify](https://open.spotify.com/album/0h3OHv0VdzfFSuqK4kGQO4)
!!

!!
! youtube
[Go Tell Fire To The Mountain by Wu Luf on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_lXQuI6S5nByQ9ByVlwQ2YCwxgWHktyWq4)
!!
---
title: ">>>> by Beak>"
date: 2024-05-30T14:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1717072936/music/gtgtgtgt-by-Beck.jpg
preview: "Some bands grow with each release, even if the bar is already high."
tags:
- music
- Beak>
- postrock
---

Some bands grow with each release, even if the bar is already high.

If you are into Postrock/Krautrock, go ahead. It is an excellent album.

!!
! bandcamp
[>>>> by Beak> on Bandcamp](https://beak.bandcamp.com/album/--3)
!!

!!
! itunes
[>>>> by Beak> on iTunes](https://music.apple.com/de/album/1740618739?l=en-GB)
!!

!!
! spotify
[>>>> by Beak> on Spotify](https://open.spotify.com/album/3vRMLum0LvvhizkCs0S1ec)
!!

!!
! youtube
[>>>> by Beak> on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_lOdS2QpuwCwJ3AVyYd6oS_Ulz1br2_xZY)
!!
---
title: "Hangable Auto Bulb by Afx"
date: 2019-11-20T12:00:51+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668806158/music/AfxHangableAutoBulb.jpg
preview: "Hangable Auto Bulb by Afx"
tags:
- music
- Afx
- Aphex Twin
- electronic
---

I don’t know how that happened, but I missed AFX.

!!
! itunes
[Hangable Auto Bulb by Afx on iTunes](https://music.apple.com/ua/album/hangable-auto-bulb/82752669)
!!

!!
! spotify
[Hangable Auto Bulb by Afx on Spotify](https://open.spotify.com/album/1iSgbeoQoFtHEp1wrInW9A)
!!

!!
! youtube
[Hangable Auto Bulb by Afx on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_lJH0tvwVyZMNqLoQIlPnblGIjPgexr8kY)
!!
---
title: "Hannah Miette by Hannah Miette"
date: 2024-04-10T09:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1712675023/music/hannah_miette_by_hannah_miette.jpg
preview: "I found myself listening to this album fourth time in a row."
tags:
- music
- Hannah Miette
- indie
---

I found myself listening to this album fourth time in a row. And every time I listen to it, I find something new. 

If you plan a lazy evening with a glass of wine, this album is a perfect choice.
 

!!
! itunes
[Hannah Miette by Hannah Miette on iTunes](https://music.apple.com/album/hannah-miette/1736540654)
!!

!!
! spotify
[Hannah Miette by Hannah Miette on Spotify](https://open.spotify.com/album/2muMyLQFRUekuI9xsvjklU)
!!

!!
! youtube
[Hannah Miette by Hannah Miette on Youtube](https://music.youtube.com/playlist?list=OLAK5uy_msHQRc3dzjRaaSRDVxHz6iF_KxfUnQAM8)
!!

---
title: "High Rize by Nadia Khan"
date: 2019-12-04T12:00:26+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1669064300/music/NadiaKhanHighRize.jpg
preview: "High Rize by Nadia Khan"
tags:
- music
- Nadia Khan
- electronic
---

Nice mix if you want to relax

!!
! soundcloud
[High Rize by Nadia Khan on SoundCloud](https://soundcloud.com/cminuss/nadia-khan-high-rize)
!!
---
title: "It Should Be Us by Andy Stott"
date: 2019-11-28T12:00:52+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668979301/music/AndyStottItShouldBeUs.jpg
preview: "It Should Be Us by Andy Stott"
tags:
- music
- Andy Stott
- electronic
---

Little bit of techno

!!
! itunes
[It Should Be Us by Andy Stott on iTunes](https://music.apple.com/ua/album/it-should-be-us/1486934069)
!!

!!
! spotify
[It Should Be Us by Andy Stott on Spotify](https://open.spotify.com/album/2b4RNCznna9U13uXza9jdl)
!!

!!
! youtube
[It Should Be Us by Andy Stott on Youtube](https://www.youtube.com/watch?v=qSgKfGDycL4)
!!
---
title: "IV (Full Live Concert) by Bad Bad Not Good"
date: 2019-01-20T12:00:06+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667768034/music/BadBadNotGoodIv%28fullLiveConcert%29.jpg
preview: "IV (Full Live Concert) by Bad Bad Not Good"
tags:
- music
- live
- Bad Bad Not Good
- jazz
---

Found this recently. A not fresh one, but a really good one.

{{youtube|https://www.youtube.com/embed/bdPkzcsYQKA}}
---
title: "Jazz à la Villette by Go Go Penguin"
date: 2019-01-29T12:00:47+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667768040/music/GoGoPenguinJazzA%CC%80LaVillette.jpg
preview: "Jazz à la Villette by Go Go Penguin"
tags:
- music
- Go Go Penguin
- live
- jazz
---

Watch this show while you are buying tickets for their performance in Kyiv on the sixteens of April.

{{youtube|https://www.youtube.com/embed/x7LmhOEnIs4}}
---
title: "Jdid by Acid Arab"
date: 2019-12-06T12:00:44+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1669064301/music/AcidArabJdid.jpg
preview: "Jdid by Acid Arab"
tags:
- music
- Acid Arab
- electronic
---

Fresh and good

!!
! bandcamp
[Jdid by Acid Arab on Bandcamp](https://acidarab.bandcamp.com/album/jdid)
!!

!!
! itunes
[Jdid by Acid Arab on iTunes](https://music.apple.com/album/jdid/1475196755)
!!

!!
! spotify
[Jdid by Acid Arab on Spotify](https://open.spotify.com/album/6BzhupVusCkaxKIOXpGbPg)
!!

!!
! youtube
[Jdid by Acid Arab on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mvsQsXz8MzLYQ5OxCeu2i9Ze6gZScHCps)
!!
---
title: "Joy as an Act of Resistance. by IDLES"
date: 2019-08-08T12:00:45+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700168260/music/Joy-as-an-Act-of-Resistance-by-Idles.jpg
preview: "Woah. I don't think I ever liked any punk record as much as I like this one."
tags:
- music
- IDLES
- punk
---

Woah. I don't think I ever liked any punk record as much as I like this one.

!!
! bandcamp
[Joy as an Act of Resistance. by IDLES on Bandcamp](https://idlesband.bandcamp.com/album/joy-as-an-act-of-resistance)
!!

!!
! itunes
[Joy as an Act of Resistance. by IDLES on iTunes](https://music.apple.com/ua/album/joy-as-an-act-of-resistance/1391070525)
!!

!!
! spotify
[Joy as an Act of Resistance. by IDLES on Spotify](https://open.spotify.com/album/7BbRSUBwTB37ut0Ht3yAqt)
!!

!!
! youtube
[Joy as an Act of Resistance. by IDLES on Youtube](https://youtu.be/wMehItNQKAA)
!!
---
title: "Keep Hush Live: 1985 Music Takeover 2 by Tasha"
date: 2019-11-30T12:00:59+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668980604/music/TashaKeepHushLive1985MusicTakeover2.jpg
preview: "Keep Hush Live: 1985 Music Takeover 2 by Tasha"
tags:
- music
- Tasha
- dnb
---

And some proper dances. Not like always.

{{youtube|https://www.youtube.com/embed/zzoxXIHJcFI}}
---
title: "Live at The Bowl '68 by The Doors"
date: 2019-01-15T12:00:22+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667768076/music/TheDoorsLiveAtTheBowl%2768.jpg
preview: "Live at The Bowl '68 by The Doors"
tags:
- music
- Old But Gold
- live
- rock
---

Yeah, The Doors. You know, sometimes you just find those things.

{{youtube|https://www.youtube.com/embed/s2lo5ZpOqFQ}}
---
title: "Live at Villa Maximus, Mykonos by Greg Foat & Sokratis Votskos"
date: 2024-04-29T20:25:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1714415078/music/live-at-villa-maximus-mykonos-by-greg-foat-and-sokratis-votskos.jpg
preview: "That is the perfect soundtrack for Monday evening."
tags:
- music
- Greg Foat
- Sokratis Votskos
- live
- jazz
---

That is the perfect soundtrack for Monday evening. Or for any evening. 

If you want to see a live-action, YouTube has, surprise, a video recording from the show.

!!
! bandcamp
[Live at Villa Maximus, Mykonos by Greg Foat & Sokratis Votskos on Bandcamp](https://bluecrystalrecords.bandcamp.com/album/live-at-villa-maximus-mykonos)
!!

!!
! itunes
[Live at Villa Maximus, Mykonos by Greg Foat & Sokratis Votskos on iTunes](https://music.apple.com/de/album/live-at-villa-maximus-mykonos-feat-warren-hampshire/1732401582?l=en-GB)
!!

!!
! spotify
[Live at Villa Maximus, Mykonos by Greg Foat & Sokratis Votskos on Spotify](https://open.spotify.com/album/6xq2Gz1Y13cPvUd4ZF1Ny7)
!!

!!
! youtube
[Live at Villa Maximus, Mykonos by Greg Foat & Sokratis Votskos on Youtube](https://music.youtube.com/playlist?list=OLAK5uy_kfw1qmz3u8mPgRZK8-Rag_JyNgCa_2Irk)
!!

---
title: "Long Stories by Amon Tobin"
date: 2019-10-25T12:01:13+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668108239/music/AmonTobinLongStories.jpg
preview: "Long Stories by Amon Tobin"
tags:
- music
- Amon Tobin
- electronic
---

While I worked hard and treat my teeth (never thought that in the human body could be that many holes), my favorite artists were busy releasing new albums.

!!
! bandcamp
[Long Stories by Amon Tobin on Bandcamp](https://music.amontobin.com/album/long-stories)
!!

!!
! itunes
[Long Stories by Amon Tobin on iTunes](https://music.apple.com/ua/album/long-stories/1478909494)
!!

!!
! spotify
[Long Stories by Amon Tobin on Spotify](https://open.spotify.com/album/0kC59LuttfKletFf38YAX4)
!!

!!
! youtube
[Long Stories by Amon Tobin on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nTVvGtCwRll4mW0vO9MxnB5oDEspWcx1A)
!!
---
title: "Lumos by Harry And The Potters"
date: 2019-08-14T12:00:41+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667849054/music/HarryAndThePottersLumos.jpg
preview: "Lumos by Harry And The Potters"
tags:
- music
- Harry And The Potters
- Harry Potter
- indie
---

I just recently discovered this band, and they are interesting not only because of the music they play, which is good, but also the lyrics. I am genuinely amazed that something like this exists around Harry Potter. If you read/watched Harry with pleasure, put your headphones on and hit the play button.

!!
! bandcamp
[Lumos by Harry And The Potters on Bandcamp](https://harryandthepotters.bandcamp.com/album/lumos)
!!

!!
! itunes
[Lumos by Harry And The Potters on iTunes](https://music.apple.com/ua/album/lumos/1460849437)
!!

!!
! spotify
[Lumos by Harry And The Potters on Spotify](https://open.spotify.com/album/5GrhoQoKBUNxAUKBPiUa6z)
!!

!!
! youtube
[Lumos by Harry And The Potters on Youtube](https://www.youtube.com/watch?v=He7xaCLJ9Nc)
!!
---
title: "Machine by The Bug"
date: 2024-09-16T16:30:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1726496986/music/machine-by-the-bug.jpg
preview: "Crisp and dry."
tags:
- music
- The Bug
- electronic
- dub
---

The Bug was never about happiness and flowers. This album is no different.

And also fresh, crisp and dry post apocalyptic dub.

!!
! bandcamp
[Machine by The Bug on Bandcamp](https://thebugmusic.bandcamp.com/album/machine)
!!

!!
! itunes
[Machine by The Bug on iTunes](https://music.apple.com/de/album/machine/1759238887?l=en-GB)
!!

!!
! spotify
[Machine by The Bug on Spotify](https://open.spotify.com/album/2mo3lhfCOg5TVJjh6HSzMd)
!!

!!
! youtube
[Machine by The Bug on Youtube](https://www.youtube.com/watch?v=6Qoh7I1GkyA)
!!

---
title: "Mala by Devandra Banhart"
date: 2019-11-12T12:00:11+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668274518/music/DevandraBanhartMala.jpg
preview: "Mala by Devandra Banhart"
tags:
- music
- Devandra Banhart
- indie
---

Very cozy album.

!!
! bandcamp
[Mala by Devandra Banhart on Bandcamp](https://devendrabanhart.bandcamp.com/album/mala)
!!

!!
! itunes
[Mala by Devandra Banhart on iTunes](https://music.apple.com/ua/album/mala/608045906)
!!

!!
! spotify
[Mala by Devandra Banhart on Spotify](https://open.spotify.com/album/1Z69PSnbIBojgF9NBJbKca)
!!

!!
! youtube
[Mala by Devandra Banhart on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nEYMugMy4l07pU3A-3zTD6yo4YCqxS1xI)
!!
---
title: "Memory Streams by Portico Quartet"
date: 2019-10-07T12:00:40+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668108239/music/PorticoQuartetMemoryStreams.jpg
preview: "Memory Streams by Portico Quartet"
tags:
- music
- Portico Quartet
- jazz
---

Third day on repeat.

!!
! bandcamp
[Memory Streams by Portico Quartet on Bandcamp](https://porticoquartet.bandcamp.com/album/memory-streams)
!!

!!
! itunes
[Memory Streams by Portico Quartet on iTunes](https://music.apple.com/ua/album/memory-streams/1472062404)
!!

!!
! spotify
[Memory Streams by Portico Quartet on Spotify](https://open.spotify.com/album/3giCj6KyF3WQqSk5UBde2n)
!!

!!
! youtube
[Memory Streams by Portico Quartet on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_lC-ZPauOtVoE8jBaqseL3PrDTy35_dc80)
!!
---
title: "Merriweather Post Pavilion by Annimal Collective"
date: 2019-01-09T12:00:13+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667682892/music/AnnimalCollectiveMerriweatherPostPavilion.jpg
preview: "Merriweather Post Pavilion by Annimal Collective"
tags:
- music
- Annimal Collective
- electronic
---

This album is ten years old already. Time flies.

!!
! bandcamp
[Merriweather Post Pavilion by Annimal Collective on Bandcamp](https://anmlcollectve.bandcamp.com/album/merriweather-post-pavilion)
!!

!!
! itunes
[Merriweather Post Pavilion by Annimal Collective on iTunes](https://music.apple.com/album/merriweather-post-pavilion/300683110?l=en)
!!

!!
! spotify
[Merriweather Post Pavilion by Annimal Collective on Spotify](https://open.spotify.com/album/5O9OXl9zAWMJTzawofxuan)
!!

!!
! youtube
[Merriweather Post Pavilion by Annimal Collective on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_lq6ZY8GSCQhbG7Z6cr-rw5EL9CQ54CdSs)
!!
---
title: "MIXED SIGNALS by Serhiy Barhamon"
date: 2024-11-11T09:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1729105004/music/mixed-signals-by-serhiy-barhamon.png
preview: "I have always liked music but never thought it would get me this far"
tags:
- music
- Serhiy Barhamon
- electronic
- dungeonsynth
- industrial
- drones
- ambient
---

I have always liked music but never thought it would get me this far. Today, I released an album. It includes pieces
that I recorded over three years.

Honestly, that’s the coolest thing I have ever done.

I guess this all resulted from me finding an instrument that allows me to make sounds that I like in the most obvious,
for me, way. But I still don’t have a clue what I’m doing. I mean, I found a few tricks to get me to the place I like,
but in the grand scheme of things, music theory and all that, I know nothing.  On the other hand, I am not sure if I
want to invest time into learning all that instead of playing. At least for now, I do not feel the absence of hard
knowledge of music science as a showstopper.

I don't know what genre it is. Incidentally, that often happens with music I like. I guess weird electronic music
describes it in the best way. But since I need to tag it somehow before publishing, here we go: dungeonsynth,
industrial, ambient, drones.

I want to thank Marie and all my friends, whom I have been forcing to listen to all those weird noises and who have
always supported me <3

!!
! bandcamp
[MIXED SIGNALS by Serhiy Barhamon on Bandcamp](https://serhiybarhamon.bandcamp.com/album/mixed-signals)
!!

!!
! itunes
[MIXED SIGNALS by Serhiy Barhamon on iTunes](https://music.apple.com/de/album/mixed-signals/1780393767?l=en-GB)
!!

!!
! spotify
[MIXED SIGNALS by Serhiy Barhamon on Spotify](https://open.spotify.com/album/10fHjNOacHUudlHOtdoY8U)
!!

!!
! youtube
[MIXED SIGNALS by Serhiy Barhamon on Youtube](https://youtube.com/playlist?list=OLAK5uy_nljwcQ8mW0ZlKxMNa-3Ksg19aTQ4HAgZs)
!!

## One more thing ™

Apart from music itself, there is one more artifact. I got carried away while making the cover, and at some point, it
became interactive `¯\\_(ツ)_/¯`.

If you want an interactive show that will eat your battery and bandwidth click that link -->
[Interactive MIXED SIGNALS](/mixed-signals.html).
---
title: "Moon Pix by Cat Power"
date: 2019-08-10T12:00:39+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667849054/music/CatPowerMoonPix.jpg
preview: "Moon Pix by Cat Power"
tags:
- music
- Cat Power
- indie
---

Every time I listen to this album, I feel like I am relaxing near the fire pit, even if I am stuck in a traffic jam.

!!
! itunes
[Moon Pix by Cat Power on iTunes](https://music.apple.com/ua/album/moon-pix/1023398873)
!!

!!
! spotify
[Moon Pix by Cat Power on Spotify](https://open.spotify.com/album/0PBUZ2KHPp5Q9fybGuT2ry)
!!

!!
! youtube
[Moon Pix by Cat Power on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mG0xioTTtb8JzfISKVFLO8CVU7ibsCU1w)
!!
---
title: "MTV Unplugged by Bjork"
date: 2019-01-07T12:00:04+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667682821/music/BjorkMtvUnplugged.jpg
preview: "MTV Unplugged by Bjork"
tags:
- music
- Bjork
- Old But Gold
- live
---

Yeah, MTV Unplugged is an awesome series of records. And this is one of the best shows I have ever seen.

{{youtube|https://www.youtube.com/embed/EQxT-QTlTR8}}
---
title: "Nell' Ora Blu by Uncle Acid & The Deadbeats"
date: 2024-05-11T19:25:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1715448088/music/nell-ora-blu-by-uncle-acid-and-the-deadbeats.jpg
preview: "Put your headphones on."
tags:
- music
- Uncle Acid & The Deadbeats
- electronic
- rock
---

Put your headphones on.

Turn repeat on.

Hit play.

Put your sunglasses on.

Close the door behind you.

Go for a walk.

Be a main character of a noir movie.

!!
! itunes
[Nell' Ora Blu by Uncle Acid & The Deadbeats on iTunes](https://music.apple.com/de/album/nell-ora-blu/1737856593?l=en-GB)
!!

!!
! spotify
[Nell' Ora Blu by Uncle Acid & The Deadbeats on Spotify](https://open.spotify.com/album/4mMJ2XtEqZLSkfQ0eiFTsr)
!!

!!
! youtube
[Nell' Ora Blu by Uncle Acid & The Deadbeats on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nII7k4jRUVTzxX-Yu0mG3ywW8ah5J0O18)
!!
---
title: '"NO TITLE AS OF 13 FEBRUARY 2024 28,340 DEAD" by Godspeed You! Black Emperor'
date: 2024-10-07T12:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1728293035/music/no-title-as-of-13-february-2024-28340-dead-by-godspeed-you-black-emperor.jpg
preview: "They make me cry every time they release a new album"
tags:
- music
- Godspeed You! Black Emperor
- rock
- ambient
---

Jeez. They make me cry every time they release a new album.

This is an incredible piece of art, as always.

!!
! bandcamp
["NO TITLE AS OF 13 FEBRUARY 2024 28,340 DEAD" by Godspeed You! Black Emperor on Bandcamp](https://godspeedyoublackemperor.bandcamp.com/album/no-title-as-of-13-february-2024-28340-dead)
!!

!!
! itunes
["NO TITLE AS OF 13 FEBRUARY 2024 28,340 DEAD" by Godspeed You! Black Emperor on iTunes](https://music.apple.com/de/album/no-title-as-of-13-february-2024-28-340-dead/1760821166?l=en-GB)
!!

!!
! spotify
["NO TITLE AS OF 13 FEBRUARY 2024 28,340 DEAD" by Godspeed You! Black Emperor on Spotify](https://open.spotify.com/album/1qG30zCAZ30hsmA5wAlaQ3)
!!

!!
! youtube
["NO TITLE AS OF 13 FEBRUARY 2024 28,340 DEAD" by Godspeed You! Black Emperor on Youtube](https://www.youtube.com/playlist?list=PLnpQFjefXCRNzQOLivgQv18l-EG9s0vBM)
!!

---
title: "Nothing Gold Can Stay (Part A) by Kasper Bjørke"
date: 2019-11-04T12:00:29+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668273397/music/KasperBj%C3%B8rkeNothingGoldCanStay%28partA%29.jpg
preview: "Nothing Gold Can Stay (Part A) by Kasper Bjørke"
tags:
- music
- Kasper Bjørke
- electronic
---

Fresh. Will wait for the next part.

!!
! bandcamp
[Nothing Gold Can Stay (Part A) by Kasper Bjørke on Bandcamp](https://kasperbjorke.bandcamp.com/album/nothing-gold-can-stay-part-a)
!!

!!
! itunes
[Nothing Gold Can Stay (Part A) by Kasper Bjørke on iTunes](https://music.apple.com/ua/album/nothing-gold-can-stay-part-a-ep/1481902002)
!!

!!
! spotify
[Nothing Gold Can Stay (Part A) by Kasper Bjørke on Spotify](https://open.spotify.com/album/3rsYFSxc3izf8YCwBsR6vr)
!!

!!
! youtube
[Nothing Gold Can Stay (Part A) by Kasper Bjørke on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mgcz-EHCDUPwfah5mt6wuGyp0ah5nPFfM)
!!
---
title: "Now by Kim Jung Mi"
date: 2024-06-04T11:20:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1717492672/music/now-by-kim-jung-mi.jpg
preview: "Here is a gem from the past."
tags:
- music
- Kim Jung Mi
- rock
---

The best way I can describe how I feel about this album is:

![Now by Kim Jung Mi](https://res.cloudinary.com/barhamon/image/upload/v1717492925/music/now_meme.jpg)

The Your Dream track alone should put this album in all halls of fame possible.

Go on, hit play. You will not be disappointed 🤘

!!
! itunes
[Now by Kim Jung Mi on iTunes](https://music.apple.com/de/album/now/497199312?l=en-GB)
!!

!!
! spotify
[Now by Kim Jung Mi on Spotify](https://open.spotify.com/album/2lzfXDmAAnFTwAHNc759Rz)
!!

!!
! youtube
[Now by Kim Jung Mi on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nrVMGTdZ6LdEXGGSl8G3Id25UEx6w1uk4)
!!

---
title: "Obverse by Trentemøller"
date: 2019-09-28T12:00:40+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668030468/music/Trentem%C3%B8llerObverse.jpg
preview: "Obverse by Trentemøller"
tags:
- music
- Trentemøller
- electronic
---

Did you miss me? Finally, I  heard something I wanted to share.

!!
! bandcamp
[Obverse by Trentemøller on Bandcamp](https://trentemoller.bandcamp.com/album/obverse)
!!

!!
! itunes
[Obverse by Trentemøller on iTunes](https://music.apple.com/ua/album/obverse/1469414241)
!!

!!
! spotify
[Obverse by Trentemøller on Spotify](https://open.spotify.com/album/5QBPUvhS6UYro3JLHeQVwF)
!!

!!
! youtube
[Obverse by Trentemøller on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nkhOJcAIwqfbw8hKAE9pjKX7YCaNq1iws)
!!
---
title: "Out of Season by Beth Gibbons & Rustin Man"
date: 2019-01-31T12:00:43+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667768034/music/BethGibbonsRustinManOutOfSeason.jpg
preview: "Out of Season by Beth Gibbons & Rustin Man"
tags:
- music
- Portishead
- Beth Gibbons
- Rustin Man
---

Yeah, of course, I am waiting for a new album of Portishead, and obviously, it is not the same, but Beth Gibbons announced a new album, which I am waiting for anyways. The previous album of Beth not with Portishead was this one, which was good.

!!
! itunes
[Out of Season by Beth Gibbons & Rustin Man on iTunes](https://music.apple.com/album/out-of-season/1443794694?l=en)
!!

!!
! spotify
[Out of Season by Beth Gibbons & Rustin Man on Spotify](https://open.spotify.com/album/6nTOCPzj8JiohYlZxW5Zl1)
!!

!!
! youtube
[Out of Season by Beth Gibbons & Rustin Man on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_l0Lns5MJxJfMjpELRIsHsp0QMJxHWzBIg)
!!
---
title: "Piedras 2 by Nicolas Jaar"
date: 2024-10-27T11:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1730022040/music/piedras-2-by-nicolas-jaar.jpg
preview: "The second part is my favorite!"
tags:
- music
- Nicolas Jaar
- electronic
---

I wanted to write: “The second part is my favorite!” but while researching, I found that this two-part album is part of
an even bigger release. Unfortunately, my favorite part is only on iTunes and Spotify, and I found the whole thing only
on Bandcamp and YouTube.

!!
! itunes
[Piedras 2 by Nicolas Jaar on iTunes](https://music.apple.com/de/album/piedras-2/1769237154?l=en-GB)
!!

!!
! spotify
[Piedras 2 by Nicolas Jaar on Spotify](https://open.spotify.com/album/0KKT859rTA4Ip7zUzIrTGL)
!!

If you need a soundtrack for the whole day, check it out. The whole thing is very good.

![Archivos de Radio Piedras by Nicolas Jaar](https://res.cloudinary.com/barhamon/image/upload/v1730022733/music/archivos-de-radio-piedras-by-nicolas-jaar.jpg)

!!
! bandcamp
[Archivos de Radio Piedras by Nicolas Jaar](https://nicolasjaar.bandcamp.com/album/archivos-de-radio-piedras)
!!

!!
! youtube
[Archivos de Radio Piedras by Nicolas Jaar](https://www.youtube.com/watch?v=SjCCqeBaDH0&list=PLwQx8iA9IKBNxVpstbuv8LyaARul2vD66)
!!
---
title: "Rats by Balthazar"
date: 2019-11-06T12:00:39+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668273397/music/BalthazarRats.jpg
preview: "Rats by Balthazar"
tags:
- music
- Balthazar
- indie
---

Accidentaly discovered those guys. If somehow missed them, like I did, hit play.

!!
! bandcamp
[Rats by Balthazar on Bandcamp](https://balthazarband.bandcamp.com/album/rats)
!!

!!
! itunes
[Rats by Balthazar on iTunes](https://music.apple.com/ua/album/rats/561820082)
!!

!!
! spotify
[Rats by Balthazar on Spotify](https://open.spotify.com/album/6eIZQoMoV7naXES2HBkxVg)
!!

!!
! youtube
[Rats by Balthazar on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_npZnTRhQ-n_eNjAHdeW47DPeeaqMyywqE)
!!
---
title: "Reflections - Mojave Desert by Floating Points"
date: 2019-08-22T12:00:52+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667849054/music/FloatingPointsReflectionsMojaveDesert.jpg
preview: "Reflections - Mojave Desert by Floating Points"
tags:
- music
- Floating Points
- electronic
---

I love them very much. Especially in nature, especially at night, especially when stars.

!!
! bandcamp
[Reflections - Mojave Desert by Floating Points on Bandcamp](https://floatingpoints.bandcamp.com/album/reflections-mojave-desert)
!!

!!
! itunes
[Reflections - Mojave Desert by Floating Points on iTunes](https://music.apple.com/ua/album/reflections-mojave-desert/1226611591)
!!

!!
! spotify
[Reflections - Mojave Desert by Floating Points on Spotify](https://open.spotify.com/album/77F3DlvE34zoQ0OQs97UBN)
!!

!!
! youtube
[Reflections - Mojave Desert by Floating Points on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mmTdMts3eLTvWGGpOSPDOgxMs3IaVYrW4)
!!
---
title: "Road To Knowhere by Tommy Guerrero"
date: 2019-08-20T12:00:52+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667849054/music/TommyGuerreroRoadToKnowhere.jpg
preview: "Road To Knowhere by Tommy Guerrero"
tags:
- music
- Tommy Guerrero
- indie
---

Excellent soundtrack for the life.

!!
! bandcamp
[Road To Knowhere by Tommy Guerrero on Bandcamp](https://tommy-guerrero-too-good.bandcamp.com/album/road-to-knowhere)
!!

!!
! itunes
[Road To Knowhere by Tommy Guerrero on iTunes](https://music.apple.com/ua/album/road-to-knowhere-bonus-version/1437846004)
!!

!!
! spotify
[Road To Knowhere by Tommy Guerrero on Spotify](https://open.spotify.com/album/5XNcBTBDka0LqtQ7FYJlVh)
!!

!!
! youtube
[Road To Knowhere by Tommy Guerrero on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mSk86dgp59Vknw1EN-RlhMTzq7x2mOXhY)
!!
---
title: "Schlagenheim by Black Midi"
date: 2019-08-06T12:00:41+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667768034/music/BlackMidiSchlagenheim.jpg
preview: "Schlagenheim by Black Midi"
tags:
- music
- Black Midi
- heavy
---

There were days when I only wanted to sit in a dark corner and sway from side to side, hugging my knees. Schlagenheim was the album that kicked me out of that corner.

{{youtube|https://www.youtube.com/embed/TMn1UuEIVvA}}

!!
! bandcamp
[Schlagenheim by Black Midi on Bandcamp](https://bmblackmidi.bandcamp.com/album/schlagenheim)
!!

!!
! itunes
[Schlagenheim by Black Midi on iTunes](https://music.apple.com/ua/album/schlagenheim/1463962813)
!!

!!
! spotify
[Schlagenheim by Black Midi on Spotify](https://open.spotify.com/album/14LuwckQuyWIvVlKrYuLzP)
!!

!!
! youtube
[Schlagenheim by Black Midi on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kDywRWnE1m9W15HG-N59PnP2rm9rUr_vY)
!!
---
title: "Sound Puzzle by 40 Winks"
date: 2019-11-14T12:00:17+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668806158/music/40WinksSoundPuzzle.jpg
preview: "Sound Puzzle by 40 Winks"
tags:
- music
- 40 Winks
- hiphop
---

Old album (2007). If you are planning to chill, take it with you.

!!
! bandcamp
[Sound Puzzle by 40 Winks on Bandcamp](https://projectmooncircle.bandcamp.com/album/sound-puzzle-deluxe-edition)
!!

!!
! itunes
[Sound Puzzle by 40 Winks on iTunes](https://music.apple.com/ua/album/sound-puzzle-deluxe-edition/1041417471)
!!

!!
! spotify
[Sound Puzzle by 40 Winks on Spotify](https://open.spotify.com/album/26VHTyQATgSGj5XzNIYsis)
!!

!!
! youtube
[Sound Puzzle by 40 Winks on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_n2d1iAWNImn5bWtwbjdLfjTPPng5R6kAw)
!!
---
title: "Souvenirs by Emahoy Tsege Mariam Gebru"
date: 2024-10-02T10:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1727853509/music/souvenirs-by-emahoy-tsege-mariam-gebru.jpg
preview: "Every time I think now I heard everything, I find a gem like this one."
tags:
- music
- Emahoy Tsege Mariam Gebru
- piano
- classic
---

Every time I think now I heard everything, I find a gem like this one.

!!
! bandcamp
[Souvenirs by Emahoy Tsege Mariam Gebru on Bandcamp](https://emahoytsegemariamgebru.bandcamp.com/album/souvenirs)
!!

!!
! itunes
[Souvenirs by Emahoy Tsege Mariam Gebru on iTunes](https://music.apple.com/de/album/souvenirs/1716110988?l=en-GB)
!!

!!
! spotify
[Souvenirs by Emahoy Tsege Mariam Gebru on Spotify](https://open.spotify.com/album/1lrApbriCFLDx2Cof0lbxx)
!!

!!
! youtube
[Souvenirs by Emahoy Tsege Mariam Gebru on Youtube](https://www.youtube.com/playlist?list=PLjsHLZnjXpAKMju7DUynRYxSaK9pfWEYS)
!!

---
title: "Superficial by Ouri"
date: 2019-11-18T12:00:37+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668806158/music/OuriSuperficial.jpg
preview: "Superficial by Ouri"
tags:
- music
- Ouri
- live
- Boiler Room
- electronic
---

Watch live if you have time. I am dancing. 

{{youtube|https://www.youtube.com/embed/L7tBRjScJk0}}

!!
! bandcamp
[Superficial by Ouri on Bandcamp](https://ourimusic.bandcamp.com/album/superficial)
!!

!!
! itunes
[Superficial by Ouri on iTunes](https://music.apple.com/ua/album/superficial/1331209468)
!!

!!
! spotify
[Superficial by Ouri on Spotify](https://open.spotify.com/album/32R6LVCceGtQqbxV1RxDMf)
!!

!!
! youtube
[Superficial by Ouri on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_lnYFr2fuEnPqhVnRjpNFQH2yj7K-BAfkE)
!!
---
title: "Synchronschwimmer by Seelenluft"
date: 2019-08-26T12:00:54+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667938919/music/SeelenluftSynchronschwimmer.jpg
preview: "Synchronschwimmer by Seelenluft"
tags:
- music
- Seelenluft
- electronic
---

Nice and fluffy album. Like waves on the sea on a good day.

!!
! itunes
[Synchronschwimmer by Seelenluft on iTunes](https://music.apple.com/ua/album/synchronschwimmer/271991013)
!!

!!
! spotify
[Synchronschwimmer by Seelenluft on Spotify](https://open.spotify.com/album/3KOHPVjPN4ZVSAltWSoPfR)
!!

!!
! youtube
[Synchronschwimmer by Seelenluft on Youtube](https://www.youtube.com/watch?v=gcuv37LaAVs&list=PLAGFqjyb_MqnXG5sc9F_TROOzxUzoNAnv)
!!
---
title: "Terrene by Lauge and Aes Dana"
date: 2023-10-02T11:57:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1723625699/music/terrene-by-Lauge-and-Aes-Dana.jpg
preview: "One of those albums that you can easily dance to, meditate, work, cycle, or chill in your hammock."
tags:
- music
- Lauge
- Aes Dana
- electronic
- ambient
---

One of those albums that you can easily dance to, meditate, work, cycle, or chill in your hammock.

!!
! bandcamp
[Terrene by Lauge and Aes Dana on Bandcamp](https://ultimae.bandcamp.com/album/terrene)
!!

!!
! itunes
[Terrene by Lauge and Aes Dana on iTunes](https://music.apple.com/album/terrene/1658216963?l=en-GB)
!!

!!
! spotify
[Terrene by Lauge and Aes Dana on Spotify](https://open.spotify.com/album/5unjsXGH0ofjkbm6TBUuT0)
!!

!!
! youtube
[Terrene by Lauge and Aes Dana on Youtube](https://www.youtube.com/playlist?list=PL9bGMTJ40heKEodUcccMNyKEyk0HUUq4P)
!!

---
title: "The Deep by Calibre"
date: 2019-11-02T12:00:18+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668273397/music/CalibreTheDeep.jpg
preview: "The Deep by Calibre"
tags:
- music
- Calibre
- dnb
---

I haven’t seen anything like this in a long time.

!!
! bandcamp
[The Deep by Calibre on Bandcamp](https://calibre.bandcamp.com/album/the-deep)
!!

!!
! itunes
[The Deep by Calibre on iTunes](https://music.apple.com/ua/album/the-deep/1210359965)
!!

!!
! spotify
[The Deep by Calibre on Spotify](https://open.spotify.com/album/65hN94M7IG3BjYThIlK1Lx)
!!

!!
! youtube
[The Deep by Calibre on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mg6KWFsh7FpM9J70ppwuk7qFIQySFHLvE)
!!
---
title: "The Fifty Eleven Project by Kasper Bjørke Quartet"
date: 2019-01-05T12:00:16+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667682821/music/KasperBj%C3%B8rkeQuartetTheFiftyElevenProject.jpg
preview: "The Fifty Eleven Project by Kasper Bjørke Quartet"
tags:
- music
- Kasper Bjørke Quartet
- electronic
---

I did not expect this album to be like that, and I liked it anyway. 

!!
! bandcamp
[The Fifty Eleven Project by Kasper Bjørke Quartet on Bandcamp](https://kasperbjorke.bandcamp.com/album/the-fifty-eleven-project)
!!

!!
! itunes
[The Fifty Eleven Project by Kasper Bjørke Quartet on iTunes](https://music.apple.com/album/kasper-bj%C3%B8rke-quartet-the-fifty-eleven-project/1421904399)
!!
---
title: "The Island of Dr Electrico by The Bombay Royale"
date: 2019-10-31T12:00:09+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1668273397/music/TheBombayRoyaleTheIslandOfDrElectrico.jpg
preview: "The Island of Dr Electrico by The Bombay Royale"
tags:
- music
- The Bombay Royale
---

Hello, the young lover of spontaneous dance, today’s issue is for you.

!!
! bandcamp
[The Island of Dr Electrico by The Bombay Royale on Bandcamp](https://thebombayroyale.bandcamp.com/album/the-island-of-dr-electrico)
!!

!!
! itunes
[The Island of Dr Electrico by The Bombay Royale on iTunes](https://music.apple.com/ua/album/the-island-of-dr-electrico/1183942529)
!!

!!
! spotify
[The Island of Dr Electrico by The Bombay Royale on Spotify](https://open.spotify.com/album/0uAvO73fOCoQ5nGAlEYfCf)
!!

!!
! youtube
[The Island of Dr Electrico by The Bombay Royale on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kEg_3_DlSkTQREvGQnh_x0zztaxNJL19E)
!!
---
title: "The music scene by Blockhead"
date: 2019-08-16T12:00:46+02:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667849054/music/BlockheadTheMusicScene.jpg
preview: "The music scene by Blockhead"
tags:
- music
- Blockhead
- electronic
---

This is the first Blockhead album I heard, and it is still in my playlist despite its age. On the fifteen of October,
he will be playing in Kyiv. See you there.

!!
! itunes
[The music scene by Blockhead on iTunes](https://music.apple.com/ua/album/the-music-scene/416288927)
!!

!!
! spotify
[The music scene by Blockhead on Spotify](https://open.spotify.com/album/4i0QEXwMps7KIuVq5PBckJ)
!!

!!
! youtube
[The music scene by Blockhead on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mjjjnehIyiwMX00KbE8K2WE8tnpgbvK14)
!!
---
title: "The Psycho Realm by The Psycho Realm"
date: 2023-10-06T20:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1723625212/music/the-psycho-realm-by-the-psycho-realm.jpg
preview: "Remember how to dance?"
tags:
- music
- The Psycho Realm
- hiphop
---

Remember how to dance?

!!
! spotify
[The Psycho Realm by The Psycho Realm on Spotify](https://open.spotify.com/album/59lHjqrq1OOaplGnJFA7sP)
!!

!!
! youtube
[The Psycho Realm by The Psycho Realm on Youtube](https://www.youtube.com/watch?v=LqwgR_zh_X4&list=PLM5xEe-a6UdrXDbO0nlAhqlDiKXD-Liq2)
!!

---
title: "The Sound Of Africa by Adam Kvasnica"
date: 2019-01-02T12:00:22+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667669351/music/AdamKvasnicaTheSoundOfAfrica.jpg
preview: "The Sound Of Africa by Adam Kvasnica"
tags:
- music
- Adam Kvasnica
- mix
---

Today will be a wonderful mix from Adam Kvasnitsa. And if you still did not subscribe, now is the time.

!!
! mixcloud
[The Sound Of Africa by Adam Kvasnica on Mixcloud](https://www.mixcloud.com/adamkvasnica3/the-sound-of-africa/)
!!
---
title: "Time Zones by Full Bloom"
date: 2024-04-03T20:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1712166911/music/time-zones-by-full-bloom.jpg
preview: "You can judge by the cover sometimes."
tags:
- music
- Full Bloom
- jazz
- ambient
---

This is the case when you look at the cover and know if the album is good. 

This one is good. 

!!
! itunes
[Time Zones by Full Bloom on iTunes](https://music.apple.com/album/time-zones/1715025380)
!!

!!
! spotify
[Time Zones by Full Bloom on Spotify](https://open.spotify.com/album/4aXaGwcgGVXJzZ26gljhnP)
!!

!!
! youtube
[Time Zones by Full Bloom on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_nJQthMSgeRexvrrrQ38b8BaxZlUkXSKe4)
!!

---
title: "Toxicity by System Of A Down"
date: 2024-08-06T18:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1722958791/music/soad-toxicity.jpg
preview: "Brings some memories."
tags:
- music
- System Of A Down
- heavy
---

I was into this kind of music in 2001. And even though  I did not understand the lyrics, this album blew my mind when it came out. At some point, I moved on to other genres, and it disappeared from my playlist a long time ago. 

Today, I stumbled upon it, and it blew my mind again.

!!
! itunes
[Toxicity by System Of A Down on iTunes](https://music.apple.com/de/album/toxicity/273714443?l=en-GB)
!!

!!
! spotify
[Toxicity by System Of A Down on Spotify](https://open.spotify.com/album/6jWde94ln40epKIQCd8XUh)
!!

!!
! youtube
[Toxicity by System Of A Down on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kb1yvg1bLW2yKdKxO1qvzGK7pFl9TuFBw)
!!

---
title: "TRNSMT (BBC 2018) by Intrepol"
date: 2019-01-13T12:00:11+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1667768034/music/IntrepolTrnsmt%28bbc2018%29.jpg
preview: "TRNSMT (BBC 2018) by Intrepol"
tags:
- music
- Intrepol
- live
- indie
---

On the twelve of June, they will be playing in Kyiv. And if you have doubts if you should go, go.

{{youtube|https://www.youtube.com/embed/jWMFpeGYOoE}}
---
title: "Waltz for Koop by Koop"
date: 2024-10-06T18:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1728230343/music/waltz-for-koop-by-koop.jpg
preview: "Somehow, I discovered this album only yesterday."
tags:
- music
- Koop
- jazz
---

Somehow, I discovered this album only yesterday.

Very good for a jazzy evening.

!!
! itunes
[Waltz for Koop by Koop on iTunes](https://music.apple.com/de/album/waltz-for-koop/285952445?l=en-GB)
!!

!!
! spotify
[Waltz for Koop by Koop on Spotify](https://open.spotify.com/album/0X1R9oJfADbmCxXb4II8G8)
!!

!!
! youtube
[Waltz for Koop by Koop on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mm7lA2KKJsem11HlIps83W9ggDBBT8uVQ)
!!

---
title: "What Is Not Strange? by Tashi Wada"
date: 2024-07-25T12:20:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1721902079/music/what-is-not-strange-by-tashi-wada.jpg
preview: "That's my kind of dude. That's my jam."
tags:
- music
- Tashi Wada
- electorinc
- ambient
---

That's my kind of dude. That's my jam.

!!
! bandcamp
[What Is Not Strange? by Tashi Wada on Bandcamp](https://tashiwada.bandcamp.com/album/what-is-not-strange)
!!

!!
! itunes
[What Is Not Strange? by Tashi Wada on iTunes](https://music.apple.com/de/album/what-is-not-strange/1733483496?l=en-GB)
!!

!!
! spotify
[What Is Not Strange? by Tashi Wada on Spotify](https://open.spotify.com/album/0fJ6anj097HH5n2Iy4Gd2f)
!!

!!
! youtube
[What Is Not Strange? by Tashi Wada on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_kEwPwC-oS6epsNHGu0c1y7yUo5jXV7WmQ)
!!

---
title: "Yearning for the Infinite by Max Cooper"
date: 2019-12-08T12:01:28+01:00
image: http://res.cloudinary.com/barhamon/image/upload/v1669064301/music/MaxCooperYearningForTheInfinite.jpg
preview: "Yearning for the Infinite by Max Cooper"
tags:
- music
- Max Cooper
- electronic
---

If you ask me, this album is far better than the previous one.

!!
! bandcamp
[Yearning for the Infinite by Max Cooper on Bandcamp](https://maxcooper.bandcamp.com/album/yearning-for-the-infinite)
!!

!!
> itunes
[Yearning for the Infinite by Max Cooper on iTunes](https://music.apple.com/album/yearning-for-the-infinite/1472730148)
!!

!!
! spotify
[Yearning for the Infinite by Max Cooper on Spotify](https://open.spotify.com/album/2qOai8aBLM3813p4luleGt)
!!

!!
! youtube
[Yearning for the Infinite by Max Cooper on Youtube](https://www.youtube.com/playlist?list=OLAK5uy_mZSHogfyQqvL86iyKf3MWeJoB5jnoD5Vs)
!!
---
title: "The year 2022"
date: 2022-12-30T20:33:55+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1661280156/e5_hike_preparations/trowel.jpg
preview: "This is my 2022 review. For obvious reasons, this year has a titanium shit shovel as a mascot. "
tags:
- life
- me
---

That was a tough year, no doubt. In January, I was happy and planned our summer adventure. We wanted to hike the 
Everest base camp trail.  And in February, I cried between phone calls, helping refugees cross the border and find 
transport or accommodation. 

It's unbelievably dumb. Every time I think about it, it does not make any sense. No gain can justify so much death, 
destruction, and suffering. And the worst thing is that there is no end to this madness.

!! If you want to help Ukrainians, here is where you can do it
! handshake
- There are many pets in the fighting area whose owners were killed or displaced. They need food and medical care. 
[https://uanimals.org](https://uanimals.org)

- There are thousands of artists who defend their freedom. You can help them through this foundation. 
[https://shpytal.com/musicians-defend-ukraine/](https://shpytal.com/musicians-defend-ukraine/)

- I know those guys from my motorcycle life in Ukraine. They were saving life then and do the same now. 
[https://motohelp.ua](https://motohelp.ua)

- Those guys are risking lives saving others on the front line: 
[https://www.hospitallers.life](https://www.hospitallers.life)

- And most importantly, all of that does not make a lot of sense if the army of Ukraine does not have enough rounds, 
warm clothes, vehicles, etc. [https://prytulafoundation.org/en](https://prytulafoundation.org/en)
!!

![Me standing in front of the melting glacier](https://res.cloudinary.com/barhamon/image/upload/v1663791911/e5/day%2010/10_ibvnqt.jpg)

At some point, my wife and I agreed that we needed to disconnect because it was overwhelming. We went on a two-week 
hike, which turned out to be the best vacation we ever had. You can read about it here: 
[We crossed the Alps](/post/crossers_of_the_alps).

Job-wise, there are no significant changes. I've done a ton of technical interviews. And I got much better at helping 
candidates navigate through the task. Oh, I got an email saying management put me on the top performer's list. It 
looks like I am doing a good job.

I was not as active as I wanted to be in the open-source side of building software thing. Those are the pull requests 
I closed:

- [Semantic-Org](https://github.com/Semantic-Org), / ,[Semantic-UI-React](https://github.com/Semantic-Org/Semantic-UI-React), / ,[fix: make typings compatible with @types/react@18 #4356](https://github.com/Semantic-Org/Semantic-UI-React/pull/4356)
- [vityafx](https://github.com/vityafx), / ,[serde-aux](https://github.com/vityafx/serde-aux), / ,[field_attributes: add deserialize_datetime_utc_from_seconds #28](hhttps://github.com/vityafx/serde-aux/pull/28)

And those are the books I read this year:

- [The Manager's Path](/post/the_managers_path)
- [Linux Kernel Development](/post/linux_kernel_development)
- [The End of Everything](/post/the_end_of_everything)
- [Rust for Rustaceans](/post/rust_for_rustaceans)

I hope that next year will be more productive.

![Oil painting on the wall. No cat in sight.](https://res.cloudinary.com/barhamon/image/upload/v1672412787/2022/cat.jpg)

At some point, I wanted to draw a cat. And you know, cats are hard to draw. I also spent some time making noises, but 
not enough to publish it somewhere. Maybe next year.

![Fosdinovo castle neighborhood](https://res.cloudinary.com/barhamon/image/upload/v1672412787/2022/fosdinovo.jpg)

Yeah, life is so unpredictable. If in January, someone told me that instead of everything I wanted to happen, Russia 
would invade Ukraine, then we would cross the Alps and finish the year next to the castle of Fosdinovo, I would be 
surprised. And that looks like a lesson that there is no reason to plan something big. Which I refuse to learn.

See you next year.
---
title: "2023 recap"
date: 2023-12-30T16:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/tmb-2023/day%205/7_lavvto.jpg
preview: "Unfortunately, that’s a bad sign when you start a year review with the word unfortunately, but what can I do?"
tags:
- life
- me
---

Unfortunately, that’s a bad sign when you start a year review with the word unfortunately, but what can I do? 
Unfortunately, there is still no sign of the war ending. Most Ukrainians understand that If they give up, those who 
will survive occupation will go to die in a war with Georgia, Armenia, Moldova, Latvia, Kazakhstan, Finland, or you 
name it, under the Russian flag. And if someone hopes that by some miracle Russia will stop, well, it will not stop 
from the inside. Most Russians are okay with what is going on.

!! If you want to help Ukrainians, here is where you can do it
! handshake
- There are many pets in the fighting area whose owners were killed or displaced. They need food and medical care.
[uanimals.org](https://uanimals.org)

- I know those guys from my motorcycle life in Ukraine. They were saving lives then and do the same now. 
[motohelp.ua](https://motohelp.ua)

- Those guys are risking lives saving others on the front line: [hospitallers.life](https://www.hospitallers.life)

- Most importantly, all of that does not make much sense if the army of Ukraine does not have enough rounds, warm 
clothes, vehicles, etc. [prytulafoundation.org](https://prytulafoundation.org/en)
!!

## What I did do this year? 

### Software: 

This year I had no contributions to other projects but merged a few in my own. It was surprising that someone used my 
stuff and even wanted to improve it. 

The list of software that I maintain is growing. 

- [BAR](https://github.com/Lurk/bar) static site generator. Is in a super early stage, but this blog is a working demo. 
- [YAMD](https://github.com/Lurk/yamd) yet another markdown (flavor)
- [Clink](https://github.com/Lurk/clink) cross-platform URL cleaner. 
- [Cloudinary Rust API](https://github.com/Lurk/cloudinary_rs)
- [Serve](https://github.com/Lurk/serve) a simple tool to serve static files over the network. This blog is a working demo. 

All my side projects are now in Rust. Still getting in fights with the borrow checker now and then, but most of the 
time it is a butter-smooth experience.

The whole year I was using Neovim as my main IDE. I tried some of the prebuilt config distributions and settled on the 
[AstroNvim](https://astronvim.com) with some [tweaks of mine](https://github.com/Lurk/astronvim_user). The reason I 
got into it was rust-analyzer. I have not found a way to make it work with JetBrains stuff, and for some reason, I do 
not like vsCode. So far there are two things I still have not figured out: 

+ debugging. I know about dap and dap-ui. Just didn’t find time to figure out how to configure it. 
+ Autosave + autoformat brakes undo/redo and makes me crazy. 

Oh yeah, and last month of a year I was busy with Advent of Code. I am still on day 17, but I am not planning to give 
up.

![nvim](https://res.cloudinary.com/barhamon/image/upload/v1703948622/2023/nvim.png)

### Adventures:

This year I managed to have two big adventures:

- [TET Turkey](https://barhamon.com/post/tet_turkey_ride.html). 
- [Tour du Mont Blanc hike](https://barhamon.com/post/tmb-2023.html). 

And a few small ones. Which is more than usual, but I like it and do not plan to stop. This year I tried multiday 
bikepacking. And looks like I am going to do more of it next year. 

![adventures](https://res.cloudinary.com/barhamon/image/upload/tet-turkey/ride/bikes/1_-_9_afzitc.jpg)

### Music:

This was the most productive year for me as a musician. I recorded five tracks. At some point, I even started to think 
about releasing an album on vinyl, but haven’t found the inspiration/time to make enough tracks.

{{soundcloud|https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/playlists/1579457740&color=%232b2a2a&auto_play=false&hide_related=false&show_comments=true&show_user=true&show_reposts=false&show_teaser=true}}

### Paintings:

I really like how oil behaves on canvas, and would like to spend more time exploring it. But there are so many things 
to do and so little time, looks like one painting in a year is my pace.

![everything will be all right](https://res.cloudinary.com/barhamon/image/upload/v1703951412/2023/everything-will-be-all-right.png)

### Books:

I was so busy with everything else that there are only four books that I managed to finish this year: 

- [The Dream Machine by M. Mitchell Waldrop](https://barhamon.com/books/the_dream_machine.html)
- [Systems design interview by Alex Xu](https://barhamon.com/books/systems_design_interview.html)
- [Designing Data-Intensive Applications by Martin Kleppmann](https://barhamon.com/books/designing_data_intensive_applications.html)
- [Point and Line to Plane by Wassily Kandinsky](https://barhamon.com/books/Point-and-Line-to-Plane-by-Wassily-Kandinsky.html)

I want to read more fiction next year. 

### Work-related stuff: 

This year I got promoted to a lead developer at Check24. And I thought that there would be no changes in my position 
for the next years. But a few months back my manager asked if I wanted to try myself in a team lead role and I said 
yes. Now I manage a team of three engineers and figuring out how to measure my productivity in a new role. 

-----

See you next year and happy holidays.
---
title: "2024-11-23 Photo roll"
date: 2024-11-23T13:30:00+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1732364799/rolls/2024-11-23/25_vedisk.jpg
preview: "Foggy Munich, sunny Florence"
tags:
- life
- photo roll
---

I was infinitely more active on social media compared to me now. There were days when I would post multiple posts on
Twitter, Facebook, and Instagram. I can't do it anymore. I don't know why.

I am trying to be active on Mastodon. I like the idea of a decentralized, algorithm-free social network based on open
standards, but it feels silly most of the time. On the other hand, I really like the “This Day 20 years ago you were
doing this” feature of social networks. And it keeps me going.

!!
! link
In case if you want to see how bearded man does silly stuff, live

here is the link: [barhamon@mas.to](https://mas.to/@barhamon)
!!

I want to try a new format. Once in a while, I would gather my favorite pictures and write something about them. Now,
when the gallery is done, it finally makes sense.

Okay.

My toe finally healed enough to start cycling to work again. I forgot how fast I am on a bicycle and how much I enjoy
it. It was also foggy, mad maxy, with rare sunny days.

Then, I went to Florence for the RustLab conference. I geeked out as hard as I could and met many nice people. I want
to do it next year, but definitely with a couple of extra days because my schedule was tough.

Regular days.

{{cloudinary_gallery|barhamon&roll-2024-11-23}}
---
title: "The Advent of Code 2023"
date: 2024-02-17T20:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1708198221/header/Advent-of-Code-2023.png
preview: It is time to be honest, and say \"I will not finish it\". Come on, it is the middle of February.
tags:
- software
- rust
- Advent of Code
---

It is time to be honest, and say "I will not finish it". Come on, it is the middle of February. But it was a good run 
anyway.

If you like: WTF is [Advent of Code](https://adventofcode.com/2023/about) <-- click that link.

For the first time, in many years since I first heard about it, I found time to participate. I solved twenty and a half 
out of twenty-five puzzles. Up until tenth day, I was able to keep up with a few hours after work schedule. After that, 
puzzles became more complex, and I started to lag behind. And day twelve was the day when I could not solve second part 
of a puzzle at all.

I used Rust, and it was a good choice. I do not think I would be more productive with any other language. At the same 
time, I feel like now I have fewer skill issues than before. This is the exact result I hoped for. So, no regrets.

One of unexpected side effects was that I started to feel numbers. I know that it sounds weird, but I can not find a 
better way to describe it. You know when you look at the number and feel the urge to deduct one and divide it half. 
Which turns out to be the answer you are looking for. That kind of feeling.

Will I participate in this year’s Advent? I hope so. I enjoyed the puzzles and the feeling when you finally figured 
out how to solve them. So yeah, if nothing out of the ordinary (the bar for the ordinary is already really high) 
happens, I will participate in the next Advent of Code. 

Below are my notes. If you still want to solve this year’s puzzles, SPOILER ALERT. 

!!
! github
You can find the code and unedited notes at the [github repo](https://github.com/Lurk/ac2023). 
!!

## [Day 1](https://adventofcode.com/2023/day/1)

Off by one errors everywhere. 

## [Day 2](https://adventofcode.com/2023/day/2)

Today's calculation will have two parts: `one` and `two`. 

The initial idea of using `PartialOrd` to compare Round's was bad. 

## [Day 3](https://adventofcode.com/2023/day/3)

IDK if I should support all previous days. It seems like little work.

Today's task is much more complex than previous ones. Tests are required. 

There is a huge potential to optimize, but it is Sunday, and I still need to finish the first Fallout.

## [Day 4](https://adventofcode.com/2023/day/4)

Part one was surprisingly easy. 

Part two was hard to understand, probably because of the fever.

## [Day 5](https://adventofcode.com/2023/day/5)

The brute force approach takes too much time.

`rayon` goes brrrr

The test case for part two passes, but the answer is incorrect. I am a sad panda. 

Oooooh. The range in maps is not inclusive. So, I passed the first stage and test assignment by luck :)

## [Day 6](https://adventofcode.com/2023/day/6)

That was easier than day 1.

## [Day 7](https://adventofcode.com/2023/day/7)

The day when my neat little abstraction broke on part two, and now it is not as beautiful as it can be.

## [Day 8](https://adventofcode.com/2023/day/8)

Today is the day when brute force is no go. 

After a couple of hours of looking at the debug output - we are looping with the same intervals. Which means what we 
need to do is find all loop lengths and the LCM of those. 

My math is rusty. Let’s do naive LCM.

The result in 3m is ok. I guess.

I could not relax, so I googled how people calculate LCM. It turned out that more than 2000 years ago, our boy Euclid 
had already [figured it all out](https://en.wikipedia.org/wiki/Greatest_common_divisor#Euclidean_algorithm).

Now it is `blazingly (TM)` fast. 

## [Day 9](https://adventofcode.com/2023/day/9)

To solve today's riddle, I wrote the least amount of code.

## [Day 10](https://adventofcode.com/2023/day/10)

I was trying to clear the map from unconnected pipes instead of following the trail. I spent a few hours before 
realizing there was an easier way to solve part one. 

Part two. 

Ok, first idea, since we have our loop of pipes from part one. Let’s replace all tiles that are not connected to the 
main loop with zeroes. 

I think I can simplify the loop itself by shortening 180 turns. For example, this transformation: 

```Plain Text
0000
0F70
0||0
```

Can be:

```Plain Text
0000
0..0
0F70
```

Without losing information.

That was a bad idea. I spent too much time implementing it before realizing it did not lead me anywhere. The better 
one is to follow the loop and mark left/right. One of the sides will be inside and the other outside. Fill the void 
and count. 

The code is ugly as hell, but it gives the correct result. 

I added some love to it before starting the next day. Also, the way I did pipes sucks. 

```rust
Tile::Pipe(Direction::North, Direction::East)
```

That's an `L` pipe. Yeah, I know. It’s not obvious at all. 

## [Day 11](https://adventofcode.com/2023/day/11)

Somehow, columns are hard. I have spent too much time implementing universe expansion. Everything else was easy.

Part two does not fit into memory. Even if I make it fit into the memory with 
[bitvec](https://docs.rs/bitvec/latest/bitvec/) or a similar bit-manipulating library, the amount of data to process 
will be too big to process in a sane amount of time. 

The current idea is to expand the universe a few times. Find the speed at which galaxies are moving away from each 
other. Knowing the speed end distance should be easy to find.

I am already lagging one day behind, so the best move is to go to sleep.

That Idea about speed was terrible. I spent too much time figuring out how to measure the expansion rate, and none of 
my measurements made sense. Anyway, the working idea is that instead of expanding the universe, you can gather the 
position of galaxies and manipulate those positions. 

I will not rewrite the first part. 

## [Day 12](https://adventofcode.com/2023/day/12)

TBH, I do not know where to start. I will start with a nap.

Part one was hard. I had no clue where to start until I saw this post: 
[Solving Nonograms with 120 Lines of Code](https://towardsdatascience.com/solving-nonograms-with-120-lines-of-code-a7c6e0f627e4).

Again. Tests are green, but the result is wrong :(

I gave up and looked at Reddit. This was the test case that I was missing `??#???##?? 1,3`

I did not solve part two with brute force. Despite spending 46 nanoseconds on checking each combination, some rows had 
so many of them that solving them requires a few hours. 

With a Christmas party and hangover after it, I am lagging five days behind :(

Ok. Instead of generating all possible combinations, I can use a tree. `??#???##?? 1,3` can be 

```Plain Text
                            _/\_
                          0|0  0|0
                    -------.    #------             1) '.', 2) '#' - 1,2 are possible
                  1|0     1|0  1|1    1|1 
                   .       #    .      #            1) '..', 2) '.#', 3) '#.', 4) '##' - 1,2,3 are possible  
                  2|0     2|1  2|1     
               ----#--     #  --#------             1) '..#', 2) '.##', 3) '#.#'  - 1,3 are possible 
              3|1    3|1     3|1      3|1
          -----.----  #       .   -----#---         1) '..#.', 2) '..##', 3) '#.#.', 4) '#.##' - 1,4 are not possible
         4|1      4|1            4|1     4|1
        --.----    #-------       .     --#----     1) '..#..', 2) '..#.#', 3) '#.##.', 4) '#.###' - 1,2,4 are possible
       5|1   5|1  5|1     5|1          5|1    5|1
        .     #    .       #            .      #    1) '..#...', 2) '..#..#', 3) '..#.#.', 4) '..#.##', 5) '#.###.', 
       6|1   6|1          6|1          6|1              6) '#.####' - 1,2,4 are possible
        #     #            #            #           1) '..#...#', 2) '..#..##', 3) '..#.###', 4) '#.###.#' 
       7|1   7|1          7|1                           - 1,2,3 are possible
  ------#     #-------     #                        1) '..#...##', 2) '..#..###', 3) '..#..####' - 1,2 are possible
 8|1   8|1   8|1    8|1   
  .  ---#-    .      #                              1) '..#...##.', 2) '..#...###', 3) '..#..###.', 4) '..#..####'
    9|1 9|1  9|1                                        - 2,3 - are possible
     .   #    .                                     1) '..#...###.', 2) '..#...####', 3) '..#..###..' 
     ^        ^                                         - 1,3 are possible
```

Where (spring index) | (group index)

Now, while I can eyeball what is possible and what is not, somehow, I can not think of a way to solve it elegantly :(

Yeah, so a few hours and a bunch of ifs later, tests are passing. The first part produces the same result as before. 
Everything is super fast. But, the result is `too low`. 

I added more tests. They are also green. The result is still wrong. It may be time to give up and go to Reddit. 

All test cases that I found on Reddit are also green. 

I am giving up. I can't come up with a test case that would fail. I will go and do other puzzles.

## [Day 13](https://adventofcode.com/2023/day/13)

Part one was easy, which had a healing effect on my ego after the previous day's failure. 

The main struggle in the second part was getting what I needed to do. But I managed.

## [Day 14](https://adventofcode.com/2023/day/14)

Part one is solved by splitting and sorting.

I knew that brute force would not work. I tried anyway, and even a small test case was not finished in a reasonable 
time. Debug output shows that the results are cycling after some number of iterations. The current plan is:

- cycle detection
- cycle length/start extraction 

Easy.

TBH, I did not expect it to be easy. But it was.

## [Day 15](https://adventofcode.com/2023/day/15)

Part one is surprisingly easy.

Every day, I fear that it will be day 12 all over again. But not this day.

## [Day 16](https://adventofcode.com/2023/day/16)

Moving the light beam was easy since I already had stuff like `Map` and `Direction` from previous days. Only 
complication was the fact that there is a lot of movement, and you need to remember from which tile to which direction 
you have already moved.  

Also, today, I managed to do three parts before going to sleep. Kind of proud of myself :)

Part two was even easier. I thought that I would need to use some black magic to speed things up, but everything was 
fast enough already.

## [Day 17](https://adventofcode.com/2023/day/17)

Of course, I can google `Dijkstra's algorithm`, but it would be too easy. 

I am so proud of myself. My homegrown algorithm does find the shortest path on test data in only 10 minutes :) It dies
with stack overflow on the actual data. It may be time to call Dijkstra for help.

I spent some time reading [Dijkstra's algorithm](https://en.wikipedia.org/wiki/Dijkstra's_algorithm) and can't figure 
out how to apply the no more than three steps in one direction rule to it. But reading it gave me an idea that I want 
to try. 

For every point on the map, we have a few directions we can go. The amount of those directions depends on the three 
previous ones. This means that for every pair of `([Option<Direction>;3], index)`, we can remember the minimum 
distance. 

That works very well. The test run finishes in 0.04 seconds, much better than 10 minutes. Run on actual data still 
fails with stack overflow. 

[LLDB](https://lldb.llvm.org/) shows that Iterators occupy too much space on the stack. I replaced them with a for 
loop. It’s still not good enough. The question is, should I continue to look for a way to optimize the amount of 
branches, or should I look for a completely new approach.

Ok. The way to reduce branches is to pass a reference to the current best, and if the current path produces greater 
value, then there is no sense in continuing. The algorithm gives a correct result on test data and finishes on actual 
data with the result `1044`,  but `That's not the right answer; your answer is too high. Curiously, it's the right 
answer for someone else; you might be logged in to the wrong account or just unlucky`. Yes. That's who I am. Unlucky :)

In the current implementation, I am getting the `current_best` from the path only when the algorithm is on the last 
tile because of caching, which happens only a few initial times. At the same time, the cache contains the missing part 
of the calculation. I can improve that part while thinking about fixing the errors.

While updating that thing, I have one more idea regarding `current_best` instead of `usize::MAX` I can use the worst 
case, which is the longest path times the highest tile value. Where the longest past is the length of 
`(side 1 + side 2) * 9`. 

That made the test fail. This makes me think that `current_best` and caching prevent us from visiting some tiles. 
Without cache, everything is too slow, so I am back to the same question - should I continue looking for a way to 
optimize the number of branches, or should I look for a completely new approach? Looks like optimizing branches is not 
as easy as I hoped. It’s time to get off the keyboard and think of a new approach. 

The best idea I come up with so far is to unroll recursion. I will do that and see how it goes.

I am not smart enough to unroll that recursion. Instead, I’ll try to do some kind of `Dijkstra's algorithm`. Here is 
what the rough idea looks like. Initialize the visited vector with `None`. Mark the start index as Some(0). For every 
`visited tile`we get all `unvisited neighbors` with a list of values from `visited tiles`. For every 
`unvisited neighbor`, we get the lowest value from the list and put the sum of that value and the value of the current 
tile to the visited vector. The lowest value at the end will be the shortest distance.

The first iteration comes close to an actual value but is not good enough. Best guess when `unvisited neighbor` has 
`visited` ones that have the same value, `11` and `11`, for example, I do not know which one to choose, so I am 
choosing the first one. That will impact the route later because of the `rule of three` from the task.

Let's zoom out a bit. 

```Plain Text
1 2 3 4 5
2 2 3 4 5
3 2 3 4 5
4 2 3 4 5
5 2 3 4 5
```

Consider how I can get to the tile (3,3):

- (0,3) E (1,3) E (2,3) E (3,3) from E with 3 E
- (1,2) S (1,3) E (2,3) E (3,3) from E with 2 E
- (2,1) S (2,2) S (2,3) E (3,3) from E with 1 E
- (3,0) S (3,1) S (3,2) S (3,3) from S with 3 S
- ...

This means my node looks like this:
`(x,y, direction_from_where_we_got_here, amount_of_steps_to_the_same_direction) -> distance`. 

It took me some time to make it work. But in the end, I have two steps. First - building a graph. Second, implement a 
good enough `Dijkstra algorithm` to find the shortest path on that graph. It can be better. But it is good enough 
already.

Part two required building a slightly different graph, which was hard because of a New Year celebration.

Happy New Year, BTW.

## [Day 18](https://adventofcode.com/2023/day/18)

Part one was relatively easy to build since I had already built most moving parts (Map, Directions).

The current map expansion is way too slow for part two. 

Ok. I made it faster. Now, I am running out of memory. Even if I use `u8` instead of `char` as my tile, it still tries 
to allocate more than 150 gigs of RAM. 

There should be a formula to calculate the area of a polygon. 

It turned out there is [Shoelace formula](https://en.wikipedia.org/wiki/Shoelace_formula) with straightforward 
implementation. 

The answer is `too low`. Hmmm.

It gives almost the expected result on test data:

- 952404941483
- 952408144115

I suspect the Shoelace formula does not account for the 'trench', which should be our perimeter. 

No. It is too big. 

Can it be half of it? It is. Almost. I don't know why (I am too sleepy to figure it out), but the difference between 
the Shoelace formula result and the expected area is `perimeter / 2 + 1`. 

## [Day 19](https://adventofcode.com/2023/day/19)

Part one has complicated rules to encode. And maybe I over-engineered it a bit.

The same is true for part two. Even after I wrapped my head around what needed to be done, keeping all requirements in 
mind was hard. Proper naming helps a lot. 

## [Day 20](https://adventofcode.com/2023/day/20)

It is this kind of day; tests are green, but the result on actual data is `too low`. 

I don't see any obvious error and am too sleepy to continue looking. 

Yep. That was a bug in parsing. Let’s see what’s in part two.

Part two always starts with "I can brute force through it.” Didn't work this time.

While looking at various debug outputs, I noticed a pattern:

```Plain Text
button press# 3778, origin: 7, value: High
button press# 3888, origin: 28, value: High
button press# 3906, origin: 53, value: High
button press# 4050, origin: 38, value: High
button press# 7557, origin: 7, value: High
button press# 7777, origin: 28, value: High
button press# 7813, origin: 53, value: High
button press# 8101, origin: 38, value: High
button press# 11336, origin: 7, value: High
```

I need all those origins to be High at the same button press. Which looks like a task for the `LCM`. I will check it 
out tomorrow.

Yeah. I was on the right track yesterday. With one caveat, the answer is an `LCM` of button presses amount. The count 
should start from 1, not from 0.

# [Day 21](https://adventofcode.com/2023/day/21)

The first part was straightforward to brute force. Just flip tiles on the map and then count the values. 

In part two, it was obvious from the beginning that the growing map would not fit the memory. 

First Idea. I will have a queue where I will push back the next positions on the map and pop front positions that I 
need to calculate on the current step.

Hm. It gives me more positions that I need. Oh. Oh. One point gives four possible points on the next step. Each point
on the next step will return to the previous point. And I need only one of those. I can't figure out anything smarter 
than a HashSet.

It takes too long to compute 1000 steps on test data. I need to figure out if the result has a repeating pattern. The 
result is growing with each step. The rate of growth is also growing. What about that rate?

There is a pattern. Starting from step 39, the second derivative is `2` on test data in every eleventh step. 

```Plain Text
39: 944 d: 50, d2: 2
40: 989 d: 45, d2: -5
41: 1053 d: 64, d2: 19
42: 1107 d: 54, d2: -10
43: 1146 d: 39, d2: -15
44: 1196 d: 50, d2: 11
45: 1256 d: 60, d2: 10
46: 1324 d: 68, d2: 8
47: 1383 d: 59, d2: -9
48: 1464 d: 81, d2: 22
49: 1528 d: 64, d2: -17
50: 1594 d: 66, d2: 2
51: 1653 d: 59, d2: -7
52: 1735 d: 82, d2: 23
53: 1805 d: 70, d2: -12
54: 1853 d: 48, d2: -22
55: 1914 d: 61, d2: 13
56: 1988 d: 74, d2: 13
57: 2072 d: 84, d2: 10
58: 2145 d: 73, d2: -11
59: 2244 d: 99, d2: 26
60: 2324 d: 80, d2: -19
61: 2406 d: 82, d2: 2
62: 2479 d: 73, d2: -9
63: 2579 d: 100, d2: 27
64: 2665 d: 86, d2: -14
65: 2722 d: 57, d2: -29
66: 2794 d: 72, d2: 15
67: 2882 d: 88, d2: 16
68: 2982 d: 100, d2: 12
69: 3069 d: 87, d2: -13
70: 3186 d: 117, d2: 30
71: 3282 d: 96, d2: -21
72: 3380 d: 98, d2: 2
```

And while all other values are all over the place, the sum of the second derivatives of those ten steps is always 16. 
There are two problems. While I can eyeball it, I can't come up with a way to detect such a pattern, and most 
importantly - I am still trying to figure out how that can help me solve my problem. 

The map from the test input is square, and eleven is the length of a side.

Before I think about how that can help me and then how to detect such a pattern, I want to check if such a pattern even 
exists on real input.

I can not eyeball it on 1000 steps. After adding grouping by the second derivative, the pattern is visible there.
Starting from step 132, `0` repeats every 131 steps. 131 is the length of a side in the actual input. Looks like this 
is the way to detect a pattern. Get a side length, and iterate through the steps until a second derivative is repeated.

Let's figure out what to do with it tomorrow.

It has been a long time since I wrote the previous sentence. I got sick and was in bed without any energy to continue. 
Now, I hope I am back to pre-sickness performance levels. Let’s figure out what’s left. 

131 does not help at all. 26501365 - is the number of steps. It is not divisible by 131. 26501365 - 133 is also not 
divisible by 131. So yeah, while there is a pattern, I do not see how it can help me.

I was playing a bit with numbers. IDK if that has a meaning but **2023**00 * 131 + 65 = 26501365

```Plain Text
65 + 131 * 0 = 3_917
65 + 131 * 1 = 34_920
65 + 131 * 2 = 96_829
65 + 131 * 3 = 189_644
65 + 131 * 4 = 313_365
65 + 131 * 5 = 467_992
```

Does it make any sense?

It does. Oh boy, it does. d1 - first derivative. d2 - second derivative.

```Plain Text
N     Value       d1         d2
0    3_917
1    34_920      31_003
2    96_829      61_909     30_906
3    189_644     92_815     30_906           
```

This means I can use simple math to calculate needed values like that.

```Plain Text
1: 3_917 + 31_003 + 30_906 * 0 = 34_920
2: 34_920 + 31_003 + 30_906 * 1 = 96_829
3: 96_829 + 31_003 + 30_906 * 2 = 189_644
4: 189_644 + 31_003 + 30_906 * 3 = 313_365
5: 313_365 + 31_003 + 30_906 * 4 = 467_992
```

Now I need to repeat that 202300  times. Easy.

-----

As an afterword, I can say that time I spent on Advent of Code was well spent. I had a lot of fun, and I am looking 
forward to the next one.

---
title: "EDT Finland preparations"
date: 2024-01-28T22:20:55+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1706474234/edt-finland-preparations/hardtail_bike_with_paniers.jpg
preview: "Last year, I found the European Divide Trail website, and I have been thinking about it since."
tags:
- adventures
- bikepacking
- preparations
---

Last year, I found the European Divide Trail website, and I have been thinking about it since. It is time to think 
about it seriously. 

[EDT](https://europeandividetrail.com/) is a bicycle trail that is 7,600 km long. It starts in Norway and ends in 
Portugal. I will only be able to do part of it. It requires at least 32 days, 6 hours, and 28 minutes 
([current record](https://europeandividetrail.com/2022/08/18/finisher-5/)), and since I am not in a record-breaking 
business, I will need at least five times more time. I do not have that much time. What I have is two weeks.

Two weeks, minus the time for the flight there and back, and minus two days for packing and unpacking. This gives me 
ten full riding days. 

The first few sections of EDT are primarily flat. I can enjoy riding around 100km per day. All my previous experience 
says that the daily distance budget should include 20% exploring tax. That gives me 80 km per day, or 800 in total. 

There is an airport in Kirkines, Norway, which is 60 km from the start point. All flights there are from 8 to 20 hours, 
which sucks. I can’t bring a gas canister with me on a plane. Without it, I can’t cook. Google does not know about 
shops in the airport area, but in Kirkines city, I found four. This means I must arrive in the Kirkines early in the 
morning, assemble the bike, ride to the town (12 km), buy everything I need, and ride back to the camping spot. That 
will be a tough day. 

The next big question is how to get my bike there. There are a few options that I am aware of:

- Specialized bicycle delivery companies. The price varies from 200 to 300 euros. If I understand it correctly, they 
do everything. I just pay. 
- Deutsche Post. You can send your bicycle across Europe for 60 euros if I read it correctly. You also need to pack it 
by yourself 
([box on Amazon](https://www.amazon.de/Fahrradkarton-verpackung-1600-DHL-Versand-TopQualit%C3%A4t/dp/B017RPXJ12)). 
What I did not get is the delivery address. Will it wait for me in the post office, or do I need to rent some storage 
room? I will keep googling.
- Bring it with me on an airplane. It is a very straightforward option, and in most air companies, it costs as one 
additional piece of luggage. One caveat, however. On some random thread, I read a story about how an airline lost 
bikes in connection to Kirkines, and guys spent half of their vacation in Kirkines waiting for their bikes. 

¯\_(ツ)_/¯

I prefer to send my bike by post in advance and then collect it on arrival. And if that is not possible, I’ll fall 
back to the airplane option. 

Ok, let’s say I and my bike survived the flight there. I need a destination. Preferably an airport around 800 km away. 
And there are two. 

- Oulu, Finland - [828 km](https://www.komoot.com/tour/1411423407). 
- Luleå, Sweeden - [723 km](https://www.komoot.com/tour/1419651055).

For no particular reason (it is shorter), I like the Luleå option more. On the other hand, Oulu is a bigger city, so 
it would be easier to find a bike box to pack my bicycle for the flight back. On the other hand, going to Sweden means 
that I’ll cover more EDT.  I need to spend more time on the map to decide. And have a few months for that. 

{{komoot|https://www.komoot.com/tour/1419651055/embed?profile=1&share_token=atUSwgiFR31p9YUKMB74tZdgDndE1V5lWrf6RnOLJmupREhtTz}}

## Gear

I need a warmer sleeping bag. I froze on my [Turkey adventure](https://barhamon.com/post/tet_turkey_ride.html) and do 
not want it to happen again. After reading hundreds of reviews, I settled on a 
[Western Mountaineering Megalite](https://www.westernmountaineering.com/product/megalite/). Also, I imagine myself 
riding the whole day and falling asleep without a proper shower. A sleeping bag liner is a good idea.

Since I’ll do it in summer, and at least half of my way is above the Arctic Circle (how cool is that!?), it will be 
bright 24/7. Maybe I need to bring night shades instead of a headlamp. 

Fishing is allowed in Finland and Sweden. When I think about grilled fish, I want to bring fishing gear. Will I have 
the time and energy to do it? I don’t know. But that shorter route to Luleå does look more tempting now. I must figure 
out how to strap my fishing rod to a bike. 

I have two saddlebags. They hold all my gear. I need to buy an additional frame bag for tools and spare parts, a 
handlebar bag for quick access things (snacks), and a packable backpack for emergency storage. IDK about the last one, 
but have a feeling that I need it.

I also plan to get to the shop and pay a mechanic to watch me maintain my bike with the tools I will bring. In theory, 
I should be able to get away with [leatherman signal](https://www.leatherman.com/de_DE/signal-439.html), 
[Blackburn Big Switch Ratchet Multi-Tool](https://www.blackburndesign.com/p/big-switch-ratchet-bike-multi-tool/350160000100000027.html), 
tube patch kit, pump, spare tube, zip ties and duck tape. 

I read much info on solar panels, hub chargers, etc., and ultimately, I decided to bring two power banks with me. It 
should be enough to get me to the place with electricity to charge them back. All countries I’ll pass have the same 
standard electrical outlet, so I need only one charger.

Thousands of lakes and rivers are on my way from which I can filter my drinking water. So I do not need to worry about 
water. Food-wise, there is a grocery store every 150-200 km, which means I must be able to carry three days worth of 
food on my bike. Maybe I need that packable backpack after all. 

Do not forget a rope to hang my food bag!

## Pack list:

### Camp:

- Tent
- Sleeping pad
- Sleeping bag
- Sleeping bag liner
- Headlamp
- Nightshades 
- Lighter 
- Toiletries 
- Poopkit
- Chair 
- Rope
- Book
- First aid kit
- Sunscreen
- Insect repellent

### Food/water:

- Gas stove
- Pot
- Cup
- Spork 
- Water filter
- Dirty water container 
- Few freeze-dried food packs as an emergency stash
- Tea
- Snacks
- Knife

### Bicycle stuff/tools:

- Spare tube
- Tube patch kit
- Multitool
- Ratchet 
- Pump
- Water bottle (2)
- Lightweight cable + lock
- Zip ties 
- Duck tape 

### Clothes:

- Shorts
- Tights
- Puffy jacket
- Rain gear
- Camp clothes
- Gloves (2)
- Socks (3)
- Underwear (3)

### Electronic:

- phone
- Powerbank (2)
- Charger and cables

-----

Wish me luck :)

-----

## 17.02.2024 UPDATE

After talking to people, there is a few updates. First of all, I can try to find a shop in Kirkines and ask them if I 
can send them bike in advance. They will keep it for me, and I will pick it up when I arrive. I have not found a bike 
shop though. 

And the second is a gear list update. It lacks a few important things.

- Knife
- First aid kit
- Sunscreen
- Insect repellent

Which now are in the list.
---
title: "How not to rewrite everything everytime :)"
date: 2020-12-07T20:01:08+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_600/v1609664695/header/how_not_to_rewrite_everything_everytime_fevxnv.png
preview: "Did you know that webpack can inject assets to your Ejs template without touching the template part?"
tags:
- webpack
- ejs
- HtmlWebpackPlugin
- raw-loader
- software
---

Recently I had a task - add cache busters in the existing React project.

It is pretty straightforward - open webpack config, add [contenthash(:number)] to output.filename, and that's it.

Give me a sec, I said, and open my IDE.

But that was not so easy because links to resulting js files were hardcoded to ejs templates. ExpressJS serve those 
templates because some variables should be inserted there on request time.

My first thought was to throw everything out and rewrite it with proper SSR. But that would take more time than I can 
afford on that task.

o what I need is to somehow add links to templates by Webpack. And HtmlWebpackPlugin, with the help of raw-loader, can 
do that.

-----

First of all, make sure that HtmlWebpackPlugin and raw-loader are installed in the project.

```bash
npm install html-webpack-plugin raw-loader --save-dev
```

Then we will tell HtmlWebpackPlugin to get our existing templates, add there links to assets, live rest as it is, and 
save as new templates for the ExpressJS server.

```typescript
module.exports = {
  entry: {
    admin: './src/admin.js',
    user: './src/user.js',
  },
  output: {
    filename: '[name].[contenthash:6].js',
    path: resolve(__dirname, 'public'),
  },
  optimization: { ...  },
  module: { ... },
  plugins: [
    new HtmlWebpackPlugin({
      // path where new template with injected links will be stored
      filename: '../views/dist/admin.ejs',
      // path to old template
      // notise !!raw-loader! before path thats where magic is happened
      template: '!!raw-loader!./views/admin.ejs',
      // public path where our assets will be avalable
      publicPath: "/",
      // in order to add chunks only for the required entry points
      chunks: ['admin'],
    }),
    new HtmlWebpackPlugin({
      filename: '../views/dist/user.ejs',
      template: '!!raw-loader!./views/user.ejs',
      publicPath: "/",
      chunks: ['user'],
    })
  ],
};
```

I hope it helps you next time you feel the urge to rewrite everything.
---
title: "How to serve sitemap.xml with Next.JS"
date: 2020-07-09T13:24:10+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1634066156/header/sitemap.jpg
preview: "Quick guide with code and explanation on sitemap.xml with Next.JS"
tags:
- blog
- nextjs
- SEO
- ts
- react
- software
---

To not only increase entropy but also be useful, this blog should be indexed by search engines. And to make it easier 
for search engines to index, they came up with robots.txt and sitemap.

!!
sitemap.xml - a list of pages that can be downloaded. Optionally you can specify how often the page is refreshed and 
when was the last time, but as far as I know, the optional parameters are ignored. More details can be found 
[here](https://www.sitemaps.org/).

robots.txt - instructions for robots. In our case, we simply indicate the path from where to get the sitemap. More 
details can be found [here](https://www.robotstxt.org/).
!!

For our site to produce sitemap.xml, create a sitemap.xml.tsx file in the pages folder:

```typescript
// /pages/sitemap.xml.tsx
import { PostInterface, posts } from "../data/posts";
import React from "react";

//Change this to your site url.
const POST_URL_PREFIX = 'https://barhamon.com/post/';

function createSitemap(posts: PostInterface[]) {
  return `<?xml version="1.0" encoding="UTF-8"?>
    <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
    ${posts.map(({ pid }) => `<url><loc>${POST_URL_PREFIX}${pid}</loc></url>`).join('')}
    </urlset>`;
}

export async function getServerSideProps({ res }) {
  res.setHeader('Content-Type', 'text/xml');
  res.write(createSitemap(Object.values(posts)));
  res.end();

  //Don't forget this line, even if it seems useless.
  //Without it NextJs will be complaining about:
  //TypeError: Cannot convert undefined or null to object
  return { props: {} };
}

const Sitemap: React.FC = () => (<></>)

export default Sitemap;

```

In the public folder, create the robots.txt file:

```bash
User-agent: *
Sitemap: https://barhamon.com/sitemap.xml
```

As usual, all the code on the [GitHub](https://github.com/Lurk/barhamon). If you find a mistake, or you know how to do 
it better, please submit an issue.
---
title: "RSS and JSON feeds for Next.JS site"
date: 2021-01-06T16:54:20+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_650/v1609947024/header/RSS_and_JSON_feeds_for_Next_JS_site_d4a1jo.jpg
preview: "How to add RSS and JSON feeds to your Next.JS site."
tags:
- blog
- nextjs
- typescript
- software
---

Hey!

You can now subscribe to this blog :)

Yeah, I planned to add this feature a long time ago, and finally, today, I got a couple of hours to do it. After some 
googling, I found [JSON feed](https://jsonfeed.org/). I do not want to start the "FINALLY! THE RSS KILLER" thread, but 
I am happy because I do not like XML. It is wordy and not readable for me.

Newerless RSS feeds are widely supported, so this blog should provide a new and shiny JSON feed and an old and dusty 
RSS.

If you read the ["How to serve sitemap.xml with Next.JS"](/post/How_to_serve_sitemap_xml_with_Next_JS) post, then it 
should be familiar to you. Here are links to the source code of 
[feed.json.tsx](https://github.com/Lurk/barhamon/blob/9f87a27d4324f9d6f8e284a43ce8c1de5eb3951d/pages/feed.json.tsx) 
and [feed.xml.tsx.](https://github.com/Lurk/barhamon/blob/9f87a27d4324f9d6f8e284a43ce8c1de5eb3951d/pages/feed.xml.tsx)

One significant difference is memoization. Since posts are immutable, we can remember the result of feed generation. 
I wrote a simple helper function for that. It is not a general-purpose memoization function because it will only work 
with a one-argument function and make only shallow comparisons. This is intentional and done for simplicity's sake. 
You can find the source code here 
[utils/index.ts](https://github.com/Lurk/barhamon/blob/67ef55743382bdc152a901211434fe0895b6cff0/utils/index.ts).

Here are the links for your feed reader:

- [JSON Feed](https://barhamon.com/feed.json)
- [RSS Feed](https://barhamon.com/feed.xml)

Stay tuned!
---
title: "Rustlab 2024"
date: 2024-12-16T22:30:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1734385176/header/rustlab2024.jpg
preview: "The International Conference on Rust in Florence"
tags:
- life
- software
---

It was a long time ago, and I couldn’t write anything longer than would fit in a toot. It is weird because that was my
first conference, and it felt awesome to be one of two hundred geeks who truly care about their craft. I enjoyed the
entire experience.

The workshop part was awesome (I ran out of positive adjectives). In the first session, I developed my shell, which can
execute commands, change the current directory, and perform basic logic and grouping. In the second session, I created
a TUI chat client using RatatUI. I had a great time working on them. The workshops were the best part of the
conference, and I really look forward to the next one.

!! Should I make shell and chat TUI public?
! github
I don’t think so. Most importantly, I don’t intend to support or improve them, at least not for now.
!!

Then, there were two days of cool presentations. I haven’t taken any notes, and looking back, I see that they would
help me write this post. On the other hand, I wouldn’t have enjoyed the presentations as much if I had been distracted
by note-taking. So yeah, no regrets.

In the opening presentation, [Tim Clicks](https://mastodon.nz/@timClicks) talked about ways to improve software
quality. One of the techniques he mentioned was fuzing. At home I scrolled through the photo roll and found the library
name he was using.

!! Pictures
! image
I took some technical pictures to remember the talks, which proved helpful. However, I don’t think it’s a good idea to
share those pictures. I haven’t asked the people in those images for permission to share them, and I’m too lazy
to gather their permissions.
!!

I maintain a markdown flavor/parser. This blog uses it, and I know one more person who at least tried to use it. Hi
Augustin 🖖. I wouldn’t say that it’s a battle-tested piece of software, but it’s pretty solid and has never panicked
on me. It has 100% code coverage and is written in Rust (by the way, TM). I am telling you all that not to brag about
how cool it is (maybe a little) but to illustrate my confidence in it. I was very confident that YAMD had no obvious
bugs. And you know what? Cargo-fuzz library found three bugs in less than a second. I’m very impressed and highly
recommend incorporating fuzing into your workflow.

!! cargo-fuzz
! rust
Has all the bells and whistles you can imagine. Check out the
[Rust Fuzz Book](https://rust-fuzz.github.io/book/cargo-fuzz.html) for more details. It is totally worth it.
!!

One of the most unexpected and positive outcomes for me was the one I got from Cooking Parsers with Winnit by
[Santiago Fraire Willemoes](https://woile.dev/). His story about creating a new language to describe cooking recipes
inspired me to keep working on YAMD. It’s not that I lacked inspiration to do so, but at times it felt pointless. There
are plenty of markdown parsers and flavors available. I could use one of them, as I always have, and it would be
perfectly fine. Seeing in person that I’m not the only one reinventing the wheel adds meaning to the whole enterprise.
I don’t know how that works.

!! recipe-lang
! github
Check out [https://github.com/reciperium/recipe-lang](https://github.com/reciperium/recipe-lang) if you are into
recipes! 

!!

Unfortunately, I didn’t have the time and energy to explore the city, but the venue was a 20-minute walk from my hotel.
I experienced enough of Florence to be certain that I will return someday. And, as a note to myself, next time I should
take at least one day before and after conference. It was tough with traveling.
---
title: "Typescript + Nextjs + Prismjs or the tale about code highlighting"
date: 2020-07-03T11:14:55+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1632560197/header/the_code.jpg
preview: "How to make Prism JS work with typescript and NextJs"
tags:
- blog
- nextjs
- prismjs
- ts
- react
- software
---

I needed to add code highlighting to posts (no one likes ugly code :).

A quick googling showed that for my stack there is nothing ready. But everything revolves around Prismjs.

!!
The guys from FormidableLabs with [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) came 
closest to what I need. But I want to figure it out myself.
!!

!! update #1
to reduce js bundle size you can use [babel-plugin-prismjs](https://github.com/mAAdhaTTah/babel-plugin-prismjs). With 
this babel plugin you can bundle only languages you need.

You can find usage example [here](https://github.com/Lurk/barhamon/blob/f0cb751604c5fc90b2dd679a6b1f96705b1a2bc3/.babelrc)
!!

### If you didn’t come here for details:

Step 1:

```bash
yarn add prismjs
yarn add @types/prismjs -D
```

Step # 2:

in pages / _app.tsx add

```typescript
import 'prismjs/themes/prism-tomorrow.css';
```

step # 3:

Create the Code component

```jsx
import React, { useEffect, ReactNode, useState } from "react";
import Prism, { Token } from "prismjs";

export interface CodeProps {
  language: 'js' | 'css' | 'json' | 'jsx' | 'typescript' | 'yml' | 'Rust' | 'bash',
  children: string
}

function tokenToReactNode(token: Token | string, i: number): ReactNode {
  if (typeof token === "string") {
    return <span key={i}>{token}</span>
  } else if (typeof token.content === "string") {
    return (<span key={i} className={`token ${token.type}`}>{token.content}</span>)
  } else if (Array.isArray(token.content)) {
    return <span key={i} className={`token ${token.type}`}>{token.content.map(tokenToReactNode)}</span>
  } else {
    return (<span key={i} className={`token ${token.type}`}>{tokenToReactNode(token.content, 0)}</span>)
  }
}

export const Code: React.FC<CodeProps> = ({ language, children }) => {
  const [data, replaceToken] = useState< Array<string | Token>>([])
  useEffect(() => {
      import(`prismjs/components/prism-${language}`).then(() => {
        const tokens: Array<string | Token> = Prism.languages[ language ]
          ? Prism.tokenize(children, Prism.languages[ language ])
          : [];
        replaceToken(tokens)
      })
  }, [children]);

  return (
    <pre className={`language-${language}`}>
      {data.length ? data.map(tokenToReactNode) : children}
    </pre>
  );
}

```

### And now the details:

In the first step, we add the prismjs library and types to it in the project.

In the second step, we add a theme. The prismjs library already has several themes and we use one of them. You can 
choose which one you like here: node_modules/prismjs/themes. Also, on the library website, you can choose from about a 
million more.

In the third step, we create the component itself, this time with comments.

```jsx
import React, { useEffect, ReactNode, useState } from "react";
import Prism, { Token } from "prismjs";

export interface CodeProps {
  //Prismjs supports a lot more languages. The entire list can be found on the site,
  //this is a list of those languages that will be useful to me.
  language: 'js' | 'css' | 'json' | 'jsx' | 'typescript' | 'yml' | 'Rust' | 'bash',
  children: string
}

//We will use the tokenize method (https://prismjs.com/docs/Prism.html#.tokenize).
//Because other API methods directly manipulate DOM, and that’s not what we want.
//tokenToReactNode is our function that converts the result of executing tokenize into react components.
function tokenToReactNode(token: Token | string, i: number): ReactNode {
  if (typeof token === "string") {
    return <span key={i}>{token}</span>
  } else if (typeof token.content === "string") {
    return (<span key={i} className={`token ${token.type}`}>{token.content}</span>)
  } else if (Array.isArray(token.content)) {
    return <span key={i} className={`token ${token.type}`}>{token.content.map(tokenToReactNode)}</span>
  } else {
    return (<span key={i} className={`token ${token.type}`}>{tokenToReactNode(token.content, 0)}</span>)
  }
}

export const Code: React.FC<CodeProps> = ({ language, children }) => {
  //In the state, we store the code and tokens for the code.
  const [data, replaceToken] = useState<Array<string | Token>>([])
  useEffect(() => {
      //We need to add languages since, by default only markup, CSS, clike, and javascript are available.
      //I did not find a better way, like the one below, if you know - please submit an issue.
      import(`prismjs/components/prism-${language}`).then(() => {
        //If language still not available skip tokenize part
        const tokens: Array<string | Token> = Prism.languages[ language ]
          ? Prism.tokenize(children, Prism.languages[ language ])
          : [];
        //Save the result to the state.
        replaceToken( tokens )
      }, [children])
  });
  //If the array with tokens is empty, print the code from props, otherwise render our beauty.
  return (
    <pre className={`language-${language}`}>
      {data.length ? data.map(tokenToReactNode) : children}
    </pre>
  );
}

```
---
title: "A year has passed since we moved to Munich"
date: 2022-04-15T14:27:10+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1650027203/header/a_year_in_munich.jpg
preview: "We have lived in Munich for a year, and moving here was the second-best decision in my life."
tags:
- life
- relocation
---

And moving here was the second-best decision in my life.The first one was moving from Moscow to Kyiv in December of 
2013. A lot of people said back then that we were crazy. And to be honest, I also had doubts at that time. It looked 
like we were abandoning rich Moscow for no reason. Then Russia annexed Crimea. Then tried to annex Donbas and Luhansk 
regions. And now 8, years later, it launched a full-scale assault against Ukraine.

![My granddad is the best fishing partner](https://res.cloudinary.com/barhamon/image/upload/v1650031459/a-year/fishing_with_granddad.jpg)

My mom and grandparents are still in Ukraine. Fortunately, there is nothing important in the area where they live, so 
there are no fights. And I hope it will stay that way. Even though on every call, my mom says everything is okay, life 
in the war-torn country is still tough. But at least banks are working, so money is not a problem.

![Waiting for plane in Moscow Domodedovo airport](https://res.cloudinary.com/barhamon/image/upload/v1650031788/a-year/waiting_for_a_plane_to_kyiv.jpg)

A year ago, we thought that after a year of living here, we would decide if we like to stay or we will come back to 
Kyiv. To be fair, Mari has been living here for only half a year, but now that does not matter. Russia proved once 
again that you could not be far enough. So yeah, we are staying. Good thing that before moving, we had time to 
consider all the options, and we still did not change our minds. We like Munich. Yes, it is an expensive place to 
live, but comfortable, safe, and cozy.

![Everything you do in Germany involves beer](https://res.cloudinary.com/barhamon/image/upload/v1650032133/a-year/german_course_schedule.jpg)

I started to learn German. I cannot say that it is a huge success, but there are some. The main problem is vocabulary, 
and I do not have the mental capacity to do something about it. I know I should. Check24 pays for it, so I did not 
choose the school. Because of that, I can not say if Goethe institute is the best choice. But I like it. The teachers 
are good. The group is small. And by happy coincidence, the class I am attending is 10 minutes walking distance from 
home.

!!
! meh
Some days ago, during a pause between learning sessions, we went to the kitchen to drink water. Small talk, usual 
subjects like weather, sports, and the stock market. My turn to say something about my investment strategy.

- I do not have one. Every time I get a long-term life plan - Russia invades.

Dude from Syria:

- I feel you, bro. I feel you.
!!

In January, finally I bought a bicycle. Since then, it has been my primary way of commuting. I feel like I am fitter 
and happier than before. One downside is I usually write my blog posts on the way to/from work, and you know, it is 
hard to write while you are cycling.

![Cycling is fun](https://res.cloudinary.com/barhamon/image/upload/v1650032311/a-year/bicycle.jpg)

While I still like motorcycling more than cycling, I do not think I will be riding a motorcycle anytime soon. My 
driver's license was valid only first six months, and there is no easy way to exchange a driver's license issued in 
Ukraine for a German one. The process is time-consuming, and this year's priority is the language. So yeah, I accepted 
no motorcycle reality and started to plan cycling trips.

![We actually a big team](https://res.cloudinary.com/barhamon/image/upload/v1650032501/a-year/team.jpg)

There are no big work-related changes. My productivity dropped significantly because it is hard to pull yourself from 
the doom scrolling. But management is supportive, and I am grateful for that. I did a big presentation on why 
functional React matters. I want to turn it into a blog post, but I can not find the time. Also, we are trying to come 
up with migration to typescript strategy. The big picture looks like that: The first step is to write all the new 
stuff using TS, which we do already. Next is to convert all our internal packages, which we will start soon. And then 
convert all our applications. Sounds easier than it is. 

![view from the balcony](https://res.cloudinary.com/barhamon/image/upload/v1650032671/a-year/the_flat.jpg)

We are living in the same flat. Maybe twice a month I check [immoscout](https://www.immobilienscout24.de/) for a new 
potential flat/house. But now, with the language courses so close to our current apartment, it is even harder to find 
a good enough substitute to justify the hustle of moving. Also, we spent a weekend in the mountain cabin. And now we 
want that instead apartment in the city, which is even harder to find in our budget. Living outside the city will mean 
that we need a car, which is not possible for now because of the driver's license issue. So I think we will live in 
that flat for some foreseeable future. Ah. The “housemaster” finally replaced our paper doorbell tags with a proper 
ones. But they misspelled our surnames. I am not sure how big of an issue that is, but since there is no moving out, 
I think that we should do something about that.

![almost all social interactions outside workplace looks like that](https://res.cloudinary.com/barhamon/image/upload/v1650032745/a-year/social_life.jpg)

Social life is getting better. Since COVID restrictions are dropped, more people socialize within the office. We even 
go to Creta. I mean the insurance part of the company, which are 100+ people. Also, I met some lovely people in my 
German course. And we are planning some hikes and beer drinking activities.

![can't believe i have to protest this shit](https://res.cloudinary.com/barhamon/image/upload/v1650032862/a-year/cant_believe_i_have_to_protest_this_shit.jpg)

A big part of life now is helping refugees to find a way to live everyday life and participating in anti-war/Russia 
protests. What amazes me the most is how many people care. Every day I meet a random person who does something good. 
I thought that there were more good people than bad people, and now I have proof.

!!
! birthday cake
The next big anniversary post will be in a year.

The previous one you can read here: [Half a year](/post/half_a_year).

The next one you can read here: [Two years in Munich](/post/two_years).
!!
---
title: "Blog updates"
date: 2022-11-06T22:47:11+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1667771702/header/IMG_8826_rwtang.jpg
preview: "In one of the first posts, I promised to post the music here. This time has come."
tags:
- blog
- software
- cloudinary
---

In one of the first posts, I promised to post the music here. This time has come.

I have a Telegram channel where I have been posting music for quite some time for my friends. The first step is to 
move all the entries I already posted there. It is pretty simple to download the channel archive from telegram. And, 
because I can, I wrote some tools on Rust to convert data to a format my blog will understand, upload images, and so 
on.

!!
! microchip
If you are interested in code, check those GitHub repos: 
[telegram-post-converter](https://github.com/Lurk/telegram-post-converter) and 
[Cloudinary SDK](https://github.com/Lurk/cloudinary_rs). Maybe I will make an effort to make something resembling a 
crate from the Cloudinary SDK repo.
!!

The second step is translating old descriptions into English, checking for broken links, and so on. This is a work in 
progress. You can already check the stuff here: [music](/tag/music). I wouldn’t say I like how it looks, so expect 
some change in design.

I also think about implementing [ActivityPub](https://activitypub.rocks/) as part of a migration to Rust. But it took 
me two years to start migrating my music posts here, so no promises.
---
title: "I quit my job (burning out story)"
date: 2020-11-08T10:41:30+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_600/v1609664954/header/burned_out_iwicib.jpg
preview: "Story of me burned out"
tags:
- life
- me
---

For five years, I've been working as a system architect in a startup. We did some cool things because we were small 
and agile. That was fun and challenging, so I spend all my time there. And I mean it. Even if I was with my wife, 
riding my motorcycle, fishing, or you name it - I was building the next feature or designing a new product or 
debugging some nasty bug in my mind.

So, I burned out.

I heard a lot about people burning out but never think of me in that context. It did not happen overnight. That took 
half a year or maybe a full year to build up. Like very slow dementor was sucking out all the fun in the world. In the 
end, besides my growing grumpiness, I started to close in inside myself. That was bad not only for my work but, most 
importantly, for my relationship.

Because it was a slow process, I did not notice it right away. But when I did, I spoke with my wife and described 
everything about how I feel. Together we decided that it is time to go to the psychiatrist. And that was the right 
decision at the right time.

My options were to keep going and take medications or quit and rest. So, for the first time since 17, I am unemployed. 
For a while, I do everything that makes me happy ([that will be another post](/post/the_fun_stuff)).

If you are reading this because you feel that the dementor has caught you:

The most valuable advice that I can give to you - seek professional help.

Second most valuable advice - speak with close ones. It will help a lot.
---
title: "800 km along the roads of central Ukraine in 2 days"
date: 2020-10-04T08:53:57+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1699789006/central-ukraine/header_rt6yvo.jpg
preview: "Solo road trip on a old Africa Twin motorcycle"
tags:
- motorcycle
- adventures
- Ukraine
---

I`ve made another short trip — two days of tarmac, gravel, and sand roads. I deliberately avoid highways, as much as I
can, because all the fun and beauty are on small and hidden trails. It always amazed me where people can live. To some
villages, the only path is through deep sand trails.

-----

{{cloudinary_gallery|barhamon&central-ukraine-1}}

Here are tracks for the [first](https://scenicapp.space/ride/UHlOhOsM) and 
[second](https://scenicapp.space/ride/nurKKyQl) days

I did not bring a tent with this time but got a hammock and slept with a terrific view 
[in the middle of nowhere](https://www.google.com/maps/@49.36566,32.7349795,149m/data=!3m1!1e3).

{{cloudinary_gallery|barhamon&central-ukraine-2}}

On the way back, I found a gem - Trakhtemyrivsʹkyy Pivostriv. It is near Kyiv (100 km), and I will come back there to 
explore.

{{cloudinary_gallery|barhamon&central-ukraine-3}}

Recorded almost six hours of video, then condense it to 13 minutes, and here it is: 

{{youtube|https://www.youtube.com/embed/FAYoL7WzHaE}}

A big one for me - it is possible to do 500 km in one day with offroad parts in it. But it is physically challenging. 
Next time I plan a trip should take this into account

---
title: "Clink"
date: 2021-02-14T13:33:15+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_650/v1613307615/header/clink_buqa5t.png
preview: "My first rust app"
tags:
- rust
- software
- clink
---

My first rust app that works and does something useful.

What does it do?

Have you ever pasted a link in messenger and deleted all those fbclid, utm_source, utm_campaign, utm_medium GET params by hands? Clink does that for you. It sits quietly in the background, and if you copy a link to the clipboard, Clink automatically removes those params for you.

Inspiration for this project was this [tweet](https://twitter.com/ftrain/status/1359138516681314311?s=21). And yes, Clink has "your mom" mode :)

If you are interested, here is the link to the [Clink GitHub repo](https://github.com/Lurk/clink). And if you are not interested in reading source codes, [here](https://github.com/Lurk/clink/releases) you can download the latest version of Clink for your operating system (macOS, Linux, Windows).

Usage is pretty straightforward:

```bash
clink [OPTIONS]
    Options:
    -v, --verbose Be verbose.
    -m, --mode Mode of Clink. Available "remove" and "your_mom" modes (default: Remove)
    -h, --help Show this help message.
```

I learned a few things along the way and some things I want to learn in the near future. Like is it ok to thread::sleep, or there is a better way. Or how to automatically build deb and dmg? And so on.

So yeah, stay tuned to more Rust content :)
---
title: "Clink"
date: 2021-06-20T22:46:40+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1624223477/header/clink_now_with_a_memory_leak.png
preview: "Rust and memory leaks"
tags:
- rust
- software
- clink
---

Now with a memory leak 🎉

Since my first [mention](/post/clink) of it, I've made a lot of changes. If you interested in changelog you can look at the [releases](https://github.com/Lurk/clink/releases) page.

But most important thing that I noticed is a memory leak. To be completely honest, I am not sure if there is a memory leak, but it looks there is. So yeah, I noticed that after couple of weeks clink process consumes more than 600mb of RAM. I found it wrong because this is a small app, and my expectation is that it should be less than a megabyte.

I still did not find the time to do a proper analysis what is going on. So far, I have a couple of theories :

- I am so “talented” that even languages with “memory safe“ selling point are leaking in my hands. 
- There is something that I don't know about how memory allocation works on Mac OS
- I am using the ,[clipboard@0.5.0](https://crates.io/crates/clipboard/0.5.0), crate, and the leak is there.

I read a couple of blog post about how to approach tasks like that, and it feels like takes couple of days😔

And one more thing™ - when I packed my stuff, I noticed that I am running low on T-shirts. And guess what? Now I have the clink T-Shirt. At first, I did not liked it. I mean printing quality was not that impressive, but the longer I have it, more I like it. Maybe, when I will have time or inspiration there will be 1.1 version of it. Right now I do not know why you will want one, but if you do - drop me a message.

{{cloudinary_gallery|barhamon&clink_tshirt}}
---
title: "Image gallery with Cloudinary"
date: 2020-12-13T22:09:35+01:00
image: /img/cloudinary.png
preview: "Here's how I build an image gallery with Cloudinary"
tags:
- blog
- cdn
- images
- react
- ts
- nextjs
- software
- cloudinary
---

As you can see in my previous posts, I like photography.

Not like I am particularly good at that, but I enjoy seeing those moments later. That brings me to CDN's because those photos should be stored and delivered.

After some googling, I choose Cloudinary because it has some nice features and a decent free plan - 25000 transformations or 25 GB storage or 25 GB bandwidth monthly.

!! More free stuff for me
! link
I will receive more free services for every registered user. So if you like my photos, go on, click on that link, and register. [That link](https://cloudinary.com/invites/lpov9zyyucivvxsnalc5/hqd3swadmblfw3ivxjmv)
!!

Cloudinary has a react library, but I did not find any image gallery. So here is how I did it.

After uploading images to Cloudinary servers, I tag them. After that, I fetch the list of photos by this URL:

```typescript
`https://res.cloudinary.com/${your_username}/image/list/${tag}.json`
```

response type:

```typescript
interface CloudinaryTagResponse {
  resources: Array<{
    "public_id": string,
    "version": number,
    "format": string,
    "width": number,
    "height": number,
    "type": string,
    "created_at": string,
  }>,
  "updated_at": string,
}
```

Here is source code [cloudinary.tsx](https://github.com/Lurk/barhamon/blob/master/components/cloudinary.tsx) how I use it with [React Carousel Image Gallery](https://github.com/xiaolin/react-image-gallery)

If you look at lines 64 and 65, you will notice the **srcSet** and **sizes** field. You may ask how I calculate those params? I did not :)

I used the excellent [RespImageLint](https://github.com/ausi/respimage) tool created by Martin Auswöger.
---
title: "Disqus and Next.js"
date: 2020-11-27T22:05:56+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_600/v1609664771/header/comments_ertdr5.jpg
preview: "You will learn how to add comments to your Next.js project. And it is easy with Disqus."
tags:
- blog
- nextjs
- comments
- disqus
- ts
- software
---

In this post, you will learn how to add comments to your Next.js project. And it is easy with Disqus.

First, create an account on [Disqus](https://disqus.com/).

Second, go to the [https://disqus.com/profile/signup/intent/](https://disqus.com/profile/signup/intent/) and press "I want to install Disqus on my site", fill-up the form, and remember the short name (it will be useful later).

Third, install the [disqus-react](https://www.npmjs.com/package/disqus-react) package from npm. If you are a Typescript user, this package already has typings.

```bash
npm install disqus-react
```

And use it like this:

```jsx
import { DiscussionEmbed } from "disqus-react"

<DiscussionEmbed
  shortname={"remember that short name from second step?"}
  config={{
    url: "this page url",
    identifier: "unique identifier of this page",
    title: "this page title"
  }}
/>

```

You can find a usage example here: [comments.tsx](https://github.com/Lurk/barhamon/blob/master/components/comments.tsx)
---
title: "We crossed the Alps."
date: 2022-09-21T22:55:18+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1663791551/e5/crossers_of_the_alps.jpg
preview: "Hike the Austrian section of the E5 with detours and fun."
tags:
- adventures
- mountains
- hiking
- alps
---

We did it following the Austrian section of the E5 route.Sometimes we diverged from the route, mainly because we decided to make that trip too late. People we meet on the way said they book everything from six to nine months in advance.

## First day

##### Oberstdorf to Rappensee hütte.

This is the first deviation from the original E5 route. We wanted to stay in Kemptner hütte, which is on the route, but it was booked out.

From the train station, we took bus number 7, which brought us to Alpe Eschbach. From there, we hiked to the Enzianhütte, where we had lunch. And after some rest and Radler, we walk to our destination. Overall it took us 6 or 7 hours. We drank too much beer celebrating the start of our trip, which ruined our next day. Don’t be like us. Two beers are more than enough.

At check-in, we upgraded from the common room to a room with four beds and a nice view from the window. The shower cost 4 euros for 3 minutes. There are only four cabins, so be aware of peak hours. Breakfast can be better, but it is an excellent hütte to spend a night or a couple of them.

{{cloudinary_gallery|barhamon&e5_day_1}}

-----

## Second day

##### Resting day at Rappensee hütte.

First of all, I am happy that we added resting days when we planned this trip. We needed it, especially with a hangover.

That day we walked around the lake, took a nap after lunch, and walked a bit more around the hütte.

{{cloudinary_gallery|barhamon&e5_day_2}}

-----

## Third day

##### Rappensee hütte to Stockach

Still not E5, but we are getting closer to it.

We were choosing between two ways. First is to go down to the valley and then take the bus to our guest house. The second is to get upper to the mountain and walk down almost to today's destination. Both start the same, so we decided to reach the point when the path splits and then choose. And we chose the first one because we saw a rockfall on the second. And that was a good decision. The track down is stunningly beautiful and looks like it is not very popular. On the way down, we met only three people, which was lovely. Only two of us and this majestic landscape.

We booked a tiny room in Petra House, and it was awesome. The host, Petra, was very hospitable. The room was small but cozy. The breakfast was excellent. And almost all of the four cats were hugged. Highly recommend.

{{cloudinary_gallery|barhamon&e5_day_3}}

-----

## Fourth day

##### Stockach to Memminger hütte

We are finally back to the E5 track.

After our breakfast, the owner of our guest house said there was a bus that goes from Bach to the start of a trail to the hütte. And most importantly, they will ride us to that bus stop. The bus picked us up at 8:30 AM. The track up to the hütte is beautiful. Most of the way, it rained, so we were wet. When we almost reached the hütte, we saw wild goats. They were so close that it seemed like you could touch them.

We slept in a small cabin with ten other people. One of them was snoring so hard that the earth was shaking. The lesson is - always bring your earplugs with you.

The hot water for the shower costs 6 euros for 3 minutes. Cold water is free. There are only two showers, be aware of peak hours. The breakfast was good.

{{cloudinary_gallery|barhamon&e5_day_4}}

-----

## Fifth day

##### Memminger hütte to Augsburger hütte.

This is not on E5. To stay on E5, you should go directly to Zams. I booked Augsburger hütte because I wanted to spend our eighth anniversary in the mountains, but Memminger hütte was booked out.

We did not make it. You should be in excellent physical and mental form for this track. I shit myself multiple times on the way. There are a few walls to climb, and when we saw the last one, we understood that it was well above our abilities. We turned around and headed down to the Zams. It was a long and physically demanding hike. We started at 7 am, saw the first human footprint around 6 pm, and got to the city at 11:40 pm. I do not think that I want to repeat that part of our adventure.

Having said all that, that was one of the most beautiful hikes I did. I never imagined I would be in a place like that one day. And again, we were alone the whole day, which is somehow a unique and precious thing for us—surrounded by mountains and wildlife. First time in my life, I saw a Weasel. He was curious and came close to us. That was something.

When we reached Zams, we booked the closest thing with a bed, and by happy coincidence, that turned out to be a lovely flat. We were sorry to wake everybody up to get our keys, but the alternative was to sleep on the bench in front of the house. I was ready to fall asleep right there, but Mari did not give up until we got the keys.

And boots! I do not know how many times I was thankful that we bought our boots on that day. I do not think we would have made it without them.

{{cloudinary_gallery|barhamon&e5_day_5}}

-----

## Sixth day

##### Resting day at Zams.

I only got up from bed when I went to the grocery store to buy us breakfast and wine. That day was our eighth anniversary. We planned to spend it high in the mountains, but instead, we spent it lying in bed with muscle pain. I think that was the first time we celebrated this day like that.

We lived in Apartmenthaus Juen. The apartments are big, bright, and nicely furnished. Owners are friendly and helpful. Those apartments were also the most expensive accommodation we had on our route, but in our case, we had no other choice, and I am glad we spent our muscle pain day there.

{{cloudinary_gallery|barhamon&e5_day_6}}

-----

## Seventh day

##### Zams to Moosanger.

We still did not fully recover from our previous hike, so we took a bus to the other side of the mountain. From there, we hiked to our next place to stay. On the way, we ate blueberries that grew right under our feet and picked enough mushrooms to cook dinner. When we reached our destination, the host drove us by car to the nearest grocery store, where we bought the missing ingredients for our dish.

{{cloudinary_gallery|barhamon&e5_day_7}}

-----

## Eight day

##### Rest day at Moosanger.

The plan was to get to the summit we skipped yesterday. We even had early breakfast. But after it, we accidentally fall asleep. Luckily forest was across the street from our apartment, and after lunch, we did a short walk in it. I have never seen so many mushrooms as in this forest.

For those two nights, we booked apartments in Tiroler Hasenhöhle. They were good, so if you are searching for a place to stay in that area, I recommend checking them out.

{{cloudinary_gallery|barhamon&e5_day_8}}

-----

## Ninth day

##### Moosanger to Tieflehn.

We walked through multiple villages to the MPrice supermarket at Wenns. There is a bus stop where you can hop on the 4204 bus that goes all the way to Tieflehn. At check-in, we received tickets for the cable car. We used them to get to Riffelseehütte, where we had lunch with an incredible view of the glacier we planned to reach the next day.

Our accommodation was Alpin Pension. I cannot complain.

{{cloudinary_gallery|barhamon&e5_day_9}}

-----

## Tenth day

##### Tieflehn to Vent.

Our initial plan was to go from Tieflehn to Vent with the help of a bus that brings you to the other side of a glacier. Bus saves you at least 10km of walking around the glacier. We woke up at 5 am to start the hike at 6 am, but it was raining till 7 am. So we started later than we thought, which did not matter much because when we got to Braunschweiger hütte, we understood that we had enough walking for today.

The way up is pretty steep, and elevation starts to kick in. We met a guy from Nepal on the way. He was going in circles around us like it was nothing, which was funny if you consider that I was dying. Mahindra, if you are somehow reading this, it was nice to meet you there.

The view gets crazier the higher you get. When we finally reached the glacier, I was literally and figuratively high. And again, like multiple times on this trip, I never imagined that someday I would reach a place like that.

When we reached Braunschweig hütte, we were already tired and hungry. I don't know if that was the chief’s achievement or if our hike did the trick, but that was the best goulashsuppe I had eaten. While eating, we talked to a couple, and they advised us of a better way to get to the bus station.

We got down to the valley and reached Vent on a different bus. Everything was straightforward, except the 30 minutes late bus.

{{cloudinary_gallery|barhamon&e5_day_10}}

-----

## Eleventh day

##### Rest day at Vent.

We got out the bad two times this day. One for breakfast and the second for dinner. Ah, we also washed our clothes.

Highly recommend the restaurant on the opposite side of the road from the church. The pizza, the pasta, the wine, everything was superb.

{{cloudinary_gallery|barhamon&e5_day_11}}

-----

## Twelve day

##### Vent to Rifugio Similaun.

Because way up has a gentle angle, that was one of the easiest hikes on the trip. Despite the altitude gain and light rain, it was more like a walk in the park. The stunning one, with mountains covered with snow on both sides, waterfalls, and clouds that hug hills.

On the way to Rifugio Similaun, you can have lunch in Martin-Busch hütte. We had apple strudel and warm tea. Some people we met on the way said that Rifugio Similaun is much better than this one. I can not confirm nor deny that claim because we spend there half an hour. But I can say that Similaun is good.

First time on this trip, I had trouble sleeping. I woke up multiple times in the night with the feeling that there was not enough air in the room. Maybe that was the altitude effect, but we did not have the time to check this theory.

The hütte itself is excellent. I want to spend a few days there and explore the area. Somehow the shower information does not look so important as in the first days of our trip, but I will add it anyway. There is only one shower cabin, and hot water costs money. They do not have online booking, so you should call by phone to book a sleeping place. But even I could do that, and I hate phone calls.

{{cloudinary_gallery|barhamon&e5_day_12}}

-----

## Thirteen day

##### Rifugio Similaun to Merano.

That was the last hiking day and the day with the nastiest weather. It started with snow, which gradually turned into rain. So yeah, one can say that we were blessed with the opportunity to compare hikes under the snow and the rain. I like snow more. When we reached the valley, the rain stopped, and we took the bus to Merano. The bus takes the scenic route, so be ready to enjoy the view.

In Merano, we booked a room in the Lux Garnì hotel (😎). It looks and smells like a nursing house, but the room is clean, the view from the balcony is gorgeous, and the breakfast is good. So, nothing to complain about.

{{cloudinary_gallery|barhamon&e5_day_13}}

-----

## Fourteen day

##### Rest day at Merano.

Merano is a lovely city. We have not visited anything in the city. We just walked around, ate pizza and ice, drank wine, and sunbathed on the river bank. Everybody told us that we should visit thermals, but we did not do that either. So maybe sometime in the future, we will revisit it.

{{cloudinary_gallery|barhamon&e5_day_14}}

-----

## Since I already received tons of questions, here is a small FAQ

##### Did I like it / would I do it again?

Yes. We think it was the best vacation we have had so far.

##### Was it hard?

As long as you do not diverge from the official E5 route, it is not that hard. And when you do diverge, check the path in advance to avoid surprises.

##### Do I need some special training beforehand?

I can not say that we live a particularly healthy and sporty life. So yeah, if you can survive a regular day hike - you can do it.

##### What about the gear?

There is no need to carry a sleeping bag with you. Every hütte provides enough blankets to sleep with comfort. What you need instead is the sleeping bag liner. It will save you weight and volume in your backpack.

While I saw people in the trail runners, we were glad we had our boots. So yeah, I would strongly recommend having proper boots, especially if you are planning detours.

I had flip-flops as camping shoes. You know, this kind that has a thing between your toes. It turned out that sometimes you want to wear warm socks. So yeah, next time I will bring something else.

Earplugs. Find ones that fit you before the trip, and thank me later.

##### Does it require two weeks?

No. It is one week trek. But, if you have time to enjoy the way and the places, I highly suggest you to take your time. I am personally glad that we did it in two weeks.

##### What would I change in our route?

For obvious reasons, I would skip Augsburger hütte and go directly to Zams.

There is no point in staying in Tieflehn. Instead, I would book a place in Braunschweiger hütte.

And last but not least I would like to spend more time in Rifugio Similaun. I like the place and the nature around worth exploring.

##### Have you used your shiny titanium shit shovel?

Yes. I highly recommend carrying one with you. It makes your life so much easier in critical situations.

-----

I think that's it. We got the Crosser of the Alps achievement, and, I hope, you enjoyed the photos and the story.
---
title: "Preparations for the Austrian section of the E5 route"
date: 2022-08-23T20:52:03+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1661083343/e5_hike_preparations/map.jpg
preview: "This year was my turn to come up with a vacation plan. And guess what? This September, we will hike from Germany to Italy."
tags:
- adventures
- hiking
- preparations
- alps
- mountains
---

This year was my turn to come up with a vacation plan. And guess what? This September, we will hike from Germany to Italy.

What is E5, you may ask? And that is a perfectly valid question because I did not know anything about this, or any other, route until this summer (thank you, Michele). So, E5 is one of the European long-distance hiking paths. It starts in Pointe du Raz, France, and ends in Venice, Italy. The length of the whole path is a whopping 3200 km. We will have only two weeks, and that is not enough to hike the entire route. That's why we will hike just the Austrian section, which is 175 km.

![base weight](https://res.cloudinary.com/barhamon/image/upload/v1661113048/e5_hike_preparations/actual_map.jpg)

Our way will start at Oberstdorf, Germany, and end in Merano, Italy. They are on E5, but the whole path will diverge slightly from the official E5 route because everything is already booked. As wild camping is prohibited in Austria, we will sleep in guest houses, mountain huts, and hotels. You need to book it in advance because when we did it two months before the hike, finding accommodation along the route was challenging. Here is the link to the route on komoot: [From Oberstdorf to Merano](https://www.komoot.com/tour/823062954)

![it is nice to hike knowing that you do not need to carry food for a week](https://res.cloudinary.com/barhamon/image/upload/v1661112304/e5_hike_preparations/gear.jpg)

I am glad that we don’t need to carry our tent, sleeping pad, cook kit, etc., because we bought that gear a long time ago without hiking in mind, so it is heavy and bulky. We still need our sleeping bags because that’s how you sleep in a mountain hut. Since we never actually did multi-day hikes, some gear we additionally bought for this adventure. That was backpacks, hiking boots, and a trowel (shit shovel).

![The trowel (shit shovel)](https://res.cloudinary.com/barhamon/image/upload/v1661280156/e5_hike_preparations/trowel.jpg)

Yep. A shit shovel. It is an essential piece of gear on a hike. Finally, we bought one, and from now on, we will dig catholes with style. That's actually funny how life is full of random stuff. If ten years ago someone would tell me that I would be the happy owner of a titanium shit shovel, I’d laugh my ass off.

![base weight](https://res.cloudinary.com/barhamon/image/upload/v1661112719/e5_hike_preparations/base_weight.jpg)

After testing and reading, we chose Osprey Exos 38 liter as our backpacks. I initially thought about a frameless ultralight backpack, but after trying them and Exos, we bought Exos. Yes, it is heavier than frameless options, but because the weight distribution is better, the same load feels much lighter. We packed them multiple times and dialed our base weight to about 8 kilos. Of course, I will weigh our backpacks before departure to know how much we will carry. Maybe, after all, I do not need that book with me :)

![Hiking boots](https://res.cloudinary.com/barhamon/image/upload/v1661280054/e5_hike_preparations/hiking_boots.jpg)

Boots. At first, I thought about going with my trail runners, but then we decided to be on the safe side and bought proper hiking boots. There is a ton of info on choosing the hiking boot, so I will not repeat it. I would add that the proper insole is a game changer.

![say hallo to the Alps](https://res.cloudinary.com/barhamon/image/upload/v1661202129/e5_hike_preparations/say_hallo_to_the_alps.jpg)

Wish us luck, and be ready for the lovely photos from the hike.
---
title: "Elevator pitch"
date: 2020-12-24T16:48:21+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_600/v1609664603/header/elevator_pitch_jocnck.jpg
preview: A short version of the upcoming \"About me\" book :)
tags:
- interview
- me
---

Here is a short version of the upcoming "About me" book :)

I have been lucky to have my first computer at age six. It was Atari 65XE, with BASIC programming language built-in.
Since then, computers is my passion, and I never really stop programming. My first web project came online in 2007, 
and it is still there. I got my first job as a developer in 2009.

My second passion is traveling. Only through traveling one can get a first-hand experience of foreign cultures and the 
beauties of nature. I like and do all sorts of traveling, planes, trains, cars, boats, bikes, on foot. This year, I 
tried kayaks (we have done something around 200 km in three days) and a motorcycle, which is now my favorite way of
getting to remote areas.

Overall I can describe myself as a friendly and communicable person.
---
title: "I published my first npm package: filters"
date: 2021-03-30T16:19:48+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_650/v1617114422/header/filters_xuuptx.png
preview: "@barhamon/filters - generic way to manipulate data filtering options and pass them around"
tags:
- software
- js
- ts
---

Here is a problem that I am solving on almost every project: I need to have a generic way to manipulate data filtering options and pass them around. For example, I am building a CMS with a lot of data visualization (like tables and charts). Good data visualization should have a filtering ability. So users can filter the shit out of it and then send a link to the results.

I kind of tired of doing the same thing every time and want to do yarn add. And from today (yesterday, to be honest, but I did not have time to write this post), I can. And you can do it too.

```bash
npm i @barhamon/filters
```

Or, if you are a yarn user:

```bash
yarn add @barhamon/filters
```

 I tried to do my best with [read.me](https://github.com/Lurk/filters/blob/main/readme.md) in the [GitHub repo](https://github.com/Lurk/filters). So, for the sake of consistency, I will not repeat API here. But want to share my ideas of how I want to improve this package.

There is already a method to transform filters to MongoDB query so they can be used easily with Mongoose or just MongoDB driver. And I want to add integrations with other ORM/ODM like TypeORM. Also, since the backend can be written in different than JS languages, I want to write a port of this idea on your, my friend, favorite language (I will sooooooo write Rust crate for this. Soooooooooo write). And there should be examples of how to use it with different UI libraries. And better documentation. And investigate more space-efficient ways to communicate between the backend and frontend. And so on :)

I will gladly answer any questions or issues or accept pull requests.
---
title: "First major refactoring"
date: 2020-12-29T19:54:14+01:00
image: /img/refactoring.jpg
preview: "the birthday of the Bar part of barhamon.com"
tags:
- blog
- ts
- nextjs
- react
- software
---

Initially, I wanted to separate the "engine" from the data.

Today I did the first step in this direction. Pull request [#92](https://github.com/Lurk/barhamon/pull/92)

Now posts are stored not as React components but as a serializable tree.

This refactoring will allow not only to separate the "engine" from the data but also to separate the templates into a separate package. That means that sooner or later, there will be more than one theme :)

And the data itself can now be stored anywhere, which means that there will be connectors to MongoDB, Postgres, or JSON files.

It means that today is the birthday of the Bar part of barhamon.com :)
---
title: "Status update"
date: 2021-09-11T19:26:01+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1631384183/header/not_so_good_for_my_laptop.jpg
preview: "Life updates"
tags:
- life
- relocation
---

Good news, everyone.

Mari finally got a visa, so we are packing our stuff in Kyiv. And I got my residence permit. So soon, we will be deep into the integration process. Learning the language, revising driver's license, searching for a new flat, getting bicycles, etc.

And since I will be in Kyiv soon, I will visit my barber. This gorgeous beard and mustache that grew while I waited for Mari will be gone. Not completely, of course.

![gorgeous beard and mustache](https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1631382491/header/good_news_everyone.jpg)

If you wondered what is going on with that memory leak, I am trying to fix. I did a [repo](https://github.com/Lurk/nsstring_leak) with tests and benchmarks, filed an [issue](https://github.com/SSheldon/rust-objc-foundation/issues/15) in objc-foundation repo. Now just waiting for the maintainer.

And in the meantime I did a lot of hikes. Munich offers a lot of you are like hiking. I am thinking to start doing hike reports, but I will not promise it yet. Here are some nice pictures I took during my hikes.

{{cloudinary_gallery|barhamon&first_hikes}}



What I definitely will do is a book's reviews. Lately, I am back to the book reading business. And will try my best to give you a summary of what I read.

But before that, I need to fix my old and trustworthy MBP, the screen of which went dead after eight years of service. Luckily for me, my friend has a spare one with some dead pixels. So maybe by the end of the week, I will have my laptop back.
---
title: "Half a year"
date: 2021-10-23T12:48:13+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1634986448/half_a_year/header.jpg
preview: "I have lived in Munich for half a year already. Do I like it?"
tags:
- life
- relocation
---

More than half a year has passed since I moved to Munich.

Six months have passed since I moved to Germany. Locals say that Bavaria is different from all other Germany, but I don't fill it yet. Maybe that's because I was outside Bavaria only in Dresden. Dresden is undoubtedly different, but I don't know two exact cities, so this does not count. Anyway, when you read Germany - I mean Munich, Bavaria.

![Bavaria is quite a lovely place to live.](https://res.cloudinary.com/barhamon/image/upload/v1634986223/half_a_year/bavaria.jpg)

I still like it very much, especially now when our family is finally together. Despite our initial information that our reunion would take three months, it took roughly six. If you want to use our experience, keep in mind that I do not have a formal degree and can not apply for a blue card. With a blue card, things are different. 

Here is our timeline:

- 27 January - I got a contract
- 26 February - I got a visa
- 5 April - I moved to Munich
- 27 April - I got a registration
- 7 July - I applied for my residence permit
- 27 August - Mari applied for a visa
- 2 September - Mari got a visa, and I got my residence permit on the same day

![Real mountains](https://res.cloudinary.com/barhamon/image/upload/v1634986686/half_a_year/flat.jpg)

As I said, I still like how things are going here, and it looks like Mari is also like it here. A big part of it plays our flat, which is tiny but cozy, and the location is perfect, and the view from the balcony is fantastic. The bar is so high we have trouble finding something better in our budget. Munich itself is comfortable and ideally located. You know, one hour and you are in the proper mountains. Or, fly around Europe for 20 euros, which is mind-blowing for me. Or, if you are lazy today, put a hammock in one of the parks and chill the shit out of it.

![Real mountains](https://res.cloudinary.com/barhamon/image/upload/v1634986546/half_a_year/alps.jpg)

Also, six months have passed since I joined Check24 as a software engineer. My probation period ended on 1 October, and I got a promotion at the end of it. So, now I am a senior software engineer. The last time I had the senior prefix in the job title was in 2013. But you know, the list of things I do daily did not really change with the title. I still do a lot of code reviews, technical discussions, interviews, and of course, do the code. But now it is in my job description.

!!
! smile
I reread that last paragraph, and it looks like I am not excited. But I am. It is always nice to know that not only your mum thinks you are good at what you are doing.
!!

With the end of quarantine restrictions, the number of people I interact with has increased, but everybody is still relaxed. And I like that a lot. So yeah, after my previous endeavors, this one feels chill, despite all the hustle with moving to another country. And I am still looking forward to not changing my mind. 

![Feels good here](https://res.cloudinary.com/barhamon/image/upload/v1634986810/half_a_year/alps_in_bavaria.jpg)

See you in the next annual post in half a year. 

!!
! birthday cake
The next big anniversary post you can find [here](/post/a_year).

The previous one you can read [here](/post/month_in_munich) and [here](/post/month_in_check24).
!!
---
title: "Hamon updates"
date: 2024-10-26T20:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1729969396/header/hamon-updates.png
preview: "Most changes are in the Hamon theme, which is a good sign."
tags:
- software
- blog
- hamon
- bar
- photo roll
---

Most changes are in the [Hamon theme](https://github.com/Lurk/Hamon), which is a good sign.

Each post ends with links to three similar posts. Similarity is currently measured by tag intersection. It works
surprisingly well but requires thinking about how to tag articles.

Long-time requested feature - images in postcards are clickable 🎉.

Another long-time requested feature is sticky navigation. Each page now has it. The title comes from the
[BAR configuration](https://github.com/Lurk/bar?tab=readme-ov-file#bar-project-configuration). The post page shows the
first tag. Both are links, but they do not look like them. I don’t know if that is okay. My gut feeling says that, at
this point, this type of navigation is so widespread that it is clear. I will wait for feedback.

There are also various other little improvements here and there, like consistent rounding and indentation, fixed footer
positioning, improved HTML structure, etc.

One more thing. Unfortunately, there is JavaScript. Since there is no way to enter fullscreen mode without JS, the
Hamon theme now contains four lines of
[JS code](https://github.com/Lurk/Hamon/blob/c75cc80f7a61c00069850ec80e9a375181b78fee/static/js.js#L1). Here is a
gallery with a few months of foto roll. Look at the `⛶` sign in the bottom-right corner.

{{cloudinary_gallery|barhamon&roll-2024-10-26}}

I am still not in love with templating language, but in general I really like the result.
---
title: "How to iterate over the array in JavaScript and the root of all evil"
date: 2022-12-12T23:52:26+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1670707612/iterations_in_js/root_of_all_evil.jpg
preview: "benchmarking array methods vs for loop vs iterators vs generators"
tags:
- software
- js
- ts
- benchmark
---

I will start with an anecdote.

At my work, I am responsible for building a service. It's not important what exactly it does. What is important is that to fulfill the business requirements, it should crunch the ever-growing array of data. And by crunch, I mean iterate over this array multiple times on every run.

Here is a very simplified version of that business requirement: convert Entity to SuperEntity, where SuperEntity is an Entity that has value > 2, has more than 1% of all entities in the group, and has the groupLength property.

Here are the types of both Entity and SuperEntity:

```typescript
export interface Entity {
  groupId: number;
  value: number;
}

export interface SuperEntity {
  groupId: number;
  value: number;
  groupLength: number;
}
```

Again this is a very simplified version. In the real world, we also need MegaEntity and TurboDieselEntity.

So, our input is an array of Entities. Here is how we generate it:

```typescript
export function getEntities(size: number): Entity[] {
  const result: Entity[] = new Array(size);
  for (let i = 0; i < size; i++) {
    result[i] = {
      groupId: getRandomInt(0, Math.ceil(size / 100)),
      value: getRandomInt(0, 100),
    };
  }
  return result;
}
```

And because we will need to access group length, let’s build a lookup map beforehand.

```typescript
export function createLookupMap(entities: Entity[]): Map<number, Entity[]> {
  let result: Map<number, Entity[]> = new Map();
  for (let i = 0; i < entities.length; i++) {
    const entity = entities[i];
    const val = result.get(entity.groupId);
    if (val) {
      val.push(entity);
    } else {
      result.set(entity.groupId, [entity]);
    }
  }
  return result;
}
```

Now we are ready to write our Entity to SuperEntity transformer. The naive approach would look like this:

```typescript
export function convertToSuperEntities(
  lookup: Map<number, Entity[]>,
  entities: Entity[]
): SuperEntity[] {
  const groupSizeFilter = isEntityGroupBig.bind(null, lookup, entities.length);
  return entities
    .filter(isValueGreaterThatTwo)
    .filter(groupSizeFilter)
    .map((entity) => mapToSuperEntity(lookup, entity))
    .filter(isSuperEntity);
}
```

It looks nice and tidy. But remember the part of the task where input will constantly grow? That means, at some point, input will become so big that we will notice performance penalties from creating intermediate arrays on each step and iterating over them. Let's rewrite it with for loop.

```typescript
export function convertToSuperEntitiesWithLoop(
  lookup: Map<number, Entity[]>,
  entities: Entity[]
): SuperEntity[] {
  const result: SuperEntity[] = new Array(entities.length);
  const groupSizeFilter = isEntityGroupBig.bind(null, lookup, entities.length);
  let j = 0;
  for (let i = 0; i < entities.length; i++) {
    const entity = entities[i];
    if (isValueGreaterThatTwo(entity) && groupSizeFilter(entity)) {
      const superEntity = mapToSuperEntity(lookup, entity);
      if (isSuperEntity(superEntity)) {
        result[j] = superEntity;
        j++;
      }
    }
  }
  return result.slice(0, j);
}
```

Performance wise it should be much better. No intermediate arrays, no array resizes, and no extra iterations. What I do not like is the decreased readability. Our nice flat eleven-line function became longer and curvier. Let's fix the readability issue with generators.

Generators are a special function that, instead of computing everything in one go and returning a result, returns an iterator that will compute the next chunk when you request it. This means that we can write the map and filter using generators.

The map is straightforward.

```typescript
export function* map<Input, Output>(
  functor: (args: Input) => Output,
  entries: Iterable<Input>
): Iterable<Output> {
  for (const entry of entries) {
    yield functor(entry);
  }
}
```

The filter is a bit complex because of the type definition of the predicate. We want to use type guards and functions that return a boolean as a predicate.

```typescript
type TypeguardPredicate<InputType, OutputType extends InputType> = (
  value: InputType
) => value is OutputType;
type BooleanPredicate<InputType> = (value: InputType) => boolean;
type Predicate<InputType, OutputType extends InputType> =
  | TypeguardPredicate<InputType, OutputType>
  | BooleanPredicate<InputType>;

export function* filter<InputType, OutputType extends InputType>(
  predicate: Predicate<InputType, OutputType>,
  entries: Iterable<InputType>
): Iterable<OutputType> {
  for (const entry of entries) {
    if (predicate(entry)) {
      yield entry;
    }
  }
}
```

Okay. Now we got everything we need. Let's write our transformer once more with helpers from above.

```typescript
export function convertToSuperEntitiesWithGenerators(
  lookup: Map<number, Entity[]>,
  entities: Entity[]
): SuperEntity[] {
  const groupSizeFilter = isEntityGroupBig.bind(null, lookup, entities.length);
  const greaterThanTwoIterable = filter(isValueGreaterThatTwo, entities);
  const andHasABigGroupIterable = filter(groupSizeFilter, greaterThanTwoIterable);
  const mappedIterable = map(
    (entity) => mapToSuperEntity(lookup, entity),
    andHasABigGroupIterable
  );
  return [...filter(isSuperEntity, mappedIterable)];
}
```

We are flat again. We do some extra work in the end because we need to convert our iterable to the array. Performance-wise this version should be slower than for loop version because generators should have some cost, but faster than the first attempt because we iterate only once and do not create any intermediate arrays.

At this point, I was so proud of myself. I thought, why nobody speaks about generators? And I should publish those small helper functions as a library. But then my teammate asked if I was sure the generator approach was that fast. I was sure, but *spoiler alert* I was wrong. Don’t be like me. Always write benchmarks when performing performance optimizations.

Benchmarking is hard to do, so if your aim is not a new benchmarking framework, use an existing one. I chose [benny](https://www.npmjs.com/package/benny). Why? It was first in Google results. So no actual research there, but it does everything I need and even can create an HTML page with nice visualization. Here is  the benchmark code:

```typescript
async function run(n: number) {
  const entities = getEntities(n);
  const lookup = createLookupMap(entities);
  return suite(
    `Entity(${n}) to SuperEntity transformer`,
    add("array methods", () => {
      return convertToSuperEntities(lookup, entities);
    }),
    add("for loop", () => {
      return convertToSuperEntitiesWithLoop(lookup, entities);
    }),
    add("generators", () => {
      return convertToSuperEntitiesWithGenerators(lookup, entities);
    }),
    cycle()
  );
}
```

And here is the result:

```bash
# npx ts-node src/benchmark.ts
Running "Entity(100000) to SuperEntity transformer" suite...
Progress: 100%

  array methods:
    4.5 ops/s, ±20.12%   | 6.25% slower

  for loop:
    4.8 ops/s, ±20.66%   | fastest

  generators:
    3.9 ops/s, ±18.90%   | slowest, 18.75% slower

```

I expected a more significant difference between array methods and for-loop. But let's get back to our elephant in the room. Why are generators so slow?

I went to the V8 source code to find the answer to this question. But it is surprisingly hard to read and navigate. So I went on a googling quest. Nobody seems to be concerned about whole generators being slow situation. All the info I found was from 2013-2015, and the conclusion is that generators are slow. That was no news to me. I am interested In finding out why. Last resort, the spec. I fell asleep multiple times while reading it, but it looks like I know the answer.

TLDR: It is slow because the generator function will manipulate the call stack on every iteration. 

The spec says that the generator should create an alternative call stack, and on every iteration, it will insert this call stack into the program call stack and execute it until the yield statement. Yield will update the call stack of this generator and remove it from the program call stack. This is what makes generators slow.

If that explanation does not help, imagine my handwaving. You are welcome. And if you want to check everything by yourself, here is the link to the [ECMA-262 27.5.3](https://262.ecma-international.org/13.0/#sec-generator-abstract-operations) in full glory.

But! But we can create iterators by ourselves, right? Generators are excellent when you want to make any arbitrary function return an iterator, and we need only two functions.

Here is the map function:

```typescript
export function map<InputType, OutputType>(
  functor: (arg: InputType) => OutputType,
  iterable: Iterable<InputType>
): Iterable<OutputType> {
  return {
    [Symbol.iterator]() {
      const iterator = iterable[Symbol.iterator]();
      return {
        next() {
          const { value, done } = iterator.next();
          if (done) {
            return { value: undefined, done: true };
          } else {
            return { value: functor(value), done: false };
          }
        },
      };
    },
  };
}
```

Here is the filter:

```typescript
type TypeguardPredicate<InputType, OutputType extends InputType> = (
  value: InputType
) => value is OutputType;
type BooleanPredicate<InputType> = (value: InputType) => boolean;
type Predicate<InputType, OutputType extends InputType> =
  | TypeguardPredicate<InputType, OutputType>
  | BooleanPredicate<InputType>;

export function filter<InputType, OutputType extends InputType>(
  predicate: Predicate<InputType, OutputType>,
  iterable: Iterable<InputType>
): Iterable<OutputType> {
  return {
    [Symbol.iterator]() {
      const iterator = iterable[Symbol.iterator]();
      return {
        next() {
          let { value, done } = iterator.next();
          while (done === false && !predicate(value)) {
            const result = iterator.next();
            value = result.value;
            done = result.done;
          }
          if (done) {
            return { value: undefined, done: true };
          } else {
            return { value, done };
          }
        },
      };
    },
  };
}
```

Yeah, I remember that we are solving the readability problem of the for-loop version. And with helpers like that, it makes the readability problem even worse. But since we are already here, let's benchmark it anyway.

Guess how our transformer function looks?

```typescript
export function convertToSuperEntitiesWithIterators(
  lookup: Map<number, Entity[]>,
  entities: Entity[]
): SuperEntity[] {
  const groupSizeFilter = isEntityGroupBig.bind(null, lookup, entities.length);
  const greaterThanTwoIterable = filter(isValueGreaterThatTwo, entities);
  const andHasABigGroupIterable = filter(groupSizeFilter, greaterThanTwoIterable);
  const mappedIterable = map(
    (entity) => mapToSuperEntity(lookup, entity),
    andHasABigGroupIterable
  );
  return [...filter(isSuperEntity, mappedIterable)];
}
```

Here is the updated benchmark:

```typescript
async function run(n: number) {
  const entities = getEntities(n);
  const lookup = createLookupMap(entities);
  return suite(
    `Entity(${n}) to SuperEntity transformer`,
    add("array methods", () => {
      return convertToSuperEntities(lookup, entities);
    }),
    add("for loop", () => {
      return convertToSuperEntitiesWithLoop(lookup, entities);
    }),
    add("generators", () => {
      return convertToSuperEntitiesWithGenerators(lookup, entities);
    }),
    add("iterators", () => {
      return convertToSuperEntitiesWithIterators(lookup, entities);
    }),
    cycle()
  );
}
```

And here is the result:

```bash
# npx ts-node src/benchmark.ts
Running "Entity(100000) to SuperEntity transformer" suite...
Progress: 100%

  array methods:
    4.8 ops/s, ±17.19%   | 2.04% slower

  for loop:
    4.9 ops/s, ±21.21%   | fastest

  generators:
    4 ops/s, ±19.09%     | slowest, 18.37% slower

  iterators:
    4.4 ops/s, ±12.05%   | 10.2% slower
```

Here we are. I will use this post as proof that any performance optimization made upfront is useless. I mean, there is no sense in using generators for performance optimization. And I think we can agree that there is no sense in using iterators to solve the readability and performance problems. So we left with array methods and for-loop, where the difference is around 5%.

When you are in the measuring contest, it’s hard to stop. And I have a few questions to ask. For example, how different are the results for different input sizes? 

![operations per second array methods vs for loop vs generators vs iterators](https://res.cloudinary.com/barhamon/image/upload/v1670884694/iterations_in_js/ops_rvye5j.png)

There is nothing visible on a linear scale, so this is a logarithmical one. And even though I was expecting for-loop to be a winner with a big margin, in reality, things are different.

![difference in performance array methods vs for loop vs generators vs iterators](https://res.cloudinary.com/barhamon/image/upload/v1670884709/iterations_in_js/diff_p4cxq8.png)

Do you see? Something strange happens around 20_000 and 65_000 input sizes. I rerun the whole thing multiple times on different machines, and it is still there. If you know what it is and why it is there, drop me a message, I would also like to know.

!!
! info circle
I also wanted to add a nodejs vs deno vs bun comparison. But deno does not have JSON output from the benchmarking tool [yet](https://github.com/denoland/deno/issues/14385), and I am too lazy to parse console output.
!!

But let's get back to generators. Why may you still want to use them? You may want to use generators when you get data in chunks, and those chunks are arriving slower than you can process them. Imagine any IO operation, reading from the filesystem, network, etc. Instead of waiting till all the chunks are received, you can start processing the data while waiting for the next chunk. You can do that with streams or generators. I find stream API hard to make type-safe and compose. This leaves only one real option - generators. If you want an example, check out [readline API](https://nodejs.org/api/readline.html#rlsymbolasynciterator), and imagine how easily you can apply map and filter helpers from the above.

Let's stop here. I hope that you had fun reading this. I had fun writing it. And I feel it lacks some bullet points in the end, so here we go.

**Mandatory bullet points at the end:**

+ Newer do a performance optimization without benchmarks.
+ Generators in javascript are slow.
+ Array methods in Javascript are surprisingly fast.

!! specs and links
! lightbulb
I ran all those benchmarks on the cheapest Hetzner server (CX11), which has one vCPU and 2GB of RAM. With Ubuntu 22.04.1 LTS and NodeJS 18.12.1 on top.

You can find all the code, including benchmarks and Jupyter notebook, in [the GitHub repo](https://github.com/Lurk/generators_js).
!!
---
title: "IDKFA"
date: 2021-04-02T11:12:59+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_450,q_auto,w_600/v1617355059/header/idkfa_gcd5ox.png
preview: If you googled something like \"I have this idea, with what I should build it.\", here is my take on it.
tags:
- software
---

A couple of times in a year, I got asked something like: "what language/technology I should learn" or "I have this idea, with what I should build it".

Here is what and why:

### Language:

If you are asking, the chances are high that you are don't know what you are doing. So go with JS. JS (TS is slightly better, but the learning curve is steeper) will allow you to do quick and dirty prototypes for everything. And I mean, it. You can do frontend, backend, mobile, desktop, ML all in one language (I even saw microcontrollers with JS support. How crazy is that?). This means you don't need to switch context too often, which means you are more productive. Big community is a bonus.

Sure, JavaScript is not perfect, and there are better alternatives for:

- Sciency or ML - Python. 
- Blazing fast or/and close to the hardware - Rust
- iOS - Swift
- Android - Kotlin
- Microcontrollers - C
- Scalable AF - Erlang

And still, you will need JS to do the frontend. So learn one language. Do everything, and when you know which part of your product should be rewritten with more suited language - you will do it. 

### Database:

My go-to choice is MongoDB. It is pretty simple, and you can do whatever you want with the schema while you are prototyping. Also, you will scale It effortlessly when your prototype became a production.

I also often use Redis when performance is the primary concern. And nowadays it has all bells and whistles you can think of, including queues and time series.

And sometimes, when persistence is not required, no DB is also an option.

### REST vs. GraphQL:

I will choose GraphQL over REST because I never saw REST API, which was working as intended. And because of that, documentation is often missing or outdated. Swagger kind of slowed this issue, but for me, it is a half-assed solution. Because your OpenAPI specification does not depend on actual code, you need to describe APIs twice. While using libraries like type-graphql - documentation and playground reflect your current code. So you write your code and get documentation and playground for your API for free.

If you came here with questions like questions in the first paragraph, I hope this post will somehow help you.

!! IDKFA
! lightbulb
ID, Keys, Firearms, Armor (cheat in the Doom game)
!!
---
title: "Kerla"
date: 2021-12-21T20:52:09+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_mpad,h_800/v1640116267/header/kerla.jpg
preview: "“Just for fun”™ Linux on Rust rewrite"
tags:
- rust
- software
- linux
---

I was fascinated with operating systems for a long time. And the thought of learning more about them always sits at the back of my mind. But I can identify at least a couple of reasons why I never did something in that domain. While I can read C-like languages, and with some effort, understand the code, every time I looked at Linux kernel source code, I saw unicorns and fairies. I would say that the kernel is not beginner-friendly, which is not a bad thing. But I felt like I needed to invest a lot of time before contributing. And some things were more fun and sometimes profitable than properly learning C and understanding kernel. So I never did.

Despite all of that, I occasionally read articles or news on that topic. And when I saw [“Just for fun”™ Linux on Rust rewrite](https://seiya.me/writing-linux-clone-in-rust), I immediately jumped in. Maybe “jumped in” sounds over-enthusiastic because I know nothing about the kernel development and still don't feel comfortable with Rust. But anyway, I can read and navigate the source code, identify spots that I can fix, and fix them. Which is a vast improvement over the original kernel for me :)

If you can relate to what I wrote above, check out [Kerla](https://github.com/nuta/kerla). It is in the early stages of development, so people with all levels of knowledge can find what to do. There are a lot of decisions to make, a lot of code to write. 

And yes, it is fun
---
title: "I crossed Lapland on a bicycle"
date: 2024-07-21T18:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1721577478/lapland-2024/lapland-crossing.jpg
preview: "Or I cycled 800 kilometers from the Barents Sea to the Baltic Sea."
tags:
- adventures
- bikepacking
- lapland
---

Or I cycled 800 kilometers from the Barents Sea to the Baltic Sea.

That was my first time in Lapland, and in general, I have never been so far north. It was also my first long bike tour
and my first solo adventure that long. I liked it very much. My answer is yes if you ask me if I will do it again.

If you got to this article with the question of whether you should visit Lapland, the answer is also yes. It does not
matter if you do that on a car, or foot, or a bicycle, or a kayak, or a motorcycle, whatever. Go. You will not find
that kind of nature that accessible anywhere. I had a 5G network connection the whole time except one day. That day, I
was still able to call Marie. It is EU, which means no roaming problems if you have an EU SIM card. You can pay with
your card, Apple Pay, or Google Pay anywhere. The roads are good, and the trails are maintained enough. The people, if
you find them, are incredibly nice. Go.

If you’re interested in how I got that idea and how I prepared, here is the
[EDT Finland preparations](/post/EDT_Finland_preparations.html) article. I thought I would mostly ride in Finland, but
it turned out that I spent two days in Norway, six days in Finland, and seven days in Sweden.

Since that article, I have bought plane tickets there and back. The plan was that I will have 11 full cycling days,
plus half of the first day. Komoot showed that the route is 736 km in length. That means I will have to ride at least
65 km per day. I did a few test runs on a fully loaded bicycle, up 100 km in a day. It was hard, but riding 65 km per
day seemed doable.

Gear-wise, I was fine except for rain gear and a half-broken multitool. The bike worked flawlessly. Camping gear did
keep me dry and warm. Most nights on my trip, I used a sleeping bag as a blanket because it was too warm. Didn’t have
any punctures in the sleeping pad. The chair was used multiple times daily, and I have no regrets about carrying it. My
cook kit worked as always. The water filter got clogged more and more during the trip. On the first day, I could fill
my bottles in 15 minutes. Closer to the journey’s end, it was around 50, but I had time, so no complaints. I had
camping clothes in a separate dry bag and was glad to wear them every evening. I had set of clean clothes (socks,
underwear, long sleeve) in another dry bag for the flight back. I was drying wet clothes on my front bag and washing
dirty ones when needed.

In the last days before the trip, I started to be paranoid about phone charging and ordered a solar charger. I had low
expectations, but it worked very well. My phone was constantly in flight mode, with Komoot recording the track.
Occasionally, I would turn off flight mode to call Marie and send pictures. In that mode, the phone battery held up to
two days. I could always charge a full power bank with the solar panel in two days.

On the first day, my multitool lost a few tools. Luckily, I did not need them. The ratchet one worked flawlessly,
though.

Before the trip, I tested my poncho in the rain. It looked like it would work, but it didn’t. I was soaking wet during
the first hours of my trip. And it does make you pedal twice as hard, especially with a headwind. I stopped using it as
rain gear on the first day and used it only as a footprint for my tent. Next time, I would like to have proper
waterproof pants. My Patagonia hardshell kept my torso perfectly dry on the wettest day. I can recommend that one.

## Budget

```Markdown
Plane tickets (me and bicycle) 	€751.04
Bike service and parts 		€163.10
Groceries + eating out 		€433.58
Hotels and camping's 		€313.70
Transport 			€69.35

Expenses before the trip (1-2) 	€914.14
Expenses during the trip (3-5) 	€816.63
Total 				€1,730.77
```

If my card had not been blocked and my flight had not been canceled on the last day, it would have been around 300
euros less.

## Stats

In eleven riding days, with one full rest day in between, I cycled 782.25 km (71.11 on average) and gained 4.660 m of 
elevation. There were a few bits that I have not recorded, so from now on, I will say that I cycled 800 kilometers above
the Arctic Circle and slept with the bears.

## Dairy

### Day 0

My friend Evgeny volunteered to drive me to the airport at 5 a.m. Thank you, man. After a short ride, I got to the
airport. To get a trolley, you need two euros, which is hard to get at 6 a.m. But the car entrance to the airport costs
three euros, which means you will get at least 2 euros back no matter how big of a banknote you feed to the soulless
machine collecting fee.

When I finally found check-in, I saw that there were already all sorts of outdoor people in the queue. Near me, a group
offishermen were loading a massive thermobox to check it in.

- What is in the box? - asked the airport worker.
- Wine and beer. - declared the group head after some negotiation between group members.
- Respect. - airport worker
- 😁 - everybody.

Power banks are allowed only in hand luggage, so I searched for duct tape. If you ever need duct tape in Munich
airport, it is in the farthest right corner of a Müller shop.

The flight was uneventful, and the apple tags I put into my boxes showed they had arrived. The box with gear arrived
without any visible damage, but the bicycle box had a few new holes. I patched those holes with duct tape I bought in
Munich. I hoped to leave the bicycle in a locker, but all the lockers of appropriate size were already occupied. Now,
I am stuck in the airport till morning. If you ever need to spend the night in Oslo airport you will find wooden
benches that are flat and long enough to take a semi-comfortable nap near Burger King.

{{cloudinary_gallery|barhamon&lapland-2024-day-0}}

-----

### Day 1

I woke up at 4 a.m. because my sleep was not very good. The airport was filled with sleeping people in random places.
Pro tip: Pack your sleeping pad and bag to access it easily. You will find plenty of spots for your bivouac on the
second floor.

Check-in and bicycle drop-off were smooth.

Kirkines airport is relaxed. We walked from the plane through the field, and the door that leads outside is in the 
baggage room. After all those big and busy airports, that is a new experience for me. At the airport, I met a guy who 
had just finished the Iceland loop and wanted to do EDT.

The bike assembly went smoothly. The only surprise was from my Leatherman. Half of the tools just fell out of it.
Gladly, that was not the important half.

It was drizzling all the way, but I decided not to wait until it stopped, so I cycled to the city, where I went
shopping. At the Intersport, I met another guy who retired a month ago and plans to ride EDT until September. I am
jealous.

When I finished shopping, the drizzle became proper rain. I put up my poncho and cycled to the border with Finland.
Poncho was a mistake. I tested it as my rain gear in warm conditions. Even if I got wet, I dried out quickly. It turns
out that if it is cold, you are not drying out. At all. At some point, I stopped and took a poncho and wet puffy jacket
off. I put on my rain jacket and continued cycling. I was wet but happy because everything around me was extremely
beautiful. A few times, a small hoard of reindeer was running alongside.

I found a shelter with a roof and decided it was enough cycling for today. I hung my wet clothes, pitched my tent, and
cooked my food under the roof.

{{cloudinary_gallery|barhamon&lapland-2024-day-1}}

{{komoot|https://www.komoot.com/tour/1683903813/embed?share_token=auAxylqYF9KuUJs2h7WhdakyQgiMi1CfqPKe6pcstKUxxSJODA&profile=1}}

-----

### Day 2

I woke up early, cooked breakfast, packed my stuff, and tidied up the place. Around 9 am, a lady arrived in a van. She
was camping along the river and came here for breakfast because the mosquito situation there was unbearable. The
shelter is a bit uphill, and mosquitos are almost nonexistent.

When I was ready to start, the drizzle started again. But I went on anyway, and that was the right decision. The
drizzle was starting and stopping the whole day.

Right after the Finnish border, I found the shop with everything, including fishing baits, Dr Pepper, cucumber, canned
deer meat, and various chocolate bars. I asked if I should have a license to fish, and locals said that I only need a
permit if I fish in the waterfalls and areas marked as no-fishing zones.

I rode until noon, found a nice place to cook lunch by the lake, and was overwhelmed by the number of mosquitoes that
wanted to eat me alive. I thanked Marie, who insisted on buying a bug net while putting it on.

At around 65 km, I started looking for a turn from the road, discarded a few, and found a nice one that led to a lake.
That evening, I was camping on a beach. It was too cold for a swim, but I tried to fish—unsuccessfully. I got to bed
early to try again in the morning.

{{cloudinary_gallery|barhamon&lapland-2024-day-2}}

{{komoot|https://www.komoot.com/tour/1687422598/embed?share_token=aC1va33b6Wvqb49XtDviXDBvc6HHN4WB2aZajlvSIwaljlOiBD&profile=1}}

-----

### Day 3

I got up early. I attempted to get a fish for breakfast but was again unsuccessful. I had muesli and tea for breakfast.
Then, I packed the camp and hit the road around ten.

Around noon, I found a small boat station marked as shelter on a map for lunch. I had lunch with a view of the biggest
lake in Finland and started to ride again around three.

The route for this day included a big off-pavement section, and I had high hopes of finding a nice spot to camp. I saw
tens of lakes along the route, and that grilled fish was constantly on my mind. I planned to start looking for that
camping spot on a lake after I cycled 65 km. The off-pavement section started as an excellent gravel road. I remember
telling myself that the third day is usually the most challenging day on an adventure, physically and mentally. But
this time, everything was so smooth and easygoing. I thought that’s because my planning skills have improved over the
years. At some point, an excellent gravel road turned into a single track through the swamp. Sometimes, it was barely
rideable, and sometimes, it was not. That was at the 60 km, so I thought I would tough it out 5 km and then camp, fish,
dinner, etc. The map confirmed that idea. The swampy part should end soonish, and then the lake. I also saw a bicycle
trail in the mud here and there, which I took as a good sign.

At some point, a bicycle trail disappeared. The swamp did end, and I saw many lakes left and right but with no way of
getting to them. While exploring one of the turns to the lake, I met a couple, and they showed me the direction where
I should find a place to camp by the other lake. That was along my path anyway, so I cycled a bit more. At around nine
PM, I still have not found a spot. I checked the map, and it showed me a shelter by the lake. I heard rumors that in
Finland, you could find a sauna in the woods, and that image of me jumping to the lake right after the sauna and
grilling a huge freshly caught fish flashed in my mind. When I found a turn to that cabin, it looked like the turn
nobody with a loaded bike should take. But I said to myself, “C’mon, that’s why you came here,” and took the turn. It
was a single track that had disappeared into the swamp. Those swamps are the worst. You carry your bike knee-deep in
the mud covered with mosquitos—hour after hour. Sometimes, you get to a dry hill, where stopping without drowning in
the mud is possible, but mosquitos kill all the joy.

At around eleven, my path was blocked by the fence. The moment I saw it, I almost burst into tears. The thought of
going back the same way scared the shit out of me. Then I realized that “gates” were in front of me. They just looked
like solid fences. I unknot the part of the fence, dragged the bike in, and then knotted it back. I arrived at my
destination, which turned out to be some archeological site and the church—no jumping to the lake after the sauna.

Despite the time, I found people. They said that overnight stays are prohibited, but they saw that I was in a dire
situation, and if I got out before 9 a.m., I could stay. That was my record time to set up a tent, cook/eat dinner,
bathe in the lake, and sleep.

{{cloudinary_gallery|barhamon&lapland-2024-day-3}}

{{komoot|https://www.komoot.com/tour/1687422589/embed?share_token=azjlyw0itQY3CzKMtPYID1K5tbGhK5NEbDqr14spHxoSVjHiIN&profile=1}}

-----

### Day 4

I woke up in panic mode because it was bright. I thought that tourists would start swarming around me any second. When
I checked the time, I packed my tent and was ready to go. It was 6 a.m.

Luckily, the trail to Inari had no swamps, but it was rocky and unrideable. I spent three hours hiking my bike out of
it. When I reached Inari, I was already so tired that I decided to get a hotel and sleep in bed. Nine in the morning,
it was too early to check into the hotel, so I found one around 30 km along my route. I asked Marie to book it for me
and cycled there. It was the hardest 30 km in my life. It was mostly uphill, and the constant headwind did not make it
easier for me.

In the hotel, I went to bed. After two hours, I got sausages and grilled them for lunch. The sausages were meh despite
my hunger and having a very nice grill. Three years in Bavaria made me picky about sausages. After that, sleep again.
In three hours, I had an exceptional dinner and went to sleep.

Shower. Sleep. Eat. Repeat.

{{cloudinary_gallery|barhamon&lapland-2024-day-4}}

{{komoot|https://www.komoot.com/tour/1725707448/embed?share_token=aKH0m354dXeYk2X2YTkjchT430fIDWxCj6VtHPHixsmHo0G8L6&profile=1}}

-----

### Day 5

The breakfast was as exceptional as the dinner. I packed my stuff and was in the saddle around 11 a.m.

The headwind was still making my ride miserable, especially today. Today, I should have reached the highest point on my
route, so the first part of my day was primarily uphill. On that hill, I met a guy from France who had been cycling
since January. He asked if I had found any of the famous free saunas he had heard so much about but had yet to see any.
I strongly advised him to avoid making my mistake and ask locals for directions. He was surprised by how little stuff I
have on a bike, but we agreed that you don’t need more for a two-week ride.

After a mandatory snack in Pokka, I found a flat enough spot in the woods to pitch a tent and went to sleep.

{{cloudinary_gallery|barhamon&lapland-2024-day-5}}

{{komoot|https://www.komoot.com/tour/1693746483/embed?share_token=anTfbamDr4XUgjaAsqW0rhlY3I4lhrkxkcuL4hidW4NfI5wuaw&profile=1}}

-----

### Day 6

I finally figured out what should go where on my bike. Now packing the camp takes around half an hour.

Twenty kilometers down the gravel highway, I found a nice spot on a river to snack and fill my water bottles. While
waiting for the filter to do its job, two Finns arrived to fly fish. They also said it is the wettest summer in their
lifetime, and everything is full of water. Usual fishing spots do not work anymore or have become swamps, and they are
searching for new ones.

On my trail was a checkpoint named “Cheap and Tasty Restaurant“. I arrived there at 3:50 p.m., and the sign said they
were working until 4 p.m. Stuff was kind enough to feed me delicious soup and cakes even though they were closing.

I had two options for camp: one on a bird-watching tower and the other in a charming hut above the lake with a fire pit
and panoramic windows on a mountain. I checked out the bird-watching tower, and it was nice. Along it was a shelter
with a roof and barbecue with all the tools, but it was right in front of a swamp, and as soon as I stopped, I was
covered with mosquitoes. I decided to check out that second option.

Marie and I are fans of AoT, and when I reached the city sign Levi, I asked a passing cyclist to take a photo of me with
it. I went to the grocery store in the city to refill my food supplies. I ran out of noodles, canned meat, chocolate
bars, vegetables, etc. I also grabbed a pack of sausages, “Levi from Reindeer.” Who would not?

When I reached the cabin, it was crowded. I was not in the mood for conversation, so I went further. My next spot on
the route was a twenty-kilometer-away spot called the Secluded Shelter. It started to rain at some point, but at least
the headwind died out.

The secluded shelter was superb years ago, but now the windows were broken and full of litter. I noticed one more
shelter on the other side of the lake, with a half-rotten wooden path leading to it. Since I was already wet, I decided
to try my luck and reach it.

I did reach it with my feet wetter than before. The shelter barely fit my tent, and the floor was a bit tilted, but
otherwise, it was perfect. The wood around me was too wet to make a fire, so I had a quick snack, pitched a tent under
the roof without rain cover, and enjoyed the view with a show in the sky. The clouds were moving so fast that I had the
sun and the rain switching every few minutes.

{{cloudinary_gallery|barhamon&lapland-2024-day-6}}

{{komoot|https://www.komoot.com/tour/1693746484/embed?share_token=ahGGJJfHqhnp3Nw260vV4PyrVtVyvUgnh0605BSpCYxfTSMH3Q&profile=1}}

-----

### Day 7

I woke up with a plan to spend a day here. You know, get some fish from the lake, grill it, swim, and relax. But it was
raining, and the fish ignored my baits. So, around lunch, I decided to move and find another place.

At some point, the rain stopped, and the sun started to shine. Right before the lake, where I planned to have lunch,
I met a cyclist cycling from Spain to the Nordkap. We exchanged spots for camp, and right before we said goodbye, he
asked if I had everything I needed. Man, I didn’t ask for your name, but if you are reading this, know you are awesome.

I found a shelter with a roof right on time because the rain started again when I got under the roof. The rain allowed
me to cook lunch, make tea and sandwiches, and rest properly. As soon as it stopped, I continued cycling to the border
with Sweden.

I wanted to stay at a camping site to have a proper shower and a fire pit to grill those Levi sausages. Somehow, I
missed the one on the Finnish side and cycled to a campsite in Pajala, where I found everything I needed, plus a sauna.
And the sausages were delicious this time. If you ever are in Levi, get those and grill them.

{{cloudinary_gallery|barhamon&lapland-2024-day-7}}

{{komoot|https://www.komoot.com/tour/1696960506/embed?share_token=akFr5yOc2wOyj88tgLArG46oQGcFjxoV1rjvJUbmyH1SBcyOYv&profile=1}}

-----

### Day 8

I had a chat at breakfast with a Norwegian family of three. They were traveling north and fishing along the way. At
some point, the dude showed off his rods and lures and gave me a wire leader because I did not have one.

The sun burned so hard that I unpacked a solar charger and plugged my phone into it. 20% of the charge was left. I
properly cleaned the dishes, packed my gear, had one more final shower, and was ready to take off. I checked how my
phone was doing, and it was charged to a nice 69%. I strapped the solar panel to my bike and plugged one of the power
banks into it.

That Norwegian family drank Coca-Cola the whole time, and I badly wanted some poison like that. I got a can of
Coca-Cola in the nearest supermarket and, on a first sip, realized it was sugar-free. I was so disappointed that I got
a can of Fanta to save the day.

I found a lovely beach on the lake for lunch in the middle of the day. It had benches, tables, and grill shelter. When
my noodles were almost ready, it started to rain, so I moved to that grill shelter and had a dry lunch. While waiting
for the rain to stop, I considered staying here for the night. I saw fish in the lake, there were enough facilities to
make it comfortable in the rain. But when the rain stopped and the sun started to shine, I decided to find a nice spot
somewhere further.

When I was almost ready to go, a couple in a motorhome came. They were from Munich, and I had an opportunity to
practice my German.

Around thirty kilometers further, I met a group of cyclists from Germany who were cycling to a Nordkap. One of them
was a fisherman, like me, who had yet to be successful. I pointed to the location of a lake on a map. It was a bit far,
but that’s the best camping spot I have seen today. I hope those guys reached it and had a wonderful stay. The place I
hoped to stay for the night, marked as a shelter, turned out to be just a parking lot. After a rainy day, finding a
place to pitch a tent without a puddle is hard. A few hours later, I found a dry enough spot and fell asleep.

{{cloudinary_gallery|barhamon&lapland-2024-day-8}}

{{komoot|https://www.komoot.com/tour/1698402982/embed?share_token=at85JaL6msh5scRA5P1oijN5hDKusg7uRtlaVkUbbqV59Gs5gm&profile=1}}

-----

### Day 9

The night was without rain, so there was no need to dry the tent. For breakfast, I had a quick muesli. Then, I packed
everything and rode to the nearest water source.

Around lunch, I crossed the polar circle. From now on, I will get sunsets and sunrises. The point has a huge sign, so
it’s hard to miss.

I looked for a for lunch spot along the river, but all of them were so full of mosquitoes that I was forced to search
for a better place. A better place, with a proper bench, table, and view, was found near a movable bridge. I spent at
least an hour there, mainly because my water filter started to filter very slowly. From now on, filling my water
bottles began to take around 40 minutes.

In the evening, I reached the camping spot in Nybyn that was recommended to me a few days ago. Before even unpacking my
tent, I set up a fishing rod. I tried all the bates I had, and after an hour, I put a simple floater with bread on a
hook. While adjusting the depth, I did a few testing runs, and on a third one, a big enough fish attacked the floater
and then the bread with the hook. I finally got a fish for dinner. The camping spot had all you need to grill the fish,
and I had salt and pepper with me. I am the happiest man alive.

{{cloudinary_gallery|barhamon&lapland-2024-day-9}}

{{komoot|https://www.komoot.com/tour/1699553183/embed?share_token=aV8HUr6X6fxHHNy85cTzPtOVAIUSMUeDBbqMQbu0aHzXZFCJUc&profile=1}}

-----

### Day 10

I got out of the tent pretty late because of the rain. I hoped it would die out, and it almost stopped a few times,
but then I checked the sky and the forecast. Both said that the rain would not stop until tomorrow. After some
thinking, I decided that cycling in the rain is much more fun than camping in the rain. Plus, my next stop promised a
sauna.

Överkalix city was a bit on the side from my route, but I almost ran out of food and badly wanted some fruits, so I
went there. After refilling my food bag and mandatory snack, I returned to my route. E10 was my first busy road in ten
days. With no roadside and rain, every passing car is a challenge. Trucks are even worse. I stopped at the first bus
stop with a roof and looked for alternatives. On the other side of the river, there was an excellent empty gravel road
that l could use.

At some point, I was completely wet. Not completely. My Patagonia Torrentshell did a great job keeping my torso dry,
but everything else was soaking wet. It wasn’t cold, though, at least while I was cycling, and there were no nice spots
with a roof to make a long break. I was cycling, I was wet, and I was warm.

When I reached my spot, I was still wet. The place was full of other cyclists. French couple that is cycling to Nordkap
and back to France in half a year, a Finnish guy that is cycling from Helsinki to Stockholm light and fast, a Swiss
couple that is going to Nordkap, and a Brazilian guy that is cycling from Germany to the Nordkap and back. We shared
our stories, had dinner and sauna, and went to sleep happy. Jumping into the river, after the sauna, after a full day
of cycling in the rain does make you happy.

{{cloudinary_gallery|barhamon&lapland-2024-day-10}}

{{komoot|https://www.komoot.com/tour/1704672367/embed?share_token=a3k7VGV4VAsON7Ps2Kk7uTTVwhZlujHn4XLP2LCGBgawewDlMg&profile=1}}

-----

### Day 11

Due to various reasons, I had around 70 km to cover in two days. I could cycle closer to my destination, but some of my
clothes were still wet, and I was not guaranteed to find a sauna somewhere along the way. I decided to stay, dry my
stuff, and chill.

Around ten a.m., all of my new cycling friends had left, and I was alone until lunch. Somewhere at lunchtime, a local
guy showed up. He is the one who maintains this place, and we had an enjoyable chat. I was curious about life in such a
place, and he was motivated to tell me everything: schools, people, prices, bears, mushrooms, rivers, projects,
potatoes, etc. At some point:

- What about the winter? - I asked.
- We have winter, yes.
- 😁

When he left, I unpacked my fishing rod and went fishing. Mosquitos were terrible. After a few hours and a dozen
not-big-enough fish, I gave up and cooked my last noodles.

Jumping to the river after the sauna is nice, even without cycling in the rain beforehand.

{{cloudinary_gallery|barhamon&lapland-2024-day-11}}

!!
! arrow-up
The group photo done by the amazing dude Cesar Silva. Go and check his IG profile: 
[expyworld](https://www.instagram.com/expyworld?igsh=bjZ0MXlldGhhOXBm)
!!

-----

### Day 12

A French couple recommended camping in the Luleå. I plan to get there, sleep early, and wake up at four tomorrow to
pack my bicycle and reach the airport before noon.

Somewhere in the middle of the day, a few cyclists from Denmark overtook me. They were driving from Nordkap and said
that Nordkap was too crowded. I believe that claim because most cyclists and caravans I meet on the way are going to
Nordkap.

My card was declined when I stopped at a gas station for a snack. I was upset about that, but I had a few chocolate
bars and didn’t pay enough attention. When my card was declined on camping, l was confused. Even though I had cash, I
could not pay with cash anywhere because everything was cashless. When I finally figured out the money question, Marie
got home from a hike, and I connected her card to my phone. Marie also helped me find and book a hotel nearby. I
checked in, cooked my dinner, and fell asleep.

{{cloudinary_gallery|barhamon&lapland-2024-day-12}}

{{komoot|https://www.komoot.com/tour/1705980010/embed?share_token=aQeCNk52tpW6gKJoabRU25o0GsnZ96rXJaMnnxTVlVuDDd8Lvm&profile=1}}

-----

### Day 13

I woke up at six a.m. to be first at breakfast. While deciding between boiled eggs and scrambled eggs, I got an SMS
about my flight being canceled. The only way to get home is the next day at six a.m. I could not do anything, so I
made a new plan: sleep till noon, pack the bicycle and bring it to the airport, and then decide what to do.

I found a bicycle shop that promised to leave a bike box quickly. There were boxes of different sizes. And space big
enough for me to disassemble the bike. I was done in a record-breaking 45 minutes.

Next adventure: a taxi. There are no Uber cars in Luleå, and the local taxi app does not accept my phone number, so I
Googled a phone number for a taxi company. The first car was too small for my bike box, and the second guy was on a
wan. We talked a lot on the way. As always, I asked how he likes the winter. He said that vodka and barbecue help him
survive the winter.

At the airport, my huge box and I instantly grabbed the attention of the airport staff. They helped me figure out that
even though the box was okay size-wise, it was too heavy. The absolute limit is 32 kilos, and my box is 35. So I left
it at the airport and went to the bicycle shop, hoping to find a small box.

Toe on my right foot started to hurt. Last year, I dropped a motorcycle on it in
[the mountains of Turkey](/post/tet_turkey_ride.html). I had a black nail for a year, which came off right before this
year’s adventure. It was ok the whole time, but now it hurts.

It was already around four in the afternoon, and I was starving. On my way to the bike shop, I stopped at a cafe and
got my salmon burger with glass of beer. That was the best glass of Carlsberg in my life.

The smallest box was a box from a child’s bicycle. It did fit all my gear and some bicycle parts. In the end, I had one
box with a bike, 23 kg, and one more box with everything else, 12 kg. Airport staff checked me and my boxes in, so in
the morning, I will need only to drop those boxes off. The airport opens at five am, and the first bus starts from the
city at 4:30 am. I left my boxes in the airport’s dark corner and returned to the town.

Found a new hotel, closer to a bus stop. Grocery store on the way. Check-in in different building. My toe hurts AF.

I had a cookie, Yogurt, and cherry for dinner.

I hoped that tomorrow on Monday, I would have time to prepare myself for a German language exam scheduled for Tuesday.
The best course of action is sleep.

{{cloudinary_gallery|barhamon&lapland-2024-day-13}}

-----

### Day 14

I woke up. I had yogurt and cake for breakfast. I did not miss my bus. In the airport, everything was smooth. In
Stockholm, AirTags showed me that my boxes had arrived. I quickly found my gate to Munich. Everything was suspiciously
smooth. When I landed in Munich, AirTags showed that the boxes were with me. I assembled the bike in a whopping 25
minutes. At around three p.m., I was home, and all my gear was sorted.

{{cloudinary_gallery|barhamon&lapland-2024-day-14}}

-----

## At home

The toe still requires medical attention. Last week, I visited a few doctors, resulting in an antibiotic course. The
next doctor’s appointment is tomorrow.

Returning to a “normal life” after those trips has always been difficult mentally for me. Everything seems irrelevant.
But I managed to pass a German language exam the next day after I returned. It shook me up, and somehow, normal life is
normal again.
---
title: "Look ma, NO JS!"
date: 2023-11-21T21:30:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1700600099/header/look-ma-nojs.jpg
preview: "I rewrote my blog without any JS."
tags:
- blog
- rust
- software
- yamd
- bar
- cloudinary
- serve
---

I rewrote my blog without any JS.  

I have been doing JS full-time/stack for over ~~9000~~ fifteen years. I did a few IPTV apps for various platforms and 
a dozen websites in those years. I have solved every front-end problem with React for the last ten years. Since then, 
the web platform has evolved so much that a usual website does not need JS, and you are looking at the proof of that 
statement. 

!!
! pepper-hot
I also have some strong opinions on the direction that Vercel pushes the React ecosystem, which may end up in a 
separate post. Spoiler alert! That direction sucks. 
!!

In the process of rewriting this blog, I produced a few artifacts which may be interesting. 

## YAMD

[Yet another markdown document (flavor)](https://crates.io/crates/yamd) implemented in Rust markdown to Serde 
serializable tree of nodes parser.

I thought about parsing markdown as an easy task. I was so naive that on version 0.2.0, I wrote, `It is ready to poke 
around. There are no significant API changes expected.` in the readme file. That was fixed only at 0.10.0. 

I kept notes while implementing it [Yamd notes](/post/yamd-notes.html). I should do it (notes) more often.

The following steps are implementing a proper lexer, introducing escape sequences, tree-sitter, etc. 

## Cloudinary Rust client

That’s not a new [crate](https://crates.io/crates/cloudinary), but I added some stuff to it, and to my surprise, other 
people did a few pull requests. There is still a long way to a release, but we are getting there. 

Implementing it I got a few good insights on how image transformations API should look like. I will need to implement 
some of those in BAR.

!!
! handshake
Here is my Cloudinary 
[referal link](https://console.cloudinary.com/invites/lpov9zyyucivvxsnalc5/hqd3swadmblfw3ivxjmv?t=default). Every 
registration is expanding my free tier, so I can post more cat photos.

Thank you. 
!!

## BAR

Static website generator. Every web developer should write one, right? 

The idea is simple. Read some files, render that data as HTML, and save those HTML files to the specified folder. But 
then, you do not need just any files. They must be in a suitable format. That’s why Yamd. You also need machinery to 
handle static files, feeds, etc.

Then, you need to find a template engine. From the beginning, I wanted to be able to render different templates. That 
requirement alone significantly limited my options. All nice `rsx` stuff was out of the picture because there is no 
easy way to include arbitrary rust code after the compilation.  

I want a template engine that has the following:

- A way to expose custom API to the template. 
- Nice way to define components because I want to structure my template code so it does not suck right away.  
- It should be as close to the resulting HTML as possible. 
- Tooling: tree-sitter, type checking, linter, prettier, etc.

Ultimately, I chose [Tera](https://keats.github.io/tera/docs/) mainly because exposing BAR API to the template is 
relatively easy. Developing a theme with it reminded me of the old days of doing PHP and Smarty. I would consider 
moving to another template engine if I find something better. Also, version 2 of Tera is in progress, but I haven’t 
read anything yet.

Anyway, here is the first template for BAR - [Hamon](https://github.com/Lurk/Hamon). 

Another adventure is code highlighting. I chose [Syntect](https://github.com/trishume/syntect/) to do the job. In the 
middle of integration, it turned out that they do not support TypeScript. I spent some time getting around it, but 
now, if you already use or are planning to use Syntect and need Typescript support, here is the way to do it 
[Syntect SyntaxSet with Typescript support](https://github.com/Lurk/syntect_ts). 

I have many ideas on how to improve the whole BAR situation: docs, git integration, webhooks for automatic site 
rendering, partial rerendering, comments, etc. 

So yeah, come and build some websites with [BAR](https://github.com/Lurk/bar). 

## Serve

[Simple HTTP(S) server for static files](https://github.com/Lurk/serve). At some point, I needed a tool to serve the 
files that BAR produced. I reached out to the familiar Nginx but then wrote a simple Axum-based Rust program that did 
the job. The source code of the first version was smaller than the Nginx config would be. The current version supports 
TLS and is still very simple. I haven’t done any benchmarks, so I do not know how good or bad it is. But it did serve 
this particular page and did it well. 

Side note: Jeez, this whole HTTPS stuff nowadays is so easy to do. I spent a maximum of 10 minutes getting Certbot up 
and running. 

-----

I like the mantra of Rust dev:

- make it work
- make right
- make it fast

All pieces of that project are in the first stage. There is a lot of stuff that I am not proud of. But it works and 
can be improved. 

The main Rust related surprise is how easy async stuff is. Yes, there is nothing extra complicated, reading some files 
and sending some requests. But I read so many articles about how hard async in Rust is that I was expecting much more
hustle. 

Overall I am happy with the result. I will use tools, and knowledge that I got from this project in the future.
---
title: "Relocation part three. First month in Check24"
date: 2021-05-12T20:09:57+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_650/v1620841615/header/month_in_check24.jpg
preview: "Month since I started to work in Check24.de. Here is what I think about it"
tags:
- life
- relocation
---

One month ago was my first day at Check24 as a software developer.

If it looks to you as a significant downgrade in my position, that's because it is. I choose the offer from Check24 for three reasons. First, it is a big product company, and I lack experience of that sort. Second I liked the interview process. It was easygoing, although I have never been on that side of a job interview in my life. The third reason is the location, we really liked Munich. Each of the above is more important for my family and me than the job title, so I downgrade.

I can not say for sure about the whole company because it is big. And there are no events to socialize because of the corona. Even in my team, I saw only five people in person. So although it is big, it feels like a startup. The idea behind everything and engineering in general - every project has one team. While every team does whatever it wants, my team wants and does Next.JS, MongoDB, and a little bit of everything around that. I was skeptical about this approach because, sooner or later, there should be some problems in communication between teams. But it seems like it is working pretty fine.

What I like are code reviews. In my previous job, I had no professional feedback. On the other hand, I could do whatever I wanted to do, but I often had no idea how to do things better. And life is too short to not trying to do things better. Now, we, as a team, helping each other to leave things in better shape than we are found them, and code reviews are a massive part of it. Second favorite thing - technical discussions. Twice a week engineering part of the team spends an hour talking about technical challenges we face and how to solve them. That also helps a lot in knowledge sharing, learning stuff, and keeping up with new things in general.

To wrap it up - I am glad that I made that decision, and looking forward not to change my mind :)
---
title: "Relocation part two, or month in Munich"
date: 2021-05-05T21:23:58+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_650/v1620243049/header/month_in_munich.jpg
preview: "Part two of the tail about our relocation from Kyiv to Munich process. Buying a local sim, get tax ID, self isolation, usual stuff :)"
tags:
- life
- relocation
---

The most frequently asked question is - do I like it? And the short answer is yes.

What I like the most - everybody seems to be chill.

Did I find something that annoys me? I did not. Except, maybe, the real estate market, but you know, it is like being annoyed by rain.

The first week I was on self-isolation, so yeah, it was boring. But since it was snowy outside, and the flat has a balcony, I was able to make a friend :)

![my first friend in Munich](https://res.cloudinary.com/barhamon/image/upload/v1620243822/month_in_munich/friend.jpg)

Two things you should know about apartments in Munich. First - it is crazy expensive to rent a flat. Second - it is tough to rent. The only real option to rent an apartment remotely is [MrLodge](https://www.mrlodge.com/). And I can recommend them. Everything was smooth, and the flat was exactly as in pictures from the website. 

While I was at home, I tried to get a phone contract but failed because to get a proper one, you should have a bank account, and to have a bank account, you need to have a tax id. I heard that I could open an account in N26 bank, but they rejected my passport. So I ended up with a prepaid number by Aldi Talk. I ordered it online, but by the time the actual sim card arrived, my self-isolation was over, and I could buy it at any Lidl shop.

How to end self-isolation? You have two options. One is to wait five days, make a corona test, and if it is negative, you are free. Second, wait ten days, and you are free. I chose the first option, and on the morning of 10 April, I was tested negative and free to move around. After 10 km walking, I went to the grocery store,  bought charcoal, sausages, and beer. And in the evening I had a BBQ party on the balcony.

![my first BBQ in Munich](https://res.cloudinary.com/barhamon/image/upload/v1620249895/month_in_munich/bbq.jpg)

To get a tax ID, you should register yourself in KVR. Since it is corona time, you can do it remotely. To do that, you need to send an email to this address: **buergerbuero.kvr@muenchen.de**. In attachments should be a filled by you PDF form "[Anmeldeformular und Vollmacht](https://www.muenchen.de/rathaus/dms/Home/Stadtverwaltung/Kreisverwaltungsreferat/fachspezifisch/HA-II/Buergerbuero/Dokumente/anmeldung_meldebehoerde.pdf)", another PDF form "[Wohnungsgeberbestätigung](https://www.muenchen.de/rathaus/dms/Home/Stadtverwaltung/Kreisverwaltungsreferat/fachspezifisch/HA-II/Buergerbuero/Dokumente/Wohnungsgeberbest-tigung_Internet.pdf)" supplied by your landlord, your passport, and your visa.

!! IMPORTANT
! warning sign
Before you download those forms and fill them, go to [https://www.muenchen.de/](https://www.muenchen.de/) and check if they are still valid.
!!

Since I did not find any advice on what to write in the header and body of the letter, I wrote:

!! registration
! envelope
Hi, my name is Serhiy Barhamon. I just moved to Munich and want to register myself. In the attachment to this letter you will find:

 - Anmeldeformular und Vollmacht

 - Wohnungsgeberbestätigung

 - My passport

 - My visa

In case you have any questions, please contact me by phone ...  or email ....

Best regards
!!

I received my registration after two weeks and still waiting for my tax ID. Side note, do not forget to put your name on postbox.

A couple of times I went to the office on foot (an hour, free), most of the time I rent a bicycle (25 minutes, 2.4 euro) and when the weather is bad I use S-Bahn (25 minutes, 3.5 euro). Thinking about buying a bike but again, since this is a corona time, it is not easy to get to the offline shop, and online shops do not accept cache. So yeah, it is a good idea to have some money in your bank account when you're moving to another country. Don't be like me.

![my first BBQ in Munich](https://res.cloudinary.com/barhamon/image/upload/v1620252813/month_in_munich/bike.jpg)

I hope, if you are reading this, somehow it will help you
---
title: "Moving our stuff"
date: 2021-10-03T13:27:29+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1633260268/moving_our_suff/moving_our_stuff.jpg
preview: "Moving stuff from Kyiv to Munich. With back pain and cat."
tags:
- life
- relocation
---

Now, when Mari got a visa, it was time to move to Munich for real.

The plan was simple. We pack our stuff in a couple of days send them to Munich. After that, we have a week to meet all our friends and family. Then we will fly to Munich, and we still had four days from my two weeks vacation left. Should I say that plan was over-optimistic?

![42 kilos of vinyl](https://res.cloudinary.com/barhamon/image/upload/v1633260267/moving_our_suff/42_kg_of_vinyl.jpg)

When we moved from Moscow to Kyiv eight years ago, all our stuff fit in the back of Skoda Fabia. But now. Now we have roughly 500 kg of things that we want to have with us. And some stuff that we do not want with us and don't want to throw away. So yeah, at the moment of writing this, I still feel pain in my back. But we did what we planned in 10 days. Packed and shipped all stuff we wanted to Munich (now I know that we have 42 kilos of vinyl). We took things that we didn't want with us to my mother's house. Renewed passport for our cat. I changed the screen in my mbp (that went really fine). We bought an extra luggage case last night before the flight. 

![my new mbp screen](https://res.cloudinary.com/barhamon/image/upload/v1633260263/moving_our_suff/new_laptop_screen.jpg)

If I do that again, I will budget at least two weeks only for packing stuff.

We chose [Ukr-Trans-Express](https://ukr-trans-express.com.ua/) company to move our stuff. The competition was between them and [Gosselin](https://gosselin-moving.com/en), but Gosselin was way out of our budget.  Everything went really smoothly. We hoped that cargo would arrive two or three weeks later, but in fact, it arrived at our new flat in Munich precisely one week after we put it in the cargo van in Kyiv. So instead of using leftovers from my vacation on chilling, we unpack and shuffle around our belongings.

![our pictures hanging on the wall](https://res.cloudinary.com/barhamon/image/upload/v1633260263/moving_our_suff/ART.jpg)

I am happy that the flat is equipped with a basement. Because otherwise, there will be no living space at all. I have barely fitted our sound system in it.

![our 'little' sound system](https://res.cloudinary.com/barhamon/image/upload/v1633260267/moving_our_suff/sound_system.jpg)

And I am really happy that the three of us are finally together, doing breakfast on the balcony, hikes on the mountains, and weekday living with all things you do on a regular weekday.
---
title: "Nastiest bugs in my life"
date: 2020-12-20T21:18:27+01:00
image: /img/this_is_fine.jpg
preview: "Here is tail about the nastiest bugs in my life."
tags:
- interview
- bugs
- me
---

One of the questions I usually get on an interview - Tell me about a time that you had to deal with a tricky bug.

Oh boy. What to choose? Throughout my career, I dealt with many tricky bugs, one tricker than the other. But two of them stand out. So buckle up. Here is tail about the nastiest bugs in my life.

### Bug with blurry images.

Once upon a time, I did a UI framework for IPTV set-top boxes. It was React + Redux app, on top of a Chromium custom build, on top of 4.4.2 Android.

One day, I got a bug report - Channel icons are somewhat blurry. And two weeks of fun begins.

First of all, I checked the obvious things. Like maybe images are blurry in the first place? Or perhaps somehow I screwup the viewport in Head. Or whatever. But no, everything was fine except blurry images.

And finally, after a couple of weeks of reading documentation, make files, and source code of Chromium, I found out that there was a "feature" in Chromium with pixel density. The browser was detecting the Full HD screen on the Android device, which means we have a high dpi screen, but we do not. So every image, before rendering, first gets scaled up and then scaled down by the browser.

The only reasonable solution was to hardcode scale. So I patched our version of Chromium to use the constant scale.

### The server is on fire, customers on fire, me, also on fire. TCP.LAST_AKK timeout 60 seconds.

One day one of our video delivery edges began to behave strangely. No significant load increase was detected, no new software was deployed, no CPU spikes, no memory leaks, no SSD were damaged. But service experienced a considerable downgrade.

Only one thing was not normal - the count of connections in the LAST_AKK state was too high. That were connections to our access control service on localhost. Since the same service was deployed on other edges and everything was ok with them, I was like, WAT?

!!
The patch, which enables control of LAST_AKK timeout by finwait2_timeout option, sits in the FreeBSD tracker since 2001
!!

I read everything I can about TCP, connection states, timeouts, how it was implemented in FreeBSD, how to tune FreeBSD network, and so on. Spend two or three weeks on this.

!!
If you are running a FreeBSD server, this is the [best article about performance tuning](https://calomel.org/freebsd_network_tuning.html) I ever read.
!!

Honestly, I still don't know why exactly it has happened. But the fix and the lesson was - do not use HTTP for local services, use Unix sockets instead.
---
title: "New Hope ;)"
date: 2020-06-30T19:39:42+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1730456661/header/avatar_ckj9ou.jpg
preview: ""
tags:
- me
- life
---

I want to write a blog as long as blogs exist. Now I'm doing it (hopefully).

Let`s start from the beginning.

My name Serhiy and I am a software engineer.
---
title: "Redux is not bad"
date: 2021-06-12T20:08:43+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,q_auto,w_650/v1623521732/header/redux_logo_1.jpg
preview: "This is why you should use redux as a state manager for your app"
tags:
- software
- frontend
- js
- ts
---

If you are in tech twitter, especially in the JS part, you definitely read something about how bad redux is. Let me disagree :)

Yes, redux is complex, but not because of redux itself but because of the domain. We, as an industry, figured out that managing data is a complex activity a long time ago. So we invent all sorts of stuff to make life easier, including a couple of languages explicitly designed for data management. If you think this is an old man's tail, look around, and you will find a live DBA. But when the time comes to frontend, we somehow forget about all of that and treat app state management as unimportant. That must be the opposite. The frontend is, arguably, the second, after finances, important thing. Because if you mess up finances, you most probably go to jail. If you mess up your frontend, you will probably not have any finances to begin with (who wants to use software that feels slow and glitchy, right?). And the most crucial thing in your front end is the state. So yeah, if your app is complex, then you will have a complex state, which is complex by definition. But it Is not complicated unless you make it. Redux, like any other generic tool, does not prevent you from making your code complicated.

And, yes, redux requires some boilerplate code. But, let's stop for a minute and think about it. Redux is a state management tool. And the state is data. I  can say from my experience that if you want your data to have predictable properties, you will define models with types and relationships between them — every time. So yeah, it is a boilerplate, but it is a small price to pay for consistent data flow. You can argue with me about that, but before you do, take to account two things: 

- predictability - at any moment of a lifetime, you can easily take/load a snapshot of the whole application state. With this feature, application support and debugging became an easy task instead of a hard burden. I will happily trade any complication during the support lifecycle on 10x difficulties during development time because I know that my today's code will become legacy tomorrow. 
- performance - some time ago, I tried all the options on the market. Redux was the fastest. Not by a significant margin, but I had to take into account devices with very slow CPUs, so every fraction of a millisecond on my desktop translated to milliseconds on a device. And yeah, that led me to the “discovery” of this simple truth - if you add something on top of Object.assign (what every state manager is doing), you will pay the price in performance.

What I am trying to say: if you hope that some state library will magically make state of your app better - I have bad news for you. Most probably, the problem is not Redux, and you need to rethink your approach in general. At this point, I feel like I must give some examples, but I won’t. Because every app is different every example will be bad for some cases. Advice that helped me - remove all logic from the reducer, and keep your actions as simple as possible. Usually I end up with a way to dispatch array of actions when I need complex state change. 

Thank you for your attention :)
---
title: "Relocation. Part one."
date: 2021-03-19T21:39:02+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_650,q_auto/v1616187059/header/relocate.jpg
preview: "Part one of the tail about our relocation from Kyiv to Munich process. Or how to deal with stress of moving."
tags:
- life
- relocation
---

My friend asked me if I am writing somewhere about my relocation. So here I am.

**To give you some context:** I got a new job, and we (my wife, my cat and me) are moving from Kyiv to Munich. It is exciting and a little bit scary. Especially the speed. We decided to try living in Europe on 20 November 2020. I make a deal with [Check24.de](https://check24.de) on 27 January 2021. On 19 February 2021, I had an appointment at the German embassy. A week later, I got my passport back with a visa starting on 5 April 2021.

**The plan.** I am going to Munich first to do a "registration at the Citizens office."  Then Mary, through the family reunion program, joins me with our cat. We have anecdotal evidence that it takes two or three months. And we are kind of okay with that because we have the cat problem. To get our cat with us, she should have a laboratory report that she does not have rabies. And after that, she should be quarantined for 90 days. To get this report, Amidala, the cat, should have a particular type of passport. And some disaster happened two months ago. Nobody in Ukraine can issue such kinds of documents anymore. And it seems like nobody knows when somebody will. So we are actively looking for workarounds.

Sometimes I woke up in a morning with a thought, "Shit. We are doing it". Then I got overwhelmed with the count of things I should do. To deal with that, I open my to-do list. And after a while, I am thinking, "Shit. We are doing it". But with a smile. Highly recommend.

**Also**, we are selling our car and motorcycle. So if you need a good bike or/and car in Ukraine - drop me a message.
---
title: "A 3-day motorcycle adventure in the Carpathian mountains"
date: 2020-08-20T18:08:14+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1699743410/rls-pamir/header_kykwot.jpg
preview: "A trip from Kyiv to abandoned military radar station 'Pamir' and back on two old Africa Twin motorcycles"
tags:
- motorcycle
- adventures
- mountains
- Ukraine
---

In just three days, we covered 1.315 km, visited abandoned military radar station "Pamir" and camp at beautiful sites.
Considering all the adventures, I would like to have at least one more day because the last day was very tough. But 
first things first.

-----

### Day 1:

We met with my friend, Gleb, at 8 am and drove off after drinking coffee. About every 100 - 150 km, we made stops to 
rest, have a snack, and drink water.

The road surface in some places was so bad that after 400 km (at a stop in Kamenets-Podolsk), we decided that it was 
time to look for a place to camp. Since the Dnister river is near, we decided to get there and find the right place on 
the shore. The site was not found right away, since, in those parts of the Dnister, there are rather steep banks, and 
where there is a gentle entrance to the water, people live.

[Track for this day](https://scenicapp.space/viewRide.php?rid=WonZKFHA)

{{cloudinary_gallery|barhamon&rls-pamir-1}}

-----

After breakfast, we packed up and drove towards our finish point. The first few kilometers, we drove along a gravel 
road, and then a winding road began with very decent asphalt. I don't know why, but I didn't turn on the camera, which 
I regret now.

In Starozhinets, the locals advised us to the "[Dzvony](https://goo.gl/maps/KJhKEwzmU6T2aGEF9)" canteen, and if you 
are hungry in this region, I highly recommend it. We ate very tastily at 120 UAH. (~ $ 4.5). But they don't work on 
Sunday. So on the way back, we had to look for alternatives.

After Dolishnii Shepit, the asphalt ends, and the fun begins. And I finally remembered that I took the camera and 
turned it on. You can estimate the quality of the road surface and the complexity of the route from the video below.

At the border post, which was locked with a key, we discovered that Gleb had caught the drill with his rear wheel. 
From passing locals, we found out where the nearest tire service is, and having tied the rear wheel to my motorcycle, 
I went to the service.

I hope it won't come in handy, but the tire service is in Selyatyn village 
([here's a point on the map](https://goo.gl/maps/3H41rM2UzVBY9PQ59)). The owner is not very fond of bikers. But 
luckily he is a fisherman, like me, so we find a common language.

It was not possible to seal the tube because the drill tore it up a lot. But luckily I had a spare with me. So we 
quickly changed it, pumped it up, strapped the wheel back to the bike, and I go back to Gleb. When we put back his 
bike together and pack our luggage, we rushed on.

After the village of Shepit, real adventures begin. The road is sometimes crossed by a river, sometimes there are huge 
stones and sometimes soggy and slippery clay.

At some point, we caught up with a convoy of 4x4 folks. For some reason, I turned off the camera, and then forgot to 
turn it back on, which I regret, because the most exciting thing was just beginning.

Overtaking one of the vehicles, I did not fit into the turn and put my bike down. I crumpled the top case, and, as it 
turned out later, the air got into the rear brake system, which led to the fact that the rear brakes were gone.

Going down the mountain without a rear brake is not very pleasant. But we did it and found a great place on the bank 
of a mountain river.

[Track for this day](https://scenicapp.space/viewRide.php?rid=cYcgusma)

{{cloudinary_gallery|barhamon&rls-pamir-2}}

-----

### Day 3:

Raspberry bushes grew right behind our tent, so we had oatmeal with raspberries for breakfast :)

After cleaning the campsite, we moved to a home. The navigator showed 613 km. On the nearest gas station, we fixed my 
rear brakes.

Before finding a place to dine,we bought a watermelon, and it was the most delicious watermelon in my life :)

Since we continued the shortest route from the very morning, the navigator led us mainly by secondary roads through 
the fields. And I was pleased about that because most of the way we drove along completely empty roads.

We reached Kyiv after midnight.

[Track for this day:](https://scenicapp.space/viewRide.php?rid=fuaaewUz)

{{cloudinary_gallery|barhamon&rls-pamir-3}}

-----

I'm happy we did it. Even though the last day was very tough, especially the last 100 km to home. I would repeat 
without hesitation)

Halfway home, we already started discussing where we would go next, so I'm sure this was not our last adventure.

-----

### Here is the video I promised:

{{youtube|https://www.youtube.com/embed/9KvGQ8raiac}}
---
title: "Round the world trip on a motorcycle"
date: 2020-09-06T15:02:13+02:00
image: /img/rtw/rtw.jpg
preview: "I dream about a trip around the world on a motorcycle. Here you can find people who inspire me and maybe will inspire you"
tags:
- motorcycle
- adventures
- around the world
---

I was fascinated by long motorcycle journeys since my first bike but started to think about it seriously while watching ["Long way round"](https://www.longwayround.com/long-way-round) a year ago. If you didn't watch it, I strongly recommend watching it even if you do not ride bikes. Because, you know, Adventure :)

-----

I do not have a team to manage visas and other boring stuff. So it will be at least a half-year journey. Thus I still don't know how to do it because of family, work, etc.

But I read a lot about it, so here is a couple of examples for inspiration:

The first woman who did solo round the world trip was [Anne-France Dautheville](https://www.facebook.com/annefrancedautheville). I didn't find a lot of info about that trip, but I can imagine that it was a hell of an Adventure in 1972. Just imagine no phones, no GPS, no fancy adventure bikes.

![Anne-France Dautheville 1](/img/rtw/AnneFranceDautheville.jpg)
![Anne-France Dautheville 2](/img/rtw/AnneFranceDautheville2.jpg)
![Anne-France Dautheville 3](/img/rtw/AnneFranceDautheville3.jpg)

The first man who made a solo motorcycle trip around the world was [Carl Stearns Clancy](https://en.wikipedia.org/wiki/Carl_Stearns_Clancy). He made that in 1912 - 1913. At that time, I am not sure even the roads were there. If you think you need some unique bike for travel, look at his.

![Carl Stearns Clancy 1](/img/rtw/CarlStearnsClancy.jpg)
![Carl Stearns Clancy 2](/img/rtw/CarlStearnsClancy2.png)

[Elspeth Beard](https://www.elspethbeard.com/). Her story remains unknown for 30 years. Go to her web site you won't be disappointed. (I know that Dave Calderwood apologized, but that letter steel makes me angry)

![Elspeth Beard 1](/img/rtw/ElspethBeard.webp)
![Elspeth Beard 2](/img/rtw/ElspethBeard2.jpg)
![Elspeth Beard 3](/img/rtw/ElspethBeard3.jpg)

[Ewan McGregor and Charley Boorman](https://www.longwayround.com/) whos journey inspired a lot of people, included me. Also, they do a new show right now - [Long way up](https://www.youtube.com/watch?v=611fw81BN98&ab_channel=AppleTV)

![Ewan McGregor and Charley Boorman 1](/img/rtw/lwr.webp)
![Ewan McGregor and Charley Boorman 2](/img/rtw/lwr2.webp)

[Sjaak Lucassen](https://www.youtube.com/channel/UCYf4z6G9EqeJeOHnBu7l-mQ) - 2001 until 2006 on a Yamaha YZF R1 (250,000 km). I heard a lot about him but just recently found his youtube channel. So go and subscribe, hit like buttons, and share because he deserved to be famous.

![Sjaak Lucassen 1](/img/rtw/SjaakLucassen.jpg)
![Sjaak Lucassen 2](/img/rtw/SjaakLucassen2.jpg)
---
title: "Rust and NSString"
date: 2021-07-22T21:53:05+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1626989237/rust_and_nsstring/header.png
preview: "How to find and fix memory leaks in programs written in Rust for Mac os"
tags:
- rust
- software
- objc
- clink
---

So yeah. You want to learn Rust and have a small project in mind. Like one hour adventure. In and out.

My small project was [Clink](https://github.com/Lurk/clink). The idea is pretty simple, get data from the clipboard, check if there link, clean the link from tracking params, put the cleaned link back to the clipboard. The first version of it ([0.1.0](https://github.com/Lurk/clink/tree/0.1.0)) was done maybe in two hours. This is not because I am smart, but because Rust is an awesome programming language. Then I posted a link to the GitHub repo on the [Rust subreddit](https://www.reddit.com/r/rust/comments/lkdeoa/side_project_clink_cleans_links_for_you/) and gathered some feedback. Project stabilized, aka I run out of ideas, at version [0.6.0](https://github.com/Lurk/clink/tree/0.6.0). All that time, I was a happy user, until I looked at Activity Monitor and saw that:

![Activity Monitor](https://res.cloudinary.com/barhamon/image/upload/v1626984426/rust_and_nsstring/activity_monitor.jpg)

That is when real adventure starts.

Usually, you write software for mac using Objective C or Swift. Sometimes you are crazy enough to do it in C, and the Objective C runtime exposes the C interface for you. But sometimes, for no particular reason, you want to learn Rust. And for that occasion, [Steven Sheldon](http://sasheldon.com/) created a [Rust wrapper around Objective C runtime](https://crates.io/crates/objc). If you are interested in details here is [the link](http://sasheldon.com/blog/2014/11/28/interoperating-between-objective-c-and-rust/) to his blog post where he explains what and why is going on.

How do you approach tasks like finding and fixing a memory leak in a program written in a language you barely know, which calls API you don't know? Good question.

First things first - tools. After some googling, I found that nowadays everything is easy.

installation is easy:

```bash
xcode-select --install
brew install cargo-instruments

```

usage also easy:

```bash
cargo instruments -t Allocations
```

And I get nothing. After some thinking, I figured out that Clink is never stopping, and that's why I do not get any traces. So I come up with this:

```rust
use clipboard::{ClipboardContext, ClipboardProvider};

fn main() {
    let mut ctx: ClipboardContext = ClipboardProvider::new().unwrap();
    for _ in 0..20_000 {
        match ctx.get_contents() {
            Ok(str) => println!("{}", str.chars().count()),
            Err(_e) => println!("{:?}", _e),
        }
    }
}

```

The idea is simple - get 20 000 times the value from the clipboard and, to be sure that there is something, print the count of chars. I know that I should count graphemes, but in this case, it does not matter. Here is what I got:

![full glory](https://res.cloudinary.com/barhamon/image/upload/v1626986443/rust_and_nsstring/full_glory.jpg)

Yeah. It produces a nice graph (there are no values on the axis, but the last value is 2.67 GB). But how to find what is actually leaking? I did not come up with a better idea than check all repeating allocations if there is corresponding free. Here is how good allocation looks like:

![good allocation](https://res.cloudinary.com/barhamon/image/upload/v1626986602/rust_and_nsstring/good_allocation.jpg)

And this is bad allocation:

![bad allocation](https://res.cloudinary.com/barhamon/image/upload/v1626986710/rust_and_nsstring/bad_allocation.jpg)

The stack trace is on the right side of the window. So now, finding where the memory leak is not a problem. In my case, the Clipboard crate calls NSPasteboard.readObjectsForClasses to get current clipboard content, but not Rust nor Objective C runtime knows who is responsible for freeing memory, so nobody frees it. Surprise! Here you can suggest - choose another crate to work with the clipboard. But the problem is that every other rust clipboard implementation for mac, in one way or another, copies [Avi Weinstock's implementation](https://github.com/aweinstock314/rust-clipboard/blob/9b35e2c7363d04d336309485503faa2de663f837/src/osx_clipboard.rs) and leaks :( 

So my first step was to simplify the code a little bit. Since the get_contents method from the ClipboardProvider trait returns a String, we can use NSPasteboard.stringForType, which produces NSString, and this is as close to the Rust String as it can get. For calling this method, and by calling method, I mean sending the message, we need to pass an enum value NSPasteboardTypeString as a param. I spent at least a couple of evenings trying to figure out where I can get this enum value. As always, everything is simple when you know it:

```rust
#[link(name = "AppKit", kind = "framework")]
extern "C" {
  pub static NSPasteboardTypeString: Sel;
}
```

Now we got our NSString, convert it to Rust string, and send the release to NSString after.

![disappointment](https://res.cloudinary.com/barhamon/image/upload/v1626987261/rust_and_nsstring/disappointment.jpg)

This is how disappointment looks like. But if you look at this screenshot long enough, you will see that leak is more than three times lower. The first allocations dump showed more than two and a half gigs of RAM, but this one is only 775 megabytes. So this means two things:

First - this is a huge win.

Second - there is at least one more leak.

The next leak was found in the INSString.as_str() method. You may ask WTF is INSString, and this would be a trait from the [obj-foundation](https://crates.io/crates/objc-foundation) crate. We convert NSString to C string, by reading data from a pointer which we get from NSString.UTF8String. This pointer, according to [Apple documentation](https://developer.apple.com/documentation/foundation/nsstring/1411189-utf8string?language=objc) should be freed at the time when NSString itself will be released or sooner. In reality, it is mostly true, except when you have characters outside the ASCII range. So it is leaking on the Objective C runtime level, or I again don’t understand how things are working. The solution that worked looks like that:

```rust
fn nsstring_to_rust_string(nsstring: *mut NSString) -> Result<String, Box<dyn Error>> {
  unsafe {
      let string_size: usize =
          msg_send![nsstring, lengthOfBytesUsingEncoding: NSUTF8StringEncoding];
      //we need +1 because getCString will return null terminated string
      let char_ptr = libc::malloc(string_size + 1);
      let res: bool = msg_send![nsstring, getCString:char_ptr  maxLength:string_size + 1 encoding:NSUTF8StringEncoding];
      if res {
          let c_string = CStr::from_ptr(char_ptr as *const i8);
          libc::free(char_ptr);
          Ok(c_string.to_string_lossy().into_owned())
      } else {
          libc::free(char_ptr);
          Err(err("Casting from NSString to Rust string has failed"))
      }
  }
}
```

What is going on:

+ We get the size of a string in NSUTF8StringEncoding. I did not find a way to import NSUTF8StringEncoding from anywhere, but according to ,[Apple docs](https://developer.apple.com/documentation/foundation/1497293-string_encodings/nsutf8stringencoding?language=objc), it equals 4
+ We are allocating memory of a size we got on a first step plus one. Plus one is needed because getCString returns a null-terminated string
+ By calling getCString, we ask to write a null-terminated string in UTF8 encoding to memory we allocated on step two
+ If the third step was successful
+ We creating a C string from a pointer we got on a second step
+ Free memory we allocated on a second step
+ Convert C string to Rust string and return it
+ If the third step was unsuccessful
+ Free memory we allocated on a second step
+ Return error

And here is the result:

![final result](https://res.cloudinary.com/barhamon/image/upload/v1626988109/rust_and_nsstring/final_result.jpg)

Now, this is how the win looks like. And Clink, after running a couple of days, still uses one MB of ram. If you are using Clink on a mac, which is very unlikely, update to version 0.6.1. I hope it is finally fixed :)
---
title: "Rust and NSString part 2"
date: 2021-11-06T13:47:39+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1626989237/rust_and_nsstring/header.png
preview: "How NSString::UTF8String actually works"
tags:
- rust
- software
- objc
- clink
---

I reach the next level of understanding how **NSString::UTF8String** works under the hood. If you are interested in how I get here, please read my [previous post.](/post/rust_and_nsstring)

!! Disclaimer:
! lightbulb
Because docs are hard to understand and the source code of the runtime is closed, everything below is based on poking around, reading various GitHub issues, and pull requests. I am trying to say that I can not guarantee that there is no next level, but there are far fewer unanswered questions than before.
!!

So, we need to know that despite **NSString::UTF8String** in [apple doc](https://developer.apple.com/documentation/foundation/nsstring/1411189-utf8string?language=objc) noted as a property, it is a method. It creates [Data](https://developer.apple.com/documentation/foundation/data?language=objc) with null-terminated cstring in it and then autorelease it. In one stack overflow thread, which I can not find now, I read that it creates new Data only if NSString contains characters outside ASCII. That would explain why UTF8String behavior differs from documentation most of the time, memory is not freed when NSString receives release message, but sometimes it actually works as expected. But my [tests](https://github.com/Lurk/nsstring_leak/blob/main/src/lib.rs) do not confirm this theory. So I still don't know why runtime sometimes frees memory.

[Autorelease](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmAutoreleasePools.html#//apple_ref/doc/uid/20000047) is a new concept for me. The idea is to have blocks, outside of which autoreleased memory is actually released. Every app that runs on macOS is wrapped in one of those blocks. And if you do not add one yourself, all autoreleased memory will be released at the end of the app. That was the actual reason for the memory leak I fought. 

One more question is why **NSString::UTF8String** is slower than **NSString::getCString**? My [benchmark](https://github.com/Lurk/nsstring_leak/blob/main/benches/my_benchmark.rs) shows 12.998us vs. 10.208us. Which in absolute numbers does not look like a big deal, but it is more than 20% which is huge. Here is the [repo](https://github.com/Lurk/nsstring_leak) with test cases and benchmarks. If you know where this difference comes from or spot an error in the benchmark, please let me know.

I wish I knew how to write proper tests for memory leaks, but I still don't know. So, please, send help. 
---
title: "Rust cheatsheet"
date: 2020-08-06T10:25:15+02:00
image: /img/rust-programming-language-logo.png
preview: "I start to learn Rust programming language. This is a post where I collect tips and tricks about Rust"
tags:
- rust
---

I start to learn Rust programming language. This is a post where I collect tips and tricks about Rust

This post will be updated (I hope often :)

{% how to loop backwards with for loop
```rust
for z in (0..100).rev(){
  println!("{:?}", z);
}
```
%}

{% is even
```rust
x & 1 == 1;
```
%}

{% concatenate vectors
```rust
let mut a = vec![1, 2, 3];
let mut b = vec![4, 5, 6];
a.append(&mut b);
```
%}

{% remove all duplicates from vector
```rust
let mut v = vec![1,3,10,2,5,3,6,1,8]
//sort is the key
v.sort();
v.dedup(); //[1,2,3,5,6,8,10] 
```
%}

{% PathBuff to String
```rust
// let assume that path is PathBuff
path
  // we need into_os_string step because String is UTF-8 encoded,
  // but PathBuff might not be. For example on Windows
  .into_os_string()
  .into_string()
  .unwrap()

```
%}
---
title: "Preparations for the part of the TET Turkey ride"
date: 2023-02-12T19:58:14+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1676228073/header/tet-turkey.png
preview: "I missed my motorcycle adventures so much, and this spring, I will finally have a new one."
tags:
- adventures
- motorcycle
- mountains
- Turkey
---

I missed my motorcycle adventures so much, and this spring, I will finally have a new one.

This will be one week's trip. The plan is to arrive in Istanbul on a plane, rent a motorcycle, and ride a loop around 2000 kilometers long. The first half will follow the [TET Turkey](https://transeurotrail.org/turkey/#2.22/53.69/6.35) route, but then we will ride back to Istanbul along the coast of the black sea. The daily distance budget is 250 - 350 kilometers. I tried to plan the route that way so we would camp on the banks of a river or a lake. Here is the link to the route: [Turkey adventure.](https://www.komoot.com/tour/1012453925) I am a big fan of [Komoot](https://www.komoot.com/) for route planning. Highly recommend.

![gear packing](https://res.cloudinary.com/barhamon/image/upload/v1676229058/tet-turkey/gear_packing.jpg)

I wanted to bring my fishing rod, but I do not have enough space in my luggage. Here is the list of things I packed:

- Tent
- Sleeping bag
- Sleeping mat
- Chair
- Cookset (gas stove, pot, utensils, etc.)
- Water filter
- Boots
- Jacket
- Gloves (two pairs)
- Helmet liners
- Rain gear
- Bunch of straps, paracord, net, carabiners, metal zip ties
- Knife
- Small wrench

All that is already 20 kilograms, so maybe I need to rethink what to bring with me or finally buy a new lightweight tent or wear boots instead of sneakers on the plane. I will also carry a helmet and a backpack with my clothes. Yeah, surprisingly, a lot of stuff.

![my trustworthy CAYENNE jacket](https://res.cloudinary.com/barhamon/image/upload/v1676229679/tet-turkey/jacket.jpg)

I think I might need a waterproof bag, because the idea is to rent something like CRF300L, and I doubt it will be equipped with a luggage system. But I am waiting for the information from my riding buddy, who now lives in Istanbul. He will check out rentals as soon as the riding season starts. So I will have more info on the bikes and what I need to bring with me or buy there on arrival. For sure, I want to have a tire repair kit and spare tube.

![my happy face](https://res.cloudinary.com/barhamon/image/upload/v1676229889/tet-turkey/perseverance.jpg)

While preparing gear I found out that I am barely able to zip up my jacket. But I still have a couple of months to fix that, and now I am a salad guy. Wish me luck and perseverance.
---
title: "The southern part of TET Turkey ride"
date: 2023-05-14T15:23:47+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1698169652/tet-turkey/ride/route/1_-_19_rl7bqj.jpg
preview: "I convinced Dima that it is a good idea (that was easy), and we rode 2067 kilometers in eight days on motorcycles in May 2023."
tags:
- adventures
- motorcycle
- mountains
- Turkey
---

I convinced Dima that it is a good idea (that was easy), and we rode 2067 kilometers in eight days on motorcycles in 
May 2023.

## The route

Half of our route was based on [TET Turkey](https://www.transeurotrail.org/turkey/). Most of the time, it is a pleasant
gravel, dirt, or small road.Sometimes it is a wide highway. There are thousands of switchbacks in every shape and form. 
Tight, wide, left, right, up, down, steep, gentle, wet mud, dry mud, big rocks, small stones, gravel, sand, good 
asphalt, bad asphalt, snow, and any combination of all of the above. Sometimes trail disappears. Sometimes, it crosses 
a river, and sometimes it goes through a dead village. One section was on the dried creek bed, with big stones and a 
steep incline. I was dying on that hill, like, for real. My lungs were exploding. My heart was jumping out of my chest.
I spent all my energy fighting that hill. But we managed to conquer it despite the lack of experience. It was cold when
we reached the first high mountain covered with snow. We turned around a lot cos our way was blocked by deep snow. It 
felt like we were stuck there forever.At some point, we were riding through one of those dead villages, and I thought 
we needed to break into one of the houses, start burning furniture, hunt stray dogs, and wait for spring. A couple of 
days later, we drove through the snowy summit again. I don't know if that was gained experience or the sun shining, but
it felt much less dramatic and easier to drive. Whenever I thought I had seen everything, something new and beautiful 
came around the corner. One day we were climbing up through the canyon and ended up on a vast rocky plane with patches 
of cultivated soil here and there. It was unbelievably beautiful under the morning sun. And once we had long and 
tiresome descent from the mountain on a dirt road destroyed by the stream, which ended up with a wide and empty 
highway. It felt like a treat after hard work. At the end of the first half of our route was a 3000m summit. We decided
that we had enough snow already and skipped it.

I planned the route back to Antalya, choosing the smallest roads on a map. A lot of those roads are gravel or dirt
ones. The trail is still through the mountains but much lower than the way there. And, of course, we had our bit of 
adventures. Once the road ended up in a newly constructed water reservoir. The other time we ran into logs lying across
our way. So yeah, there were a few turnarounds and searches for an alternative route.

Overall it is a diverse and beautiful route. Sometimes it challenged us, but newer to the point of giving up.

And that smell when you drive into the forest.

{{cloudinary_gallery|barhamon&tet-turkey-ride-2023-route}}

-----

## Navigation

I used Komoot for route planning because the desktop version is the best. The problem is the navigation part. It is not
built for a multi-day motorcycle adventure. It starts glitching after around 300 km and refuses to load the app after
1300km. That's why our recorded track has gaps. Those parts we did not manage to salvage from two phones. Which is not 
that bad, but next time I will use something else for navigation and trail recording. Good thing, though, Komoot allows
you to download GPX of the planned route, so I can still use it for route planning.

Here is our [planned route](https://www.komoot.com/tour/1046129032/zoom).

Here is our [recorded track](https://www.komoot.com/tour/1113525883/zoom).

![Komoot route planer](https://res.cloudinary.com/barhamon/image/upload/v1684077397/tet-turkey/ride/navigation/1_-_1_tlhnf5.jpg)

-----

## Nights

All nights, except one, we spent wild camping. We were too cold and tired that day to look for a camping spot. It was 
already evening when we reached civilization in the form of an asphalt road and a sign with the distance to the city of
Tashkent. In Tashkent, we drove past the hotel that looked abandoned twice before we decided to try the doors. For the 
15 euros, we got two rooms with a view, breakfast, and a shower. I have never enjoyed a warm shower that much in my 
life. On all other days, we started to look for the camping spot around 5 pm. Our requirements were simple: fresh 
water, no snow, and as far from civilization as possible. We could always find a place within 50km of our position. 
Sometimes it was relatively easy to reach, and sometimes, it was not easy at all. I vividly remember how I was tumbling
down the hill and praying that my motorcycle does not follow me. Thankfully it did not. That was 100 meters from only 
one flat patch of the land, big enough to put a tent there. But the spot was worth it.

{{cloudinary_gallery|barhamon&tet-turkey-ride-2023-nights}}

-----

## Bikes

We got two [Honda CRF 250 Rally](https://www.honda.co.jp/CRF250RALLY/) bikes in the 
[Turkey Bike Rent](http://www.turkeybikerent.com/). One had 600 km on the clock, and the second had 16000 km. A guy 
said upfront that clutch is a weak spot of those bikes and that we should not ride deep sand or any other terrain that 
involves heavy clutch usage. If we do and run out of the clutch, it will be our problem. The older bike ran out of the 
clutch on a second day. I am sure it was not our fault, but that was our problem. The closest city where that clutch 
could be replaced was 60 km away. Those were the longest 60 km in my life, and I even was not riding a faulty bike. 
When we reached Isparta city, the clutch was replaced in an hour and 100 euros. On the same day, but later, I lost my 
license plate. I rode to the point where it was seen last time with no luck. It had already tried to escape on the 
first day, and we tied it with straps, but apparently, it was not enough. I asked the rental what I should do about 
that, and the answer was - nothing. So I rode half of Turkey without a license plate and any problem with the police or
anybody else.

Other than these two things, everything was smooth and without surprises. Rental did not try to charge too much for all
the beating we put bikes through. And the bikes performed so well that I would like to have one of those. There is one 
thing, though: you must change the seat on those bikes. It is impossible to sit on that seat for more than two hours. 
It hurts. I don't know why Honda hates butts so much.

{{cloudinary_gallery|barhamon&tet-turkey-ride-2023-bikes}}

-----

## Food

We had a drip coffee (you can find it in [A101](https://www.a101.com.tr) shops) with some chocolate bars for breakfast.
We cooked something on our gas stove for dinner, and for the lunches, we stopped in different places. Once, we stopped
at the village's central square, and there was some gathering. We were guessing that it was either a funeral or a 
wedding. Locals invited us to the table and fed us—all in sign language. You should see our happy/surprised faces.
Nobody asked for money or something, but we left some anyway. Later we were told that, most probably, it was a wedding
when people from that and neighboring villages gathered for a feast.

Sometimes we asked locals where they eat, and occasionally entered first thing with the food we saw. On the first day, 
we saw many people sitting on the street. There was one free table. We decided that that was the place and rushed 
there. It turned out it was a game club where people played dominoes. Anyway, we got directions to the closest canteen.

Once, we visited a butchery, and the guy asked how much food we wanted. That was a new way of ordering food, so I asked
for half a kilo. Then he got the whole lamb out of a fridge, cut a piece of meat, and cooked it for us. Should I say 
that it was delicious? It was. As soon as we got food on our table, at least ten cats appeared and started demanding 
their share. Since then, if we saw butchery at lunchtime, we went straight there. And every time, it was awesome.

{{cloudinary_gallery|barhamon&tet-turkey-ride-2023-food}}

-----

## People

We drove through tough places where life is not easy and met few people. All of them were ready to help, show 
directions, fix our motorcycle, and give advice, tools, or food.

We asked one of those butchers to guide us to a good camping and fishing place. He gave us directions and said that 
fishing is prohibited there, but if someone (police) caught us, we should call him, and he will deal with that. Since 
then, we have a joke that we have a butcher in Turkey that can deal with the police.

Once, we met young guys on motorcycles, they wanted to race with us, and we wanted to know where the closest food and 
gas station was. We did not understand each other, but I am sure we are stars now in the Turkish part of TikTok. And 
once police officer helped us to find the nearest gas station because the one we were standing on was under 
construction. Now I have a police officer as an Instagram friend.

{{cloudinary_gallery|barhamon&tet-turkey-ride-2023-people}}

-----

## Gear

At the last minute, I changed the chair to the hammock. There was no space for them, so I needed to choose. I used that
hammock only once and wanted a chair every evening. What really I missed was the multi-tool with pliers. There were a 
few instances when life would be much simpler if we had one with us. Once we borrowed them from locals, all other 
times, we were inventive. Also, at the last second, I put a waterproof poncho 
([molfar](https://www.turbat.ua/turbat_ukrainian/tent-poncho-turbat-molfar.html)) that also can be used as a tarp. We 
never used it as a tarp or a poncho, but we used it as a ground cloth daily. It was a crucial piece of equipment for 
loading/unloading, outfit change, and other camping activities.

This year I got a sleeping pad 
([Therm-a-rest NeoAir® XTherm™ NXT MAX](https://www.thermarest.com/de/isomatten/fast-and-light/neoair-xtherm-nxt-max-isomatten/neoair-xtherm-nxt-max.html)) 
as a birthday present from my wife. I finally battle-tested it, and it is the most comfortable sleeping pad I ever had.
We slept on rocks multiple times, and I felt nothing pointy. The first half of the trip nights were freezing. I even 
slept in my puffy jacket. So yeah, I am pretty sure our next big outdoor purchase will be three-season dawn sleeping 
bags. If you have recommendations, I am all ears.

I rode in my AVG K3 helmet, which I like, but I mostly rode with a wide-open visor, and the sun burned my nose and 
cheeks like never before. I want a helmet with a peak to reduce sunburns next time. One of the first gear for 
motorcycle traveling I bought was rain gear. It was long ago, and I was lucky enough never to use it. On the last day 
of this adventure, the pouring rain with thunderstorms and all that fun started right when we strapped all our gear to 
motorcycles. So I finally used it. What can I say? I need a bigger one.

We brought fishing gear with us and had the opportunity to use it only twice. Success was only last night when we 
bought canned corn as bait. Because of the rain, we have not cooked our catch but left it in the closest village for 
the cats.

{{cloudinary_gallery|barhamon&tet-turkey-ride-2023-gear}}

-----

Yeah! That was the one that you finish with a grin and yell - We did it. The only thing left is to cut the 7 hours of 
video from GoPro.

{{cloudinary_gallery|barhamon&tet-turkey-ride-2023-end}}
---
title: "The fun stuff"
date: 2020-12-03T22:01:49+01:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,f_auto,q_auto,w_600/v1609663926/header/the_fun_stuff_dpfgic.jpg
preview: "You can do all sorts of things while unemployed. Here is a list of what I`ve done"
tags:
- life
- adventures
- mountains
- Ukraine
- fishing
- motorcycle
---

This post is about the good stuff I have done during my sabbatical.

I wrote already about my [two-day motorcycle trip](/post/central_ukraine). Also, I`ve made many short one-day trips, they are still fun and exciting. The thing I like the most about adventure motorcycling is the freedom to choose the way. You can go wherever you want, even if there are no roads. Time is the only constraint, but you can go pretty far and see a lot on a motorcycle.

Here some pictures I took during those one-day trips:

{{cloudinary_gallery|barhamon&sma_20202}}

-----

I also went fishing with my friends. We lived almost a week in tents on a border between Ukraine and Belarus. It was terrific. Our home was a small island between Dnepr and Starik rivers, with nobody around. We caught enough fish to cook it every day, and mushrooms grew just behind our tents.

We are very fortunate with the weather. Have no rain, and some days were so sunny, I even think of swimming, but the river was icy. And that was the end of October.

One night, we go for a walk around our island. It was a little bit scary, and also very beautiful. You know, trees in the light of flashlights, the shadows, sounds of birds and animals, found some plants that glowed in the dark. Unfortunately, no photo can convey what it was. So you have to take my word for it.

Here some photos from that week:

{{cloudinary_gallery|barhamon&fo_2020}}

-----

Also, for the first time in my life, I hiked to the mountain summit. It was not something like Everest, only 1500 height. But that was awesome, and I think I got a new hobby :)

My wife Mari and I spend ten days in the Carpathian mountains. Almost every day we go on a hike. Drank water from mountain streams, cooked food on our small gas stove. Even found a new friend, a little doggo with no name, but we call it Palkan.

And here some foto as well: 

{{cloudinary_gallery|barhamon&cm_2020}}

-----

We even shot a short clip on the way home because what can be better than mountains?

Plug your headphones, make it 4k and fullscreen

{{youtube|https://www.youtube.com/embed/OmiYnAqKotM}}

-----

This is not a full list of activities, but you should get the idea of what makes me happy :)
---
title: "The plan"
date: 2020-08-07T10:32:00+02:00
image: /img/the_plan.jpg
preview: ""
tags:
- motorcycle
- adventures
- mountains
- preparations
---

One week left before my trip to the mountains on a motorcycle. The whole route is +/- 1400 km.

There are plans to visit the abandoned Pamir radar station in the Carpathian mountains and ride around.

I have three days for everything. Here is a rough plan.

Friday: Check out at 7 am. According to the plan, I need to drive about 650 km to the place of a stay. Put up a tent there, light a fire, have supper and, fighting off mosquitoes, go to sleep.

Saturday: For this day, the plan is to drive +/- 200 kilometers through the mountains without asphalt. Somewhere on the way to the Pamir, I will need to go through a border checkpoint as part of the route runs along the Romanian border.

Sunday: The road home is about the same 650 kilometers. If I go to the Bakota, it will be something around 700 km. Not sure about it.

It remains to come up with a menu, but it seems to me that it will be freeze-dried food. I tried ЇDLO before and it was very good. Get side bags from repair. Pack all my stuff and I ready to go.

![see you on the road](/img/road.jpg)

See you on the road :)
---
title: "The rain, the river and the sunset"
date: 2020-07-06T10:01:00+02:00
image: /img/the_rain_the_river_and_the_sunset.jpg
preview: "one night on the river shore"
tags:
- adventures
---

At the weekend we spent the night on the shore in a tent. The first time in a long time I went to the river without fishing rods :)

Every time I return from a venture, I regret that I did not bring a camera with me. Because every time some kind of adventure happens. This time, the GPS led us through the forest, and at some point, we had to turn around and look for another road because the road in front of us turned into a swamp.

![Sunset at river](/img/IMG_3638.jpg)

We reached the place and did not regret it. Swam in the river, had dinner with a view of the sunset, fed mosquitoes. At night a thunderstorm began and we slept to the sound of rain :)

One night is not enough, but still better than nothing.
---
title: "The trolley problem, but the real one."
date: 2022-10-20T11:45:42+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_mpad,g_center,h_800/v1666258773/header/the_trolley_problem.jpg
preview: "IDK how to feel about all of that"
tags:
- life
---

I don’t know how closely you follow the news around the Russian invasion of Ukraine. But recently, there was an accident with a Russian fighter jet. It happened in the city of Yeysk, which is about 70 kilometers from the Ukrainian border. Russian fighter jet en route to bomb Ukraine hit the nine-story apartment building and killed civilians in Russia.

It has already happened. You can not change it. Want it or not, this jet did kill civilians. So you can choose to be sorry for dead Russians or be happy about live Ukrainians.

If you can do both, please tell me how.
---
title: "This blog"
date: 2020-07-01T12:33:53+02:00
image: /img/this_blog.jpg
preview: ""
tags:
- blog
- roadmap
- software
---

This blog built with:

- [next.js](https://nextjs.org/)
- [Semantic UI React](https://react.semantic-ui.com/)
- [date-fns](https://date-fns.org/)
- [Prism JS](https://prismjs.com/index.html)
- [Disqus](https://disqus.com/)

Deployed on [Vercel](https://vercel.com/).

You can find source code on [GitHub repo](https://github.com/Lurk/barhamon). If you find a bug, or typo, or error, or you know ways to do things better - please submit [an issue](https://github.com/Lurk/barhamon/issues).

Roadmap:

+ ~~Tags page~~
+ ~~Code formatting in posts~~
+ ~~"Read more" button in posts with preview~~
+ ~~Meta tags~~
+ ~~Pagination~~
+ ~~Comments~~
+ ~~RSS feed~~
+ Pages (bio, contacts, etc)
+ Music
---
title: "This year I changed the motorcycle class."
date: 2020-07-13T12:57:21+02:00
image: /img/this_year_i_changed_the_motorcycle_class.jpg
preview: "I used to drive a Honda X11. And this is a great bike that I still love. But I want to ride not only on asphalt. And so I took an even more ancient but no less legendary Africa Twin RD04 motorcycle."
tags:
- motorcycle
- X11
- Africa Twin
---

I used to drive a Honda X11. And this is a great bike that I still love. But I want to ride not only on asphalt. So I bought an even more ancient but no less legendary Africa Twin RD04 motorcycle.

![My old Honda X11](/img/x11.jpg)

It is already 30 years old, and I had to go after it 600 km, one way and halfway back on it (thanks to Igor, Denis, and Vlad for the adventure). But I am satisfied a little more than completely because I drove into such places on it that I could not have at X11. But, from some, I could not get out on my own.

![My new (old) Honda Africa Twin (XRV750)](/img/at.jpg)

And if I had a time machine, I would send me to the past and persuade the younger myself to take some kind of dirt bike instead of a street bike.

![Africa Twin adventure](/img/at_adventure.jpg)
---
title: "Three years in Munich"
date: 2024-04-20T19:00:00+02:00
image: https://res.cloudinary.com/barhamon/image/upload/v1713718404/three_years_in_munich/sunset_in_munich.png
preview: "With the Russian invasion still ongoing, my feelings about us moving to Germany are obviously skewed."
tags:
- life
- relocation
---

With the Russian invasion still ongoing, my feelings about us moving to Germany are obviously skewed. To this day, 
every day, at a random point in time, I suddenly realize how unbelievably lucky we are. We had the luxury of choosing 
where to go, we had time to prepare ourselves, and most importantly, it was our choice. It was a good choice. I will 
choose Munich again.

!! If you want to help Ukrainians, here is where you can do it
! handshake
- There are many pets in the fighting area whose owners were killed or displaced. They need food and medical care.
[uanimals.org](https://uanimals.org)

- I know those guys from my motorcycle life in Ukraine. They were saving lives then and do the same now. 
[motohelp.ua](https://motohelp.ua)

- Those guys are risking lives saving others on the front line: [hospitallers.life](https://www.hospitallers.life)

- Most importantly, all of that does not make much sense if the army of Ukraine does not have enough rounds, warm 
clothes, vehicles, etc. [prytulafoundation.org](https://prytulafoundation.org/en)
!!

Mari received a government grant to obtain the required work certification, I was promoted to team lead, and our cat 
finally got health insurance. So yeah, you know, I have nothing serious to complain about. Of course, there are small 
annoying things, like DHL’s weird style of delivering parcels, public transport not working because of strikes, or 
those bicycle self-service stations that are not adequately maintained. But I think we learned the ways to mitigate 
most of those annoyances.

![our flat in Munich](https://res.cloudinary.com/barhamon/image/upload/v1713718404/three_years_in_munich/flat_in_munich.png)

In the meantime, we are renting the same flat. Since my last report, we harvested our first tomatoes and jalapenos on 
our balcony.  This season we have big plans for broccoli. The thought of moving to a not far countryside still sits in 
the back of our minds, but we haven't taken any action to move. We were extra lucky with the current flat and can't 
find enough reason to justify the hustle. 

![almost ready do harvest jalapeños](https://res.cloudinary.com/barhamon/image/upload/v1713718411/three_years_in_munich/jalapeno_in_munich.jpg)

Ah. We Also saved the life of one of our elderly neighbors. That was a wild night full of action. In the end, we 
managed to call an ambulance and helped the arrived team to do their job. That required some German skills. My German 
is not good enough, and I am switching to English as soon as possible. Which I am not proud of, and I plan to put more 
effort into learning the language this year. But Mari is really good. So, in our family, she does the talking. 

Those were Germany-related changes in our lives. See you in a year.

!! This is a series of anniversary posts.
! birthday cake
The previous one you can read here: [Two years in Munich](/post/two_years).
!!


---
title: "Tour du Mont Blanc"
date: 2023-11-26T10:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/tmb-2023/day%206/5_h3izty.jpg
preview: "Every year, we go on an adventure to celebrate our anniversary. This year’s adventure was the Tour du Mont Blanc hike."
tags:
- adventures
- hiking
- mountains
- alps
---

Every year, we go on an adventure to celebrate our anniversary. This year’s adventure was the Tour du Mont Blanc hike.

## Day 0

##### 30 August. Munich - [Glacier Camping in La Fouly](https://www.camping-glaciers.ch/en/)

We chose not an obvious location to start - La Fouly. To get there, we had five trains and one bus. This year, we got 
to the train on time at 6:55. And the next one, and the next one, but in Vesp, we should have paid more attention. Our 
train left without us from the opposite side of the platform. We hopped on to the next one. But that changed our 
schedule, and we had time to explore the next city, where we discovered that Döner costs 20 euros in Switzerland 🤯

We got to the Glacier Camping in La Fouly around five o'clock. And at nine, we were already sleeping.

{{cloudinary_gallery|barhamon&tmb-2023-day-0}}

-----

## Day 1

##### 31 August. [Glacier Camping in La Fouly](https://www.camping-glaciers.ch/en/) - [Rifugio Elena](http://www.rifugioelena.it/)

We were afraid of the cold. The forecast was three degrees in the night. But to be honest, it was not that bad. We 
have connecting sleeping bags, so we cuddled and stayed warm all night. 

The campsite has good facilities and warm water in the shower, which was a surprise to be sure, but a welcome one. 

We had breakfast, a shower, and coffee, packed our backpacks, and started a hike around nine in the morning. Should I 
say that the walk was beautiful? 

Somewhere in the middle of it, we found an alm where we had a croque with a view. My croque was bread and ham bathing 
in the melted raclette cheese, and the view, well, there were mountains. Both were so good that I almost cried. 

The way to the border between Switzerland and Italy was always up, and we were already tired when we got there. Tired 
and happy that Rifugio Elena, where we will spend the night, can be seen.

Two hours later, we reached our today’s destination. By some miracle, we got a double room with a private shower, an 
unbelievable luxury. After washing ourselves, we went to dinner. We had a pleasant conversation and food and went to 
sleep right after the last spoonful of ice cream was gone.

{{cloudinary_gallery|barhamon&tmb-2023-day-1-1}}

-----

## Day 2

##### 1 September. [Rifugio Elena](http://www.rifugioelena.it/) - [Camping Grandes Jorasses](https://www.grandesjorasses.com/en/)

After our best breakfast in Refugeos, we went down to Courmajor. We stopped following the TMB trail at some point 
because today’s destination is on the side. The way down was nice and easy, and we got to the Camping Grandes Jorasses 
before lunch. After pitching the tent and having lunch, we fell asleep. When we woke up, camping was full of people. 

We found a piece of cheese, salami, and bread for dinner in a local shop. We even thought about getting a bottle of 
wine at some point but decided to get our vine tomorrow after a hike. 

{{cloudinary_gallery|barhamon&tmb-2023-day-2}}

-----

## Day 3

##### 2 September. [Camping Grandes Jorasses](https://www.grandesjorasses.com/en/) - [Rifugio Elisabetta](https://rifugioelisabetta.com/)

The night was much warmer than our first night in the tent. We had yogurt, some cheese, salami, and coffee for 
breakfast. I can eat only that for the rest of my life. 

We liked this camping very much. The spots for the tents are very nice, the facilities are in good shape, and the 
people are nice. 

While exploring the area around, we found that buses are free. We decided it was a sign and used it to reach closer to 
our next stop - Rifugio Elisabetta. 

Right before Final Hill, we walk around a swamp that reminds me of The Dead Marshes from Lord of the Rings. 

We got to the Rifugio just before they closed the kitchen. We had our anniversary lunch with a glass of wine and a 
glacier view. 

{{cloudinary_gallery|barhamon&tmb-2023-day-3}}

-----

## Day 4

##### 3 September. [Rifugio Elisabetta](https://rifugioelisabetta.com/) - [Les Chapieux aire naturelle de camping](https://www.google.com/maps/place/aire+naturelle+de+camping/@45.697511,6.7241103,15z/data=!4m6!3m5!1s0x478967e6537f8237:0x15114c89ccc72ecf!8m2!3d45.6956141!4d6.7342648!16s%2Fg%2F11g2_7fbnc?entry=ttu)

We slept in a room with four other people. Despite having a proper bed, sleep was not as good as we hoped. And the 
breakfast was relatively poor. And the shower requires renovation. But the view pays all off. Being that close to the 
glacier always gives me goosebumps.

The swamp below was covered with mist at sunrise, giving even stronger Tolkien vibes. 

We saw tens of fluffy marmots on the Italian side of the mountain, and the border is full of ancient ruins. 

On the way down, we found a memorial for the B-17 U.S. Army Forces crew. 

In La Fouly, we met a group of English people who also do TMB. We met them again at Camping Grandes Jorasses. We met 
them again today, and they sold us a can of Portuguese beer. The whole situation is hilarious, us buying Portuguese 
beer from an English man on a glorified parking lot in France. 

{{cloudinary_gallery|barhamon&tmb-2023-day-4}}

-----

## Day 5

##### 4 September. [Les Chapieux aire naturelle de camping](https://www.google.com/maps/place/aire+naturelle+de+camping/@45.697511,6.7241103,15z/data=!4m6!3m5!1s0x478967e6537f8237:0x15114c89ccc72ecf!8m2!3d45.6956141!4d6.7342648!16s%2Fg%2F11g2_7fbnc?entry=ttu) - 
[Aire de bivouac de la Rollaz](https://www.google.com/maps/place/Bivouac+Shelter+Nant+Borrant/@45.7448962,6.6239185,12.35z/data=!4m6!3m5!1s0x47895d567bc2abad:0x12c003f654645bb0!8m2!3d45.7734949!4d6.7173042!16s%2Fg%2F11hf6xz_ql?entry=ttu)

We got a fresh baguette at 7 a.m., made a coffee on our gas stove, and had breakfast with goat cheese and sausage. We 
wanted to start early because of the long hike ahead and the scorching sun, but we began at nine. 

It was a long and beautiful way up to the Refuge du Col de la Croix du Bonhomme, where we had lunch, and an even 
longer way down to the wild camping spot. On the way down, Maria’s knees started to hurt badly. We agreed that instead 
of Refuge de Plan Glacier tomorrow, we will go to the next camping and rest there.  

We got to our destination at sunset. A few tents were already pitched up, but we found our quiet corner with access to 
the small river. 

{{cloudinary_gallery|barhamon&tmb-2023-day-5}}

-----

## Day 6

##### 5 September. [Aire de bivouac de la Rollaz](https://www.google.com/maps/place/Bivouac+Shelter+Nant+Borrant/@45.7448962,6.6239185,12.35z/data=!4m6!3m5!1s0x47895d567bc2abad:0x12c003f654645bb0!8m2!3d45.7734949!4d6.7173042!16s%2Fg%2F11hf6xz_ql?entry=ttu) - 
[Camping le Pontet](https://www.campinglepontet.com/en)

Mari could not sleep without painkillers, and we started to think that we would not be able to finish TMB at all. 

We got out of our tent only at nine. Breakfast, bathing in the icy river, and packing our camp took a surprising 
amount of time, and we hit the road again only around two. I liked our corner and wanted to stay. 

I sunburned my legs yesterday, and I was forced to wear my camping trousers today. It was very hot on the way down. I 
don’t understand how people hike this trail in summer. 

The pain in Maria’s knees returned as we started to go down, which was a sign that our hike was over. But starting 
tomorrow, we have booked two nights in a tiny cabin in Chamonix for our resting day. The plan for today is to get to 
the nearest campsite, cancel our booking at Refuge de Plan Glacier, and figure out where the nearest public transport 
stop is that we can use tomorrow. 

As soon as we reached the campsite, I emailed Refuge de Plan Glacier that we could not reach it. Ten minutes later, I 
got a call. On the other end was a man from the refuge. He was very upset that we would not arrive. He had already 
brought us food, which was expensive, and we notified him too late. We were also very upset about all that, plus knee 
pain. Unfortunately, I do not know the man’s name, but if you are somehow reading this, I am genuinely sorry that we 
did not notify you earlier.

The whole day people were arriving at the campsite. In the evening, it was the most packed camping site I had ever 
seen.

{{cloudinary_gallery|barhamon&tmb-2023-day-6}}

-----

## Day 7

##### 6 September. [Camping le Pontet](https://www.campinglepontet.com/en) - Chamonix

There was nowhere to hurry, so we had breakfast, showered, properly dried and packed our tent, met our Portuguese beer 
dealer, had a second coffee, and moved out to Chamonix around noon.

We found a bus stop relatively quickly, but the sign on it said that starting today, the bus would not stop at this 
stop. We consulted with locals, who advised us not to pay attention to the sign because they saw a bus that stopped at 
this stop today. They were right. 

Train to Chamonix goes through a beautiful valley. You can see the glaciers from the window! 

We reached our tiny cabin without any adventures, opened a bottle of wine, and spent our evening on a terrace with a 
view of Mont Blanc.

{{cloudinary_gallery|barhamon&tmb-2023-day-7}}

-----

## Day 8

##### 7 September. Chamonix 

We wanted to see the glaciers up close. However, the website that sells tickets to Aiguille du Midi cable car showed 
that all tickets are sold out. So we chilled till lunch and then went to explore Chamonix. We got to the cable car 
station almost accidentally and bought tickets there. The cabin was tightly packed. So yeah, if you want to stand by 
the window and see the beauty, try to enter first or last. 

The glacier is majestic. We took hundreds of pictures from every spot. And even though we knew it was the end of our 
trip, that was an excellent place to end it. 

We spent the rest of the day on the terrace of our cabin enjoying vine, cheese, and the view of the glacier on a 
sunset. 

{{cloudinary_gallery|barhamon&tmb-2023-day-8}}

-----

## Day 9

##### 8 September. Chamonix - Munich

We hopped on FlixBus to Geneva early in the morning, where we had another bus to Munich. On the way, we spent some 
time in traffic and arrived home around midnight. 

## Day N

After we got home, Mari visited a doctor. He said that her knees are not damaged enough to have surgery but damaged 
enough to stop mountain hiking 😔

Yeah, it looks like the next adventure would be a road trip or kayaking.

-----

## Afterword

It is a very crowded route. This is expected because it is the most popular long-distance hiking route in Europe, 
but we were not ready for that amount of people. If you, like us, go hiking to disconnect from society and reconnect 
to nature, I recommend choosing another route.

Otherwise, everything promised: three different cultures, a well-maintained trail, countless options to resupply, and 
unbelievably stunning nature are there. 

---
title: "Preparations for the TMB hike"
date: 2023-07-26T20:07:34+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1690394689/tmb-preparations/header.jpg
preview: "This year is my wife's turn to come up with a vacation plan, and we will go on a two-week hike around Mont Blanc Mountain."
tags:
- adventures
- hiking
- preparations
- alps
- mountains
---

This year is my wife's turn to come up with a vacation plan, and we will go on a two-week hike around Mont Blanc 
Mountain.There is a well-known hiking trail named, surprise, 
[Tour du Mont Blanc](https://en.wikipedia.org/wiki/Tour_du_Mont_Blanc), which is around 160 kilometers long and crosses 
three countries: Switzerland, Italy, and France.

While researching the trail, we discovered a picturesque lake in the mountains where wild camping is allowed. And 
because of that, of course, we need a new lightweight tent and sleeping pads. Our old and trustworthy tent weighs 4.7 
kilos, and our very comfortable self-inflating sleeping pad is as big as my backpack.

![Therm-A-Rest NeoAir XTherm Max](https://res.cloudinary.com/barhamon/image/upload/v1690395823/tmb-preparations/thermarest_neoair_max.jpg)

After reading thousands of reviews, we chose the 
[Therm-A-Rest NeoAir XTherm Max](https://www.thermarest.com/de/isomatten/fast-and-light/neoair-xtherm-nxt-max-isomatten/neoair-xtherm-nxt-max.html) 
as our sleeping pads. Nothing can beat its insane R-value at that weight, volume, and price. I battle-tested it in my 
[Turkey adventure](/post/tet_turkey_ride). It is super comfy and warm. We had two contenders for the tent, 
[MSR Huba Huba NX 2](https://www.msrgear.com/ie/tents/backpacking-tents/hubba-hubba-nx-2-person-backpacking-tent/06204.html) 
and [Big Agnes Copper Spur](https://www.bigagnes.com/products/copper-spur-hv-ul2). Both tents are around 1.5 kilos. 
Both can fit two wide sleeping pads. Copper Spur is lighter and has more storage options, while Huba Huba feels 
sturdier. It was a tough choice, but MSR won in the end. I have already used it on a few short adventures, and it is 
the best tent I tried in my life.

![it is nice to hike knowing that you do not need to carry food for a week](https://res.cloudinary.com/barhamon/image/upload/v1690395852/tmb-preparations/msr_huba_huba_nx_2.jpg)

Camping means cooking food. We want to bring our gas stove, a small aluminum pot, foldable silicon cups, and 
freeze-dried food. Of course, we prefer cooking real food, but we tested freeze-dried meals, and some are good. And 
coffee, judging by my wife’s determination, half of her backpack will be coffee beans. The good thing is - that we 
don't need to carry all the food from the start because there are plenty of places to resupply.

![Hiking cook set in action](https://res.cloudinary.com/barhamon/image/upload/v1690395836/tmb-preparations/cooking_food.jpg)

It looks like our base weight will be around nine kilos. Judging by the online information, you do not need more than 
one liter of water for a day on that trail. So it plus one kilo. The longest stretch without food resupply is three 
days. If we want a meal three times daily, that's nine packs per person. There will be plenty of places to eat, but 
shops with trekking food are rare, so those nine packs include an emergency stash. Each bag is around 210 grams, which 
is 1890 grams in total. Summing all that up, the whole backpack should be around 12 kilos. It is a good weight, I would
even consider adding a chair, but the backpack has no room left.

![Gear for the TMB](https://res.cloudinary.com/barhamon/image/upload/v1690395845/tmb-preparations/gear_for_the_tmb.jpg)

This is how our route looks like - [TMB](https://www.komoot.com/tour/1010233496). We roughly planned the route on 
Komoot (they do not pay me, I like their route planner), then looked for sleeping options so the daily distance stays 
reasonable, and then booked whatever we needed to book. One Hütte was booked out for the night we wanted to stay—nine 
(9) months in advance. But, because we will carry our camping gear anyway, it is not a big deal.

![Tour du Mont Blanc route map](https://res.cloudinary.com/barhamon/image/upload/v1690395857/tmb-preparations/tmb_route_map.png)

The only thing left to do is to renew tips on our trekking poles. Ah, and buy tickets to Switzerland.

See you on the trail.
---
title: "Two years in Munich"
date: 2023-04-14T21:02:32+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1681502106/two-years/two_years.jpg
preview: "Unbelievable how relative time is. It feels like we have lived here for at least twice as long."
tags:
- life
- relocation
---

Unbelievable how relative time is. It feels like we have lived here for at least twice as long.

There is a stereotype that Germans are cold and grumpy. IDK, everyone I met was helpful, polite, and welcoming. And since we are on the stereotypes page, bureaucracy. I did not notice anything unreasonable. Maybe it is my thing. Germany is the fifth country where I live, and perhaps I developed subconscious routines to avoid all of it. Maybe. But yeah, I do not have much to complain about. Oh no! You know, I have a thing to complain about. In Munich, we have self-service bike stations, you know, essential tools, air pumps, and so on. They are scattered across the whole city. And you know what? On most of them, the air pump is broken. As Germans would say - this is unacceptable.

![Nothing to complain about](https://res.cloudinary.com/barhamon/image/upload/v1681502257/two-years/nothing_to_complain.jpg)

We visited a few other cities in Germany, and every time we thought that we would choose Munich again. We like the absence of skyscrapers in the city, the nature around it, the rhythm, and the density of cultural events. We are still thinking about moving to the not far countryside. But it is so convenient to have 20 minutes commute time and one hour to the mountains that moving is still on the back burner.

![Our tiny flat](https://res.cloudinary.com/barhamon/image/upload/v1681502509/two-years/our_tiny_flat.jpg)

Still no car and no motorcycle. We do not feel like we need a car. Despite all the complaints you can find online, public transport in Munich is excellent. Of course, I want to ride a motorcycle, but I also enjoy bicycle rides and knowing myself, I will stop riding a bicycle the moment I get a bike. Which I do not want to happen.

![Bicycle trip](https://res.cloudinary.com/barhamon/image/upload/v1681502739/two-years/bicycle_trip.jpg)

Language-wise, I can manage a micro talk. But Mari is making tremendous progress. She can have a meaningful conversation with a stranger on the street while I nod and smile. This outstanding achievement of mine was brought to you by doing daily Duolingo exercises. I started to think about coming back to the language course. My previous attempt finished at the A2.1 level, cos there was not much sense in continuing with my tiny vocabulary. Still not sure when, maybe after this year adventure.

![We like our adventures](https://res.cloudinary.com/barhamon/image/upload/v1681502862/two-years/adventure.jpg)

I got a promotion. My current position is the lead developer at Check24. Now I officially have less time to focus and more time to talk. But yeah, I am pretty glad about that. Apart from promotion, there was a 3-year LTC, which is basically our (employee/employer) mutual agreement that we want to work together for at least three years more. I needed some time to think about it before I signed. It felt like I am getting too comfortable in my comfort zone, and that commitment will force me to stay in it for three years more. But then, I thought I would have my stress out of the language courses and obtaining permanent residency in Germany, so at least I would not need to look for a new job.

![Playing music in the train](https://res.cloudinary.com/barhamon/image/upload/v1681503053/two-years/portable_music_station.jpg)

When I say I am getting too comfortable, I am not joking. I have an indicator for that - my music. In total, I recorded six tracks in seven years—four of those tracks I recorded this year. And I like that very much. I even massage the thought of having a vinyl record with those records. It is not as complicated/expensive as I initially thought. A few more tracks, and you will be able to preorder it.

![Playing music in the train](https://res.cloudinary.com/barhamon/image/upload/v1681503200/two-years/freedom_for_ukraine.jpg)

See you in a year!

!! This is a series of anniversary posts.
! birthday cake
The previous one you can read here: [A year has passed since we moved to Munich](/post/a_year).

The next one you can read here: [Three years in Munich](/post/three_years_in_munich).
!!

---
title: "Weird interview question"
date: 2021-09-12T10:06:00+02:00
image: https://res.cloudinary.com/barhamon/image/upload/c_scale,h_800,q_auto/v1631429564/header/weird_interview_question_lsyt0s.png
preview: "Given a function that produces uniformly distributed random numbers between zero and one. Calculate the Pi."
tags:
- interview
- rust
- software
---

Some time ago, I saw interview question: given a function that produces uniformly distributed random numbers between zero and one. Calculate the Pi.

Wtf was my initial reaction. Who in the right mind would ask a question like this? But then I needed an excuse for not doing the dishes, and here we go.

My first association with Pi number is the circle area formula **Pi*r^2**. How can we relate our random numbers to a circle? Let say the distance between min(0) and max(1) is our radius. You can picture it like this:

![look at this beautiful circle](https://res.cloudinary.com/barhamon/image/upload/v1631391738/random_dots/circle_nbe72s.png)

The next question is how to plot our random number on 2d plane? We will call it twice. One for **X** and second for **Y**. 

![look at those beautiful dots](https://res.cloudinary.com/barhamon/image/upload/v1631391738/random_dots/dots_ghjllu.png)

If we repeat this enough times we get a square with a side length that equals 1

![look at this beautiful square](https://res.cloudinary.com/barhamon/image/upload/v1631391738/random_dots/square_tpmwws.png)

Now we need to combine our circle and square.

Looking on it, Pi should be the difference between the area of a square and the area of a quarter of a circle.

It is time to dust off my math skills.

Area of a circle - **Pi*r^2**

Area of a quarter of a circle (QC) - **(Pi*r^2)/4**

four quarters equals full circle (obviously) - **4*QC = Pi*r^2**

then - **Pi = (4*QC)/r^2**

What is **r^2**? It is area of a square (AS) 

then - **Pi = (4*QC)/AS**

In English, that would be Pi equals area of e circle divided by the area of a square where the radius of a circle equals side of the square.

Now, how can we know the area of the square? Remember when we draw a square with our random dots? So count of those dots will be our area.

And the area of our quarter of a circle would be a count of dots with distance from the 0 less or equal 1. The distance formula is **d = sqrt((x2-x1)^2+(y2-y1)^2)**.

But since we want distance from 0,0 we can simplify that to **d = sqrt(x^2+y^2)**.

Where x and y are the coordinates of our random dot.

It is time to write some code.

{{https://replit.com/@SergeyBar/rustrandom?lite=icon_title_nologo&theme=replitLight|https://replit.com/@SergeyBar/rustrandom?lite=icon_title_nologo&theme=replitLight}}

I would not recommend using this method to calculate Pi for something serious. First. How to say it lightly. The accuracy of this method is not the best on the market. And second, to get stable accuracy to the second digit, you need 10 000 000 dots. So yeah, performance-wise, it is not the best method either. But it was fun.

Now I don't have any excuses left.
---
title: "Why?"
date: 2020-07-02T16:55:15+02:00
image: /img/why.jpg
preview: "Why I write"
tags:
- life
---

Since English is not my native language, it’s hard for me to express my thoughts on it. I hope that writing posts regularly (!important) will improve my speaking skills.

The second reason is education. Being a developer means that you are constantly learning, at least if you want to progress. The best way to learn is to explain what you are learning. I'm not sure if this works with everyone, but it works with me.

So, be ready to read about:

- Building software.
- Adventure motorcycle riding.
- Fishing.
- Camping.

And music. God, I love music. Someday, here you will find an archive of all my favorite albums with covers and links to listen.
---
title: "YAMD 0.14.0 release"
date: 2024-09-28T14:00:00+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1727520593/header/yamd-0.14.0-release.png
preview: "YAMD stands for - Yet Another MarkDown (flavor) and is a simplified version of CommonMark."
tags:
- software
- rust
- yamd
---

[YAMD](https://github.com/Lurk/yamd) stands for - Yet Another MarkDown (flavor) and is a simplified version of 
[CommonMark](https://spec.commonmark.org/).

## Why does someone even need a simplified version of CommonMark?

I’m glad you asked.

I started doing it because I thought it would be fun and easy. The fact that it is version 0.14.0 should tell you that
it was not easy for me, but I had tremendous amounts of fun and learned quite a few new things.

!!
! computer
That's one of the reasons I like software engineering. The depth and breadth of it feels endless. I have been doing it
in different capacities since I was six and haven’t even scratched the surface.
!!

Actually, I had a few more solid reasons for a new flavor and parser for it:

- I haven’t found any library that would expose an intermediate structure instead of the resulting HTML. That’s not
true anymore. If you are happy with CommonMark, check out the [markdown-rs](https://github.com/wooorm/markdown-rs)
crate.
- I found that all markdown flavors lacked important blocks:
 + Image Gallery
 + Highlight.

Now, I learned a few things about the topic, and I have a few more reasons to continue.

CommonMark defines the [precedence](https://spec.commonmark.org/0.31.2/#precedence) of a container block over a leaf
block. I haven’t found any need for that, except when you want multiple paragraphs in one list item. I do not think
markdown is a good format to convey such a complex structure. On the other hand, there are fewer rules to encode and
remember without discrimination by block type. This results in a better UX and potentially allows a more efficient
parser.

There are a few caveats, though:

+ The tooling (linter, formatter, and LSP server) needed to write the correct YAMD does not exist and will take a long
time to become available.
+ List items can contain only one paragraph. At least for now.
+ I can be wrong.

There are a few more points why I continue with YAMD.

- No one needs more than one way to convey a heading or any other node. Trust me.
- Using numbers to identify an ordered list is not user-friendly. I spent enormous amounts of time fixing those
numbers while shuffling list items, and in YAMD, it is just `+`.
- I still need an Image gallery and Highlight.

## Okay. Okay. What’s in this release?

Finally, there is [documentation](https://docs.rs/yamd/latest/yamd/). It is not much, but it is honest work. I did my
best to describe how it works, sometimes even why, and It took me an unbelievable amount of time.

!!
! list-check
While writing documentation, I realized I could not host YAMD documentation written in YAMD because you need tables.
So yeah. Maybe.
!!

## Breaking changes.

This release is full of breaking changes. As always, I hope that this is the last release like that. This time,
though, there is more ground for that hope.

### [Highlight](https://docs.rs/yamd/latest/yamd/nodes/struct.Highlight.html).

While writing documentation for Highlight, I noticed that CommonMark reserves the `>` symbol for backquotes. If I leave
it like that, converting from CommonMark to YAMD and back will be unnecessarily complicated. To avoid that
complication, Highlight now has a new syntax. Please check the docs for more info.

### [Images](https://docs.rs/yamd/latest/yamd/nodes/struct.Images.html).

The transition from ImageGallery to Images breaks both syntax and API. While writing a parser for
[Image](https://docs.rs/yamd/latest/yamd/nodes/struct.Image.html) and ImageGallery, I noticed that wrapping a sequence
of images with `!!!` is unnecessary. I added them because I thought it would be much easier to parse when I wrote the
first version of YAMD, which is not valid anymore. And since I am already breaking syntax, it was an excellent
opportunity to fix that mistake.

### Frontmatter

From now on, the Frontmatter must be parsed by a consumer. There is no reason to force a specific metadata format or
shape in the YAMD, and from now on, the metadata field will contain an optional string that the consumer can parse
from the preferred format to the required structure. That means breaking changes in the API and syntax because a new
version can potentially contain invalid YAML, such as a JSON.

I hope that's the last breaking change in YAMD syntax. It’s not guaranteed, but from now on, I promise to figure out a
way for easy migration. The biggest obstacle is the absence of a serialization back to YAMD.

Next up, breaking changes in API. It is hard to stop when you start breaking stuff.

### Text

The Text node was just wrapped String without adding any new functionality. From now on, when the yamd instance
contains text, it will be String. That also forced me to change Enum representation from
[Internally tagged](https://serde.rs/enum-representations.html#internally-tagged) to
[Adjacently tagged](https://serde.rs/enum-representations.html#adjacently-tagged). As a side effect, Yamd will not
have reserved words from now on. Before that, nodes were not allowed a field with the name 'type’ because it was
reserved by Internally tagged enum representation when serializing.

### Bunch of other breaking changes.

The documentation writing also inspired me to rename the `nodes` field to `body`. It makes more sense and aligns with
the terminology. I am also renaming InlineCode to
[CodeSpan](https://docs.rs/yamd/latest/yamd/nodes/struct.CodeSpan.html) since I use CommonMark as a reference. And I
am also renaming all shorthand enum variants to a full name, which makes more sense. I believe that is also a way
forward:

- No shorthands in the API.
- When in doubt, use CommonMark as a reference.

I need to add those rules to the documentation.

## New features.

Apart from breaking changes, YAMD has exciting new features.

From now on, YAMD will support escaping sequences. Before, there was no way to represent `\`` inside
[CodeSpan](https://docs.rs/yamd/latest/yamd/nodes/struct.CodeSpan.html). Which was very annoying and the actual reason
for this release. To fix It, I added a [lexer](https://docs.rs/yamd/latest/yamd/lexer/struct.Lexer.html) and rewrote
the parser. It took me ages to get to the point when it worked and had a way to move forward.

!!
! lightbulb
A better Idea might be to use packages such as [Logos](https://github.com/maciejhirsz/logos) to generate Lexer. It
would save me at least a month, but it would also strip me of all the fun and frustration.
!!

Lexer also allowed me to implement `\\r\\n` support quickly. It is literally one line of code.

## Plans:

I think I have covered all the new stuff. Here is a plan for the future:

- Serializing to YAMD.
- Tooling like linter, formatter, and LSP server.
- Table node.

## Wrapping it up.

That was a lot of stuff, and I bet I forgot something. But the main goal is to start a conversation. If any of that
interests you or if you have strong opinions on the matter, please write to me. I would very much like to talk about
it.
---
title: "Yamd notes"
date: 2023-11-12T15:41:30+01:00
image: https://res.cloudinary.com/barhamon/image/upload/v1699798237/header/yamd.jpg
preview: "What I learned while writing my flavor of markdown"
tags:
- software
- rust
- yamd
---

Those are the notes I took while implementing [YAMD](https://github.com/Lurk/yamd) crate. 

-----

First of all, it is more complex than it looked in the beginning. 

The test case for nested lists is failing. I rewrote the deserializer logic multiple times. I rewrote half of the 
project. Two weeks later - Oh, a space is missing in the test case. 

Naming is really hard. How should I name a thing that contains a vector of patterns? Is it a Token? 

Most of the nodes do not require context for deserialization. But a few of them, you can only deserialize correctly 
with context. Adding an optional param to deserialize is a bad idea because that would mean two things. First, I will 
need to add None to every deserialize call. Second, that would be a longer explanation, so bear with me. 

```rust
trait deserializer {
 pub fn deserialize(input:&str)->Option<Self>{}
}
```

I want to add context, right?

`Fn deserializer(input: &str, context:` <What type should be here?>`)`

It does not make much sense to specify type here because every node can have it is own context type. Generics will 
pollute (is that a term?) the tree all the way up.

For now, I am fighting the urge to go and check how it is done in Serde. They should have solved this problem years 
ago. 

You know what? Maybe I do not want to have context. But I want a read-only access to the parent, which will implement 
some traits. 

Ok. I checked Serde. And yes, they had this problem. The solution is 
[Trait serde::de::DeserializeSeed](https://docs.rs/serde/latest/serde/de/trait.DeserializeSeed.html). IDK, it looks 
like it will have the same problem as the generic context approach from above.

I massaged the idea of a parent instead of context. It does not work, or I did not figure out how to make it work. The 
problem is:

```rust
fn deserialize<Parent>(input: &str, parent: Option<Parent>) -> Option<Self> {
	<what type Parent is?> 
}
```

It turned out that I needed to pass multiple values in one context. I ended up with a wrapper around HashMap. It may 
not be the best approach, and I could remove the HashMap in the future, but from what I read, all alternatives will 
involve some unsafe code, and I do not feel comfortable enough yet. For now, it works, and I can finally finish the 
List node deserializer.  

It may be time to write some documentation. 

I just rewrote the matcher for the third time. Maybe using regex is not a bad idea. 

Oh, “yamd” is free on crates.io. 

Publishing a crate went surprisingly smoothly. 

GitHub shows [John Hoo](https://github.com/jonhoo) as a contributor, which is technically accurate, but he does not 
know about that.

-----

Now, when I publish those notes, I think I should do that more often. It is a good way to keep track of the project.