Bert

Results 126 comments of Bert

which repository do you use? I assume PiClock (not PyClock3 as that is not yet ready). In [PyQtPiClock.py](https://github.com/SerBrynden/PiClock/blob/master/Clock/PyQtPiClock.py) I see: ```python try: Config.radar_refresh except AttributeError: Config.radar_refresh = 10 # minutes...

> Did you try this on any other hub? Up to now only the Spike and Inventor. Will "do" others.

This one stutters: ```python while True: print(f'{"hello":>10} -{"hello":>10} {"hello":>10} {"hello":>10} {"hello":>10}') print(f'{"hello":>10} -{"hello":>10} {"hello":>10} {"hello":>10} {"hello":>10}') print(f'{"hello":>10} -{"hello":>10} {"hello":>10} {"hello":>10} {"hello":>10}') print(f'{"hello":>10} -{"hello":>10} {"hello":>10} {"hello":>10} {"hello":>10}') ```

> Did you try this on any other hub? How to "see" the stutter the other hubs? I have the Move / City / 2 Technic hubs running with 8...

> Thanks for having a look! Since it seems to be specifically related to these format strings, I think it's OK to stick to just the primehub for now to...

You know me, I keep fiddling 😄 Idea was does the f-string pose the problem or the print doing the formatting. This snippet: ```python formatted1 = f'{"hello" * 3:>20} -...

> The crash / reboot has been fixed as linked above. Thanks for reporting! But the "stutter" is still there on build 3569. Should I make another issue or just...

You guys **are** fast. In my words: The last simplified version stutters if connected. But if not PC connected (it does not stutter for ~ 2 seconds? and then stutters...

gc seems partly implemented: help(gc): ``` object is of type module __name__ -- gc collect -- disable -- enable -- isenabled -- mem_free -- mem_alloc -- ```

A 'try / except' around the format shows a smooth display animation. This one also goes smooth: (edit program was wrong! no slice was enabled) ```python import gc help(gc) gc.disable()...