How to close TCP socket in Node.js Thursday, February 2, 2023 The reason behind "connect, disconnect and then connect again" behavior might be that the old socket was still listening because it was half…
Read more... SSL/TLS client socket with OpenSSL Thursday, January 26, 2023 When does verification happen? From this wiki it seems like the get function does it. What security level to use? https://www.openssl.org…
Read more... Elegant C code Saturday, December 24, 2022 What the result of this code will be? Answer The output of this program will be a rectangular grid of ASCII characters, where each character…
Read more... Finding bias in PRNG Thursday, December 22, 2022 Biased scaling First things first. How to find a bias in random number generator? But not that bias that all statistical tests search for in…
Read more... Generators in Python Sunday, July 31, 2022 Simple generators A quick tutorial on how to make generators. We want to achieve this simple behavior and the same output: Define a function…
Read more...