andreymal
andreymal
For example, I share a lot of passwords with many users. Once I stop trusting some user, now I need to remove access and change all passwords that the user...
Some people practice a method of information publishing called [warrant canary](https://en.wikipedia.org/wiki/Warrant_canary): if some info is present and/or periodically updated, then everything is fine, but if it's not updating or even...
I use nginx as reverse-proxy for OBS with configuration like this: ``` server { listen 443 ssl default_server; listen [::]:443 ssl default_server; server_name home.andreymal.org; ssl_certificate /etc/letsencrypt/live/home.andreymal.org/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/home.andreymal.org/privkey.pem; location /obs/ws/...
I was looking at the aiogram code on github accidentally found that `os.path.join` is not used here, which is suspicious. https://github.com/aiogram/aiogram/blob/df294e579f104e2ae7e9f37b0c69490782d33091/aiogram/types/chat_photo.py#L62-L63
I use ajenti 2.1.15 with ajenti.plugin.supervisor, but it's not working because i use password for supervisor:  I can't find plugin settings like in ajenti 1. It's...
I wrote something like this: ``` Code: `` ``` With stable Markdown 3.3.3 I get the expected result: ``` >>> print(markdown.markdown('\n\nCode: ``\n\n', extensions=["extra"])) Code: <label><input/></label> ``` But I installed latest...
I'm trying to use MySQL 8 and after inactivity I get this error. I guess the [should_reconnect](https://github.com/ponyorm/pony/blob/8a6ccb7c6273ca173779cf8993ff05ffbada305e/pony/orm/dbproviders/mysql.py#L243) function should handle this error? ``` Traceback (most recent call last): File "pony/orm/dbapiprovider.py",...
Current Relationships API can't support creation of relationships with application entities by plugins, because «Pony requires defining relationships on both sides explicitly» (example: http://pastebin.com/xLfsFT9r) and this limits the use of...
I got tired of attaching `@db_session` to every view function and decided to try the official Flask integration (`pony.flask.Pony(flask_app)`). To investigate the behavior, I simulated an error inside a view...
When using context manager, Image does not close file pointer, as expected. It checks `getattr(self, "_exclusive_fp", False)` and closes the file pointer only if it's True. ```python with open("file.png", "rb")...