• 2 Posts
  • 185 Comments
Joined 1 year ago
cake
Cake day: September 19th, 2023

help-circle



  • I don’t know how aging affects the LED power draw, according to the manufacturer I shouldn’t expect more than 7.5A. When measuring peak power output, I get only get ~6A total though.

    4 pins are for earth with each (measured) having ~1.5A going through them at peak brightness. The fifth pin must bear the total load of the four other pins.

    Having 5 pins is of course not a strict requirement, it’s just the LED strip that has 5 connections.

    Edit: I should have clarified that the 4 pins “leading to earth” are connected to mosfets controlled by PWM signals, so they aren’t directly connected to earth. Each of the 4 pins carries a unique amount of current. Their total current is flowing through the fifth pin. Sorry for missing out on that detail in the original statement.





  • I don’t want to get into an Internet argument over pedantry. Linter is often used as a catch-all term for static analysis tools.

    Wikipedia defines it as

    Lint is the computer science term for a static code analysis tool used to flag programming errors, bugs, stylistic errors and suspicious constructs.

    Catching type errors and attribute errors would fit under this description, if you use a different, more precise definition at your workplace, cool, then we just have different definitions for it. The point is that your IDE should automatically detect the errors regardless of what you call it.














    • The format works for both lossy and lossless compression, depending on the use case and need. Photographs can be encoded in a lossy way much more efficiently than JPEG and things like screenshots can be losslessly encoded more efficiently than PNG.

    Someone made a fair point that having a format being both lossy and lossless is not necessarily a great idea. If you download a jpeg file you know it will be compressed, if you download png it will be lossless. Shifting through jxl files to check if it’s lossy or not doesn’t sound very fun.

    All in all I’m a big supporter of jxl though, it’s one of the only github repos I actively follow.