Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on nbconvert

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

  1. Converting too many notebooks at the same (multiprocessing) causes zmq.error.ZMQError: Address already in use. The simple way to fix this issue is to limit the number of processes converting …

Tips on Jinja

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

Template Meta Programming

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

Illustrative examples for the following discussions can be found here.

  1. Do not use templated generic function/method unless necessary. Templated generic function are more useful generally speaking. However, templated function/method …