Learning Falcon

A great 5-video tutorial: 35minutes on YouTube (6 tomatoes / 2.5 hours for non-stop studing by coding).

Author's Github (py2), My Github (py3).

Differences in my Github code:

py3, not py2

using on_put() to test validity of input json from client

using on_delete() to test params (just to test......

Learning MongoDB

(4 tomatoes: install + crud)


to install

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2930ADAE8CAF5059EE73BB4B58712A2291FA4AD5 && \

echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.6 multiverse" | sudo tee /etc/ap......

Paper Writing, Plotting and Coding Tips

Variable Names

several types:

var name in paper, usually single char, e.g. $d$.

col name in df/dt, usually several words, e.g. "search_step".

human readable string, e.g. "Search Step Length".

other variables in R/Py, e.g. t_searchStep, algorithmSetup$searchStepLengthListing.


Caffe Installation, Hello World

Note: tested with Ubuntu 16.04.1 using /root, for newer Ubuntu version (>= 17.04), check here.

Installation & Self-Tests

Download the installation script here.

//(Sunny only added USE_CUDNN=1, the rest is the same as: ref. You may wanna set USE_CUDNN to 0).

Hello World (Mnist)

prepare dat......

Mount Pendrive Hard-drive in Nix


# ntfs:

apt install ntfs-3g

# exfat:

apt install exfat-fuse exfat-utils



sudo blkid

sudo fdisk -l


sudo mkdir /mnt/usb

sudo mount /dev/sdb1 /mnt/usb

Boot Partitions, Install Multi-OS

When installing Ubuntu, it will decide what kind of partition to use:

Ubuntu decicison tree for using entire disk:

? installer booted in EFI mode or BIOS mode?


: use gpt and never make biosboot


? is the disk larger than the max for msdos (2TB)?

* yes

: use gpt......