Deleting Nodes from Linked List with Double Pointer in C

Recently I have been self-learning the UC Berkeley CS 162 Operating Systems and System Programming course (disclaimer: I am not a Berkeley student). The C Review Section in the course introduces useful basics in C. Though simple, the code below demonstrate pointer operations in C. This post contains merely illustrations of the problem with a … Continue reading Deleting Nodes from Linked List with Double Pointer in C

Books I Read in 2020

My Goodreads 2020 The books I read in 2020, in chronological order, given my ratings: 1. Grokking Algorithms Author: Aditya Bhargava Rating: ★ ★ ★ ★ ★ A popular algorithm book. My algorithmic background was weak, so I chose this book for its straightforward content. The book, which is full of vivid illustrations, exhibits practical … Continue reading Books I Read in 2020

Passwords Aren’t Insecure, but Humans Are

I'll share my thoughts about passwords, not from a technical but an economic perspective.  I'll tell you a story from my past working experience. One day a colleague and I were doing pair-programming before my screen. I was using a password manager, BitWarden. The colleague was surprised that my password was a randomly generated string. … Continue reading Passwords Aren’t Insecure, but Humans Are

Monitoring MongoDB Collection Sizes With Telegraf, InfluxDB, and Grafana

MongoDB collection statistics MongoDB is a document database. The data records are encoded with BSON (Binary JSON), which is a binary representation of JSON documents inside MongoDB. MongoDB stores data records in collections. Collections are analogous to tables in relational databases. For example, if we want to store geo-locations of cities in MongoDB, we can … Continue reading Monitoring MongoDB Collection Sizes With Telegraf, InfluxDB, and Grafana

Goodbye Medium. Hello WordPress.

Good company in a journey makes the way seem shorter. — Izaak Walton I switch from Medium to WordPress today. Medium is good; it has a large number of writers and audiences as well as numerous companies and organizations blogs. It has features social media with clapping, following, and of course, commenting and sharing. Clapping … Continue reading Goodbye Medium. Hello WordPress.

How I Become a Developer – Retrospects and Revelations

I watched the BBC documentary The Virtual Revolution. It delves into the history, future, essence, and influences of the Internet. I recalled myself watching the documentary The Internet Age(《互联网时代》)four years ago. The Internet has defined my life as it does to most people in our times. I live on the Internet most of my life … Continue reading How I Become a Developer – Retrospects and Revelations