Articles by John Nduli

Handling Noise in My Head

I complain and anger myself a lot. I'll have an internal dialogue that loops over the same points, making me feel worse and worse. I'll sometimes write down why I'm so angry or anxious, and find out my thoughts aren't as important as I wanted to believe.

This is Chatter …

How To Code Review

Code reviews improve the health of a system while spreading ownership of code and knowledge. A good review process is fast and we can handle low hanging fruits by automating trivial checks (e.g. running unit tests, style choices) and choosing style guidelines. We can have high level discussions on …

Asking For Help

I get and send bad questions. To avoid this, I write my questions in my editor, review and then copy them to the platform e.g. slack, email. My questions are better, which makes me wonder if there are other changes that could further improve my questions.

A lot of …

My Firefox Configuration

I like firefox, and I've tweaked it to be ideal for me. The extensions I have are:

  • Dark reader: I prefer dark themes, so this applies one to websites. This works great except for my bank's website, which I've excluded in the plugin.

  • Tridactyl: provides vim keybindings. It's intuitive and …

Moving home directory to another partition

I'd need to set up ubuntu, but I didn't want to lose my home directory. Everything was in one partition, so I'd lose my home folder with a re-install. I didn't want this, so I moved it into another partition.

The new partition would be the size of my home …

Kubernetes Basics

"We've got this project on kubernetes that you'll be helping maintain"

This started my journey with kubernetes. I found a great tutorial from freecodecamp and this blog is an attempt to set up some personal projects using it. It's best to read the original though as it's more in-depth.

I …

Sending Mail from Cron in Ubuntu 20.04 LTS

I created a cronjob to back up my server content and wanted to test out emailing of errors when they occurred. To set this up, I installed msmtp and msmtp-mta to help send emails using an smtp server and bsd-mailx to test sending emails from terminal. The cronjob entry was …

Static Website with Pandoc

I needed to pull off a quick website that would have various mathematics questions, and thought to try and use pandoc. Here are my learnings:

I first installed pandoc-bin because I didn't to deal with a lot of haskell dependencies.

yay -S pandoc-bin

The first iteration I made generated an …

Comment System Using Recursive Queries

I was reading SQL antipatterns and got into the chapter about recursive queries and how there are different ways to approach this. I wanted to experiment with this and found that postgresql supports recursive queries. I decided to make a simple commenting database and see how it would work.

Fibonnacci …

Page 1 / 8 »