Songhua Liu

Results 16 issues of Songhua Liu

I wrote a decorator. With this, in our app views.py we can easily get user object by doing so,`@smart_token_user` will modify the request handler. We can have a `request.user` attr...

When signing data, people recommended to use PSS method rather than PKCS1v15 I saw Pointy Castle is still using PKCS1v15. https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#signing Valid paddings for signatures are [PSS](https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#cryptography.hazmat.primitives.asymmetric.padding.PSS) and [PKCS1v15](https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#cryptography.hazmat.primitives.asymmetric.padding.PKCS1v15). PSS...

to improve the speed

enhancement

I found it would be way slow if importing massive data into ES. By default jsonpyes does not use Epoll, so it runs on one thread. The I/O of it...

enhancement

I am thinking whether to add this functionality since I find the json-py-es is only about raw JSON data uploading.

question

Trying to usage this example: https://pub.dev/documentation/cryptography/latest/cryptography/RsaPss-class.html ```dart import 'package:cryptography/cryptography.dart'; Future main() async { final algorithm = RsaPss( hashAlgorithm: Sha256(), ); // Generate a key pair final keyPair = await algorithm.newKeyPair();...

Connection was reset by peer. Then I had to restart the chatp-telegram program, and it could work again. This error occurred very often. ``` 2022/12/08 22:59:08 Post "https://api.telegram.org/bot888888888:Secrete_Token/getUpdates": read tcp...

### Running Latest Version - [X] I am running the latest version ### What do you want Mochi Diffusion to do? Add image size option when generating images ### Why...

enhancement

with commands `./dochat --device 0` or `./dochat --device 1` I have 2 GPUs enabled: 1 nvidia rtx, 1 intel integrated Hardware ``` .-/+oossssoo+/-. someone@workstation `:+ssssssssssssssssss+:` --------------------- -+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.3...