Posts by Year

2023

Tweeting my notes with Google Cloud Functions

3 minute read

A habit that I developed in recent times is to take a short note about the things I learn at work and in my personal explorations. Something like a flash car...

Serializing data with protobuf and json

3 minute read

I have been reading about gRPC and protobuf in the recent times, exploring protocol buffers and grpc concepts. The quick start tutorials provided for differe...

Exploring Zookeeper C Client

3 minute read

A short while ago I happened to work on Zookeeper related feature that required the use of Zookeeper C Client library to interact with the ensemble. We ran i...

Using ChatGPT in my everyday workflow

2 minute read

A few months ago, ChatGPT was made generally available and like many others, I was in awe of its technology, power, and most importantly, its simplicity of u...

Back to Top ↑

2022

AZ-900 Certified!

1 minute read

I had few days of break few weeks ago and wanted to learn something different from my usual line of work. Having used in GCP in the recent times for some hob...

Things I learned/revisited this week#1

1 minute read

Reading SSL certificate material with python cryptography library…deleting git branches…docker command formatting…escaping liquid syntax in markdown.

Python requests vs golang http,json

3 minute read

I have been exploring golang recently, refreshing my memory on some of the basics of the language and learning new topics on the go (pun intended :)). I look...

Using vscode remote-ssh with a multipass vm

1 minute read

When working with multipass Ubuntu VMs, the standard way is to use multipass shell [vmname]. I often switch between my mac and the Ubuntu VM for different ex...

Fun with macOS dtruss

6 minute read

I was working on a little tool on macOS and wanted to see what system calls does it call internally. Apparently, strace is specific to Linux. macOS has dtrus...

Dopamine Nation - Dr. Anna Lembke

1 minute read

Started off the new year with the book Dopamine Nation by Dr.Anna Lembke. I came across Dr.Anna Lembke first in this episode of HubermanLab Podcast by Dr. An...

Back to Top ↑

2021

Hey Siri, Can you kill yourself?

less than 1 minute read

My Mac recently became unresponsive to ESC key, and that too while working inside vim. Without escape key, how could I work in vim? It started getting into m...

Working with openssl in macOS

1 minute read

A quick note to myself. When installing openssl through brew on macOS, the installation is not symlinked into /usr/local.

Access python interpreter history

less than 1 minute read

A quick note to myself about accessing the commands from history while working in Python interpreter.

Exploring the slot canyons at Buckskin Gulch

1 minute read

I had been wanting to explore The Grand Circle of the national parks in Utah for a long time. There is so much to see in this route that even a week long iti...

Multipass instance stopped while starting

1 minute read

Multipass is a great framework to run Ubuntu VMs locally. Running a full fledged VM in a Virtual Box or VMWare environment is truly an overkill for many use ...

Using Python APIs in GDB

4 minute read

Debugging can be so much fun and sometimes can be very frustrating. Especially when debugging cores from large applications, there can be so many structures ...

Running GDB on macOS Big Sur

2 minute read

I usually use a remote VM for my dev work. I switched to my local mac due to some issues with remote environment. When I needed to run some quick debugging e...

Syntax Highlighting in python using pygments

1 minute read

I was working on a script where I had to output some markdown and json formatted content to the terminal. I thought it would be prettier to print that with s...

Ringing the terminal 🔔

1 minute read

The terminal bell comes in handy to have a visual or audible notifier while waiting on some jobs/processes to finish. Some ways to trigger the terminal bell....

Convert epoch seconds to datetime

less than 1 minute read

Some of the logs I debug often contain the timestamp in the form of epoch seconds, so I frequently had to convert them into readable datetime format. Noting ...

Processing JSON data with jq

3 minute read

jq is an excellent command line tool to operate on JSON data. I have been using it to process, filter and transform json objects for easy inference of the da...

REST Client for VS Code

2 minute read

Some times I have had to use REST APIs for configuration and management of hardware and services at work. The usage used to be minimal and the working enviro...

Apply for extension of Indian visa in India

2 minute read

I recently went through the process of extending Indian visa in India for my daughter. The process used to be combination of online + offline processing and ...

A Python script to run commands over SSH

less than 1 minute read

When working with remote servers, I needed to run some commands frequently and sometimes save the command output for later references and debugging. Manually...

Back to Top ↑

2020

Update SSH keys to Azure VM

1 minute read

If you are creating a new VM in Azure, you can let Azure create a new SSH key pair or provide your own to be configured in the VM. At times, I just let Azure...

Mistakes were made (but not my me!)

1 minute read

This is an interesting take on social psychology! At times, we rely too much our brain’s auto pilot mode and let it take us for a wild ride. So much of our l...

Adding Custom Shortcuts in iOS

1 minute read

Shortcuts was introduced in iOS 12.0 a couple years ago. I didn’t pay much attention to it back then. As I continued using iOS 12, I became used to the Siri ...

My dotfiles

less than 1 minute read

With frequent switches between work and personal dev environment, having a consistent experience across the different environment is super important. I go cr...

Into the Planet - Jill Heinerth

1 minute read

This is my first book on the genre of exploration or expedition. Quite a gripping memoir of a life filled with adventure, thrill, love and nature. Jill’s jou...

Checking URL availability in Python

less than 1 minute read

I had to script some of the tasks in my workflow that required checking whether URL is alive or not. Noting it down here for my future reference. I ran into ...

Embedding LaTeX Equations in MS Word

1 minute read

I have got used to Markdown for most of my notes and sometimes even for delivering presentations at work. I unwillingly returned to Word to help out my wife...

Man’s search for meaning

2 minute read

This book has been in my Kindle reading list for a while. I finally picked it up late last month. This is by far the toughest book I read. There are lot o...

Fun with Alexa Skill Development

3 minute read

While fighting boredom at home due to COVID restrictions, I looked to do something interesting and new. Having worked on backend systems for most of my proj...

Missing Semester

less than 1 minute read

I happened to stumble upon on one of the videos from Missing Semester series from MIT on YouTube and ended up almost binge watching the entire playlist. Thes...

Lessons from coloring screen

1 minute read

I recently started customizing my dev environment after a long time. I installed lightline for a configurable statusline in vim, modified some of my settings...

Manipulating dates in shell

2 minute read

After a long time, I had to automate some of my workflow using shell scripts. One of the functions was to lookup something based on relative dates. Having us...

Playing with shared memory in Linux and macOS

7 minute read

Reading the operating system internals is like going down the rabbit hole. It is so easy start at one topic, get lost and end up in a totally different topic...

Running Ubuntu VM with multipass

6 minute read

While working on a sample C application on my mac, I wanted to run it on a Linux box for some comparisons and portability checks. I usually spin up a Linux i...

Changing shmem size of a docker container

1 minute read

Recently, I was playing around with a containerized application having processes using shared memory for communication. It turned out to be a good learning e...

Exploring man page settings

2 minute read

When running man command, the pages are searched first in the path given by option -M if specified. If -M is not specified, then the path specified in MANPAT...

Learning French with Duolingo

2 minute read

Few months ago I accidentally stumbled upon the Duolingo app while searching out for something else. When I grew up, I had almost little to no exposure to la...

More fun with Python

10 minute read

After finishing up Python Tricks, my interest in Python went up even higher. I continued my quest to learn something new in Python every day as much as possi...

Playing with Python

5 minute read

I have been using Python on and off both at work and for my personal projects. Its been a while since I touched it, so I was spending some time reading throu...

Playing with posix message queues

less than 1 minute read

While working on my last post on filesystems, I came across mqueuefs. The mqueuefs interface gives the information about the active message queues in the sys...

Some notes on filesystems - part 2

10 minute read

This is in continuation of my previous post on filesystems. The last post briefly covered the following filesystems.

Why we sleep? by Mathew Walker

less than 1 minute read

A great book to start the year! We often take sleep for granted and trade it for more screen time and not-so important mundane tasks in todays world. This...

Some notes on filesystems

12 minute read

I was poking around the mount command on one day to mount a nfs remote on my local machine. I stumbled upon many other filesystems in the listed under mount ...

Stiff - The Curious Lives of Human Cadavers

less than 1 minute read

This is the weirdest book I have read yet. Many facts and subjects discussed in this book are so morbid and dark that one would normally never want to kno...

An Elephant In My Kitchen

less than 1 minute read

It has been few years since I read the Elephant Whisperer book by Lawrence Anthony. I felt as if I went to the game reserve and lived with the herd when I...

Checking file permissions in Python

2 minute read

I was writing a small script to automate some of my workflow of invoking several small scripts. I wanted to check the permissions of the internal scripts to ...

Back to Top ↑

2019

Video to audio batch conversion

4 minute read

I had a bunch of video files of a lecture that I wanted to listen offline while doing errands or driving. They do play well in phones but I could not use the...

Pretty print json from command line

1 minute read

I was grepping through some application logs which contained compacted json strings in the log messages. Some of them were too lengthy to fit in a single lin...

VSCode app missing from macOS Dock

1 minute read

I ran into weird problem with VSCode on my Mac recently. The app would show up in the list of open apps, Spotlight and also under Applications. However, it w...

Starting with Github Pages

11 minute read

I had been wanting to start my own blog for quite sometime, well actually long time. I am happy that it has finally come alive. While looking into the detail...

Back to Top ↑