Friday, October 16, 2020

reading Cloud Native Go, along with Designing Distributed Systems and Cloud Native Infrastructure

there're different concurrency pattern examples from these books


brought a pinebook pro, surprisingly good for its price

but some tweaks (especially the touchpad) are required to make it better:

the stock linux dist (debian stretch w/ mate?) is very similar with my current workspace, so I didn't need to re-install the os, software versions are quite out-dated but I'm fine with it.

Wednesday, October 21, 2020

the Firefox on my pinebook pro crashes very time I suspended it, I switched to midori, then now using luakit

also start learning LyX

Thursday, October 29, 2020

my pinebook pro is debian stretch version, it is armhf even though the CPU might support arm64, but I don't have time to check (see pinebook-pro-debian-installer)

one big problem is pandas can not be installed, because python3-pandas-lib doesn't have armhf build. I finally resolved it by pip (it tooks long time to compile)

(as root)

# apt-get install python3-pip
# pip3 install cython
# pip3 install numpy
# pip3 install pandas

add –system-site-packages when creating virtual env:

$ virtualenv -p python3 --system-site-packages venv

jupyter notebook is more difficult, since the mixed old/new python packages are imcompatible

(make sure in virtual env)

# pip3 install argon2-cffi

(venv) $ pip install jupyterlab
(venv) $ pip install tornado==5.1.1
(venv) $ pip install --upgrade nbconvert
(venv) $ pip install --upgrade ipython
(venv) $ pip install --upgrade ipykernel

start the notebook with

(venv) $ python -m jupyter notebook

Blog Archives

Search Blog: