Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on PyPy

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

Installation

  1. Download PyPy from https://www.pypy.org/download.html.

  2. Unzip it.

  3. Install pip.

    :::bash /path/to/pypy -m ensurepip /path/to/pypy -m pip install ...

Packages Failed to Install

pytype …

Web Engines

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

webview

A tiny cross-platform webview library for C/C++/Golang to build modern cross-platform GUIs. The goal of the project is to create a common HTML5 UI abstraction layer for the …

Questions About Java

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

  1. is possible to define abstract static method? i.e., the method doesn't depend on any instance variables but subclasses have different implementations

  2. for a void method, we can also make it …

Public Private Key Pair Implementations

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

  • SSH key pairs – encrypt and authenticate remote connections
  • PGP key pairs – encrypt e-mails, disks, arbitrary files to securely sign or delete them.
  • SSL key pairs – encrypt TCP/IP communications and secure …