Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on rsync

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

Tips and Traps

  1. The command rsync -avh src_dir des_dir (src_dir has no trailing slash) synchronizes the whole directory src_dir into the destination directory des_dir while rsync -avh src_dir/ des_dir (src_dir/ has …

Trait in Rust

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

Tips on Android

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

  1. scp works well but rsync not.

Return a New Object Or Mutate the Existing Object

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

Generally speaking, prefer to return a new object rather than mutating the existing object. This is true in most programming languages besides C who seeks for best peformance.

The pandas package …