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.

Reminder: Every day is Meme Monday on DUMB DEV

Top comments (113)

Collapse
 
alvaromontoro profile image
Alvaro Montoro

Today's comiCSS:

Cartoon with the CSS and JS logos looking at a purple visited link. CSS: It's definitely purple. JS: No. It's blue. CSS: Purple. JS: Blue. CSS: Purple. JS: It's blue, bro! CSS: Dude: Pur-Ple. JS: Are you sure it's not blue? CSS: YES! JS: Bro! I think I may be colorblind!

Collapse
 
ben profile image
Ben Halpern

lol

Collapse
 
maxart2501 profile image
Massimo Artizzu • Edited

For those wondering, it doesn't have to do with colors - at least, not with specific colors.

It has to do with privacy.

Collapse
 
alvaromontoro profile image
Alvaro Montoro

^this

Thread Thread
 
ben profile image
Ben Halpern

That privacy dynamic is something I knew but never thought much about. It would make a really interesting article.

Collapse
 
mileswk profile image
MilesWK

yes, The great purple/blue debate!

Collapse
 
alvaromontoro profile image
Alvaro Montoro

But it's blue!
—JS, definitely

Thread Thread
 
mileswk profile image
MilesWK

yes. agreed. Frontend developers

Collapse
 
gamelord2011 profile image
Reid Burton

It doesn't matter guys.

Collapse
 
gamelord2011 profile image
Reid Burton

It's #7f5fa8

Thread Thread
 
gamelord2011 profile image
Reid Burton

I checked.

Thread Thread
 
alvaromontoro profile image
Alvaro Montoro

But did you check with JS? 😉

Thread Thread
 
gamelord2011 profile image
Reid Burton

JS does not see color.

Collapse
 
freddy-castro profile image
Freddy Castro Ponce

Image description

Collapse
 
gamelord2011 profile image
Reid Burton

The registration page broke...

Collapse
 
anitaolsen profile image
Anita Olsen

And the software with it.

Collapse
 
anitaolsen profile image
Anita Olsen

Teehee 😋
Touch grass. A PC keyboard and a PC mouse with a grass-like appearance

Collapse
 
gamelord2011 profile image
Reid Burton • Edited

I found a few keycaps on etsy:
One, two, three, four (plants are IN the keys), five (this one has "stress mushrooms")

Collapse
 
ben profile image
Ben Halpern

These are kind of amazing

Thread Thread
 
anitaolsen profile image
Anita Olsen

They certainly look very green and very touchable nods

Collapse
 
anitaolsen profile image
Anita Olsen

Oh woah, such things truly exist!

Collapse
 
avanichols_dev profile image
Ava Nichols

it me

Collapse
 
anitaolsen profile image
Anita Olsen

Me as well 🤭

Collapse
 
gamelord2011 profile image
Reid Burton

I NEED THAT!

Collapse
 
an_c profile image
an

no cap frr

Collapse
 
anitaolsen profile image
Anita Olsen

Woah, you need to touch grass too?

Collapse
 
tanyonghe profile image
Tan Yong He • Edited

Recently made this meme when writing a tech post about Evil Twin Attacks 😈

Two Buttons

If you're curious, here's the full article!

Collapse
 
etienne-dev profile image
Etienne Tot

Why do it once manually when I can spend hours automating it?

Image description

Collapse
 
maxart2501 profile image
Massimo Artizzu

Nothing wrong, actually...

Image description

Source: xkcd

Collapse
 
gamelord2011 profile image
Reid Burton

You see the thing with my age on my website, that's a react component I spent 16 hrs building.

Thread Thread
 
ben profile image
Ben Halpern

What did I just click on?

Thread Thread
 
gamelord2011 profile image
Reid Burton

What do you mean?

Collapse
 
ben profile image
Ben Halpern

Hehe

Collapse
 
hbthepencil profile image
HB_the_Pencil

Because next time, it'll only take seconds--until you have to debug :P

Collapse
 
gamelord2011 profile image
Reid Burton

It took me 15 hours to write some code, that saves me rembering a two second task once a year.

Collapse
 
raptor78455 profile image
Antoine Raymond

Are you referring to your code that renders the age based on the given date ? ^^

I just took a look to your website, that's impressive !

Thread Thread
 
gamelord2011 profile image
Reid Burton

Yes.

Collapse
 
wsoltani profile image
Wassim Soltani

Fellow shrimps, make yourselves known!

Image description

Collapse
 
ben profile image
Ben Halpern

me right now

Collapse
 
hbthepencil profile image
HB_the_Pencil

I hate to say that's me but that's me

Thread Thread
 
ben profile image
Ben Halpern

🫨

Collapse
 
besworks profile image
Besworks

if else alignment chart

Collapse
 
mileswk profile image
MilesWK

Python loops:

Good:

while True: 
  print('hello')
Enter fullscreen mode Exit fullscreen mode

Kind of Good:

for x in range(0,9999999999999999999999999999999999999999999):
   print('hello')
Enter fullscreen mode Exit fullscreen mode

Bad:

import threading
import time
import random
import itertools
from functools import reduce

class HelloOracle:
    def __init__(self):
        self.messages = ["h", "e", "l", "l", "o"]
        self.truth = self.conjure_eternity()

    def assemble_message(self):
        return reduce(lambda x, y: x + y, self.messages)

    def summon_keeper_of_cycles(self):
        class Keeper:
            def __init__(self):
                self.universe = itertools.cycle([True, True, True])
            def tick(self):
                return next(self.universe)
        return Keeper()

    def conjure_eternity(self):
        while True:
            yield self.assemble_message()

    def delay_of_the_sages(self):
        ancient_times = [0.001 * i for i in range(1, 4)]
        return random.choice(ancient_times)

    def unleash_forever(self):
        keeper = self.summon_keeper_of_cycles()
        chant = self.truth

        def recursive_awakening(depth=1):
            if not keeper.tick():
                return
            message = next(chant)
            print(message)
            time.sleep(self.delay_of_the_sages())
            threading.Thread(target=recursive_awakening, args=(depth + 1 if random.random() > 0.5 else 1,)).start()

        recursive_awakening()

class CosmicInitiator:
    def __init__(self):
        self.oracle = HelloOracle()

    def begin(self):
        self.oracle.unleash_forever()

def the_final_beginning():
    ritual = CosmicInitiator()
    ritual.begin()

if __name__ == "__main__":
    the_final_beginning()
Enter fullscreen mode Exit fullscreen mode

ChatGPT made the last one

Collapse
 
hbthepencil profile image
HB_the_Pencil

Actually kinda cool. Probably doesn't work, but a good example of how to write convoluted code :D

Collapse
 
ben profile image
Ben Halpern

Love this template

Collapse
 
hbthepencil profile image
HB_the_Pencil

What about


if (condition === true) {
    return A;
}
else if (condition === false) {
    return B;
}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
besworks profile image
Besworks

That would have to be Lawful Chaotic. Because it looks carefully defined, but it's missing the else statement to handle the case where condition is not boolean.

Thread Thread
 
ben profile image
Ben Halpern

This guy logics

Collapse
 
mellen profile image
Matt Ellen-Tsivintzeli

Chaotic evil (JS edition)

switch(true)
{
  case condition:
    return A;
  default:
    return B;
}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
besworks profile image
Besworks

Definitely a better Chaotic Evil example than the one in the chart because that try/finally code is more like Chaotic Nonsense.

Collapse
 
tullis12 profile image
Tullis

meme monday

Collapse
 
ben profile image
Ben Halpern

Interesting outcome from this week's AI-generated take on the cover image joke

Image description

Collapse
 
wsoltani profile image
Wassim Soltani

I'm done 😂

Image description

Collapse
 
schemetastic profile image
Schemetastic (Rodrigo)

This is some good improvement for the really bad ones of past weeks, haha,

Collapse
 
gallowaydeveloper profile image
Galloway Developer

meme monday

Collapse
 
ben profile image
Ben Halpern

This is where the placeholder is needed.

Some comments may only be visible to logged-in visitors. Sign in to view all comments.