Tips on MacPorts
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
sudo port selfupdate
port search pkg
sudo port install pkg
MacPorts behind Firewall
-
Use http instead of rsync. Open the file
/opt/local/etc/macports/sources.confand replace the line …
Tips on TeamDrive
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
fix a startup issue
LIBGL_DRI3_DISABLE=1 /usr/bin/synqion -
TeamDrive 4 asking users to buy a commerical license frequently, which is very annoying. It is suggested that you stay with TeamDrive …
Tips on Dataset in PyTorch
If your data can be fit into the CPU memory, it is a good practice to save your data into one pickle file (or other format that you know how to deserialize). This comes with several advantages. First, it is easier and faster to read from a single big file rather than many small files. Second, it avoids the possible system error of openning too many files (even though avoiding lazying data loading is another way to fix the issue). Some example datasets (e.g., MNIST) have separate training and testing files (i.e., 2 pickle files), so that research work based on it can be easily reproduced. I personally suggest that you keep only 1 file containing all data when implementing your own Dataset class. You can always use the function
torch.utils.data.random_split
Tips on Career
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
https://stackoverflow.com/company/salary/calculator
https://en.wikipedia.org/wiki/Behavioral_economics
Bias
http://humanhow.com/en/list-of-cognitive-biases-with-examples/
https://www.cultureamp.com/blog/10-performance-review-biases-and-how-to-avoid-them/