Charles Hall

Results 28 issues of Charles Hall

Unfortunately this requires some unsafe, but fortunately it's only two lines and it's very easy to follow. There are some problems still though, such as not being able to deserialize...

This code: ```python import asyncio from databases import Database async def amain(): db = Database( # a url ) await db.connect() query = """ SELECT * FROM things WHERE things.id...

In the readme and the examples, this pattern can be observed: ```nix hello-world = (rustPkgs.workspace.hello-world {}).bin; # ^^^^ this part ``` If the `.bin` is intended to be used by...

- [X] Initial attempt - [X] A silly/clever workaround for embedded-hal's Pwm trait not mapping super well to the BL602 - [X] Cleanup/actual usable MVP (minus `Pwm::get_period`) - [ ]...

Fixes https://github.com/LemmyNet/lemmy/issues/2863. The first commit fixes the problem, the second one prevents it from happening again. The second commit is there to convey the idea but obviously it shouldn't be...

With a fresh database after running migrations, running the following command from the repo root repeatedly will yield different results. Sometimes it passes, sometimes it fails. Usually the latter. ```...

bug

My desktop's keyboard has custom firmware for the workman layout, and all my Hyprland keybinds are designed as such. For example: ``` # Move focus bind = $main, N, movefocus,...

enhancement

### Description This is necessary when using PgBouncer because otherwise the default simplistically-generated statement names can fight with other programs using asyncpg due to PgBouncer sharing the same underlying PostgreSQL...

### Describe the bug `prepared_statement_name_func` isn't respected for all database queries issued via asyncpg, in particular I noticed this for calls to the `set_type_codec` function. ### Optional link from https://docs.sqlalchemy.org...

postgresql
expected behavior
awaiting info
asyncio

Reading [this](https://docs.python.org/3/library/__main__.html#main-py-in-python-packages), I wouldn't think so; it seems to imply that nothing should be defined in that file and then imported elsewhere. Yet, `pydocstyle` will give me such errors as...