aboutsummaryrefslogtreecommitdiff
path: root/content/posts
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-10-31 08:38:25 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-10-31 08:38:25 +0100
commitf59672679db271f6b24a41e215401ab5001ecd96 (patch)
tree367e04e449d8b02266b05d37413cfd2ba2a80b3a /content/posts
parent22f5ac8fcec4dbfcc1f5033f18bc4eeca52a747d (diff)
downloadmitjafelicijan.com-f59672679db271f6b24a41e215401ab5001ecd96.tar.gz
Theme updates
Diffstat (limited to 'content/posts')
-rw-r--r--content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md16
-rw-r--r--content/posts/2021-01-24-replacing-dropbox-with-s3.md10
-rw-r--r--content/posts/2021-12-25-running-golang-application-as-pid1.md79
-rw-r--r--content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md8
-rw-r--r--content/posts/2023-07-10-fix-screen-tearing-on-debian-12-xorg-and-i3.md2
5 files changed, 56 insertions, 59 deletions
diff --git a/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md b/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md
index 0d44a40..8bd8d74 100644
--- a/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md
+++ b/content/posts/2019-01-03-encoding-binary-data-into-dna-sequence.md
@@ -99,8 +99,8 @@ Deoxyribonucleic acid, a self-replicating material which is **present in nearly
99all living organisms** as the main constituent of chromosomes. It is the 99all living organisms** as the main constituent of chromosomes. It is the
100**carrier of genetic information**. 100**carrier of genetic information**.
101 101
102> The nitrogen in our DNA, the calcium in our teeth, the iron in our blood, 102> The nitrogen in our DNA, the calcium in our teeth, the iron in our blood,
103> the carbon in our apple pies were made in the interiors of collapsing stars. 103> the carbon in our apple pies were made in the interiors of collapsing stars.
104> We are made of starstuff. 104> We are made of starstuff.
105> **-- Carl Sagan, Cosmos** 105> **-- Carl Sagan, Cosmos**
106 106
@@ -134,9 +134,7 @@ As already mentioned, the Basic Encoding is based on a simple mapping. Since DNA
134is composed of 4 nucleotides (Adenine, Cytosine, Guanine, Thymine; usually 134is composed of 4 nucleotides (Adenine, Cytosine, Guanine, Thymine; usually
135referred using the first letter). Using this technique we can encode 135referred using the first letter). Using this technique we can encode
136 136
137<center> 137<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 -907.9672135000189 11313.37788460873 1185.0382429179317" style="width: 26.259ex; height: 2.721ex; vertical-align: -0.68ex; margin: 1px 0px;"><g stroke="black" fill="black" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-6C"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-6F" x="303" y="0"/><g transform="translate(793,0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-67"/><use transform="scale(0.7071067811865476)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32" x="681" y="-213"/></g><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-28" x="1732" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-34" x="2126" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-29" x="2631" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-3D" x="3302" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-6C" x="4363" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-6F" x="4666" y="0"/><g transform="translate(5156,0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-67"/><use transform="scale(0.7071067811865476)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32" x="681" y="-213"/></g><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-28" x="6095" y="0"/><g transform="translate(6489,0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32"/><use transform="scale(0.7071067811865476)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32" x="714" y="583"/></g><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-29" x="7451" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-3D" x="8123" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32" x="9184" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-62" x="9689" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-69" x="10123" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-74" x="10473" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-73" x="10839" y="0"/></g><defs id="MathJax_SVG_glyphs"><path id="MJSZ2-2211" stroke-width="10" d="M60 948Q63 950 665 950H1267L1325 815Q1384 677 1388 669H1348L1341 683Q1320 724 1285 761Q1235 809 1174 838T1033 881T882 898T699 902H574H543H251L259 891Q722 258 724 252Q725 250 724 246Q721 243 460 -56L196 -356Q196 -357 407 -357Q459 -357 548 -357T676 -358Q812 -358 896 -353T1063 -332T1204 -283T1307 -196Q1328 -170 1348 -124H1388Q1388 -125 1381 -145T1356 -210T1325 -294L1267 -449L666 -450Q64 -450 61 -448Q55 -446 55 -439Q55 -437 57 -433L590 177Q590 178 557 222T452 366T322 544L56 909L55 924Q55 945 60 948Z"/><path id="MJMATHI-69" stroke-width="10" d="M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z"/><path id="MJMAIN-3D" stroke-width="10" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z"/><path id="MJMAIN-30" stroke-width="10" d="M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z"/><path id="MJMATHI-6E" stroke-width="10" d="M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z"/><path id="MJMAIN-28" stroke-width="10" d="M94 250Q94 319 104 381T127 488T164 576T202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z"/><path id="MJMAIN-2B" stroke-width="10" d="M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z"/><path id="MJMAIN-31" stroke-width="10" d="M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z"/><path id="MJMAIN-29" stroke-width="10" d="M60 749L64 750Q69 750 74 750H86L114 726Q208 641 251 514T294 250Q294 182 284 119T261 12T224 -76T186 -143T145 -194T113 -227T90 -246Q87 -249 86 -250H74Q66 -250 63 -250T58 -247T55 -238Q56 -237 66 -225Q221 -64 221 250T66 725Q56 737 55 738Q55 746 60 749Z"/><path id="MJMAIN-32" stroke-width="10" d="M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z"/><path id="MJMATHI-6C" stroke-width="10" d="M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z"/><path id="MJMATHI-6F" stroke-width="10" d="M201 -11Q126 -11 80 38T34 156Q34 221 64 279T146 380Q222 441 301 441Q333 441 341 440Q354 437 367 433T402 417T438 387T464 338T476 268Q476 161 390 75T201 -11ZM121 120Q121 70 147 48T206 26Q250 26 289 58T351 142Q360 163 374 216T388 308Q388 352 370 375Q346 405 306 405Q243 405 195 347Q158 303 140 230T121 120Z"/><path id="MJMATHI-67" stroke-width="10" d="M311 43Q296 30 267 15T206 0Q143 0 105 45T66 160Q66 265 143 353T314 442Q361 442 401 394L404 398Q406 401 409 404T418 412T431 419T447 422Q461 422 470 413T480 394Q480 379 423 152T363 -80Q345 -134 286 -169T151 -205Q10 -205 10 -137Q10 -111 28 -91T74 -71Q89 -71 102 -80T116 -111Q116 -121 114 -130T107 -144T99 -154T92 -162L90 -164H91Q101 -167 151 -167Q189 -167 211 -155Q234 -144 254 -122T282 -75Q288 -56 298 -13Q311 35 311 43ZM384 328L380 339Q377 350 375 354T369 368T359 382T346 393T328 402T306 405Q262 405 221 352Q191 313 171 233T151 117Q151 38 213 38Q269 38 323 108L331 118L384 328Z"/><path id="MJMAIN-34" stroke-width="10" d="M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z"/><path id="MJMATHI-62" stroke-width="10" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"/><path id="MJMATHI-74" stroke-width="10" d="M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z"/><path id="MJMATHI-73" stroke-width="10" d="M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z"/></defs></svg>
138 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 -907.9672135000189 11313.37788460873 1185.0382429179317" style="width: 26.259ex; height: 2.721ex; vertical-align: -0.68ex; margin: 1px 0px;"><g stroke="black" fill="black" stroke-width="0" transform="matrix(1 0 0 -1 0 0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-6C"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-6F" x="303" y="0"/><g transform="translate(793,0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-67"/><use transform="scale(0.7071067811865476)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32" x="681" y="-213"/></g><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-28" x="1732" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-34" x="2126" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-29" x="2631" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-3D" x="3302" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-6C" x="4363" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-6F" x="4666" y="0"/><g transform="translate(5156,0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-67"/><use transform="scale(0.7071067811865476)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32" x="681" y="-213"/></g><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-28" x="6095" y="0"/><g transform="translate(6489,0)"><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32"/><use transform="scale(0.7071067811865476)" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32" x="714" y="583"/></g><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-29" x="7451" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-3D" x="8123" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMAIN-32" x="9184" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-62" x="9689" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-69" x="10123" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-74" x="10473" y="0"/><use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#MJMATHI-73" x="10839" y="0"/></g><defs id="MathJax_SVG_glyphs"><path id="MJSZ2-2211" stroke-width="10" d="M60 948Q63 950 665 950H1267L1325 815Q1384 677 1388 669H1348L1341 683Q1320 724 1285 761Q1235 809 1174 838T1033 881T882 898T699 902H574H543H251L259 891Q722 258 724 252Q725 250 724 246Q721 243 460 -56L196 -356Q196 -357 407 -357Q459 -357 548 -357T676 -358Q812 -358 896 -353T1063 -332T1204 -283T1307 -196Q1328 -170 1348 -124H1388Q1388 -125 1381 -145T1356 -210T1325 -294L1267 -449L666 -450Q64 -450 61 -448Q55 -446 55 -439Q55 -437 57 -433L590 177Q590 178 557 222T452 366T322 544L56 909L55 924Q55 945 60 948Z"/><path id="MJMATHI-69" stroke-width="10" d="M184 600Q184 624 203 642T247 661Q265 661 277 649T290 619Q290 596 270 577T226 557Q211 557 198 567T184 600ZM21 287Q21 295 30 318T54 369T98 420T158 442Q197 442 223 419T250 357Q250 340 236 301T196 196T154 83Q149 61 149 51Q149 26 166 26Q175 26 185 29T208 43T235 78T260 137Q263 149 265 151T282 153Q302 153 302 143Q302 135 293 112T268 61T223 11T161 -11Q129 -11 102 10T74 74Q74 91 79 106T122 220Q160 321 166 341T173 380Q173 404 156 404H154Q124 404 99 371T61 287Q60 286 59 284T58 281T56 279T53 278T49 278T41 278H27Q21 284 21 287Z"/><path id="MJMAIN-3D" stroke-width="10" d="M56 347Q56 360 70 367H707Q722 359 722 347Q722 336 708 328L390 327H72Q56 332 56 347ZM56 153Q56 168 72 173H708Q722 163 722 153Q722 140 707 133H70Q56 140 56 153Z"/><path id="MJMAIN-30" stroke-width="10" d="M96 585Q152 666 249 666Q297 666 345 640T423 548Q460 465 460 320Q460 165 417 83Q397 41 362 16T301 -15T250 -22Q224 -22 198 -16T137 16T82 83Q39 165 39 320Q39 494 96 585ZM321 597Q291 629 250 629Q208 629 178 597Q153 571 145 525T137 333Q137 175 145 125T181 46Q209 16 250 16Q290 16 318 46Q347 76 354 130T362 333Q362 478 354 524T321 597Z"/><path id="MJMATHI-6E" stroke-width="10" d="M21 287Q22 293 24 303T36 341T56 388T89 425T135 442Q171 442 195 424T225 390T231 369Q231 367 232 367L243 378Q304 442 382 442Q436 442 469 415T503 336T465 179T427 52Q427 26 444 26Q450 26 453 27Q482 32 505 65T540 145Q542 153 560 153Q580 153 580 145Q580 144 576 130Q568 101 554 73T508 17T439 -10Q392 -10 371 17T350 73Q350 92 386 193T423 345Q423 404 379 404H374Q288 404 229 303L222 291L189 157Q156 26 151 16Q138 -11 108 -11Q95 -11 87 -5T76 7T74 17Q74 30 112 180T152 343Q153 348 153 366Q153 405 129 405Q91 405 66 305Q60 285 60 284Q58 278 41 278H27Q21 284 21 287Z"/><path id="MJMAIN-28" stroke-width="10" d="M94 250Q94 319 104 381T127 488T164 576T202 643T244 695T277 729T302 750H315H319Q333 750 333 741Q333 738 316 720T275 667T226 581T184 443T167 250T184 58T225 -81T274 -167T316 -220T333 -241Q333 -250 318 -250H315H302L274 -226Q180 -141 137 -14T94 250Z"/><path id="MJMAIN-2B" stroke-width="10" d="M56 237T56 250T70 270H369V420L370 570Q380 583 389 583Q402 583 409 568V270H707Q722 262 722 250T707 230H409V-68Q401 -82 391 -82H389H387Q375 -82 369 -68V230H70Q56 237 56 250Z"/><path id="MJMAIN-31" stroke-width="10" d="M213 578L200 573Q186 568 160 563T102 556H83V602H102Q149 604 189 617T245 641T273 663Q275 666 285 666Q294 666 302 660V361L303 61Q310 54 315 52T339 48T401 46H427V0H416Q395 3 257 3Q121 3 100 0H88V46H114Q136 46 152 46T177 47T193 50T201 52T207 57T213 61V578Z"/><path id="MJMAIN-29" stroke-width="10" d="M60 749L64 750Q69 750 74 750H86L114 726Q208 641 251 514T294 250Q294 182 284 119T261 12T224 -76T186 -143T145 -194T113 -227T90 -246Q87 -249 86 -250H74Q66 -250 63 -250T58 -247T55 -238Q56 -237 66 -225Q221 -64 221 250T66 725Q56 737 55 738Q55 746 60 749Z"/><path id="MJMAIN-32" stroke-width="10" d="M109 429Q82 429 66 447T50 491Q50 562 103 614T235 666Q326 666 387 610T449 465Q449 422 429 383T381 315T301 241Q265 210 201 149L142 93L218 92Q375 92 385 97Q392 99 409 186V189H449V186Q448 183 436 95T421 3V0H50V19V31Q50 38 56 46T86 81Q115 113 136 137Q145 147 170 174T204 211T233 244T261 278T284 308T305 340T320 369T333 401T340 431T343 464Q343 527 309 573T212 619Q179 619 154 602T119 569T109 550Q109 549 114 549Q132 549 151 535T170 489Q170 464 154 447T109 429Z"/><path id="MJMATHI-6C" stroke-width="10" d="M117 59Q117 26 142 26Q179 26 205 131Q211 151 215 152Q217 153 225 153H229Q238 153 241 153T246 151T248 144Q247 138 245 128T234 90T214 43T183 6T137 -11Q101 -11 70 11T38 85Q38 97 39 102L104 360Q167 615 167 623Q167 626 166 628T162 632T157 634T149 635T141 636T132 637T122 637Q112 637 109 637T101 638T95 641T94 647Q94 649 96 661Q101 680 107 682T179 688Q194 689 213 690T243 693T254 694Q266 694 266 686Q266 675 193 386T118 83Q118 81 118 75T117 65V59Z"/><path id="MJMATHI-6F" stroke-width="10" d="M201 -11Q126 -11 80 38T34 156Q34 221 64 279T146 380Q222 441 301 441Q333 441 341 440Q354 437 367 433T402 417T438 387T464 338T476 268Q476 161 390 75T201 -11ZM121 120Q121 70 147 48T206 26Q250 26 289 58T351 142Q360 163 374 216T388 308Q388 352 370 375Q346 405 306 405Q243 405 195 347Q158 303 140 230T121 120Z"/><path id="MJMATHI-67" stroke-width="10" d="M311 43Q296 30 267 15T206 0Q143 0 105 45T66 160Q66 265 143 353T314 442Q361 442 401 394L404 398Q406 401 409 404T418 412T431 419T447 422Q461 422 470 413T480 394Q480 379 423 152T363 -80Q345 -134 286 -169T151 -205Q10 -205 10 -137Q10 -111 28 -91T74 -71Q89 -71 102 -80T116 -111Q116 -121 114 -130T107 -144T99 -154T92 -162L90 -164H91Q101 -167 151 -167Q189 -167 211 -155Q234 -144 254 -122T282 -75Q288 -56 298 -13Q311 35 311 43ZM384 328L380 339Q377 350 375 354T369 368T359 382T346 393T328 402T306 405Q262 405 221 352Q191 313 171 233T151 117Q151 38 213 38Q269 38 323 108L331 118L384 328Z"/><path id="MJMAIN-34" stroke-width="10" d="M462 0Q444 3 333 3Q217 3 199 0H190V46H221Q241 46 248 46T265 48T279 53T286 61Q287 63 287 115V165H28V211L179 442Q332 674 334 675Q336 677 355 677H373L379 671V211H471V165H379V114Q379 73 379 66T385 54Q393 47 442 46H471V0H462ZM293 211V545L74 212L183 211H293Z"/><path id="MJMATHI-62" stroke-width="10" d="M73 647Q73 657 77 670T89 683Q90 683 161 688T234 694Q246 694 246 685T212 542Q204 508 195 472T180 418L176 399Q176 396 182 402Q231 442 283 442Q345 442 383 396T422 280Q422 169 343 79T173 -11Q123 -11 82 27T40 150V159Q40 180 48 217T97 414Q147 611 147 623T109 637Q104 637 101 637H96Q86 637 83 637T76 640T73 647ZM336 325V331Q336 405 275 405Q258 405 240 397T207 376T181 352T163 330L157 322L136 236Q114 150 114 114Q114 66 138 42Q154 26 178 26Q211 26 245 58Q270 81 285 114T318 219Q336 291 336 325Z"/><path id="MJMATHI-74" stroke-width="10" d="M26 385Q19 392 19 395Q19 399 22 411T27 425Q29 430 36 430T87 431H140L159 511Q162 522 166 540T173 566T179 586T187 603T197 615T211 624T229 626Q247 625 254 615T261 596Q261 589 252 549T232 470L222 433Q222 431 272 431H323Q330 424 330 420Q330 398 317 385H210L174 240Q135 80 135 68Q135 26 162 26Q197 26 230 60T283 144Q285 150 288 151T303 153H307Q322 153 322 145Q322 142 319 133Q314 117 301 95T267 48T216 6T155 -11Q125 -11 98 4T59 56Q57 64 57 83V101L92 241Q127 382 128 383Q128 385 77 385H26Z"/><path id="MJMATHI-73" stroke-width="10" d="M131 289Q131 321 147 354T203 415T300 442Q362 442 390 415T419 355Q419 323 402 308T364 292Q351 292 340 300T328 326Q328 342 337 354T354 372T367 378Q368 378 368 379Q368 382 361 388T336 399T297 405Q249 405 227 379T204 326Q204 301 223 291T278 274T330 259Q396 230 396 163Q396 135 385 107T352 51T289 7T195 -10Q118 -10 86 19T53 87Q53 126 74 143T118 160Q133 160 146 151T160 120Q160 94 142 76T111 58Q109 57 108 57T107 55Q108 52 115 47T146 34T201 27Q237 27 263 38T301 66T318 97T323 122Q323 150 302 164T254 181T195 196T148 231Q131 256 131 289Z"/></defs></svg>
139</center>
140 138
141using a single nucleotide. In this way, we are able to use the 4 bases that 139using a single nucleotide. In this way, we are able to use the 4 bases that
142compose the DNA strand to encode each byte of data. 140compose the DNA strand to encode each byte of data.
@@ -196,7 +194,7 @@ sequence, often starting with a unique library accession number, and with time
196it has become commonplace to always use ">" for the first line and to not use 194it has become commonplace to always use ">" for the first line and to not use
197";" comments (which would otherwise be ignored). 195";" comments (which would otherwise be ignored).
198 196
199``` 197```txt
200;LCBO - Prolactin precursor - Bovine 198;LCBO - Prolactin precursor - Bovine
201; a sample sequence in FASTA format 199; a sample sequence in FASTA format
202MDSKGSSQKGSRLLLLLVVSNLLLCQGVVSTPVCPNGPGNCQVSLRDLFDRAVMVSHYIHDLSS 200MDSKGSSQKGSRLLLLLVVSNLLLCQGVVSTPVCPNGPGNCQVSLRDLFDRAVMVSHYIHDLSS
@@ -273,7 +271,7 @@ First we encode text file into FASTA file.
273 271
274Output of `quote.fa` file contains the encoded DNA sequence in ASCII format. 272Output of `quote.fa` file contains the encoded DNA sequence in ASCII format.
275 273
276``` 274```txt
277>SEQ1 275>SEQ1
278GACAGCTTGTGTACAAGTGTGCTTGCTCGCGAGCGGGTACGCGCGTGGGCTAACAAGTGA 276GACAGCTTGTGTACAAGTGTGCTTGCTCGCGAGCGGGTACGCGCGTGGGCTAACAAGTGA
279GCCAGCAGGTGAACAAGTGTGCGGACAAGCCAGCAGGTGCGCGGACAAGCTGGCGGGTGA 277GCCAGCAGGTGAACAAGTGTGCGGACAAGCCAGCAGGTGCGCGGACAAGCTGGCGGGTGA
@@ -325,7 +323,7 @@ I have created a toolkit with two main programs:
325- dnae-encode (encodes file into FASTA file) 323- dnae-encode (encodes file into FASTA file)
326- dnae-png (encodes FASTA file into PNG) 324- dnae-png (encodes FASTA file into PNG)
327 325
328Toolkit with full source code is available on 326Toolkit with full source code is available on
329[github.com/mitjafelicijan/dna-encoding](https://github.com/mitjafelicijan/dna-encoding). 327[github.com/mitjafelicijan/dna-encoding](https://github.com/mitjafelicijan/dna-encoding).
330 328
331### dnae-encode 329### dnae-encode
@@ -383,7 +381,7 @@ We create following binary files:
383- 10MB.bin 381- 10MB.bin
384- 100MB.bin 382- 100MB.bin
385 383
386After this we create FASTA files for all the binary files by encoding them 384After this we create FASTA files for all the binary files by encoding them
387into DNA sequence. 385into DNA sequence.
388 386
389```bash 387```bash
diff --git a/content/posts/2021-01-24-replacing-dropbox-with-s3.md b/content/posts/2021-01-24-replacing-dropbox-with-s3.md
index 7724c9c..b7fc424 100644
--- a/content/posts/2021-01-24-replacing-dropbox-with-s3.md
+++ b/content/posts/2021-01-24-replacing-dropbox-with-s3.md
@@ -31,9 +31,9 @@ so good. I haven't felt this way for a long time.
31Before you continue you should read my post about [syncing to 31Before you continue you should read my post about [syncing to
32Dropbox](/digitalocean-spaces-to-sync-between-computers.html). 32Dropbox](/digitalocean-spaces-to-sync-between-computers.html).
33 33
34> Also to note, I am using Linux on my machine with Gnome desktop environment. 34> Also to note, I am using Linux on my machine with Gnome desktop environment.
35This should work on MacOS too. To use this on Windows I suggest using 35This should work on MacOS too. To use this on Windows I suggest using
36[Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10) 36[Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/install-win10)
37or [Cygwin](https://www.cygwin.com/). 37or [Cygwin](https://www.cygwin.com/).
38 38
39## Folder structure 39## Folder structure
@@ -93,12 +93,12 @@ This script also backups some of the dotfiles I use and sends notification to
93Gnome notification center. It is a straightforward solution. Nothing special 93Gnome notification center. It is a straightforward solution. Nothing special
94going on. 94going on.
95 95
96> One obvious benefit of this is that I can omit syncing Node's `node_modules` 96> One obvious benefit of this is that I can omit syncing Node's `node_modules`
97> or Python's `.venv` and `.git` folders. 97> or Python's `.venv` and `.git` folders.
98 98
99You can use this script in a combination with [Cron](https://en.wikipedia.org/wiki/Cron). 99You can use this script in a combination with [Cron](https://en.wikipedia.org/wiki/Cron).
100 100
101``` 101```txt
1020 2 * * * sh ~/Vault/bin/vault-backup.sh 1020 2 * * * sh ~/Vault/bin/vault-backup.sh
103``` 103```
104 104
diff --git a/content/posts/2021-12-25-running-golang-application-as-pid1.md b/content/posts/2021-12-25-running-golang-application-as-pid1.md
index 251ef4f..e09bbc9 100644
--- a/content/posts/2021-12-25-running-golang-application-as-pid1.md
+++ b/content/posts/2021-12-25-running-golang-application-as-pid1.md
@@ -13,11 +13,11 @@ I have been reading a lot about
13very intriguing. When you push away all the marketing speak and look at the 13very intriguing. When you push away all the marketing speak and look at the
14idea, it makes a lot of sense. 14idea, it makes a lot of sense.
15 15
16> A unikernel is a specialized, single address space machine image constructed 16> A unikernel is a specialized, single address space machine image constructed
17> by using library operating systems. ([Wikipedia](https://en.wikipedia.org/wiki/Unikernel)) 17> by using library operating systems. ([Wikipedia](https://en.wikipedia.org/wiki/Unikernel))
18 18
19I really like the explanation from the article 19I really like the explanation from the article
20[Unikernels: Rise of the Virtual Library Operating System](https://queue.acm.org/detail.cfm?id=2566628). 20[Unikernels: Rise of the Virtual Library Operating System](https://queue.acm.org/detail.cfm?id=2566628).
21Really worth a read. 21Really worth a read.
22 22
23If we compare a normal operating system to a unikernel side by side, they would 23If we compare a normal operating system to a unikernel side by side, they would
@@ -25,14 +25,14 @@ look something like this.
25 25
26![Virtual machines vs Containers vs Unikernels](/posts/pid1/unikernels.png) 26![Virtual machines vs Containers vs Unikernels](/posts/pid1/unikernels.png)
27 27
28From this image, we can see how the complexity significantly decreases with 28From this image, we can see how the complexity significantly decreases with
29the use of Unikernels. This comes with a price, of course. Unikernels are hard 29the use of Unikernels. This comes with a price, of course. Unikernels are hard
30to get running and require a lot of work since you don't have an actual proper 30to get running and require a lot of work since you don't have an actual proper
31kernel running in the background providing network access and drivers etc. 31kernel running in the background providing network access and drivers etc.
32 32
33So as a half step to make the stack simpler, I started looking into using 33So as a half step to make the stack simpler, I started looking into using
34Linux kernel as a base and going from there. I came across this 34Linux kernel as a base and going from there. I came across this
35[Youtube video talking about Building the Simplest Possible Linux System](https://www.youtube.com/watch?v=Sk9TatW9ino) 35[Youtube video talking about Building the Simplest Possible Linux System](https://www.youtube.com/watch?v=Sk9TatW9ino)
36by [Rob Landley](https://landley.net) and apart from statically compiling the 36by [Rob Landley](https://landley.net) and apart from statically compiling the
37application to be run as PID1 there was really no other obstacles. 37application to be run as PID1 there was really no other obstacles.
38 38
@@ -41,12 +41,12 @@ application to be run as PID1 there was really no other obstacles.
41PID 1 is the first process that Linux kernel starts after the boot process. 41PID 1 is the first process that Linux kernel starts after the boot process.
42It also has a couple of unique properties that are unique to it. 42It also has a couple of unique properties that are unique to it.
43 43
44- When the process with PID 1 dies for any reason, all other processes are 44- When the process with PID 1 dies for any reason, all other processes are
45 killed with KILL signal. 45 killed with KILL signal.
46- When any process having children dies for any reason, its children are 46- When any process having children dies for any reason, its children are
47 re-parented to process with PID 1. 47 re-parented to process with PID 1.
48- Many signals which have default action of Term do not have one for PID 1. 48- Many signals which have default action of Term do not have one for PID 1.
49- When the process with PID 1 dies for any reason, kernel panics, which 49- When the process with PID 1 dies for any reason, kernel panics, which
50 result in system crash. 50 result in system crash.
51 51
52PID 1 is considered as an Init application which takes care of running other 52PID 1 is considered as an Init application which takes care of running other
@@ -73,19 +73,19 @@ PPid: 0
73``` 73```
74 74
75As we can see on my machine the process with id of 1 is [systemd](https://systemd.io/) 75As we can see on my machine the process with id of 1 is [systemd](https://systemd.io/)
76which is a software suite that provides an array of system components for Linux 76which is a software suite that provides an array of system components for Linux
77operating systems. If you look closely you can also see that the `PPid` 77operating systems. If you look closely you can also see that the `PPid`
78(process id of the parent process) is `0` which additionally confirms that 78(process id of the parent process) is `0` which additionally confirms that
79this process doesn't have a parent. 79this process doesn't have a parent.
80 80
81## So why even run application as PID 1 instead of just using a container? 81## So why even run application as PID 1 instead of just using a container?
82 82
83Containers are wonderful, but they come with a lot of baggage. And because they 83Containers are wonderful, but they come with a lot of baggage. And because they
84are in their nature layered, the images require quite a lot of space and also a 84are in their nature layered, the images require quite a lot of space and also a
85lot of additional software to handle them. They are not as lightweight as they 85lot of additional software to handle them. They are not as lightweight as they
86seem, and many popular images require 500 MB plus disk space. 86seem, and many popular images require 500 MB plus disk space.
87 87
88The idea of running this as PID 1 would result in a significantly smaller footprint, 88The idea of running this as PID 1 would result in a significantly smaller footprint,
89as we will see later in the post. 89as we will see later in the post.
90 90
91> You could run a simple init system inside Docker container described more 91> You could run a simple init system inside Docker container described more
@@ -95,7 +95,7 @@ as we will see later in the post.
95 95
961. Compile Linux kernel with the default definitions. 961. Compile Linux kernel with the default definitions.
972. Prepare a Hello World application in Golang that is statically compiled. 972. Prepare a Hello World application in Golang that is statically compiled.
983. Run it with [QEMU](https://www.qemu.org/) and providing Golang application 983. Run it with [QEMU](https://www.qemu.org/) and providing Golang application
99 as init application / PID 1. 99 as init application / PID 1.
100 100
101For the sake of simplicity we will not be cross-compiling any of it and just 101For the sake of simplicity we will not be cross-compiling any of it and just
@@ -122,16 +122,16 @@ $ cd ..
122At this point we have kernel image that is located in `arch/x86_64/boot/bzImage`. 122At this point we have kernel image that is located in `arch/x86_64/boot/bzImage`.
123We will use this in QEMU later. 123We will use this in QEMU later.
124 124
125To make our lives a bit easier lets move the kernel image to another place. 125To make our lives a bit easier lets move the kernel image to another place.
126Lets create a folder `bin/` in the root of our project with `mkdir -p bin`. 126Lets create a folder `bin/` in the root of our project with `mkdir -p bin`.
127 127
128 128
129At this point we can copy `bzImage` to `bin/` folder with 129At this point we can copy `bzImage` to `bin/` folder with
130`cp linux-5.15.7/arch/x86_64/boot/bzImage bin/bzImage`. 130`cp linux-5.15.7/arch/x86_64/boot/bzImage bin/bzImage`.
131 131
132The folder structure of this experiment should look like this. 132The folder structure of this experiment should look like this.
133 133
134``` 134```txt
135pid1/ 135pid1/
136 bin/ 136 bin/
137 bzImage 137 bzImage
@@ -141,7 +141,7 @@ pid1/
141 141
142## Preparing PID 1 application in Golang 142## Preparing PID 1 application in Golang
143 143
144This step is relatively easy. The only thing we must have in mind that we will 144This step is relatively easy. The only thing we must have in mind that we will
145need to compile the binary as a static one. 145need to compile the binary as a static one.
146 146
147Let's create `init.go` file in the root of the project. 147Let's create `init.go` file in the root of the project.
@@ -162,8 +162,8 @@ func main() {
162} 162}
163``` 163```
164 164
165If you notice, we have a forever loop in the main, with a simple sleep of 1 165If you notice, we have a forever loop in the main, with a simple sleep of 1
166second to not overwhelm the CPU. This is because PID 1 should never complete 166second to not overwhelm the CPU. This is because PID 1 should never complete
167and/or exit. That would result in a kernel panic. Which is BAD! 167and/or exit. That would result in a kernel panic. Which is BAD!
168 168
169There are two ways of compiling Golang application. Statically and dynamically. 169There are two ways of compiling Golang application. Statically and dynamically.
@@ -184,9 +184,9 @@ $ ldd init
184not a dynamic executable 184not a dynamic executable
185``` 185```
186 186
187At this point, we need to create [initramfs](https://www.linuxfromscratch.org/blfs/view/svn/postlfs/initramfs.html) 187At this point, we need to create [initramfs](https://www.linuxfromscratch.org/blfs/view/svn/postlfs/initramfs.html)
188(abbreviated from "initial RAM file system", is the successor of initrd. It 188(abbreviated from "initial RAM file system", is the successor of initrd. It
189is a cpio archive of the initial file system that gets loaded into memory 189is a cpio archive of the initial file system that gets loaded into memory
190during the Linux startup process). 190during the Linux startup process).
191 191
192```sh 192```sh
@@ -196,7 +196,7 @@ $ mv initramfs bin/initramfs
196 196
197The projects at this stage should look like this. 197The projects at this stage should look like this.
198 198
199``` 199```txt
200pid1/ 200pid1/
201 bin/ 201 bin/
202 bzImage 202 bzImage
@@ -209,7 +209,7 @@ pid1/
209## Running all of it with QEMU 209## Running all of it with QEMU
210 210
211[QEMU](https://www.qemu.org/) is a free and open-source hypervisor. It emulates 211[QEMU](https://www.qemu.org/) is a free and open-source hypervisor. It emulates
212the machine's processor through dynamic binary translation and provides a set 212the machine's processor through dynamic binary translation and provides a set
213of different hardware and device models for the machine, enabling it to run a 213of different hardware and device models for the machine, enabling it to run a
214variety of guest operating systems. 214variety of guest operating systems.
215 215
@@ -256,11 +256,11 @@ The whole [log file here](/posts/pid1/qemu.log).
256 256
257## Size comparison 257## Size comparison
258 258
259The cool thing about this approach is that the Linux kernel and the application 259The cool thing about this approach is that the Linux kernel and the application
260together only take around 12 MB, which is impressive as hell. And we need to 260together only take around 12 MB, which is impressive as hell. And we need to
261also know that the size of bzImage (Linux kernel) could be greatly decreased 261also know that the size of bzImage (Linux kernel) could be greatly decreased
262by going into `make menuconfig` and removing a ton of features from the kernel, 262by going into `make menuconfig` and removing a ton of features from the kernel,
263making the size even smaller. I managed to get kernel size down to 2 MB and 263making the size even smaller. I managed to get kernel size down to 2 MB and
264still working properly. 264still working properly.
265 265
266```sh 266```sh
@@ -325,24 +325,23 @@ genisoimage -R \
325 iso 325 iso
326``` 326```
327 327
328This will produce `GoAsPID1.iso` which you can use with [Virtualbox](https://www.virtualbox.org/) 328This will produce `GoAsPID1.iso` which you can use with [Virtualbox](https://www.virtualbox.org/)
329or [Gnome Boxes](https://apps.gnome.org/app/org.gnome.Boxes/). 329or [Gnome Boxes](https://apps.gnome.org/app/org.gnome.Boxes/).
330 330
331<video src="/posts/pid1/boxes.mp4" controls></video> 331<video src="/posts/pid1/boxes.mp4" controls></video>
332 332
333## Is running applications as PID 1 even worth it? 333## Is running applications as PID 1 even worth it?
334 334
335Well, the answer to this is not as simple as one would think. Sometimes it is 335Well, the answer to this is not as simple as one would think. Sometimes it is
336and sometimes it's not. For embedded systems and very specialized applications 336and sometimes it's not. For embedded systems and very specialized applications
337it is worth for sure. But in normal uses, I don't think so. It was an interesting 337it is worth for sure. But in normal uses, I don't think so. It was an interesting
338exercise in compiling kernels and looking at the guts of the Linux kernel, 338exercise in compiling kernels and looking at the guts of the Linux kernel,
339but sticking to containers for most of the things is a better option in my 339but sticking to containers for most of the things is a better option in my
340opinion. 340opinion.
341 341
342An interesting experiment would be creating an image that supports networking 342An interesting experiment would be creating an image that supports networking
343and could be deployed to AWS as an EC2 instance and observing how it fares. 343and could be deployed to AWS as an EC2 instance and observing how it fares.
344But in that case, we would need to write some sort of supervisor that would 344But in that case, we would need to write some sort of supervisor that would
345run on a separate EC2 that would check if other EC2 instances are running 345run on a separate EC2 that would check if other EC2 instances are running
346properly. Remember that if your application fails, kernel panics and the 346properly. Remember that if your application fails, kernel panics and the
347whole machine is inoperable in this case. 347whole machine is inoperable in this case.
348
diff --git a/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md b/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md
index cf0755f..136b9f4 100644
--- a/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md
+++ b/content/posts/2022-07-05-what-would-dna-sound-if-synthesized.md
@@ -156,8 +156,8 @@ WAV files here are using short, 16 bit, signed integers for the sample size.
156So, we multiply the floating-point data we have by 32767, the maximum value for 156So, we multiply the floating-point data we have by 32767, the maximum value for
157a short integer. 157a short integer.
158 158
159> It is theoretically possible to use the floating point -1.0 to 1.0 data 159> It is theoretically possible to use the floating point -1.0 to 1.0 data
160> directly in a WAV file, but not obvious how to do that using the wave module 160> directly in a WAV file, but not obvious how to do that using the wave module
161> in Python. 161> in Python.
162 162
163## Generating Spectograms 163## Generating Spectograms
@@ -192,7 +192,7 @@ gnuplot audio.gpi
192And input file `audio.gpi` that would be passed to gnuplot looks something like 192And input file `audio.gpi` that would be passed to gnuplot looks something like
193this. 193this.
194 194
195``` 195```txt
196# set output format and size 196# set output format and size
197set term png size 1000,280 197set term png size 1000,280
198 198
@@ -358,7 +358,7 @@ if done properly. It could replace random note generator with something more
358intriguing, biological, natural. 358intriguing, biological, natural.
359 359
360I actually find the results fascinating. I took some time and listened to this 360I actually find the results fascinating. I took some time and listened to this
361music of nature. Even though it's quite the same, it's also quite different. 361music of nature. Even though it's quite the same, it's also quite different.
362The subtle differences on repeat kind of creates music on its own. Makes you 362The subtle differences on repeat kind of creates music on its own. Makes you
363wonder. It kind of puts Occam’s Razor in its place. Nature for sure loves to 363wonder. It kind of puts Occam’s Razor in its place. Nature for sure loves to
364make things as energy efficient as possible. 364make things as energy efficient as possible.
diff --git a/content/posts/2023-07-10-fix-screen-tearing-on-debian-12-xorg-and-i3.md b/content/posts/2023-07-10-fix-screen-tearing-on-debian-12-xorg-and-i3.md
index 1de0ffe..c7e12ae 100644
--- a/content/posts/2023-07-10-fix-screen-tearing-on-debian-12-xorg-and-i3.md
+++ b/content/posts/2023-07-10-fix-screen-tearing-on-debian-12-xorg-and-i3.md
@@ -11,7 +11,7 @@ under Debian 12 with Xorg and i3. Using `picom` compositor didn't help. To fix
11this issue create new file `/etc/X11/xorg.conf.d/20-intel.conf` as root and put 11this issue create new file `/etc/X11/xorg.conf.d/20-intel.conf` as root and put
12the following in the file. 12the following in the file.
13 13
14``` 14```txt
15Section "Device" 15Section "Device"
16 Identifier "Intel Graphics" 16 Identifier "Intel Graphics"
17 Driver "intel" 17 Driver "intel"