Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on MuMu App Player

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

  1. Neither MuMu App Player nor MuMu Game Assistant supports Hyper-V currently. As a matter of fact, all popular Android emulators does not support Hyper-v at this time (as of Aug 22 …

Tips on Pillow

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

PIL.Image.Image.crop

Notice that the bounding box is inclusive/EXCLUSIVE like the range function. PIL.Image.Image.crop does not accept a bounding box of zero size!

PIL.Image …

Debugging and Testing Tools for Windows

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

OCCT

OCCT is the most popular all-in-one stability check & stress test tool available. It generates heavy loads on your components while checking for errors, and will detect stability issues faster than …

Bat Is a Better Alternative to Cat

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

Installation on Ubuntu

sudo apt-get install bat

Notice that the installed executable is batcat (instead of bat)!

Usage

The Checkbutton Widget in Tkinter

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

  1. ttk.Checkbutton is preferred to tk.Checkbutton.

  2. It seems to me that the Checkbutton.bind doesn't work. However, specifying a callback function using the command option when creating a Checkbutton still …