Daxtron2,

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

Gallardo994,

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

v9CYKjLeia10dZpz88iU,

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

Gallardo994,

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.

corsicanguppy,

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

cardboardchris,

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

uis,
@uis@lemmy.world avatar

Time to write in C

theherk,

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

milicent_bystandr,

Words of Wisdom

burnso,
lemmesay,
@lemmesay@discuss.tchncs.de avatar

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

flying_sheep,
@flying_sheep@lemmy.ml avatar

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

burnso,

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.

flying_sheep,
@flying_sheep@lemmy.ml avatar

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

somegeek,

2012 called, they want their meme back

summerof69,

Heavy objects cause time dilation.

Octopus1348,
@Octopus1348@lemy.lol avatar

It’s still true tho.

brckd, (edited )

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

tetris11,
@tetris11@lemmy.ml avatar

Let me introduce you to my little friend: conda

AVincentInSpace,

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

tetris11,
@tetris11@lemmy.ml avatar

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

EarMaster,

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

brckd,

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

tetris11,
@tetris11@lemmy.ml avatar

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

brckd,

oh nice! ill try that on the school computers

xantoxis,

antique programming memes roadshow

KeefChief13,

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

AVincentInSpace,

laughs in Cargo ./target

sirdorius,

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

xmunk,

npm search agrees.

killeronthecorner,
@killeronthecorner@lemmy.world avatar

That’s heavy man

Timwi,
Timwi avatar

Great Scott!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • programmerhumor@lemmy.ml
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • provamag3
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines