karlicoss

Results 351 comments of karlicoss

Perhaps another check that falls into the same category is detecting case conflicts to prevent sync failures on macos. E.g. I had a file named `TODO` and folder named `todo`...

Hmm, not sure. So I created `test` file and `TEST` folder from my linux box to try it out. Looks like the macos GUI doesn't support notifications at all yet...

> But even a default configured Linux syncthing will reject one or both of those files with an error when scanning, iirc. Oh, you're right, didn't know that! > You'll...

Ah sorry :facepalm: I think I was misclicking -- can see them in failed items both in Android and Macos

> The sending side has no info at all and can't show an error. Hmm not sure I understand? In theory, sending side could check whether there is a case...

For multiple packages issue, here's the related pipx issue https://github.com/pypa/pipx/issues/88

Gave it an initial try (in an isolated test), seems like writing to redis cache might be a bit slow, but reading can be much faster than sqlite! Supporting in...

had another go at redis, overall don't think it's worth it, writing is much much slower https://github.com/karlicoss/cachew/tree/redis

Wanted to simplify cachew a bit by potentially switching to third party serialization -- tried `marshmallow`/`pydantic`/`dataclasses_json`/`cattrs` (might post some notes later). Basically for one reason or another they are not...

Wrote up a comparison here, might be interesting for other projects as well https://github.com/karlicoss/cachew/blob/master/doc/serialization.org Actually `cattrs` seems very close to my new implementation, tiny bit faster for serializing, and tiny...