chynl

Results comments of chynl

😃 I am glad that I found this library and this issue because I am currently developing games on terminals for research. My games need features below and I have...

@agauniyal Thanks a lot. I am looking forward to it!

Thanks. Will this feature be added in the future releases? Seems necessary.

Yeah, I knew that. Thanks.

Facing the same issue when using WSL 2 with Docker Desktop

Yes it indicates multiple calls to ReceiveAsync() may not be thread-safe. But in my scenario, only **one** thread will call ReceiveAsync() while multiple threads may call SendAsync().

Looks like Socket is thread-safe per [MSDN](https://docs.microsoft.com/en-us/dotnet/api/system.net.sockets.socket?view=netframework-4.8#thread-safety)? Though UdpClient is a thin wrapper for Socket, it still accesses some shared class members inside [BeginSend()](https://github.com/dotnet/corefx/blob/eebe43224d8994b5b47bc2906c271ea6f256728b/src/System.Net.Sockets/src/System/Net/Sockets/UDPClient.cs#L286) so I'm not so sure about...

[self._FREQ_SAVE](https://github.com/chuyangliu/snake/blob/master/snake/solver/dqn/__init__.py#L71) controls the frequency to save model parameters during training. Here the value is 20000, which means that model parameters will be saved every 20000 learning steps. Saved model parameters...