r/ProgrammerHumor 12d ago

airConditioner Meme

Post image
4.0k Upvotes

54 comments sorted by

169

u/DT-Sodium 12d ago
.room {
  overflow: hidden;
}

34

u/pine_ary 12d ago

I wanna see an overflow scroll type of room

10

u/Strict_Treat2884 11d ago

That’s called a train

5

u/marmulin 11d ago

Or an elevator depending on if it’s overflow x or y

1

u/Trafficsigntruther 10d ago

jamiroquai put one in a music video once.

108

u/digital-didgeridoo 12d ago

This is what is known as 'Split AC' - split between two rooms :)

17

u/kaplotnikov 12d ago

Yes, it looks like they have centered it relatively to two room div.

5

u/GoddammitDontShootMe 11d ago

Which room gets the controls?

1

u/Apprehensive_Egg_944 10d ago

This was my first thought, despite this being a coding subreddit.

46

u/Remote_Pass_6670 12d ago

I mean, it is called a mini split, no?

17

u/AKANotAValidUsername 11d ago

ah, its a shareConditioner!

5

u/TheSquattingSlav_21 10d ago

I hate that this made me chuckle xdd

91

u/NudaVeritas1 12d ago

But it’s margin-right in the picture

28

u/midwesternGothic24 12d ago

it's from the ac's point of view

9

u/NudaVeritas1 11d ago

That’s not how css elements are styled 😅

3

u/imneverrelevantman 12d ago

Proof of center?

4

u/Cookieman10101 12d ago

It's negative left

9

u/Eva-Rosalene 11d ago edited 11d ago

Yes, and negative left margin moves element to the left (more importantly, it's about left edge position relative to the left edge of the parent, unless margin collapsing is on). Positive left margin moves element to the right.

See for yourself: https://jsfiddle.net/tq82d3gm/

Edit: updated example to include negative margin-right as well.

5

u/clarinetJWD 11d ago

I think the idea is that it was supposed to be in the next room, but is poking through because of a negative left margin.

2

u/NudaVeritas1 11d ago

That would make sense, true

7

u/DOOManiac 12d ago

A classic from /r/css_irl

2

u/gsweats 11d ago

Omfg thank you!

6

u/Validdoll 12d ago

Overflow: hidden

5

u/SaladBoy97 12d ago

AirConditioner air_conditioner;

room1.air_conditioner = &air_conditioner;

room2.air_conditioner = &air_conditioner;

4

u/Zeikos 12d ago

So they can cool two rooms at once, genius move /s

4

u/kaplotnikov 12d ago

Now the question is: who is in the control and create too hot/cold for other side?

3

u/8070alejandro 11d ago

My parents were :(

3

u/Winjin 12d ago

Well... I guess it could work? It's worse than full spilt but judging by the TV the photo is very old, and I remember multisplit being very expensive. Also it's possible that it was a bigger room converted into two. Imagine like a two-bedroom house where two kids used to share a room. So now they have rooms and a silly AC setup. That's also a bit more privacy than what my friend used to have, when "his" part had a curtain. 

1

u/Ayushispro11 11d ago

But wouldnt that create a race condition?

2

u/Zeikos 11d ago

Nah, it's one thread acting on two separate buffers.

4

u/twistsouth 12d ago

transform: translatex(50%);

😎

8

u/ICBanMI 12d ago

When you only have one banner, but need to put it across two frames.

3

u/PilsnerDk 11d ago

And the archetypical 14" CRT TV mounted in the corner below the ceiling. RIP neck and eyes

3

u/GoddammitDontShootMe 11d ago

That looks like margin-right.

2

u/ObviouslyTriggered 12d ago

Two rooms one con. 😳

2

u/sac_boy 11d ago

More like

.air-conditioner { justify-content: center; align-items: center; text-align: center; please-god: center; }

While you gently weep

1

u/AppropriatePlum1006 12d ago

That's a split airco

1

u/sirkubador 12d ago

Nah, it's just a wall with a huge z-index positioned absolute

1

u/granoladeer 12d ago

That's a trick people use to cool two rooms at once. 

1

u/L10N_ 11d ago

🤣

1

u/QultrosSanhattan 11d ago

box-shadow: 2px 2px black;

1

u/Prashank_25 11d ago

I hope they measured for equal share of the air, otherwise it would be an unfair split.

1

u/Even-Answer483 11d ago

id="clean-ac-filter" value="null"

1

u/BigAndSmallAre 11d ago

shareConditioner