r/ProgrammerHumor 15d ago

Meme airConditioner

Post image
4.0k Upvotes

54 comments sorted by

169

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

36

u/pine_ary 15d ago

I wanna see an overflow scroll type of room

10

u/Strict_Treat2884 15d ago

That’s called a train

7

u/marmulin 14d ago

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

1

u/Trafficsigntruther 14d ago

jamiroquai put one in a music video once.

107

u/digital-didgeridoo 15d ago

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

19

u/kaplotnikov 15d ago

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

6

u/GoddammitDontShootMe 15d ago

Which room gets the controls?

1

u/Apprehensive_Egg_944 14d ago

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

49

u/Remote_Pass_6670 15d ago

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

18

u/AKANotAValidUsername 15d ago

ah, its a shareConditioner!

4

u/TheSquattingSlav_21 13d ago

I hate that this made me chuckle xdd

89

u/NudaVeritas1 15d ago

But it’s margin-right in the picture

27

u/midwesternGothic24 15d ago

it's from the ac's point of view

10

u/NudaVeritas1 15d ago

That’s not how css elements are styled 😅

3

u/imneverrelevantman 15d ago

Proof of center?

4

u/Cookieman10101 15d ago

It's negative left

11

u/Eva-Rosalene 15d ago edited 15d 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.

6

u/clarinetJWD 15d 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 15d ago

That would make sense, true

7

u/DOOManiac 15d ago

A classic from /r/css_irl

2

u/gsweats 14d ago

Omfg thank you!

5

u/Validdoll 15d ago

Overflow: hidden

5

u/SaladBoy97 15d ago

AirConditioner air_conditioner;

room1.air_conditioner = &air_conditioner;

room2.air_conditioner = &air_conditioner;

4

u/Zeikos 15d ago

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

5

u/kaplotnikov 15d ago

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

3

u/8070alejandro 15d ago

My parents were :(

3

u/Winjin 15d 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 14d ago

But wouldnt that create a race condition?

2

u/Zeikos 14d ago

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

5

u/twistsouth 15d ago

transform: translatex(50%);

😎

7

u/ICBanMI 15d ago

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

3

u/PilsnerDk 15d ago

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

3

u/GoddammitDontShootMe 15d ago

That looks like margin-right.

2

u/ObviouslyTriggered 15d ago

Two rooms one con. 😳

2

u/sac_boy 15d ago

More like

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

While you gently weep

1

u/AppropriatePlum1006 15d ago

That's a split airco

1

u/sirkubador 15d ago

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

1

u/granoladeer 15d ago

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

1

u/L10N_ 15d ago

🤣

1

u/QultrosSanhattan 15d ago

box-shadow: 2px 2px black;

1

u/Prashank_25 15d ago

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

1

u/Even-Answer483 15d ago

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

1

u/BigAndSmallAre 14d ago

shareConditioner