Masimatutu@lemm.ee to Programmer Humor · 1 year agotrick OR treatmedia.infosec.exchangeimagemessage-square21fedilinkarrow-up11.15Karrow-down19
arrow-up11.14Karrow-down1imagetrick OR treatmedia.infosec.exchangeMasimatutu@lemm.ee to Programmer Humor · 1 year agomessage-square21fedilink
minus-squareAntiOutsideAktion [he/him]@hexbear.netlinkfedilinkEnglisharrow-up11·edit-21 year agoMe, fresh out of COMP301, bragging about how I can make any halloween costume out of only xor gates
minus-squarewvstolzinglinkfedilinkarrow-up4·1 year agoYou mean NAND gates? (Trick NAND Trick) NAND (Treat NAND Treat) <-> Trick or Treat
minus-squareAntiOutsideAktion [he/him]@hexbear.netlinkfedilinkEnglisharrow-up2·1 year agopretty sure both work
minus-squarewvstolzinglinkfedilinkarrow-up1·1 year agoNAND and XOR aren’t equivalent, though | X | Y | X NAND Y | | 0 | 0 | 1 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 | | X | Y | X XOR Y | | 0 | 0 | 0 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 | & XOR can be reduced to NAND; not sure if NAND can be reduced to XOR
minus-squaremyslsl@mastodon.sociallinkfedilinkarrow-up2·1 year ago@walthervonstolzing @AntiOutsideAktion If ya’ll get bored and wanna read more about this, this is a property called functional completeness. I’m pretty sure nand and nor are the only functionally complete binary operators, so xor shouldn’t be functionally complete. https://en.m.wikipedia.org/wiki/Functional_completeness
minus-squareAntiOutsideAktion [he/him]@hexbear.netlinkfedilinkEnglisharrow-up1arrow-down1·edit-21 year agopretty sure I meant to say nor
Me, fresh out of COMP301, bragging about how I can make any halloween costume out of only xor gates
You mean NAND gates?
(Trick NAND Trick) NAND (Treat NAND Treat) <-> Trick or Treat
pretty sure both work
NAND and XOR aren’t equivalent, though
| X | Y | X XOR Y | | 0 | 0 | 0 | | 1 | 0 | 1 | | 0 | 1 | 1 | | 1 | 1 | 0 |
& XOR can be reduced to NAND; not sure if NAND can be reduced to XOR
@walthervonstolzing @AntiOutsideAktion
If ya’ll get bored and wanna read more about this, this is a property called functional completeness. I’m pretty sure nand and nor are the only functionally complete binary operators, so xor shouldn’t be functionally complete.
https://en.m.wikipedia.org/wiki/Functional_completeness
pretty sure I meant to say nor