Results 73 comments of Alistair Buxton

I'm not sure. Which specific font are you having a problem with and where can I get it?

This font defines a zero pixels wide glyph for the space character which PIL cannot correctly handle. I think this is a bug in PIL's PCF loader, but it wouldn't...

> This does not look like a gnome desktop to me. On my 2nd screen is no clock at all. So how did you get there? I don't remember. I...

If this is a nvidia-only issue as claimed on that issue, then it could be due to an uninitialized buffer. I forget where I saw it, but the other drivers...

After going through the shader code it seems the problem is with the positiveLog helper function: https://github.com/Swordfish90/cool-retro-term/commit/4abbe332db25b70fce5b9994be3f6ec3982107ad#diff-cd3590184ef3de51987420ae526e23d1cbe53a6a353ceb217cd82b763120f1eeR75-R77 The frameColour is multiplied by the value it returns. The maximum value is...

Another possible fix is to just revert the change from using clamp to max for the frame: https://github.com/Swordfish90/cool-retro-term/commit/4abbe332db25b70fce5b9994be3f6ec3982107ad#diff-cd3590184ef3de51987420ae526e23d1cbe53a6a353ceb217cd82b763120f1eeR90 This produces a similar result, but the frame and shadow are slightly...

I'm using it to process video data. Yes - you can keep some state in the generators, but only in as much as it does not affect the output. For...

More contretely, if you have a generator like: ``` def cumulative_sum(it): sum = 0: for x in it: sum += x yield sum ``` This generator isn't pure according to...

@parity3 that seems to be pretty much what I am looking for, but I need it to also be multiprocess to leverage multiple CPUs and GPUs. I don't see any...

Sounds good. Re 3., my streams are basically pure data - ints, strings, tuples, and numpy arrays. Nothing that should be particularly difficult to serialize. I do need it to...