Hosting immich in LXC with iGPU passthrough
A guide for directly hosting immich inside an LXC. In this way, you do not have to run immich inside a docker container which is in turn inside a VM or privileged LXC. As a bonus point, you can pass through iGPU to multiple LXCs such that you can enjoy accelerations for some ML and transcoding tasks within LXC. Additionally, I wrote a GitHub workflow routinely (or manually) checking new immich release and building the new server with GitHub's runner, which can save lots of efforts on your side.
Distributed asynchronous parallelized hyperparameter optimization with Ray
Hyperparameter optimization is crucial for obtaining an accurate neural network. Typically, this is done through a Bayesian optimization by running a set of trials sequentially. With Ray and Ax, however, we can distribute the optimization across all allocated resources. This approach significantly reduces the wall time required for completing these tasks.
Build GitHub Pages locally with Jekyll
When you are working with Github Pages, it is such a pain to test it, especially if you are working on something like this Jekyll-based site. Without setting up a local environment, to view any change, you have to git commit and push, then wait until GitHub to have your site updated. I decided to follow the official tutorial to do it myself.
Predict protein-protein interactions with a neural network
Well, I recently review a manuscript on predicting the so-called "protein-protein interactions" (PPI) with a convolutional neural network (CNN). The quality of the paper was exceptionally low, but I was really curious on the validity of their results and if I could achieve better predictions, so here it is. The protein to the left is 8IUA rendered with VMD.
Host Homepage inside a Alpine LXC
Homepage is popular dashboard application that you can self-host. A convenient script to set up Homepage inside a Debian LXC is already provided by Proxmox VE Helper-Scripts, but I just feel it is such an overkill to use Debian here. So here is a quick tutorial on how to set up the Homepage application within Alpine Linux from scratch.
Fix Synology DS2415+ NAS that suffered from an Intel CPU bug
There is a hardware bug in certain Intel Atom CPUs. These CPUs will degrade over time and eventually the computer will not boot up due to the clock issue of the CPU. Funnily, fixing the problem only need one resistor to be soldered on the motherboard. The only thing is that the CPU will die again and by that time, there is no way to fix it.