Raspberry Pi 4 Not Accessible After a Reboot

Update: 28/12/2021 The solution? Move off the 64 bit Raspberry Pi OS and install Ubuntu. Everything below is now just for history and context :) Every time I update my Pi, whether it be an kernel update or due to something goofy I do, it refuses to be accessible via ssh after it boots back up. And everytime I bring it back to my desk, it just works. And when I put it back into its niche, by the door, it continues to work. But inevitably, sooner or later, comes a reboot, and we’re back to being inaccessible. No ssh, no plex, no network. ...

December 28, 2021 · Mario Jason Braganza

Getting Rid of Codliver Oil Burps

Don’t quite know when it began, but probably a sign of getting old 😂 I get nasty burps every time I take my codliver oil capsules now. Solution1 Buy capsules with what they call, an enteric coating on them. (Expensive! Not for me!) or Put your existing bottle in the freezer and pop one an hour before lunch. The combination of cold capsule ingestion, followed by its smothering by food an hour later, has fixed the burps for me! Not a doctor. This ain’t medical advice. Try at your own risk! ↩︎ ...

December 8, 2021 · Mario Jason Braganza

Basic Docker Image Management Pointers

Stuff for future Jason to take note, when he tries to redo his Huginn instance … I wanted a quick and easy way to install it, without messing up my base system much, so I chose the Docker route. Now, I don’t know the A or D of Docker, so these quick notes for me to remember in the future. I need to install Docker rootless, and bring it up as a systemd service. If I want persistent data, I should create a Docker volume. Create an env file to hold all the secrets that I want to pass to the container I need to run and create my huggins instance first, give it a name, pass the env file and also remembering to mount the volume at the place I need I can then start and stop the image with the name I assigned it. I need to then tag the image with a policy to restart automatically So everytime Docker comes up, it will start the container automatically. P.S. Subscribe to my mailing list! Forward these posts and letters to your friends and get them to subscribe! P.P.S. Feed my insatiable reading habit. ...

November 28, 2021 · Mario Jason Braganza

Using Regex to Prepend to Titles in Calibre

So I do this peculiar thing, where I prepend the author’s initials to the title of every book I add to Calibre.1 2 And all these years, I’ve just been manually editing the metadata, everytime I added a book, and changing the titles to what I want. It’s not a problem if it’s just one book, but I normally tend to go hogwild with authors, normally buying out / downloading all their work. And now that I’ve learnt the basics of the hammer called regex, I wanted to see, you guessed it, if there was a way to quickly do this using regular expressions in Caliber, which has inbuilt support for regexes. ...

November 20, 2021 · Mario Jason Braganza

Rough Notes on Swap File/Partition in Linux

Am using my rickety old laptop as my daily driver these days, because … reasons. And now, that I run PyCharm alongside Emacs, alongside Chrome in its various incarnations, the poor old thing crashes, freezes and stutters a lot. A cursory inspection told me that while I had plenty of CPU firepower, I was constantly running out of ram (8gb) and swap (1 gb partition). Too broke to add more ram to the system right now (don’t even know if this thing will support 8 gb modules to push it up to 16). So the only way to go, was to somehow increase the swap on my system. This is the checklist for curious / researching Jason in the future. ...

November 12, 2021 · Mario Jason Braganza

Pycharm Does Not Recognise Compose Key Sequences

Did I not just write about this, the other day with Emacs? I did, but Pycharm seems to have the same affliction. Pycharm, just like Emacs, stubbornly refuses to accept my Compose key combinations. Which means … you guessed it, no ‘,”,“ or ’ punctuation and all the other affordances, Compose gives me. Considering that I need both, Pycharm as well as Emacs in my life, it behooved me, that I go solve this too. ...

November 9, 2021 · Mario Jason Braganza