Recent Posts

隔离笔记

less than 1 minute read

2020来的波澜不惊,一切似乎都在延续2019年下半年以来的趋势一路高歌猛进。可一切都在二月底急转直下。首先是二月二十四日周一刚到办公室就被告知当时的部门被解散了,我半年来在做的项目被直接取消,我们组被重组进了一个GCP刚刚收购的小公司。然后美国的新冠疫情迅速恶化,两周后公司就让我们在家工作了。由于疫情恶化公司有...

Use LLVM Toolchain With Bazel Part 2

1 minute read

In the previous post, I explained how to build c++ targets using Clang instead of the default compiler gcc on Ubuntu, but failed to figure how to compile and...

Install Nvidia driver, CUDA, and CuDNN

3 minute read

This post is to record the best way I found to install Nvidia driver, CUDA and CuDNN on Ubuntu. It is probably more useful for updating those softwares than ...

Use LLVM toolchain With Bazel

1 minute read

Since I use Clang and other LLVM tools at work, I decided to migrating to using the same set of tools for my side projects too. But it turned out that custom...

Copy to NTFS Partition from Mac

2 minute read

By default, macOS cannot write to NTFS partitions. This is pretty bad since a lot of portable hard drives are in that format. I need to archive a large amoun...