Implementing a mutex lock is a difficult problem for any parallel computation model. Leslie Lamport’s bakery algorithm is probably something we should use. But if the goal is merely to run a script in bash shell but not allowing duplicated parallels, there are some simple techniques that we can use....
[more]
Jacob et al (2017) Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inference
This is the paper behind TensorFlow Lite quantization. The objective of the paper is to make inference of a machine learning model faster, especially on mobile devices. This problem can be solved using a network architecture that fits the computation and memory constraints, such as MobileNet, SqueezeNet, ShuffleNet, and DenseNet....
[more]
802.11r on OpenWRT
Normally, Wi-Fi connections does not need any explicit set up for roaming. When a station moved away from the access point, it will notice about that and find another AP and reconnect. The 802.11r (fast basic service set transition), however, is to help make this transition faster. Hence it is...
[more]
Docker Tutorial
The following is a short tutorial to use Docker, aimed at only the essentials.
[more]
Creating a command line program automatically from a Python function
Undeniably Python is quite idiot-friendly language that you don’t need too much learning to get something done. A lot of code out there to copy and the concise language helped too. While writing a Python function is easy, it seems quite a lot of boilerplates needed additionally to make a...
[more]