There are several ways for profiling a Go application, but the easiest one that I’ve found is by using github.com/pkg/profile.
Read more...While scraping some data from website, I found out that some websites will deny your request if there are too many concurrent requests. To fix this, we need to limit number of goroutine that run at a time.
Read more...I’ve started using Fathom Analytics for this website, which you can see here.
Read more...When I started deploying web app on my server, I ran it using nohup instead of running it as a service. I did it because I thought making a service is hard. Apparently, I was wrong.
Read more...Several months ago, I’ve got a job to create a simple desktop app for my company. So, I’ve been looking for the packages, frameworks or toolkits for developing GUI app in Go. This post is intended as summary and brief analysis for packages that I’ve tried while working on my job.
Read more...Summary of a great post by Aytekin Tank: “Why high-performers don’t use to-do lists”. In summary, instead of writing a to-do list with dozen of tasks that needs to get done, just choose one task that MUST get done to deliver the most impact for your life or your work.
Read more...After finished setting up my VPS, next I want to install Caddy as my web server. Even though Caddy is still quite new, I prefer using it rather than the existing web server like Apache or Nginx. The reasons are :
Read more...I’ve bought a new VPS from Vultr for my own data server. This post is documentation of the steps that I took on setting up my new VPS. The OS that used in VPS is Ubuntu 18.04 64-bit, while OS in my local machine is Manjaro 64-bit.
Read more...