zyl
zyl
That can be produced when main drop reactor early than in threads. e.g ``` reactor.lock().map(|mut r: MutexGuard| r.wake(id)).unwrap(); thread::sleep(Duration::from_secs(6)); drop(reactor); ``` and ``` block_on(mainfut); drop(reactor); thread::sleep(Duration::from_secs(12)); ```
没有发现 clang-format, 但确实 clang-format 在运行, .clang-format 的语法有点旧, 是哪个版本的?
Say, if typ file is using unicode, it is possible to know which language any character belongs to. Then can typst provide a method to set different font for different...
I did some work on McFly 0.8.1 to fit my requirements. It contains some bug fixes and enhancement, which I think maybe it can be used by mcfly. https://github.com/zylthinking/rhis
编辑器是 emacs, 通过 lsp 加载 ccls 现在发现只要一保存, 就会自动格式化代码。 但这代码是开源基础上进行修改, 这个项目自己有 clang-format, 但自己并不完全遵守。 这导致一旦修改文件, 哪怕只修改一点, 整个文件格式都变了 然后在和上游代码库做 diff 的时候就尴尬了....
a more reasonable explanation for atomic operation on static is unsafe
I made a busy reading of disk in clickhouse, and notice the GRAPH[IO]▽ column in the view is quite different with the IO> column in iotop. The main thread of...
Add a lock named leadlock And a simple single flight based leadlock which should having higher performance than singleflight.Group
Hi, I find 2 files in my sync folder fails to sync, then I tried several methods, including: 1. retry in desktop client ----- shows retrying infinitely 2. uploading the...