Коренберг Марк

Results 101 issues of Коренберг Марк

### What happened? etcd answers with unexpected ResponseHeader revision values inside TXN response for DeleteRange part ### What did you expect to happen? I expect all revisions in all three...

type/question

I use GRPC gateway to access etcd watching functionality. Namely, https://github.com/etcd-io/etcd/blob/master/Documentation/dev-guide/api_grpc_gateway.md#watch-keys . But I don't have any specifications on how should I separate JSONs in the response stream since it...

https://mypy-play.net/?mypy=latest&python=3.10&flags=strict%2Cstrict-equality&gist=e86aa52c05acd36b6c04067cb6f44ce1 ```python import sys def main() -> int: return sys.exit(42) ``` MyPy finds nothing wrong here. Anyway, this should be valid: ```python try: sys.exit(42) except SystemExit: print('xxx') # this line...

feature

```python >>> from utime import sleep_us >>> sleep_us(24*3600*1000_000) Traceback (most recent call last): File "", line 1, in OverflowError: overflow converting long int to machine word ``` It's not documented...

docs

I've made a patch: ``` --- a/ath10k-4.16/htt_rx.c +++ b/ath10k-4.16/htt_rx.c @@ -25,6 +25,12 @@ . #include . +/* For `ath10k_htt_rx_h_unchain` frame-drop logging */ +#include +#include +#include +#include + /* when under...

Memory leaks in case of errors Could be easily rewritten using goto.

On huge netlink traffic (like ULOG or NFLOG) receiving one message per syscall affect performance. Receiving multiple mesasges at once give preformance boost.

enhancement

This is a mode of queue that direct kernel ACCEPT packet that exceed queue length instead of DROP. I mean flag in the kernel: NFQA_CFG_F_FAIL_OPEN

enhancement

https://github.com/thom311/libnl/blob/48182486341d1de7892494f272e892c0b18ebef5/lib/error.c#L102 : ``` int nl_syserr2nlerr(int error) ... case ENOBUFS: return NLE_NOMEM; case ENOMEM: return NLE_NOMEM; ... ``` This is a bug, as I think. ENOBUFS - is not the same...