• 22 Posts
  • 1.07K Comments
Joined 3 years ago
cake
Cake day: June 22nd, 2023

help-circle












  • You have it approximately right, serving from an https domain does nothing to authenticate the thing being downloaded. There is such a thing as signed downloads, authenticated by a “code signing certificate”, used for things like Windows installers. Linux distros tend to use PGP signatures instead. Signing the download can in principle be a more secure process than serving a domain over https, since servers get pwned all the time. The download signing, by contrast, can in principle be done completely offline. There is a catch to that involving connecting to a timestamp server, but that gets into the weeds.

    https://en.wikipedia.org/wiki/Code_signing



  • Lemmy is sort of crappy through its software decisions, similar to how Reddit is crappy but in some ways worse. There’s not much we can do about that as users. Reddit also manages to paper over some of its crappiness through moderator interventions, while Lemmy tends to let crap slide. Crappiness = clickbait titles with no indication of what the link is about, lots of duplicate posts, etc. Lemmy adds the problem of fragmenting communities across instances. I think I heard that posts duplicated across multiple communities in a single instances will somehow be cleaned up in 1.0, which can help.

    Anyway there’s not a whole lot that users can do, except maybe launch some new instances or forks that don’t suck as much.


  • How can I wipe the dust in a way so as to avoid just pushing it around so much?

    Vacuum it. My friend has a Roomba that does her whole house automatically. I thought those things were ridiculous until I actually saw it.

    Also, as someone said, air filtration should get some of the dust out of the air. That is healthy for breathing. If you don’t mind the noise, you can make a powerful air filter from a box fan and 4 furnace filters: look up “Corsi-Rosenthal box” for how to do that. Otherwise you can get a smaller one.


  • So find the places where the bitrate changes and decode and analyze those frames. Outdoors, true, leaves blow around, there is wildlife etc. A harder problem. I was thinking more of an indoor security camera. As for examining the bit rate, I guess it depends on the encoding, but e.g. in .mp4 there is a “key frame” every so often and then a bunch of delta frames, and if stuff is changing too fast iirc the key frames become more frequent. But I believe there is a fast way to scan for them, that is needed for fast forwarding in video.


  • I have to wonder if there’s a faster way than literally decoding the video and analyzing the decoded frames, if that’s how you’re doing it with ffmpeg. Video compression revolves around motion estimation so maybe it’s possible to just scan the file and find frames where the motion vectors (the data saying how the stuff in the picture is changing at a given frame) suddenly get larger. I assume this is for something like a security video that usually shows a static picture, and OP wants to flag when someone enters the room. In that case there will be almost no motion most of the time, and suddenly there will be some.



  • The keyboard just sits in my backpack, so I have it if I want to type more than a few sentences on my phone, which usually means I didn’t bring my laptop (an old chonker). A smaller laptop would be better tbh, but my old one broke and I haven’t replaced it. Yeah seeing the phone screen while typing isn’t so easy, but I’m a touch typist, so I type first and then look. Battery not too much of a problem tbh. I just charge it up once in a while. I had one previously that used AAA cells (preferable) but I misplaced it.

    It’s not perfect but it beats the phone keyboard and I would say beats a Blackberry-style keyboard. I never used a real Blackberry but I had a Nokia E63 for a while, and it was the same idea. It was better than a screen keyboard but still a severe compromise. You can currently get something like that from M5Stack.

    The tiny BT keyboard with horrible keybounce that I had for a while looked like this:

    https://www.adafruit.com/product/3601

    I like to think the linked one might be better, but I haven’t tried it.