Stanislav (Stanley) Modrak

Results 135 comments of Stanislav (Stanley) Modrak

Simply using "greater than" demonstrates the numerical nature of True and False much better. Variety over uniformity is always preffered in teaching. See clear benefit from such a simple change...

Additionally, there's already the very same example (the one I proposed to replace) in the boolean equality section so it is indeed redundant.

> So what's your point? We should close this PR or merge it? sweat_smile Clearly to merge it. 🙂 (in my opinion) I provided multiple arguments for that, and even...

Same issue. No random MAC change at startup or when the interface is taken down & up. OS: Ubuntu 21.10 kernel 5.15.2

> what happens when you click "Download"? I believe nothing. It eventually resolved itself and stopped appearing after a week. Odd nonetheless.

You should be respecting any existing configured affinity of the parent process. Perhaps with something like: https://github.com/smith558/nfstream/blob/aacaf9d4641b6dfd2c2bc95281998db1f3150f29/nfstream/utils.py#L138-L155 ```py def chunks_of_list(lst, n): """ create list of chunks of size n from...

Related to https://github.com/nfstream/nfstream/issues/149

> @smith558 Good catch! Are you planning to do a PR? > > Thanks a lot! I actually was. I was about to open one but then found out via...

Trying to write it up. Will post here soon. My Python expertise is limited so your insight here will probably be greatly helpful.

```py def chunks_of_list(lst, n): """ create list of chunks of size n from a list""" for i in range(0, len(lst), n): yield lst[i:i + n] def set_affinity(idx): """ CPU affinity...