Ben Chuanlong Du's Blog

It is never too late to learn.

Tips on Monkey Patching in Python

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

A MonkeyPatch is a piece of Python code which extends or modifies other code at runtime (typically at startup).

A monkey patch is a way for a program to extend or …

Error/Exception Handling and Testing in Scala

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

assert vs require vs assume

assert means that your program has reached an inconsistent state. This might be a problem with the current method/function (think of it a bit as …

Exception Error and Critical

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

https://stackoverflow.com/questions/2031163/when-to-use-the-different-log-levels

Java

An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch. Most such errors are …

Tips on Graph Database

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

vesoft-inc/nebula

A high performance distributed Graph Database

[neo4j/neo4j]0https://github.com/neo4j/neo4j0

Neo4j is the world’s leading Graph Database. It is a high performance graph store with …