this post was submitted on 26 Jan 2024
635 points (96.6% liked)

Programmer Humor

32710 readers
218 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
635
submitted 11 months ago* (last edited 11 months ago) by Maven to c/[email protected]
 
top 33 comments
sorted by: hot top controversial new old
[–] [email protected] 45 points 11 months ago* (last edited 11 months ago) (1 children)
[–] [email protected] 25 points 11 months ago

Came here to say this, but I was delayed by having to clean my cargo target folder.

[–] [email protected] 20 points 11 months ago (1 children)

Somewhere to the right has to be unity's Library folder

[–] [email protected] 18 points 11 months ago (1 children)

those devs understand why their assets are so large. but if you ask a js dev why they webpack instead of compiling they just start crying and run away

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

It depends. If you switch between different branches a lot, Library just grows to infinite sizes due to storing everything from each branch that is unique to those branches. I once had to clear about 600 gigs of library lol.

[–] burnso 17 points 11 months ago (2 children)
[–] [email protected] 7 points 11 months ago* (last edited 11 months ago) (1 children)

That's the one that's like Yarn’s global cache, but without compression, right?

[–] burnso 4 points 11 months ago (1 children)

Not sure, but probably. I only used yarn 1. Never got around to trying yarn 2+ as migrating our fairly large monorepo project at the time felt like a pretty large and complicated ordeal. By the time I switched jobs npm was already a whole lot better in the ways most important to me.

The little I’ve read about and used pnpm so far it seems a lot more plug n play than yarn while bringing big benefits. Even workspaces seems a lot simpler than it ever was with yarn (at least when I used it). Love the idea of non-flat node_modules and simplified lock files as well.

Time will tell if npm incorporates enough of pnpm’s features to make it obsolete eventually but for now I can understand why it seems so widely adopted.

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

I mean, the essential difference of no node_modules is shared, as are workspaces.

I think pnpm is more manual, but therefore less magic than yarn. More compatible, less stuff just works

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

the only JS package manager I have on my system.
for unruly projects, I just pass --shamefully-hoist

[–] [email protected] 16 points 11 months ago (2 children)

2012 called, they want their meme back

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

It's still true tho.

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

Heavy objects cause time dilation.

[–] killeronthecorner 15 points 11 months ago (1 children)
[–] [email protected] 6 points 11 months ago

Great Scott!

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

I love when I have to wipe node_modules and reinstall and it takes like an hour because there's thousands of packages lol

[–] xantoxis 10 points 11 months ago

antique programming memes roadshow

[–] [email protected] 10 points 11 months ago* (last edited 11 months ago)

you know, this meme is old as hell, but I still like it.

[–] KeefChief13 9 points 11 months ago

I have not laugued at one of these out loud untill now.

[–] brckd 9 points 11 months ago* (last edited 11 months ago) (1 children)

i recently begged my cs teacher to install npm on the school computers. shouldnt have been suprised when i immediately ran out of storage

[–] [email protected] 2 points 11 months ago (3 children)

Let me introduce you to my little friend: conda

[–] [email protected] 5 points 11 months ago (1 children)

I would've made this joke earlier but I was waiting for Conda to resolve dependencies

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

Try micromamba, its a drop in replacement for conda is 100x faster for resolving

[–] EarMaster 3 points 11 months ago

Oh yes. Creating an empty environment can easily take up several gigabytes...

[–] brckd 1 points 11 months ago (1 children)

i just checked and it seems to be a really cool package manager for several languages. but how does that help with storage limitations?

[–] [email protected] 5 points 11 months ago (1 children)

Oh no, I meant it will bloat your storage more than anything else

[–] brckd 5 points 11 months ago

oh nice! ill try that on the school computers

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

npm search agrees.

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

Nodes baggage just adds weight to the depth of the supply chain risk.

[–] thantik 2 points 11 months ago* (last edited 11 months ago)
[–] uis 2 points 11 months ago (2 children)
[–] theherk 4 points 11 months ago

The overlap between people that write C and people that write JavaScript is negligible.

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

Words of Wisdom