this post was submitted on 30 Oct 2024
722 points (99.3% liked)

Science Memes

10819 readers
2623 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.


Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] humanspiral@lemmy.ca 3 points 11 hours ago (4 children)

What is xnor and when did that become a thing?

[–] lud@lemm.ee 11 points 10 hours ago* (last edited 9 hours ago) (2 children)

XNOR (Exclusive NOR) is the opposite of XOR (Exclusive OR)

A way to remember XOR is "must have one or the other but not both" XNOR is the opposite so it's "must have both or none" so both inputs must be 1 or 0.

XNOR or XOR is very common in homes with staircases so that you can turn on and off the light in the staircase regardless of which floor you are on.

If you google staircase switches, you will be told that they mostly use XOR but according to the wiring diagrams they use XNOR.

[–] humanspiral@lemmy.ca 1 points 9 hours ago (1 children)

XNOR is the opposite so it’s “must have both”

so AND. Always AND.

[–] lud@lemm.ee 8 points 9 hours ago* (last edited 9 hours ago)

My bad. It's "must have both or none"

[–] ayyy@sh.itjust.works 0 points 7 hours ago (1 children)

Isn’t that the same as AND but with a lot of extra words?

[–] lud@lemm.ee 3 points 7 hours ago* (last edited 7 hours ago)

No, AND won't match 0,0 while XNOR will. An AND switch would be useless for a staircase.

AND also won't match 1,0 or 0,1 while XOR does.

[–] 1024_Kibibytes@lemm.ee 7 points 10 hours ago

I'm pretty sure that's not exclusive or, as in the not of XOR.

[–] porl@lemmy.world 1 points 10 hours ago

It is essentially an equivalence gate: A==B.