Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on C++ Compilers

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

GCC

  1. User option -lpthread to link the thread library when your code use the thread library. If you do not use, the option -lpthread, you can probably compile your coe without …

Computer Vision Tools

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

OpenCV | OpenCV for Python

Pillow

moviepy

moviepy is a Python library for video editing: cutting, concatenations, title insertions, video compositing (a.k.a. non-linear editing), video processing, and creation of custom …

Parallel Computing in Java

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

The following are a few tips for multithreading parallel computing in Java.

  1. Instance fields, static fields and elements of arrays are stored in heap memory and thus can be shared between …

Parallel and Concurrency Programming in C++11

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

  1. If you use g++ to compile your parallel program which uses the thread library, you need to use the option -lpthread. For more information, see the post GNU/GCC.

  2. The join …

Tips on Cloud9

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

  1. Java/Scala support is not ready at this time.

Docker Images for Cloud9

  1. cloud9-docker is a good docker image for cloud9 IDE. You are able to attach a local directory as …