Ben Chuanlong Du's Blog

It is never too late to learn.

Hands on the Python module numba

Installation

numba can be installed using the following command.

:::bash
pip3 install numba

If you need CUDA support, you have to install CUDA drivers.

:::bash
sudo apt-get install cuda-10-1

Instead of going through the hassle of configuring numba for GPU, a better way is to run numba in a Nvidia Docker container. The Docker image nvidia/cuda:10.1-cudnn7-runtime-ubuntu18.04 has CUDA runtime installed, so it is as easy as installing numba on top it and you are ready to go. For more detailed instructions, please refer to

Tips on Elasticsearch

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

https://www.elastic.co/guide/en/elasticsearch/reference/2.1/setup-service.html

SQL Support

  1. Elasticsearch supports SQL syntax starting from version 6.3. There is also an unofficial SQL support of …

Upgrade Release of Ubuntu

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

https://help.ubuntu.com/community/EOLUpgrades

Tips on Resilio Sync

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

  1. BitTorrent Sync does not synchronize files that you do not have the right permissions.

  2. Do not modify the same file in a short time on different computers, as this potentially causes …