Setting up MXNet on macOS with Conda

MXNet is another open source deep learning framework picking up speed after the success of TensorFlow and PyTorch. Amazon and Microsoft is acting as driving force behind it. It is main selling point is "scalable", i.e., designed with cloud computing and distributed parallel computing in mind. Since it is not yet as popular as TF … Continue reading Setting up MXNet on macOS with Conda

Advertisements

Setting up Arch Linux on Raspberry Pi 3B+ (1) – wifi setup

I used the PINN to install the Arch Linux on the SD card. The process is quite straight forward. Here's the link to the PINN project: https://github.com/procount/pinn After installation, I need wifi to get on internet. Arch Linux provides a nice wiki covering every aspects. Here's a stripped down version of what's needed on a RPi3b+. Device … Continue reading Setting up Arch Linux on Raspberry Pi 3B+ (1) – wifi setup

Django modelformset is powerful!

I spent two days trying all kinds of non-sense trying to setup a form for entering the temperature profile steps. In the end, it turns out using modelformset is so easy! No need to setup extra form for each model. No need to keep tracking which form is initialized by which object.  Two lines take … Continue reading Django modelformset is powerful!

Don’t repeat yourself, unless with style.

Don’t repeat yourself (DRY) Every distinct concept and/or piece of data should live in one, and only one, place. Redundancy is bad. Normalization is good. The framework, within reason, should deduce as much as possible from as little as possible. In most occasions, repeating is a waste of energy and resources. When we do need to … Continue reading Don’t repeat yourself, unless with style.

WordPress multisite domain mapping and subdomain dashboard access

It seems to be a common problem that one cannot access the dashboard of the new sites after setting up a WordPress multisite network. My Googling showed at least 8 different problems and solutions. Here is what I met and my fix: 1) After you setup the standard multisite network, you should be able to create … Continue reading WordPress multisite domain mapping and subdomain dashboard access