r/ProgrammerHumor • • Jul 03 '21

Funny gate....

Post image
15.5k Upvotes

244 comments sorted by

2.0k

u/FoundOnTheRoadDead Jul 03 '21

Seems like a logical way to design it, actually.

139

u/somebunnny Jul 03 '21 edited Jul 23 '21

If only it was at Bill’s house.

Have you seen Gates’ gates gate?

68

u/Mr_SunnyBones Jul 03 '21

Also , when he's paying for it ; Bill Gates Gates Gate Bill.

35

u/AmateurPoster Jul 03 '21

The scandal when the paper finds it would be the Bill Gates Gates Gate Billgate.

18

u/[deleted] Jul 03 '21

And the hush money might be Bill Gates Gates Gate Billgate bill.

7

u/Keysar_Soze Jul 04 '21

And how you walk to the bank to deposit that money would be the Bill Gates Gates Gate Billgate bill gait.

5

u/ICAA Jul 04 '21

We're getting close to r/wordavalanche territory, not that I'd like to gate keep.

16

u/vige Jul 03 '21

It would be even better if he had multiple.

14

u/deijjji303 Jul 03 '21

oh I get it..

have you seen gate's gates gates?

0

u/[deleted] Jul 03 '21

[deleted]

10

u/wizardwes Jul 03 '21

I thought Pokemon

9

u/vancity- Jul 03 '21

ROOFIES, I CHOOSE YOU!

1

u/call_me_xale Jul 04 '21

Gravity Falls here.

6

u/[deleted] Jul 03 '21

just in case you forget your key and need foot holds to climb over.

5

u/[deleted] Jul 03 '21

I know this is a joke, but those logic gates are actually making for some pretty convenient foothold for fence-hopping.

7

u/OMTIMUELKA Jul 03 '21

OR are they?

0

u/[deleted] Jul 03 '21

[deleted]

194

u/[deleted] Jul 03 '21

NOR

403

u/a-walking-bowl Jul 03 '21

You shall NOT pass!

131

u/TheMogician Jul 03 '21

if (object == balrog)

{

pass = False

}

18

u/lycan2005 Jul 03 '21

if (object == balrog) exit 1;

1

u/CSsharpGO Jul 04 '21

pass = _object != balrog;

Sorry, pet peeve of mine.

0

u/[deleted] Jul 03 '21

[deleted]

17

u/christophedelacreuse Jul 03 '21

Gandalf = White

2

u/SpkyBdgr Jul 03 '21

Seeing that you left off the ; in your if statement, I want to add that you also don't need your curly braces. I think?

0

u/[deleted] Jul 03 '21

[deleted]

1

u/SpkyBdgr Jul 03 '21

Oh haha I was just assuming this was c++. I haven't taken VB yet.

0

u/[deleted] Jul 03 '21

[deleted]

→ More replies (1)

1

u/Cormandragon Jul 03 '21

But where does he fight again after turning white?

Gotta put the whole thing in a while(Balrog.alive) loop

13

u/[deleted] Jul 03 '21

so if I don't want to pass I'll pass

2

u/Amoniakas Jul 03 '21

That's the curse of gates gate, when you want to pass it you can't but when don't want to pass you'll pass it automatically.

848

u/moldor_the_flatulent Jul 03 '21

It's a LOGIC GATE !!!

24

u/[deleted] Jul 03 '21

(人 •͈ᴗ•͈)(✷‿✷)

25

u/[deleted] Jul 03 '21

[removed] — view removed comment

11

u/[deleted] Jul 03 '21

-- infinite fizzbuzz with the power of lazy evaluation
fizz :: Int -> String
fizz n 
       | n `mod` 15 == 0  = "FizzBuzz"
       | n `mod` 3  == 0  = "Fizz"
       | n `mod` 5  == 0  = "Buzz"
       | otherwise        = show n

fizzbuzz = map fizz [1..] -- make it infinite 

-- display
main :: IO()
main = mapM_ putStrLn fizzbuzz 

7

u/[deleted] Jul 03 '21

Actually, it's a logic gate gate.

16

u/[deleted] Jul 03 '21

Yeah, that's the joke.

0

u/[deleted] Jul 03 '21

[deleted]

41

u/moldor_the_flatulent Jul 03 '21

I might do a logic trace and see what breaks...:-)

152

u/DiabeticPissingSyrup Jul 03 '21

The not gates should be reserved for a fence running alongside.

81

u/Kneasle Jul 03 '21

Ah I do love some good 1-input nor gates...

14

u/CodeLobe Jul 03 '21

If we assume the single input goes to both terminals... It's just a not gate.

3

u/ohkendruid Jul 03 '21

Likewise if the missing input is 0.

4

u/wite_noiz Jul 03 '21

Or do you?

4

u/Kneasle Jul 03 '21

Absolutely - almost as much as I love 2-input not gates...

4

u/[deleted] Jul 03 '21

(A + 0)' = A'

11

u/the_d3f4ult Jul 03 '21

gate is sus

17

u/PIXELING69 Jul 03 '21

Was waiting for some dumb guy to comment this.

→ More replies (4)

13

u/unicodePicasso Jul 03 '21

Thank god someone else said it I was gonna have a hernia

26

u/althaz Jul 03 '21

Ummm... They've made this gate trivially easy to climb now...

1

u/Lightspeedish Jul 04 '21

might even be easier than a ladder

38

u/ManosVanBoom Jul 03 '21

The bus input to the top half makes the bottom half basically irrelevant right?

20

u/rabbitwonker Jul 03 '21

Plus it’s all put together with wired-ORs. Who designed this??

4

u/[deleted] Jul 03 '21

Yeah but they're structural so maybe you just ignore them.

1

u/Imyslef Jul 04 '21

The 'nor' gate has its inputs conncted because they probably ran out of 'not's and the 'or' gate has its inputs connected because they needed a buffer to amplify the signal's voltage and they ran out of 'not's so the design is technically correct.

28

u/how_do_i_read Jul 03 '21

Yo dawg, I herd you like gates, so I put gates in your gate...

13

u/Ns816235 Jul 03 '21

r/logicgatememes after all these years?!

33

u/[deleted] Jul 03 '21

GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD GET OUT OF MY HEAD

5

u/EventHorizon150 Jul 04 '21

s…S…SUS!?

73

u/Lemons13579 Jul 03 '21

All I see is Amogus

7

u/nrvnsqr117 Jul 03 '21

My brain has been poisoned

22

u/vvecker Jul 03 '21

Great for climbing!

12

u/[deleted] Jul 03 '21

Reddit loves it but it is literally bad at being a useful gate

6

u/LPO_Tableaux Jul 03 '21

Unreadable, OR only takes one parameter, making it useless

1

u/[deleted] Jul 03 '21

NOR can sometimes take one parameter. OR can too, to properly implement pipeline delay in some designs.

But I think I recall it's bad practice or something. I got a bad grade in those classes

20

u/Lekoaf Jul 03 '21

Guess I’m not enough of a programmer to see what’s funny about this. Can someone explain?

24

u/wite_noiz Jul 03 '21

The symbols are logic gates (geddit?!) used in electrical engineering.

https://en.m.wikipedia.org/wiki/Logic_gate

4

u/WikiSummarizerBot Jul 03 '21

Logic_gate

A logic gate is an idealized model of computation or physical electronic device implementing a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output. Depending on the context, the term may refer to an ideal logic gate, one that has for instance zero rise time and unlimited fan-out, or it may refer to a non-ideal physical device (see Ideal and real op-amps for comparison).

[ F.A.Q | Opt Out | Opt Out Of Subreddit | GitHub ] Downvote to remove | v1.5

5

u/[deleted] Jul 03 '21

The gate has a bunch of logic gate symbols on it. It’s been a while since I tried figuring out how processors do addition and subtraction so I may be very wrong, but I believe the triangle is a NOT (flips the bit sent to it), and the arches with flat bottoms are AND gates (0 if the inputs are different, 1 if they are the same). I don’t know about the curved base ones.

2

u/natziel Jul 04 '21

They are not, nand, and nor gates :)

1

u/[deleted] Jul 04 '21

What’s the usual shape for “and” and “or” gates?

2

u/natziel Jul 04 '21

They don't have the little circle at the end

1

u/[deleted] Jul 04 '21

Oh. I didn’t interpret that as a circle, I just thought it was a leftover of the manufacturing process or something. Thanks!

0

u/[deleted] Jul 03 '21

Electrical engineer*

Or shitty elec e student idk

10

u/[deleted] Jul 03 '21

The nor gates only have one input

9

u/[deleted] Jul 03 '21

You were supposed to spot the bug before production.

5

u/[deleted] Jul 03 '21

On a side note can’t someone just pick the latch by putting their hand through the gate?

7

u/SomeAnonymous Jul 03 '21

Given that the logic gates all form very nicely spaced footholds, I don't think this gate is a serious deterrent to entry.

2

u/t-rich-92 Jul 03 '21

It appears to be a mag-lock. The top right of the gate appears to have an electromagnet (the silver pieces), and it looks like the button/keypad/card reader is on the wall on the left side of the photo.

8

u/beewyka819 Jul 03 '21

Or gates lookin like a sussy baka

4

u/ManosVanBoom Jul 03 '21

That's true love right there. It may not .make a lot of sense but is beautiful to behold.

4

u/godeater47x Jul 03 '21

gate of gates

4

u/[deleted] Jul 03 '21

dont say it

4

u/Boolean Jul 03 '21

This pleases me.

4

u/Xx_Jean-Yves_xX Jul 03 '21

Why did I saw the funny amog bean character before realizing these are logic gates?

4

u/chain_letter Jul 03 '21

Nam flashbacks

6

u/Fenris1729 Jul 03 '21

So does it run doom or

1

u/zvive Jul 03 '21

Yes but not chrysalis

3

u/[deleted] Jul 04 '21

Congratulations u/PIXELING69 ! Your post was the top post on r/ProgrammerHumor today! (07/04/21)

Top Post Counts: r/ProgrammerHumor (1)

This comment was made by a bot

2

u/AwkwardSegway Jul 03 '21

Gate-ception

2

u/SailorFuzz Jul 03 '21

I am so bothered by the mismatched alignment of the top half vs the bottom half.

Look at it, on the top half the symbols go: up, down, up, down, up.

But on the bottom its: down, up, down, up, up.

That one misplaced symbol on the bottom..... I cant unsee it and it irrationally bothers me so much.

2

u/Sentouki- Jul 03 '21

why do the OR gates have only one input?

1

u/CaleHarnish Jul 03 '21

Yeah the or gates really ruin the whole thing for me

2

u/[deleted] Jul 03 '21

That's right, it goes in the square hole!

2

u/xrayden Jul 03 '21

"Logic Gate"

2

u/IleriumX Jul 03 '21

I don't get it help

1

u/[deleted] Jul 04 '21

You're on this sub but don't know what logic gates are?

1

u/IleriumX Jul 04 '21 edited Jul 04 '21

Nah I'm a Beginner Programmer

Also why are you lurking through my post history

2

u/sefhollapod Jul 03 '21

I LOVE THIS

OR

2

u/[deleted] Jul 04 '21

AND?

1

u/Perrydiculous Jul 04 '21

or?

0

u/[deleted] Jul 04 '21

[deleted]

1

u/Perrydiculous Jul 05 '21

I made a joke

1

u/[deleted] Jul 05 '21

I was thinking it was a gate but my lazy ass didn't want to search the it up

2

u/YSOFF Jul 03 '21

Just this is entrance to the church of robotology.

2

u/IAmNotNathaniel Jul 03 '21

The temple must have the gate around the back

1

u/veduchyi Jul 03 '21

Behold! A regular gate made of logical gates!

1

u/JaxxAphids Jul 03 '21

Nand gate

1

u/[deleted] Jul 03 '21

I see what they did there

1

u/MrSloppyPants Jul 03 '21

Ok this is pretty brilliant.

1

u/Nefariousness_Future Jul 03 '21

Well that is a logic gate

1

u/CST1230 Jul 03 '21

To unlock, get all the outputs at the top to true

1

u/ThinCrusts Jul 03 '21

NOTs, ORs, and NORs.

1

u/Jackdaniele96 Jul 03 '21

Fuzzy Logic

1

u/[deleted] Jul 03 '21

You can pass only if you are true

2

u/arapajoe Jul 03 '21

The gate of gates

1

u/SteeleDynamics Jul 03 '21

I love it!

We need a truth table for this.

1

u/[deleted] Jul 03 '21

if(doubleEntendre) upVote = true;

1

u/[deleted] Jul 03 '21

Ignoring the ones, the 16 bit password in decimal is 9747

Great way to hide a gate code lmaooo. Decimal 10011000010011 (A B' C' D E F' G' * H' I ' J K' L' M N)

Tell me if I got my work wrong. Still a student. Treated single input gates like just nots.

1

u/Furwing Jul 03 '21

And it is, or not?

1

u/Wherearemylegs Jul 03 '21

What’s with all the logic flipping on the NANDs? That’s just an OR now

1

u/odnish Jul 03 '21

No, its a NOR gate

2

u/Wherearemylegs Jul 03 '21

(A’B’)’

((A + B)’)’

A + B

It’s an OR.

1

u/odnish Jul 03 '21

I stand corrected.

1

u/IG_Triple_OG Jul 03 '21

AMOG US?!!?!? 😳😳

1

u/MooseHeckler Jul 03 '21

At first, I couldn't figure out what was so funny.

1

u/[deleted] Jul 03 '21

Ehem

when the logic gate is sus

1

u/IrthenMagor Jul 03 '21

I count 11.

1

u/[deleted] Jul 03 '21

Looks cool but it defeats the purpose of the gate when you got foot holds to climb over.

1

u/LombardiD Jul 03 '21

They should add some flip-flops so we need a certain combination to get in

1

u/[deleted] Jul 03 '21

Jokes aside, this gate looks very climbable

1

u/NEGMatiCO Jul 03 '21

After all it's a logic gate

1

u/Pacmanfrog41 Jul 03 '21

Among us. Do u see it?

1

u/jayphunk Jul 03 '21

A logic gate

1

u/FlyByPC Jul 03 '21

Neat -- but those poor NOR gates need help.

1

u/Yugicrafter Jul 03 '21

Why does the NOR? Gate at the bottom only have one input?

2

u/justadiode Jul 03 '21

They ran out of normal inverters

1

u/Drakethos Jul 03 '21

Took me a second to notice they were more than just shapes. Pretty funny.

1

u/trotski94 Jul 03 '21

Its cool, but those are some nice looking foot holes now. Practically a ladder.

1

u/justbeastrz Jul 03 '21

I realized after a full 2 minutes of looking what it was

1

u/[deleted] Jul 03 '21

A gate gate.

1

u/[deleted] Jul 03 '21

sus

1

u/guiltysnark Jul 03 '21

Dude, that's not going to keep the bugs out

1

u/aigle_noir Jul 03 '21

Where's the K-map?

1

u/dip2leo Jul 03 '21

You mean LOGIC GATE?

1

u/JNSStudios_YT Jul 03 '21

My baboon brain thought this was an Among Us joke until I noticed what sub it was on.

1

u/solidgold70 Jul 03 '21

Is it logically to not have a handle on it?

1

u/DrTankHead Jul 03 '21

Those how this gate has convenient climbing holes built right into them. Great design. /some

I mean I love the design factor but this ultimately doesn't keep anything out, so what's the point?

1

u/_clinton_email_ Jul 03 '21

Looks like several gates.

1

u/The_Irish_Rover26 Jul 03 '21

And?

2

u/DeebsterUK Jul 03 '21

1

u/WikiSummarizerBot Jul 03 '21

Logic_gate

A logic gate is an idealized model of computation or physical electronic device implementing a Boolean function, a logical operation performed on one or more binary inputs that produces a single binary output. Depending on the context, the term may refer to an ideal logic gate, one that has for instance zero rise time and unlimited fan-out, or it may refer to a non-ideal physical device (see Ideal and real op-amps for comparison).

[ F.A.Q | Opt Out | Opt Out Of Subreddit | GitHub ] Downvote to remove | v1.5

1

u/The_Irish_Rover26 Jul 03 '21

1

u/WikiSummarizerBot Jul 03 '21

AND_gate

The AND gate is a basic digital logic gate that implements logical conjunction (∧) from mathematical logic – it behaves according to the truth table above. A HIGH output (1) results only if all the inputs to the AND gate are HIGH (1). If none or not all inputs to the AND gate are HIGH, LOW output results. The function can be extended to any number of inputs.

[ F.A.Q | Opt Out | Opt Out Of Subreddit | GitHub ] Downvote to remove | v1.5

1

u/The-Requiem Jul 03 '21

Why is everyone freaking out? it's just a society named Logic AND it's just a regular gate to their compound. A Logic Gate

1

u/jacob_ewing Jul 03 '21

Truly, the gate of all gates.

1

u/[deleted] Jul 03 '21

I didn’t realize this was programmerhumor and thought it was an amogus joke

1

u/[deleted] Jul 03 '21

Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it Don’t think it Don’t say it

1

u/[deleted] Jul 03 '21

Amogus

1

u/Kruger_Sheppard Jul 03 '21

Funny gate painful memories

1

u/[deleted] Jul 03 '21

1

u/Adept_Bottle_4996 Jul 03 '21

Pretty cool design.

1

u/Allen_Koholic Jul 03 '21

That NOR gate with only one input bothers me. A lot.

1

u/sillysideofthecorn Jul 03 '21

A gate of gates

1

u/Pool_cocktail_repeat Jul 03 '21

It's a pac-man gate!!

1

u/curiosityLynx Jul 03 '21

Missed opportunity: Could have had the gates actually interact with each other.

1

u/[deleted] Jul 03 '21

Amongus

1

u/SomolianButtPirate Jul 03 '21

This gate looks a little sus am I right

1

u/Dario24se Jul 03 '21

Pretty sus gate

1

u/PseudoEmpathy Jul 04 '21

What is this? A Nand/Not/Nor gate?

1

u/ksandom Jul 04 '21

Funny? Or Awesome?!

1

u/itgirl10101 Jul 04 '21

I thought they were foot holes to help you climb over

1

u/sriniketana Jul 04 '21

It is a logical gate

1

u/palash90 Jul 04 '21

Gate of gates...

1

u/theplowshare Jul 04 '21

Logic-gate

1

u/youcanseemyface Jul 04 '21

Any idea where this is located?

1

u/Vylvlur Jul 05 '21

Definition of logic gates.

1

u/[deleted] Jul 08 '21

It’s a real life logic door!

1

u/Right_Nerve_6414 Jul 09 '21

FuNnY GaTeS.. lol

1

u/[deleted] Jul 03 '21

Its a logic gate! I love it.

0

u/SUPERazkari Jul 03 '21

Dont fucking say it

0

u/[deleted] Jul 03 '21

[deleted]

→ More replies (21)

241

u/[deleted] Jul 03 '21

[removed] — view removed comment

51

u/ErionFish Jul 03 '21

They ran out of not gates and didn’t have time to call Texas Instruments to get some more shipped out, so they made do with what they have saying “I’ll fix it before production”

71

u/IAmNotNathaniel Jul 03 '21

I know, it's so close to being satisfying! If they hadn't done it with the AND/NAND I wouldn't have thought anything of it.

→ More replies (2)
→ More replies (15)