Multiline Regex Search in VS Code

This is a picture of my notes, when I import them in from the Kindle. And every time I have to corral them into some sort of structure or write a blog post, I needed to laboriously get rid of all the Kindle metadata with multiple searches (and replaces.) ...

August 16, 2021 · Mario Jason Braganza

Draft No. 4

Just finished John McPhee’s, Draft No. 4. I could pithily summarise it as … Practice a lot of things. Work at finding your thing. Practice you thing (lots! deeply! a fuckton.) Work within established rules. Bend the rules to fit your thing. Break the rules once you know your thing deeply! McPhee writes about the craft of writing. But the advice could apply broadly to any creative endeavour. ...

August 16, 2021 · Mario Jason Braganza

On How Reading is Like Love and Rules for a Better Life

This post was first sent to my newsletter on August 1st, 2021. You really ought to subscribe :) *Clouds sailing across [Pangong Tso][wpt]. Click to enlarge* New month, new letter! As usual, click the headers to wander off to the original articles Maria Popova on How Reading Is Like Love Now you are being read. Your body is being subjected to a systematic reading, through channels of tactile information, visual, olfactory, and not without some intervention of the taste buds. Hearing also has its role, alert to your gasps and your trills. It is not only the body that is, in you, the object of reading: the body matters insofar as it is part of a complex of elaborate elements, not all visible and not all present, but manifested in visible and present events: the clouding of your eyes, your laughing, the words you speak, your way of gathering and spreading your hair, your initiatives and your reticences, and all the signs that are on the frontier between you and usage and habits and memory and prehistory and fashion, all codes, all the poor alphabets by which one human being believes at certain moments that he is reading another human being … ...

August 8, 2021 · Mario Jason Braganza

Joining Two Images Using ImageMagick

Sometimes, I want to share snippets of what I am reading with my friends. Kindles make it easy, with screenshots. The only issue being I want to share the full length of two pages, like I’d do if I was reading a book. And I need it often enough, that I felt I needed to go figure out some way to do it. It was an easy-ish hack on the mac with printing with Preview. But now, that I use Linux, I wondered if I could do better. ...

August 6, 2021 · Mario Jason Braganza

On the Difference Between Coding, Programming, Engineering, and Computer Science

My homepage lists my new career shift as “This is me, attempting to reinvent myself as a journeyman programmer. (aiming at craftsmanship)” I’ve never warmed to the term coder. For some reason, it never meshed with the way I thought about my new career and the work I wanted to do. And I couldn’t quite articulate just how I thought they were different. Today as I began reading The Secret Life of Programs though, I found author Jonathan E. Steinhart’s already done the hard work giving me a lovely explicit definition that I cannot better, even if I tried endlessly. Here’s his take … ...

August 3, 2021 · Mario Jason Braganza

Reset Confirmations in Calibre

I have been deleting too many books by mistake, now a days. Past Jason might have been pretty sure about what he wanted, but I sure as heck am not. So I had to do a bit of spelunking to figure out how to get the delete book option to confirm first. All I needed to do was Preferences -> Behaviour -> Reset all disabled confirmation dialogs Et voilà, Calibre now asks me if I am sure about deleting my books :) ...

August 2, 2021 · Mario Jason Braganza