JavaScript/TypeScript Replacing a static function by using proxy class This is 4th post in Become a better and decent programmer series.In the first post, I explained how to extract logic in ... 2021.02.14 JavaScript/TypeScript
JavaScript/TypeScript Reducing number of conditional clauses by command pattern This is 3rd post in Become a better and decent programmer series.In the first post, I explained how to extract logic in ... 2021.02.10 JavaScript/TypeScript
JavaScript/TypeScript How to make code testable In this post, we created a shopping application which is available on console and refactored it. It has only one class w... 2021.02.03 JavaScript/TypeScript
JavaScript/TypeScript How to become a better programmer I hadn't been decent programmer for a long time because I hadn't written unit test. Decent programmer should at least be... 2021.01.20 JavaScript/TypeScript
Docker Visualizing log info with Fluentd, Elasticsearch and Kibana Docker writes contents written to stdout and stderr into json formatted log file. If we create a function to write log w... 2021.01.13 Docker
Docker Container optimization As you already may know, Docker doesn't automatically remove images. An image composes of layers that are cached and the... 2021.01.06 Docker
Docker Update and rollback without downtime in swarm mode We don't want to stop our services when updating one of Docker images in a cluster if possible. If the new image fails t... 2020.12.23 Docker
Docker Creating a cluster with Docker swarm and handling secrets Docker Swarm is Native orchestration tool. It makes service management easy. For example, it stops a container which is ... 2020.12.16 Docker
Docker Override Docker compose file to have different environments The dev-environment and production environment is often different. The difference depends on the system but what I can e... 2020.12.09 Docker
Docker Container’s dependency check and health check A software becomes failing state. When our software falls into a failing state we want to restart the software in order ... 2020.12.02 Docker