Writing
Notes on engineering, leadership and life.

Code Review: Use A Good Key When Rendering Lists In Your React
When I can use Index as Key, and when I should generate another value for it

Code Review: Please Remove Comments From Your Code
The reason why I ask to remove most of the comments during code review

Code Review: Avoid Declaring React Component Inside Parent Component
One of my note when reviewing ReactJS code

Record And Download Video In Your Browser Using Javascript
A simple way to record your video and audio on browser and download it using Javascript

Meetings Could Cost More Time Than You Thought
And could cause frustrations sometime if you don't acknowledge it

Management Talk: What I've Learned From Setting My Son To Bed
We can apply them in other areas as well

Download Files And Zip Them In Your Browsers Using Javascript
Instead of generating zip file and transfer it from your server, why not download data and zip them in your browsers?

How to run a Docker command in background after TTY input
Attached the TTY for a command that required input, then detach it to run in the background

Handle authentication for Cloud Function client using Google Service Account in Golang
Calling to a Cloud Function URL using Golang took me much longer than my expectation.

Some tips when using currying in Javascript
Sometimes, you may find currying hard to understand and wonder about its application. In this post, I will list some tips which may helpful for you

Currying in Javascript and its practical usage
Currying is sometimes hard to understand or confusing for actual usage. In this article, I will explain what it is and some useful cases.

5 tips for your productive remote work
You will find yourself required to work remotely from home in some cases, especially when the Covid 19 pandemic is covering the world. Below are my tips to boost your productivity

4 tips for logging on GCP using golang and logrus
My experiences on logging to GCP Kubernetes that hopefully to be helpful for you as well

Why I'm Not Over Careful Anymore?
Here are reasons why

ETH Smart Contract: Part 2 - Deploy contract to local Blockchain
Deploy smart contract to local blockchain using Truffle and Ganache

ETH Smart Contract - Part 1: Getting Started
Get started with creating smart contract on Ethereum Block Chain.