Sure, but what about Trick IMPLIES Treat?
Trick OR Treat
Submitted 2 weeks ago by fossilesque@mander.xyz to science_memes@mander.xyz
https://mander.xyz/pictrs/image/05fc9235-b96d-4c10-b8fb-fe6bfa18da97.jpeg
Comments
NeatNit@discuss.tchncs.de 2 weeks ago
just_an_average_joe@lemmy.dbzer0.com 2 weeks ago
It would be ((trick nor treat) or treat) so basically all the non-circle region and the treat circle is filled…
After writing this, i am wondering if you actually needed the information or was it just the funny thing to say…
Guys am I autistic?
MonkeMischief@lemmy.today 2 weeks ago
Guys am I autistic?
Haha might be? But I’m the same way and I’m pretty sure I’m not autistic…(ADHD though)
I think when you fill that spot between ((“knowledgable”) AND (“good-natured”)), you just like to share what you know if the poster’s sarcasm isn’t painfully apparent.
Never hurts to be kindly helpful. It reminds me of something my sister told me she tells her kids:
“Try to learn something new every day, and even if you don’t, teach something.” :)
xthexder@l.sw0.com 2 weeks ago
I had to double-take since in Python a common alternative to
trick ? treat : notreat
is(trick and treat) or notreat
But I don’t think this translates to overlapping circles very well. “trick implies treat” is only defined inside the trick circle, outside is undefined if treat is true or not.
fossilesque@mander.xyz 2 weeks ago
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.
troyunrau@lemmy.ca 2 weeks ago
Add flavoured salts for more variety. I’m partial to Tajin or Montreal Steak Spice.
sqw@lemmy.sdf.org 2 weeks ago
the whole seeds do taste good but its a bit like chewing up some bits of wood
Fiivemacs@lemmy.ca 2 weeks ago
This is just great
cybervseas@lemmy.world 2 weeks ago
Crossposted to !programmerhumor@lemmy.ml .
pewgar_seemsimandroid@lemmy.blahaj.zone 2 weeks ago
null?
humanspiral@lemmy.ca 2 weeks ago
What is xnor and when did that become a thing?
lud@lemm.ee 2 weeks ago
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.
humanspiral@lemmy.ca 2 weeks ago
XNOR is the opposite so it’s “must have both”
so AND. Always AND.
RamblingPanda@lemmynsfw.com 2 weeks ago
That’s the reason I set up Home Assistant. I’m not smart enough for wiring.
ayyy@sh.itjust.works 2 weeks ago
Isn’t that the same as AND but with a lot of extra words?
1024_Kibibytes@lemm.ee 2 weeks ago
I’m pretty sure that’s not exclusive or, as in the not of XOR.
porl@lemmy.world 2 weeks ago
It is essentially an equivalence gate: A==B.
zea_64@lemmy.blahaj.zone 2 weeks ago
!^
Skullgrid@lemmy.world 2 weeks ago
no one else saw halloween boobs in the thumbnail? am I the only pervert on here?
chevy9294@monero.town 2 weeks ago
You forgot 0 and everything.
cybervseas@lemmy.world 2 weeks ago
Trick TRUE Treat?
Trick FALSE Treat?
I don’t remember what we called those in my intro comp sci class.