Leo Uino@lemmy.sdf.orgtoFunny: Home of the Haha@lemmy.world•The Gargoyle Index™ is an indicator of a functioning society
3·
8 months agoIn case anybody hasn’t seen it, the relevant Oglaf (NSFW)
In case anybody hasn’t seen it, the relevant Oglaf (NSFW)
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).
Nothing followed by the sound of a lot of cars leaving the Facility very fast.
TDD
const max12 = (x, y) => {
if (x === 1 && y === 2) {
return 2;
} else if (x === 7 && y === 4) {
return 7;
} else {
return x;
}
};
Um, actually… A signed 32-bit counter would loop back to December 1901, so the calendar is presumably 31-bit unsigned. (Sorry)
Oh, that’s fun! (And looks like an easy way to lose track of a few hours as well…)