1. Switch to Nvidia driver in Additional driver tab and reboot

run nvidia-smi and you should see driver version is 390

2. Install CUDA using package from Ubuntu, NOT from Nvidia

sudo apt install nvidia-cuda-toolkit

3. Install cuDNN, you need to register a Nvidia developer account, download cuDNN v7.1.2 Library…

  • 切块
  • 冷水下锅,加盐
  • 水开后煮1分钟
  • 放入冷水冷却
  • 放到冰箱


  • 滤水的网 (不管怎么滤,最后冻出来还是一堆冰)
  • 漏勺 (直接用勺子捞也可以)


  • Safeway 的 Extra Firm Toufu 可以切成薄片,煮的时候并不会破,捞的时候会破
  • 使用时需要提前很长时间解冻



When using IDEA (including PhpStorm, Clion etc.) I saw the warning for inotify is too low. Result in files are not updated in IDEA when I edit them in other editor like VSCode and Atom, while editing file in IDEA will have instant change in VSCode if that file does not have unsaved change in VSCode.

The official solution is the following link https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit which suggest the following code

sudo sysctl -w fs.inotify.max_user_watches=524288

It works, BUT after reboot, it goes back to the old small number. I also tried something similar from a wiki, which does not work either https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers

Finally, by editing the /etc/sysctl.conf and adding the fs.inotify.max_user_watches=524288 it works. sudo echo “fs.inotify.max_user_watches=524288” >> /etc/sysctl.conf should also work if you don’t want to open the file and edit it.


Go, Time Series Database and Distributed System

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store