this post was submitted on 16 Jul 2024
370 points (97.7% liked)

Programmer Humor

19623 readers
99 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
top 36 comments
sorted by: hot top controversial new old
[–] bisby 144 points 4 months ago (1 children)

Apparently it works retroactively and now you are on Windows.

[–] [email protected] 54 points 4 months ago

Oh man, that would be a hell of an easter egg if it cleared your terminal and pretended to be a dos prompt

[–] SpaceNoodle 58 points 4 months ago

"ruin dev" is redundant; that's the default behavior.

[–] RichardoC 52 points 4 months ago (1 children)

Nothing, it's already ruined(!)

[–] Lemminary 11 points 4 months ago

dev.ruin()!

SyntaxError: Unexpected ! operator

No, it's an order!

Understood

[–] [email protected] 42 points 4 months ago

Npm ruined dev long before you tried this.

[–] [email protected] 36 points 4 months ago* (last edited 4 months ago)

Your code will be minified and your git history deleted

[–] BigMikeInAustin 30 points 4 months ago

You'll be forced to use only Windows forever.

[–] [email protected] 29 points 4 months ago (1 children)

i think the dev is already ruined having to use npm

[–] [email protected] 5 points 4 months ago

Security people will say so.

[–] [email protected] 29 points 4 months ago (1 children)
[–] [email protected] 3 points 4 months ago

We have the best deployment pipeline in the world, because of jail.

[–] [email protected] 25 points 4 months ago

It's an alias to start the upgrade to Windows 11... you thought you were being careful all those months dodging the Windows 11 upgrade button but you've done it now! Get ready for an objectively worse OS!

[–] Klear 20 points 4 months ago (3 children)
[–] [email protected] 6 points 4 months ago (1 children)

Did you get four hundred thousand viruses?

[–] Psythik 2 points 4 months ago

Computer over?
Virus = very yes?

That's not a good prize!

[–] I_Clean_Here 3 points 4 months ago

Hi Strong Bad

[–] SourceHuman 2 points 4 months ago
[–] Thcdenton 20 points 4 months ago

You forgot to run npm edge dev first

[–] [email protected] 19 points 4 months ago* (last edited 4 months ago)

deploys your code to your dev environment

[–] dejected_warp_core 16 points 4 months ago (1 children)

NPM ruin dev is a new advanced feature that endorses opinionated "extreme programming" techniques. First it gets to work rebuilding node_modules, but with all the least compatible module versions in order to accelerate testing. It also minifies your .js code in place, to save you some CPU cycles later. Lastly, it squashes your entire git history on all branches, to save space.

[–] [email protected] 3 points 4 months ago

It also tries to do rm -rf / to save more space, but in this case it's a futile attempt

[–] [email protected] 11 points 4 months ago

You may have to switch to a proper operating system to redeem yourself.

[–] [email protected] 8 points 4 months ago

npm will ruin the dev now. It happened to me 11 months ago

[–] [email protected] 7 points 4 months ago

Yeah you’re gonna need a new dev environment. That one’s toast.

[–] [email protected] 7 points 4 months ago

The NPM gods will smite you for using CMD instead of PowerShell.

[–] [email protected] 7 points 4 months ago

NPM on Windows, it doesn't matter anymore.

[–] [email protected] 7 points 4 months ago

Hope you didn't have the repository URL in your package.json... otherwise it'll be gone now.

[–] [email protected] 6 points 4 months ago

Your .env with production credentials is now up on a public repo

[–] [email protected] 4 points 4 months ago

Not sure CrowdStrike runs on npm, but still ruined it all for sure

[–] [email protected] 4 points 4 months ago

Same thing.

[–] [email protected] 3 points 4 months ago

MCP: Already there, Hun! END OF LINE.

[–] istoff 2 points 4 months ago

You should press backspace. 😉

[–] [email protected] 2 points 4 months ago

Its an alias, so no problem.

[–] akash_rawal 1 points 4 months ago

npm ruin dev running shittier could be a nice prank... depending on how often it gets typed.

[–] NegativeLookBehind 1 points 4 months ago

Microsoft is way ahead of you