Joshua T Corbin

Results 33 comments of Joshua T Corbin

I'm running El Capitan. Personally I've just given up on the brew recipe and build from source which works fine. I mean at some point to start trying to bisect...

Indeed, getting `defer` right can be difficult; e.g. in Go only the latest (about to be released) 1.14 is able to make them "as good as free" ( by compiler...

Probably not since I bet it's in raw mode.

Tossing my hat/plugin/angle into the ring, I wrote a small-ish plugin for how I like to use `:terminal`: - https://github.com/jcorbin/neovim-termhide - basically I live the "no more tmux, neovim is...

Would your use case be able to instead just use `runtime.GOMAXPROCS(-1)` to get the effective value separately from this library?

> > Would your use case be able to instead just use `runtime.GOMAXPROCS(-1)` to get the effective value separately from this library? > > @jcorbin > To my understanding, no....

You've somehow configured the encoder ( https://godoc.org/go.uber.org/zap/zapcore#EncoderConfig ) to use colored level encoding within json encoding; colored level encoding was intended only for use under .the console encoder.

cc @akshayjshah is there anything we could do to protect users from this sort of config? Ala: ```diff diff --git a/zapcore/json_encoder.go b/zapcore/json_encoder.go index 2dc67d8..a04a929 100644 --- a/zapcore/json_encoder.go +++ b/zapcore/json_encoder.go @@...

> It's not possible to customize the permissions used for creating the file. However, this permission is only used if the file doesn't exist, so if you want a custom...