ThisNameIsTaken
Joined 9 years ago
Joined 9 years ago
Crucial is that the walk is not an intentional break for the purpose of brainstorming, because then my thoughts stay stuck. Such walking is 'idle' in the sense that it is an almost automatic process. The whole point is that walking/idling should not be a productivity tool.
[1]: https://arrgle.com/emus-and-piracy-the-story-behind-the-lord...
[1]: https://github.com/nannou-org/nannou/tree/bevy-refactor
Great though, that they resolved yours within the scheduled time!
Mine fell on its side on some pebble stones. The power-button, unprotected by the case, got scratched. The button doubles as a fingerprint reader, which ceased working due to the scratch. At first, I thought "no worries, this phone is friendly to those who want to repair it."
It turns out, this part is not available for replacement. I think this is an oversight; just like the screen, it is an outward facing part, hence, bound to be damaged for some.
Then, I brought it to my local repair shop. The owner had to tell me that they cannot repair Fairphone's, and that, for him, it is one of the worst companies to deal with. They try to centralise all repairs in their own repair center. Which means sending the phone -- which I need -- away for 2 weeks; paying a fee for diagnosis, an unknown cost for repair, and the hassle of a flashed phone. I already know what's broken, I just want the part.
I feel this is a real shame, as I am fully supportive of the stated aims of the company, and I want the product to be good.
[Aside: suggestions on how to deal with a scratched fingerprint reader are most welcome. E.g. can the scatch be re-painted? The phone thinks the reader is there, but it doesn't register any touch. ]
For a project I needed a low-latency RTSP stream as well. When reading a video stream with OpenCV, the default video buffer is quite big, which, when filling up, makes the video lag behind a second or two. It then becomes impossible to perform any interaction on it.
I wasn't familiar with the setting you use to overcome this: setting cv2.CAP_PROP_BUFFERSIZE to 1 on the VideoCapture. I am not sure, but you might get even lower latency by turning to OpenCV's GStreamer support. For me the trick was:
gst = f"rtspsrc location={video_url} latency=0 buffer-mode=auto ! decodebin ! videoconvert ! appsink max-buffers=1 drop=true"
self.video = cv2.VideoCapture(gst, cv2.CAP_GSTREAMER)
When testing, I also found out that the codec and image settings of the camera matter. With a h264 stream, the images came in batches of a number of frames, whereas MJPEG provided a more constant image stream with lower latency. Lastly, disabling 3D noise reduction also removed some delay.It uses the Jupytext format [1], for Python at least. Which frankly, is much more friendly to VCS than notebooks.
I agree on the 'format on save' as undesirable default, but disabling that was as easy as flicking a switch.
[0]: https://zed.dev/docs/repl [1]: https://jupytext.readthedocs.io/en/latest/
There's a caveat however, if you comment a line (to keep the thought, but see how it would work without) some Markdown parsers will interpret it as an empty line, and thus create a new paragraph. It then becomes necessary to remove one of the semantic newlines, which looks rather messy.
I did a monkeytype benchmark before switching, and I still barely hit the same numbers, so it's certainly not a magic fix for more typing speed. What is left then is the argument concerning ergonomics: which I am not sure is worth the trade-offs.
Every time I now sit at another's computer I am unable to type without glancing at the keyboard. Moreover, I am trying to switch to (n)vim, and am completely at a loss navigating, as the hjkl keys are now scattered across the keyboard -- beating their purpose.
Another useful thing from the article for me was `apt modernize-sources` to update the existing sources.list to the new structure. Now I need to check if scripts like this run automatically on my auto-updating desktop from my parents.
[1]: https://veravandeseyp.com/