How I run my Go web services

Running a Go web service can be as simple as Compiling the binary go build ./cmd/hello Copying the binary to where you want to run it. Execute the binary ./hello However, executing the binary manually is inconvenient when you need to restart the app on failure or auto start it on system reboot. In this post, I will show how I run a simple web service (code) with systemd or Docker on a Linux machine, and some decisions that I have made. ...

July 28, 2025 · 10 min · Tzu-Yu Lee

Is dwell time analysis suitable for single-molecule kinetics?

Three years ago, I was asked to help analyze the kinetic data for another master’s student’s thesis project. The goal was to fit a 3-state Markov model to a set of observations. However, the data was not enough so the dwell time distribution fits badly. At that time, I had probably just learned about the concept of “censored observation”, so I worked on how to recover the information from the censored data as well. We ended up using the msm package that directly estimates the transition rates from state time series. It seemed to work, but I had not justified that choice. Recently, it seems that work is getting prepared for submission, so I found myself revisiting the topic. The findings are surprising, so I wrote them down. ...

October 6, 2024 · 7 min · Tzu-Yu Lee

Flashing ASUS router firmware on linux

Several weeks ago, the wifi in the student office of the lab I worked in went bad. After some failed attempts to “repair” the router, we decided to re-install the TOMATO firmware. The official recovery software (running on Windows) failed several times during transferring the image. I had a Manjaro Linux machine at hand, so I tried to find some ways that are easier to control. Some googling led me to this blog post. It’s a quite comprehensive guide to rescue an ASUS router with tftp utility. There are a few things that I want to add, though. ...

January 30, 2021 · 2 min · Tzu-Yu Lee

My first post

This is the first post of this blog. My name is 李子于 (Tzu-Yu Lee). I am currently a graduate student in Taiwan. This blog will be the place for me to practice some writing and sharing interesting stuffs.

January 17, 2021 · 1 min · Tzu-Yu Lee