Ben Chuanlong Du's Blog

It is never too late to learn.

The Escape Key in Vim

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

  1. CTRL + C as an alternative

  2. Map CapsLock to Escape (preferred)

cons: no caps key, generally speaking I type lower case and then convert letters to upper case as needed u/U …

Tips on Spark MLlib

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

  1. Spark MLlib RDD-based API supports stratified sampling but the DataFrame-based API hasn't implemented it yet as of Spark 2.4.3.

sample keys (not rows) with equal probability

References

https://spark …

Deep Learning Tools and Apps

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

https://www.imageidentify.com/

Neural Style Transfer Applications

DeepArt

Prisma

Methodology for Solving Problems

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

Divide and Conquer

How to put an elephant into a fridge

Convert to Solved Problems

Mathematicican interviewing for fire-extinguisher

Control Varying Factor and Enumerate

  1. list possible causes

  2. control others and let …

Use Qt in Python

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

PyQt5 vs PySide2

https://www.reddit.com/r/Qt5/comments/a3zt3j/eli5_pyqt5_pyside2_which_one_to_use/

Both PyQt5 (developed by Riverbank) and PySide2 (official Python bindings from Qt) are great. They have very similar APIs …