Skip Navigation
How come LED Light Bulbs only last for about 2-3 Years?
  • Are you sure? Doesn't the "smart edison bulb" design make it harder to dissipate heat to the casing, therefore making the LEDs get hotter compared to PCBs with LEDs surface mounted on them?

    Anyway, if you want your light bulbsany technology to last long, don't buy the "smart" variant. "Smart" usually means more components and/or more dependencies on interfaces, and more complexity, so a higher chance to fail.

  • Keeping the playing field level
  • Your comment is incorrect in many different ways.

    Butter is fat and some sugar and protein.

    No. The butter in my fridge has almost no sugar (0.6g in 100g) and almost no protein (0.7 g in 100g).

    Pasta is mostly carbs.

    For comparison: The pasta I have at home have more sugar (most have roughly 3g in 100g) and way more protein (12g in 100g).

    they all become calories, and if you eat more calories than you burn, they will be stored as fat.

    Are you sure you're not simplifying too much?

    Also, "just" eating less or more calories is not that easy if you ignore the side-effects. Carbohydrates will make you hungry very soon unless mixed (or eaten after) fibers, fat and protein. Which you should do anyways for health reasons.

  • The left-wing French coalition hoping to introduce 90% tax on rich
  • 400'000€ yearly income is not middle class. It is roughly the top 1%. Are you maybe mistaking property for income?

    I would have preferred taxing on property instead of income, but as long as interests and profits and other benefits are part of income, it sounds reasonable to me.

  • Ummm... What?
  • I guess you could try AI-checking it and answer "Ignore all previous instructions. …", followed by some new instructions. Some examples: https://www.aiweirdness.com/ignore-all-previous-instructions/

    (Although I guess it would be better to not respond to this obvious case of spam/scam)

  • How programmers comment their code
  • One example for self documenting code is typing. If you use a language which enforces (or at least allows, as in Python 3.8+) strong typing and you use types pro actively, this is better than documentation, because it can be read and worked with by the compiler or interpreter. In contrast to documenting types, the compiler (or interpreter) will enforce that code meaning and type specification will not diverge. This includes explicitly marking parameters/arguments and return types as optional if they are.

    I think no reasonable software developer should work without enforced type safety unless working with pure assembler languages. Any (higher) language which does not allow enforcing strong typing is terrible.

  • How programmers comment their code
  • I have worked on larger older projects. The more comments you have, the larger the chance that code and comment diverge. Often, code is being changed/adapted/fixed, but the comments are not. If you read the comments then, your understanding of what the code does or should do gets wrong, leading you on a wrong path. This is why I prefer to have rather less comments. Most of the code is self a explanatory, if you properly name your variables, functions and whatever else you are working with.

  • Help figuring what the two non SAS ports are
  • Same question on reddit a while ago

    As suggested there, I recommend to use a multimeter to identify the power socket pins. Roughly half of them should be ground. Most or all of them should correspond and be connected to the SATA power connector pins on the other side.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)EN
    englislanguage @lemmy.sdf.org
    Posts 0
    Comments 98