Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on NFS

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

  1. Make sure nfs service is not blocked. Check iptables and "/etc/hosts.allow".

  2. Make sure nfs service is running on the server.

    sudo service nfs-kernel-server start

  3. You can choose the version …

Comparison of Collections in C++ and Java

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

Plain Old Array

  1. The length/size of array is as in the declaration. Each element of the array is initialized to the default value (null for object).

  2. Array in Java does …

Download Files Using Transmission

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

Transmission is the best cross-platform BitTorrent Client. It is simple, clean and support setting the downloading speed to 0 (i.e., disable uploading).

  1. segmentation fault, remove configuration files in ~/.config, then …

Static Type Checking of Python Scripts Using Mypy

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

--check-untyped-defs

You can use the option --ignore-missing-imports to disable the annoying error messages No library stub file for module.... Please see the issue for more details.

You can use # type: ignore …

Tips on httpd

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

  1. A directory must be executable by others in order to show up. Even if a directory show up, it does NOT mean that you can access it. It must be readable …

Tips on Outlook

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

Tip and Traps

  1. Always be careful when yu use "Reply All". Make sure that the recipients are the right ones. Avoid forward a large group meeting to people and have a …