Cory Snider

Results 223 comments of Cory Snider

> But you could you please provide ann example to illustrate how the difference between `env::var` and `env::var_os` matters? I have prepared an example on the Rust playground which demonstrates...

[Go's documentation advises against deleting tags.](https://go.dev/ref/mod#:~:text=Once%20a%20tag,on%20module%20proxies.) > Once a tag is created, it should not be deleted or changed to a different revision. Versions are [authenticated](https://go.dev/ref/mod#authenticating) to ensure safe, repeatable...

The mechanism for how Windows containers attached to an overlay network access external services has changed in Windows 2019: > [On Windows Server 2019 and above, overlay networks created by...

> Is there way to increase that value? Not through Microsoft-sanctioned mechanisms, as far as I am aware. I have followed up in https://github.com/microsoft/Windows-Containers/issues/269#issuecomment-1252948256 asking for them to add one....

> The problem with using `uname -m` for platform detection in general is that it detects the architecture of the _kernel_, not the architecture of userspace (which is normally what...

> I do wonder if it would make sense to pool/reference count these threads, so that concurrent copy operations do not churn threads; it seems like the only barrier to...

> one has proposed a good way to split this work up into more digestible chunks (or rather, @thaJeztah tried with one or two PRs, but it didn't get too...

> Perhaps we _could_ try to flush the buffer when the container exits, but even if we did, I _think_ there still would be a race condition between trying to...

A function must be prepared to handle the cancelation of any function calls it passes a (potentially) cancelable context into. As a corollary, functions for which it can be statically...

The code to terminate health check execs gracefully has been broken [since v17.11](https://github.com/moby/moby/commit/ddae20c032058a0fd42c34c2e9750ee8f6296ac8#diff-73eee5ff6da257cc3f90a10ff07f4d47e02e7999e317f4ce0bb9eab7f662193fR263), nearly five years ago! The "statute of limitations" has arguably expired on the feature and so we...