DEV Community

Cover image for Meme Monday
Ben Halpern
Ben Halpern Subscriber

Posted on

Meme Monday

Meme Monday!

Today's cover image comes from last week's thread.

DEV is an inclusive space! Humor in poor taste will be downvoted by mods.

Top comments (57)

Collapse
 
anmolbaranwal profile image
Anmol Baranwal

The war begins 🤣

Image description

vs

Image description

Collapse
 
ben profile image
Ben Halpern

🤪

Collapse
 
alvaromontoro profile image
Alvaro Montoro

My attempt at creating a meme last week...

Geordi La Forge Meme: a black man wearing a Star Trek uniform with long goggles (that have the text CSS added to them for the meme). First, he has a hand out like asking to stop, next to the CSS code z-index: infinity. Below, he is half smiling and pointing in acceptance to the CSS code z-index:calc(infinity * 1)

Collapse
 
schemetastic profile image
Schemetastic (Rodrigo)

Did you know that there is a maximum z-index value? For example a 10 digit 9 value (9999999999) is not possible, the maximum possible z-index is 2147483647. So if you have an item with z-index: 9999999999 and another with infinity, technically they both would be 2147483647 and the winner would be the one who is placed after the other in the HTML.

Collapse
 
sh20raj profile image
Sh Raj

Thanks for the info bro

Collapse
 
alvaromontoro profile image
Alvaro Montoro

Because CSS doesn't allow to use the math constants outside of math functions... Which makes total sense.

Also, it would work with just calc(infinity). I don't know why I added the * 1. Out of habit maybe.

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

I've recently started using custom properties for z-indices to simulate a kind of "named layers" and I don't think I'll ever go back to keeping the funny numbers in sync.

Collapse
 
anitaolsen profile image
Anita Olsen

You know it! 😁 ✨
Image description

Collapse
 
sebastianccc profile image
Sebastian Christopher

Even better.
Deleting other people's code completely because you’ve done it with two lines of code 🫣

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Even better.
The "other people" is just you from a month ago and there was no reason not to do it the simple way back then other than you just didn't see it at the time.

Happens every time.

Thread Thread
 
stainlessray profile image
stainlessray

Any code I haven't touched in 15 minutes might as well be somebody else's!

Collapse
 
anitaolsen profile image
Anita Olsen

Hahah, oh man! 😈

Collapse
 
michalispapamichael profile image
Michalis Papamichael

damn that feeling...

Collapse
 
alvaromontoro profile image
Alvaro Montoro

Today's comiCSS cartoon:

cartoon with a list titled 'How to stay on top of things': 1. make a list (striked through); 2. track your time; 3. time box your tasks; 4. more difficult tasks first; 5. take breaks; 6. focus, don't multitask; 7. z-index: 4 (striked through); 8. z-index: 9999 (striked through); 9. z-index: 99999999 (striked through); 10. z-index: max(infinity)

Collapse
 
ben profile image
Ben Halpern

Let's kick things off with an awful AI-generated meme

Well dodated

Collapse
 
mattryanmtl profile image
Matt Ryan

My code is always well dodated.

Collapse
 
ben profile image
Ben Halpern

My code is self-dodating

Thread Thread
 
ranjancse profile image
Ranjan Dailata

My code is no dodating

Thread Thread
 
fyodorio profile image
Fyodor

* saw an opportunity here and left to build first automated AI-based code dodator…

Thread Thread
 
ranjancse profile image
Ranjan Dailata

Amazing dodator :)

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

"Well dodated code"

This is priceless

Collapse
 
stainlessray profile image
stainlessray

Dodating code is so 1993.

Collapse
 
sherrydays profile image
Sherry Day

meme monday

Collapse
 
michalispapamichael profile image
Michalis Papamichael

that's gold

Collapse
 
mattryanmtl profile image
Matt Ryan

This Monday, time for a classic.

I still sometimes call Control, Catarol.

Image description

Collapse
 
ben profile image
Ben Halpern

They have internet on computers now?

Collapse
 
bernert profile image
BernerT

meme monday

Collapse
 
dinerdas profile image
Diner Das

meme monday

Collapse
 
skyloft7 profile image
Mohammed

Laughs in #include

Collapse
 
dreama profile image
Dream

meme monday

Collapse
 
candoanything profile image
Joseph Amalfitano

Laughs in C#

Collapse
 
emi_black_ace profile image
Jacob Van Wagoner

What it does effectively is disallow obtaining a reference to the field, thus preventing idiotic side effects.

Collapse
 
nlxdodge profile image
NLxDoDge

record Foo(int number);

Done I fixed it for you 😎 (except that it not Mutable). so you got to create a new Record every time data changes. Bu other than that it's a nice feature in Java.