Ted Mostly

Results 52 comments of Ted Mostly

brew install coreutils also ok

``` set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wextra") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsign-compare") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wshadow") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wunused-parameter") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") ``` may helpful

> suppress warnings in the header https://stackoverflow.com/questions/1867065/how-to-suppress-gcc-warnings-from-library-headers ```c++ // save diagnostic state #pragma GCC diagnostic push // turn off the specific warning. Can also use "-Wall" #pragma GCC diagnostic ignored...

you need a file watcher

what do you mean? pull nyan files from a central server / a cental server dispatch nyan files? this kind of central config server just like ETCD/Zookeeper, with `watch` basicly...

@heinezen nyandb provide a `watch/subcribe` api, problem solved which db do you use? redis has `subscribe`, mongo has `change stream` if you implement your own database, should provide some kind...

> I really like this theme too! I haven't found anything else that completely gets out of the way of the content like primer does. > > I'd also love...

compact,会做文件合并,会有大量IO,建议在业务低峰期来做。 如果不做compact,假定你删改操作多,会有很多垃圾key,这些key只有compact才会清理掉

> 好的。这个确实是个严重的问题。我们会尽快修复。 https://github.com/OpenAtomFoundation/pika/blob/5ea6a7740245fd320a1025dc5155f6d5eb083acb/Dockerfile#L28 这里编译完的OBJ文件没清理,按理说整个third src都可以删掉

这个提交已经优化了 https://github.com/OpenAtomFoundation/pika/pull/758 后来去掉了rm