Puy Web
Profile Blog
EN TH
Fix -bash: ng: command not found
Coding Jul 15, 2019

Fix -bash: ng: command not found

When running any ng command, you might encounter the following error message: "ng: command not found".

Read More
gRPC with Spring Boot 101
Coding
Jul 10, 2019

gRPC with Spring Boot 101

gRPC is an RPC (Remote Procedure Call) framework originally developed by Google in 2015 and is now a part of the Cloud Native Computing Foundation (CNCF). It utilizes the HTTP/2 protocol, which is significantly faster than HTTP/1.1, and uses Protocol Buffers (Protobuf) as its Interface Definition Language (IDL) to compile the code needed for development.

Read More
FlutterBuilder
Coding
Jul 03, 2019

FlutterBuilder

Inside the Widget build(BuildContext context) function, you will notice that when rendering a Widget, we cannot directly use async / await or .then() from a Future and wait for the data to arrive before displaying it.

Read More
Code Smell Long Method Part 1
Coding
Jun 20, 2019

Code Smell Long Method Part 1

Long Method is one of the Code Smells in the Bloaters category. Its defining characteristic is having far too many lines of code. As a rule of thumb, any function or method exceeding 10 lines should be reviewed to see if it might cause tangled code in the future.

Read More
Code Smells & Code Refactoring
Coding
Jun 15, 2019

Code Smells & Code Refactoring

Has anyone ever written code that ended up tangled like the messy ball of yarn on the left? Have you ever wondered why it gets so tangled, even when we often think we've designed it perfectly? So, what do we need to do to make our code look as neat and beautiful as the spool of thread on the right? In the upcoming articles, I'll be gradually writing more about this for you all to read, haha! ^^y

Read More