5,385 karma · joined Oct 20, 2023 (3y ago) · 2,457 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
(I don’t mean “can the sue me” but “do they have any chance of winning” of course)
comment 2y ago · link · parent
Interestingly I discovered that if the chip is set for unprotected mode, the bootloader actually waits around for update commands instead of booting the application firmware. So Elgato is using the locked/unlocked bit as a way of signifying whether it should stay in the bootloader or not, which I find to be a little bit weird. That completely explained why my second HD60 S stopped working after I installed my unlocked firmware — it was stuck in the bootloader waiting forever because the chip was unprotected.
comment 2y ago · link · parent
According to Wikipedia, AirPods Pro Gen 1 have 0.16 Wh of battery per AirPod (There's no data on Gen 2). With 5 hours listening time, that gives a power draw of 0.032 watts or 32 milliwatts. This answer https://electronics.stackexchange.com/a/640179 (I know, not the best source, but I'm just guesstimating anyways) gives a current of 1 mA at 5 V for an indicator LED. So the LED would need 5 mW. That increases power draw to 37 milliwatts and gives a new battery life of about 4 hours and 20 minutes. If using 5 mA, which the answer calls "blindingly bright for some clear LEDs, even from 10 feet away", the LED would draw 25 mW and reduce listening time to only 2 hours and 50 minutes. The answer is also about non-diffuse LEDs so the indicator would only be visible from a narrow angle, but since it would point forward, that's probably fine. Making it diffuse would reduce perceived brightness again.
Brightness could be fine indoors, but outside with direct sun is probably harder. Since you would have the LED on both AirPods, you could probably expect that at least one of them is in the shadow at any time though.
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
Use a CSS preprocessor to add a
:not(.nostyle)
To all rules, and then add the nostyle class to all elements you want to exclude.
The problem would be that you have to add the class to every single element (and all children) to exclude them, and there seems to be no good way of having selector:not(.class and all children of .class)
The Shadow DOM method is really interesting though, I’ve never used it anywhere but it looks like it’s perfect for this application.comment 2y ago · link · parent
comment 2y ago · link · parent