Ben Chuanlong Du's Blog

It is never too late to learn.

Maven Dependencies

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

Properties

<properties>
  <scala.version>2.11.11</scala.version>
</properties>

Dependencies

Unit Test

<dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.11</version>
    <scope>test</scope>
</dependency>

specs

<dependency>
    <groupId …

Living in Charlotte

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

Transportation

Scenic Spots

  1. Great Smoky Mountain National Park

  2. U.S. National Whitewater Center

  3. Outer Banks

  4. Myrtle Beach

  5. Charleston, SC

Shopping

  1. Walmart
  2. Costco
  3. Southpark Mall
  4. Grand Asia Market
  5. Super …

Tips on Deno

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

VS Code Plugin for Deno

Add the following into the file .vscode/settings.json under the root directory of your project.

{
"deno.enable": true,
}

References

https://mp.weixin.qq.com/s …

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