Skip to main content

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.

Read more…

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!

  1. Not a doctor. This ain’t medical advice. Try at your own risk! 

On Woman Computers, Long Tails & Reasons to Write

This post was first sent to my newsletter on November 20th, 2021.
You really ought to subscribe :)

Ok, I’m a day late, but hopefully not a dollar short1 :)
This work letter is going out to all of you my friends, because there’s not much technical stuff in here.

And because I have a spot of good news to share.
I got a jobby job!
I’ve been trying the past few years, to switch my career to something that wasn’t as taxing, as consulting on hardware and networks and integrating systems.
While I loved the work, it was a lot of work, for not enough money and it took a toll on my physical health.2
So writing software from the comfort of my home, is it.
And two weeks in, the team’s taken me under their wing and they are guiding me along and I’m loving it!

And now that’ve gotten all that happy Wheeeeeee! out of my system, on to our letter :)

Read more…

10

It’s way past our anniversary on the 10th of September.
But that day was filled with togetherness.
And the days before and after were filled with all sorts of madness, both personal and professional.

Dear Abby, it’s been a decade.
And it’s flown by us like a quarrel of sparrows.
Here now, and vanished in the next instant.
And yet when I look back on it, we’ve been through so much.

You know me more, than I know myself by now.
Here’s to, till death do us part.
I love you.

And like the poet says in his Dark Sonnet

I really don’t know
“I Love You” means
I think it means
“Don’t leave me here alone.”


ngdsi

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.12

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.

A quick look through the documentation led me to the search and replace page, which explains really pretty well … well, how search and replace works :)

Read more…

Emacsclient Does Not Recognise Compose Key Sequences

Originally published 2021/10/27. Updated to inclue the restart emacs point

I run pretty often into this issue, so this is a checklist for me.
Issue being, that I cannot use Compose key sequences to type out the characters I need.

Case in point being, the apostrophe and the quote marks “” , ‘’ that I use, all the live long day.

  1. Make sure that emacs is running as a service. It runs in your user, so check status with systemctl --user status emacs.service
  2. Do the normal computer user thing. Restart the service.systemctl --user restart emacs.service.1
  3. Make sure the system is UTF-8 everywhere. (en_IN.UTF-8 does not work for me. Make sure it’s en_US.UTF-8)

This should do the trick 99% of the time.


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.


  1. Have done it close to 4–5 times now. It works! 

Regular Expressions (Regex) Resources

Will update this page whenever I come across something regex, that I love.

  1. Damian Conway’s 5 hour, Understanding Regular Expressions series. This one is the bestestest regex resource ever. If you know the basics of programming and then want to pick up Regular Expressions, this is it.1
    And Damian is one of the finest, bestestestest teachers around.
  2. Damian Conway’s hour long youtube talk and the accompanying slides
  3. RegexTip, one of John D Cook’s many twitter accounts. This one specialises in, you guessed it, regex tips
  4. Regex cheatsheets? This one, by Damian Conway and this one by Dave Child.
  5. Want to keep regex top of mind? Use Anki? This is the deck I love
  6. Unnecessary, ars gratia artis like Deep Dive? The Friedl book is it.

  1. Also don’t be like me and try to learn Regex first. You’re just making it harder on yourself. It is indeed possible, but nearly every regex resource presumes basic programming knowledge. It does not have to be much. Loops and variables and such, Automate the Boring Stuff is good for that, but I don’t want to digress into Python resources 😂