Results 984 comments of Nathaniel J. Smith

> IMHO the cancelled task is … well, cancelled. It's finished. Its job is no longer to wait on anything In general, Trio's principle is that once a function returns,...

Here's a straw-man idea for a rpc multiplexer primitive we could imagine including in Trio, like `Event` and memory channels: ```python @attr.s(frozen=True) class StartEvent: message: Any handle: RequestHandle @attr.s(frozen=True) class...

> It doesn't seem like it would be a good fit for protocols where the request or response is a stream rather than a message (like HTTP/2), but I suppose...

Can you check whether you still see the same issue in an environment that has thinc 0.8.1 + blis 0.7.8? That would let us confirm for sure whether the issue...

The only options for implementing `unique` are: - sorting the array - putting everything in a hash table - do brute-force `==` comparison on all objects against all objects Only...

Not sure what you just said :-) But on further thought sorting is really not reliable for dtype=object anyway. I've probably written dozens of classes that override **eq** but keep...

That algorithm doesn't use == as its definition of uniqueness. Objects of different types can be ==. (Easy example: 1, 1.0). Its definition doesn't correspond to any standard python concept....

Hmm, on further investigation, it appears that Clementine is truncating the album list sent by the server. It does multiple HTTP requests to the `/rest/getAlbumList2.view?...&type=alphabeticalByName&size=500&offset=...` endpoint, to fetch the first...

Ah-hah, found the issue. In the metadata that Airsonic is returning, a few of my albums have a mangled genre field, with the literal value `Text=".";`: ``` ``` I have...

As a workaround, I manually found the 3 offending albums inside Airsonic's web UI, and used its "Edit tags" function to set a more sensible genre. After doing this and...