• 6 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: June 25th, 2023

help-circle






  • More interesting things:

    • The “systemd-tmpfiles --purge” option is reworked to only apply to tmpfiles.d/ lines marked with the new “$” flag. This is to better address systemd’s --purge deleting too many files by accident.
    • Systemd 258 also aims to remove support for the (deprecated) System V service scripts support.
    • systemd-boot menu will now react to volume up/down rocker presses in the same way as arrow up/down presses. This is for smartphones and other devices that may have volume up/down rockers but not arrow keys.




  • lnxtx@feddit.nlto196@lemmy.blahaj.zoneRule
    link
    fedilink
    English
    arrow-up
    23
    arrow-down
    1
    ·
    16 days ago

    Ask AI:

    public static boolean isEven(int number) {
        // Handle negative numbers
        if (number < 0) {
            number = -number; // Convert to positive
        }
        
        // Subtract 2 until we reach 0 or 1
        while (number > 1) {
            number -= 2;
        }
        
        // If we reach 0, it's even; if we reach 1, it's odd
        return number == 0;
    }
    











  • lnxtx@feddit.nlOPtoFuck Cars@lemmy.ml[meme] I just want to talk
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 months ago

    If anything, LEDs having MUCH better lifespans than bulbs is saving people.

    There are 2 (4 if high beams are separated) incandescent light bulbs in a car without LEDs.
    There is at least 1 extra point of redundancy.
    Also car light bulbs are made to last longer in automotive environment.

    LEDs having better lifespan in a paper. But In real world your mileage may vary.

    I’m not against LEDs, but current execution is bad: too bright, too easy to blind other people.