Ben Chuanlong Du's Blog

It is never too late to learn.

Named Parameters in TypeScript

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

https://github.com/Microsoft/TypeScript/issues/467

JavaScript Alternatives to Shell

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

https://github.com/shelljs/shelljs

https://tutorialedge.net/javascript/nodejs/executing-shell-scripts-with-nodejs/

Dataframe in JavaScript

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

https://github.com/data-forge/data-forge-ts

https://github.com/Gmousse/dataframe-js

https://arrow.apache.org/docs/js/

References

https://stackoverflow.com/questions/30610675/python-pandas-equivalent-in-javascript

Python for WeChat

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

ItChat A complete and graceful API for Wechat. 微信个人号接口、微信机器人及命令行微信,三十行即可 …

GPU Related Issues and Solutions

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

Tips

  1. Training a model requires significantly more CPU/GPU memories than running inference using the model.

  2. torch.cuda.empty_cache() doesn't help if memory is not enough

  3. It is suggested that you …