All Posts

pve系列: amd显卡直通

记录了一下pci passthrough的基本操作,遇到的问题和一些经验

pve 内部网络:添加hostonly网络

pve nat network, host only, and set metric for lxc

Disable wifi log

disable wifi log

Spotlight, mds

spotlight & mds 排除目录

ubuntu 22.04 build python 3.x missing openssl solution

ERROR: The Python ssl extension was not compiled. Missing the OpenSSL lib?

Python2 pandas import error on ubuntu22

pandas/lib.so: undefined symbol: is_complex_object

pve multi bridge: nat for Wlan and bridge for ethernet

本文主要介绍了pve在两个外部网络的情况下,使用两个bridge网络的方案。有线网络使用桥接模式,无线网络使用nat模式。

Python2 Multiprocessing Pool源码解读

因为踩坑ctrl-c无法退出multiprocessing pool问题,趁机简单解读一下相关代码

Tornado Coroutine

介绍Tornado相关的几个装饰器。gen.coroutine, gen.Task, gen.Runner 关系图示 +---------------------------------+ |IOLoop | | | | +----------------------------+ | | |Runner | | | | | | | | +----------------------+ | | | | | gen.Task | | | | | | | | | | | | +------------+ | | | | | | | user func | | | | | | | +------------+ | | | | | +----------------------+ | | | +----------------------------+ | +---------------------------------+ gen.

内存模型--对go内存模型深入展开

最近复习,遇到go内存模型的问题,心中一直以为硬件是会保证缓存和内存一致性的。不过看了不少例子有很多困惑,关于happend before之外的困惑。之后就又查了不少硬件内存模型的文章。这里就记录一下一些不错的文章,再对几个例子做一些硬件体系上的汇总,不再详细说明go的内存模型了,毕竟关于go内存模型的文章有很多。