Author: 曾令泽
创建dvc本地仓库
先创建git仓库,再创建dvc仓库
" (N)Vim Configuration File | |
" vim : place in $HOME/.vimrc | |
" nvim : place in $HOME/.config/nvim/init.vim | |
" $ ln -s $HOME/.config/nvim/init.vim $HOME/.vimrc | |
" General settings | |
" https://learnvimscriptthehardway.stevelosh.com/ | |
" --------------------------------------------------------------------------- | |
" drop vi support - kept for vim compatibility but not needed for nvim | |
" Probably not needed with Vim 8+ | |
"set nocompatible |
# use the latest ubuntu environment (18.04) available on travis | |
dist: bionic | |
language: go | |
# You don't need to test on very old versions of the Go compiler. It's the user's | |
# responsibility to keep their compiler up to date. | |
go: | |
- 1.16.x |
Link:https://pdos.csail.mit.edu/~benjie/papers/lbfs:sosp01.pdf
Forkbase's Pos-Tree index is inspired by this paper
接着Mit 6.824 论文阅读, 下面记录,FaRM的特点及解决的问题,主要参考 Mit note
相对于整个FaRM系统,略过了很多东西,重点介绍 FaRM 选择的 optimistic concurrency control,如何保持强串行化
FaRM 特点
一直很好奇那些用Go编写的System是如何去管理底层内存的。
最近在阅读BoltDB的源码,发现很多使用unsafe包的地方,因此把unsafe的用法及原理记录下来。
很多内容参考 深度揭秘Go语言之unsafe
func setup() { | |
fmt.Println("Before all tests") | |
} | |
func teardown() { | |
fmt.Println("After all tests") | |
} | |
func Test1(t *testing.T) { | |
fmt.Println("I'm test1") |