- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
Sure, but what about Trick IMPLIES Treat?
You forgot 0 and everything.
Trick TRUE Treat?
Trick FALSE Treat?
I don’t remember what we called those in my intro comp sci class.
Toasted pumpkin seeds:
Using running water seperate seeds from pumpkin guts. Soak them in salt water while you carve. Preheat and bake at 220C for 15-20 mins. Eat them whole.
Add flavoured salts for more variety. I’m partial to Tajin or Montreal Steak Spice.
Cinnamon and sugar ftw
And butter
This is just great
Crossposted to !programmerhumor@lemmy.ml .
What is xnor and when did that become a thing?
I’m pretty sure that’s not exclusive or, as in the not of XOR.
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” so either both inputs are 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.
That’s the reason I set up Home Assistant. I’m not smart enough for wiring.
Wiring a staircase switch is actually very easy, you pretty much just need two wires going from one switch to another and then a light
It is essentially an equivalence gate: A==B.
!^