DEV Community

Cover image for Meme Monday

Meme Monday

Ben Halpern on August 12, 2024

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.

Collapse
 
best_codes profile image
Best Codes

npm audit

🙄

Happens to me too much...

Collapse
 
raddevus profile image
raddevus

I don't know enough about NPM but I often see this same problem.
and the additionally weird thing is that when I run npm audit fix a second time then it reverts to the other vulnerability list, then I run it again and it switches back to the 2nd message with a different number of vulnerabilities. I don't understand it, so I just do "hopeful" programming. Move on and hope it's not so bad.

Collapse
 
best_codes profile image
Best Codes

For me it usually happens something like this:

New project with 6 errors:
npm audit fix: 20 new errors appear
"A fix is available via 'npm audit fix --force'"
npm audit fix --force: There are only 9 errors now
(I proceed to give up and hope everything will be fine).

😃

Thread Thread
 
eerk profile image
eerk

I always wonder, if npm audit fix fixes the problem, why can't they run it themselves on the npm servers?

Thread Thread
 
best_codes profile image
Best Codes • Edited

It's an automated process that upgrades or downgrades the dependencies with vulnerabilities, which means it won't always fix the problem. I'ts often a 'breaking change' for small issues, which is not something you want to do globally.

Collapse
 
cwrite profile image
Christopher Wright

meme monday

Collapse
 
alberto_camacho_a61c4a754 profile image
June

Yes.

Collapse
 
ben profile image
Ben Halpern

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

Awful meme

Collapse
 
best_codes profile image
Best Codes • Edited

He grew a beard in 72 hours?!

Looks like he lost his eyebrows as well...

Collapse
 
phalkmin profile image
Paulo Henrique

that's how it works with me

Thread Thread
 
best_codes profile image
Best Codes

Wow 😲

Collapse
 
daveparr profile image
Dave Parr

He was using an llm to bug fix and it advised him to cut his eyebrows off and glue them to his chin.

Thread Thread
 
best_codes profile image
Best Codes

😂 I wonder how many people would actually do what it said (maybe for something less drastic)... some people trust AI too much...

Collapse
 
sirajulm profile image
Sirajul Muneer

We don’t know how stress can impact different people. 🤣

Thread Thread
 
best_codes profile image
Best Codes

😆

Collapse
 
maxart2501 profile image
Massimo Artizzu

Yes, out of stress.

Thread Thread
 
best_codes profile image
Best Codes

😂

Collapse
 
saptakbhoumik profile image
SaptakBhoumik • Edited

When it works(it shouldn't):-
Why is it working(even worse)

Collapse
 
shricodev profile image
Shrijal Acharya

So true 😂

Collapse
 
blenderman profile image
BBM

meme monday

Collapse
 
duncan_true profile image
Dun

meme monday

Collapse
 
sirajulm profile image
Sirajul Muneer

How a C developer writes Python code 😂

Collapse
 
anscarlett profile image
anscarlett

Don't be silly... a C developer would never write python code.

Thread Thread
 
sirajulm profile image
Sirajul Muneer

They always do but with semicolons 😂

Collapse
 
daveparr profile image
Dave Parr

Can confirm. As a python dev that's the most readable C I've ever seen.

Except the private static void is making me think it's Java 🤔 ⁉️

Collapse
 
softweaprograma profile image
Anthony G

Java written by a lisp developer 😬

Collapse
 
primetarget profile image
Ethan Anderson

meme monday

Collapse
 
daveparr profile image
Dave Parr

That's the most sensible explanation for vim I've ever heard. 10/5

Collapse
 
0xarnav profile image
Arnav

Image description

Collapse
 
jance_jacobs profile image
Jance Jacobs

meme monday

Collapse
 
daveparr profile image
Dave Parr

As a python dev I do crash my car when handling webstyling. I do it on purpose though as it's easier than reading my own CSS.

Collapse
 
average_american_ac39b31b profile image
Average American

Okay. I finally get memes. I guess I just had to relate!

Collapse
 
youngfra profile image
Fraser Young

meme monday

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

laughs in vim

Collapse
 
dreama profile image
Dream

meme monday

Collapse
 
warwait profile image
Parker Waiters

meme monday

Collapse
 
jerryhargrovedev profile image
Jerry Hargrive

meme monday

Collapse
 
bernert profile image
BernerT

meme monday

Collapse
 
avanichols profile image
Ava Nichols

meme monday

Collapse
 
aewens profile image
Austin Ewens

...What? A palindrome is "a word, verse, or sentence, that is the same when read backward or forward" like "racecar" and the name "Otto". So "()()" is absolutely a palindrome because backwards it is still "()()". The string "())(" backwards is ")(()", which is not the same string... Am I missing something??

Collapse
 
jwrightecs profile image
jwrightecs

"()()" backwards is ")()(" (open close open close backwards is close open close open), you are switching the open and close parentheses when you reverse it, which you wouldn't do in a palinfrome

Thread Thread
 
aewens profile image
Austin Ewens

That is more "inverting" than it is "reversing", as well the meme explicitly referred to it as a string (and when you reverse a string there's no additional operation of attempting you "invert" the characters, you just reorder the array of characters in the inverted direction).

Now I'm curious what a name of the operation for reversing and inverting characters would be to make this make more sense.

Thread Thread
 
jwrightecs profile image
jwrightecs

Inverting "()()" would make "()()", reversing is, split the string into individual characters, reverse the order of the list and join it back together. If a palindrome required inverting, then "racecar" wouldn't be a palindrome because "ɿɒɔɘɔɒɿ" is not the same as "racecar". "()()" doesn't read the same backwards as forwards because forwards it is "open paren close paren open paren close paren", backwards it is "close paren open paren close paren open paren"

Thread Thread
 
aewens profile image
Austin Ewens

Yeah, you’re right. Writing it down character by character finally made it click for me 😅
Well, I definitely feel silly now.

Collapse
 
roman_k_9a758ce51b79f9629 profile image
Roman K

Yes

Collapse
 
richmirks profile image
Richard Mirks

meme monday

Collapse
 
jjbb profile image
Jason Burkes

meme monday

Collapse
 
sherrydays profile image
Sherry Day

meme monday

Collapse
 
destynova profile image
Oisín

I think it's often the other way around... senior devs (good ones anyway) tend to care more about overall correctness and clarity, where less experienced devs get fixated on minor nitpicks and subjective personal preferences.

Collapse
 
volfcan profile image
volfcan

Image description

Collapse
 
ivis1 profile image
Ivan Isaac

meme monday

Collapse
 
chariebee profile image
Charles Brown

meme monday

Collapse
 
anscarlett profile image
anscarlett

Tell me you don't know rust without...

Collapse
 
gallowaydeveloper profile image
Galloway Developer

meme monday

Collapse
 
sawyerwolfe profile image
Sawyer Wolfe

meme monday

Collapse
 
itsjp profile image
Jaydeep Pipaliya

Image description

Collapse
 
sirajulm profile image
Sirajul Muneer

Before Docker Era

Collapse
 
alvaromontoro profile image
Alvaro Montoro

This week's comiCSS:

cartoon with 4 panels showing a disorganized book shelf. Then two characters talking: 'your shelf is always messy!', then the other one replies '.shelf .book { order:unset }' all the books in the shelf become ordered. The first character replies 'I get how that worked, but it makes no sense'

It made more sense in my head than what it does once it's done 😅

Collapse
 
fred_functional profile image
Fred Functional

meme monday

Collapse
 
nlxdodge profile image
NLxDoDge

To be fair, before the plugins VSCode was meh, but worked.
But it's quite usable now with Java last time I tried.

Sure IntelliJ is going to be better. But that costs money.

Collapse
 
skywarth profile image
skywarth

This one is from my latest project. Even the bot is roasting me :'(

Image description

Collapse
 
renancferro profile image
Renan Ferro

Image description

Collapse
 
alberto_camacho_a61c4a754 profile image
June

Image description