Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Git-Filter-Repo

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation on Ubuntu / Debian

wajig install git-filter-repo

Example Usages

Note: git-filter-repo changes the history commits of a Git repository which is a dangerous operation. Make sure you know what you are …

Double Dipping in Machine Learning

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Double dipping is a term for overfitting a model through both building and evaluating the model on the same data-set, yielding inappropriately high statistical significance and circular logic.

References

Magnitude of Numbers

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips on Protobuf

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

oneof vs enum

Prefer to have oneof with a string field describing the specific type of oneof.

message A { // A here is the "interface".
  string name = 1;
  string a_type = 2; // Or …

Tips on Distributed Development

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Distributed Log Tracing

jaeger

quickwit

Cloud Tools

terraform

Terraform Tenables you to safely and predictably create, change, and improve infrastructure. It is an open source tool that codifies APIs into declarative …