[-] lwhjp@lemmy.sdf.org 3 points 7 months ago

In case anybody hasn't seen it, the relevant Oglaf (NSFW)

[-] lwhjp@lemmy.sdf.org 44 points 7 months ago

Most people would use "word", "half-word", "quarter-word" etc, but the Anglophiles insist on "tuppit", "ternary piece", "span" and "chunk" (that's 5 bits, or 12 old bits).

[-] lwhjp@lemmy.sdf.org 1 points 11 months ago

Nothing followed by the sound of a lot of cars leaving the Facility very fast.

[-] lwhjp@lemmy.sdf.org 76 points 1 year ago

TDD

const max12 = (x, y) => {
    if (x === 1 && y === 2) {
        return 2;
    } else if (x === 7 && y === 4) {
        return 7;
    } else {
        return x;
    }
};
[-] lwhjp@lemmy.sdf.org 1 points 1 year ago

Um, actually... A signed 32-bit counter would loop back to December 1901, so the calendar is presumably 31-bit unsigned. (Sorry)

lwhjp

joined 1 year ago