this post was submitted on 04 Jun 2024
485 points (98.6% liked)

Programmer Humor

1352 readers
1 users here now

founded 1 year ago
MODERATORS
 
top 16 comments
sorted by: hot top controversial new old
[–] partial_accumen 22 points 5 months ago* (last edited 5 months ago) (1 children)

The inversions on both inputs to the NAND gates bothers me. Wouldn't inverting both inputs as well a the output turn a NAND back into an AND gate?

[–] [email protected] 7 points 5 months ago (1 children)

A NAND gate with two inverted inputs is equivalent to an OR gate. The ouput is only false when both inputs are false.

[–] partial_accumen 4 points 5 months ago (1 children)

You're right, it doesn't seem like it should but that checks out:

11 1

01 1

01 1

00 0

[–] AFKBRBChocolate 14 points 5 months ago

It should have some kind of latch where there are two things to push and you have to do them both, or just one or the other, or whatever.

[–] [email protected] 12 points 5 months ago

The OR gates only have 1 input for some reason. Otherwise very cool!

[–] [email protected] 5 points 5 months ago

I thought Logic Gate is the one with the two guardians and one always lies and the other speaks truth. Or is that Logical Gate? 🤔

[–] samus12345 4 points 5 months ago

That brought back memories!

[–] [email protected] 4 points 5 months ago (1 children)

Also provides steps for getting over it.

[–] [email protected] 3 points 5 months ago

The middle bar is a perfectly adequate step all by itself

[–] ceenote 3 points 5 months ago* (last edited 5 months ago)

Cool but why does that AND gate gotta be like that?

[–] [email protected] 3 points 5 months ago

redundant OR gates

[–] EtherWhack 2 points 5 months ago* (last edited 5 months ago)
[–] [email protected] 2 points 5 months ago

I could never have a gate like that. Nerds from everywhere would be showing up and taking pictures.

[–] [email protected] 0 points 5 months ago

Looks illogical to me

[–] owatnext 0 points 5 months ago

All I remember is my professor, circa 2015 "DIAMOND, DECISION!"