Ben Chuanlong Du's Blog

It is never too late to learn.

Poker Game in Casinos

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

Vegas

Best place for gambling games in the US.

Washington

Max bet is 300 in non-tribals, 500 on tribal casinos. There is a 4-bet cap (3 raises) in both types of …

Tips on pre-commit

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

It is suggested that you leverage CICD tools (e.g., GitHub Actions) instead of Git Hooks which happens locally. However, Git hooks can be useful for simple and fast local code …

Use Flake8 to Lint Python Scripts

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

Configration

It is suggested that you put the configuration into a file named .flake8 in the root directory of your project. When flake8 supports pyproject.toml later, it is best to …

Data Types in Different Programming Languages

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

Data Type C C++ Rust Java Python numpy pyarrow Spark SQL SQL
8 bit integer short (16-bit) int8_t i8 short (16-bit) int (arbitrary precision) int8 TinyInt …

Python for Tablet

https://stackoverflow.com/questions/54003194/how-can-i-access-tablet-pen-data-via-python

https://kivy.org/#home