hmmm@sh.itjust.works to Animemes@ani.socialEnglish · 3 days agoI am just sillyi.imgur.comexternal-linkmessage-square17fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkI am just sillyi.imgur.comhmmm@sh.itjust.works to Animemes@ani.socialEnglish · 3 days agomessage-square17fedilink
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkarrow-up0·3 days agoYour typical weirdos would bring home six milks, but programmers would come home with seven.
minus-squareSabata@ani.sociallinkfedilinkarrow-up0·3 days agoI don’t know what you did wrong because I got -2147483642 milks.
minus-squareTrailblazing Braille Taser@lemmy.dbzer0.comlinkfedilinkarrow-up0·edit-23 days agoSounds like a stray photon flipped your sign bit. You can flip it back with this: num_milks ^= 1 << (sizeof(num_milks) * 8 - 1);
minus-squareJPAKx4@lemmy.blahaj.zonelinkfedilinkarrow-up0·3 days agoUnless the variable is named “countMinusOne” then I’m bringing back 6
Programmer’s humor classic
Your typical weirdos would bring home six milks, but programmers would come home with seven.
I don’t know what you did wrong because I got -2147483642 milks.
Sounds like a stray photon flipped your sign bit. You can flip it back with this:
num_milks ^= 1 << (sizeof(num_milks) * 8 - 1);
Unless the variable is named “countMinusOne” then I’m bringing back 6