ThisNameIsTaken

Joined 9 years ago

Karma
133
Submissions
28
Member since
May 8
View on Hacker News

Recent submissions

Comment · 8 days ago
Comment · 6 months ago
Comment · 6 months ago
Like Maildir? Many mail clients support that format already.
Comment · 6 months ago
In a similar vain, I currently enjoy reading A Philosophy of Walking by Frederic Gros. Gros draws the musing of various philosophers on walking. To me, his description of the slow beat of the footstep that propels imagination resonates with how walking works for me. When I'm stuck on something and feel I need to keep pushing towards a solution, a short break, often the result of an obligatory walk/ride to the train station, already sets my mind in motion.

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.

Comment · 8 months ago
Comment · 9 months ago
Comment · 9 months ago
So far, my thumb has been worse of now that I'm back to the pattern swipe unlock.
Comment · 9 months ago
You're right that I maybe phrased it too harsh, the repairability _is_ a great feature. And of course, they do more by checking supply chains for some of the parts. The thing is, if your part is not available, you're stuck with their repair service. It surprises me they don't offer all parts.

Great though, that they resolved yours within the scheduled time!

Comment · 9 months ago
As Fairphone owner I have become somewhat sceptical of their repairability claim.

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. ]

Comment · 9 months ago
This is a great project: the code is super neat and the write-up very clear. I like the sousveillance aspect of it!

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.
Comment · 10 months ago
Comment · 1 year ago
I've been doing this for some time now and it indeed makes editing text in vim easy. Just `dd` and `p`. And as the article mentions, diffing is much cleaner.

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.

Comment · 1 year ago
As a Colemak (DH) user for ~5 years, I share these experiences.

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.

Comment · 1 year ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton