858
Trick OR Treat (mander.xyz)
top 39 comments
sorted by: hot top controversial new old
[-] chevy9294@monero.town 35 points 3 weeks ago

You forgot 0 and everything.

[-] cybervseas@lemmy.world 23 points 3 weeks ago

Trick TRUE Treat?

Trick FALSE Treat?

I don't remember what we called those in my intro comp sci class.

[-] NeatNit@discuss.tchncs.de 27 points 3 weeks ago

Sure, but what about Trick IMPLIES Treat?

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 4 points 3 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 1 points 3 weeks ago* (last edited 3 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.

I'm not going to draw a diagram, but here's the "truth table" for A implies B:

A, B, A -> B
N, N, undefined
N, Y, undefined
Y, N, false
Y, Y, true
[-] nelly_man@lemmy.world 5 points 3 weeks ago

If A is false, A -> B is true regardless of what B is, so the two undefined terms in your truth table should be true.

So it is fairly easily translated into a shaded Venn Diagram. It's simply everything shaded aside from Trick only.

[-] fossilesque@mander.xyz 26 points 3 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 14 points 3 weeks ago

Add flavoured salts for more variety. I'm partial to Tajin or Montreal Steak Spice.

[-] watson387@sopuli.xyz 5 points 3 weeks ago
[-] bahbah23@lemmy.world 3 points 3 weeks ago
[-] sqw@lemmy.sdf.org 2 points 3 weeks ago

the whole seeds do taste good but its a bit like chewing up some bits of wood

[-] Fiivemacs@lemmy.ca 9 points 3 weeks ago

This is just great

[-] cybervseas@lemmy.world 7 points 3 weeks ago
[-] xorollo@leminal.space 3 points 3 weeks ago

That's every other day of the year

[-] humanspiral@lemmy.ca 3 points 3 weeks ago

What is xnor and when did that become a thing?

[-] lud@lemm.ee 12 points 3 weeks ago* (last edited 3 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 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 2 points 3 weeks ago

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

so AND. Always AND.

[-] lud@lemm.ee 10 points 3 weeks ago* (last edited 3 weeks ago)

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

[-] RamblingPanda@lemmynsfw.com 1 points 3 weeks ago

That's the reason I set up Home Assistant. I'm not smart enough for wiring.

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

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.

Your light switches also has to be three way switches but afaik most switches in my country are that, so you can pretty much use any switch.

[-] A_Union_of_Kobolds@lemmy.world 4 points 3 weeks ago

I was gonna say lol that's a fancy way of describing three-ways

Fun fact, you can put as many 4-ways in between those 3-ways as you want, or as many as your electrician will agree to anyway. You can switch the same light from a dozen spots if you really want to.

[-] MonkeMischief@lemmy.today 1 points 3 weeks ago

"The light won't turn off! Now to hunt down the ONE SWITCH in the house that's flipped...hnngg...."

Troll electricianship would be hilarious entertainment.

[-] RamblingPanda@lemmynsfw.com 1 points 3 weeks ago

I have no clue what that means. More diagrams plz?

[-] A_Union_of_Kobolds@lemmy.world 2 points 3 weeks ago
[-] RamblingPanda@lemmynsfw.com 2 points 3 weeks ago

Yeah, it does. Thank you! What did You create it with?

[-] A_Union_of_Kobolds@lemmy.world 2 points 3 weeks ago

Oh I pulled that from Google, I just looked until I found the one that helped me grasp it.

[-] RamblingPanda@lemmynsfw.com 2 points 3 weeks ago

I understand it now, but I'll have it forgotten in five minutes. I'm a software engineer, this here is dark magic to me. Well, not this, but more complicated stuff. I envy you all for your big, juicy brains.

[-] lud@lemm.ee 3 points 3 weeks ago* (last edited 3 weeks ago)

Oh, I am no electrician. I an IT admin.

Being an electrician would be pretty high on the list of things to do if I weren't allowed to work in IT though. Seems fairly fun.

[-] RamblingPanda@lemmynsfw.com 1 points 3 weeks ago

That's at least magic I understand kind of 😅

[-] ayyy@sh.itjust.works 0 points 3 weeks ago

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

[-] lud@lemm.ee 3 points 3 weeks ago* (last edited 3 weeks 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 3 weeks ago

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

[-] porl@lemmy.world 1 points 3 weeks ago

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

[-] Skullgrid@lemmy.world 2 points 3 weeks ago

no one else saw halloween boobs in the thumbnail? am I the only pervert on here?

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

Science Memes

11148 readers
2861 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.

This is a science community. We use the Dawkins definition of meme.



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