fne8w2ah,

Why not the vastly superior .7z format?

yamapikariya,
@yamapikariya@lemmyfi.com avatar

Is this a joke or are you serious? If serious, please explain reasoning.

sirico,
@sirico@feddit.uk avatar

Just chuck me into the tar.gz pit

onion,

Best I can do is a .zip website

Kolanaki,
@Kolanaki@yiffit.net avatar

Whatever you do, don’t open “singularity.zip.” If you do, you’ll have to be responsible for a whole universe.

sag,
@sag@lemy.lol avatar

Be careful .zip is now a domain too.

Sam_Bass,

unzips

niktemadur,

(sigh)

sandalbucket,

I’ve been zipping things all day. Because it’s only one blob in the container, and then you can use website_run_from_package, which is just about the only way to get azure functions stood up via infra-as-code.

But whatever unzip thing they use sure isn’t the linux default, because it doesn’t support symlinks. And pnpm uses almost exclusively symlinks, to point to its central package store, so re-installing doesn’t take 8 years like it does with npm.

But that’s fine, because zip will follow symlinks and bake the actual files in, in place - which is pretty slick. But then azure functions package resolver can’t seem to figure out what the hell is going on, because it’s still putting dependencies in node_modules/.pnpm.

So we pass —shamefully-hoist, which is a great name for a flag, which puts all the things at the top level of node_modules, and now zip works, and azure works - but each dependency also comes with its own node_modules, with another symlink to a package that’s already at the top level. So it works, but it’s 10x bigger than it needs to be - 6.4 MB instead of 668 KB.

Fortunately we can use our build script to populate a .npmrc file, and set node-linker to hoisted, at which point pnpm will mimic npm with no symlinks at all - small, efficient, and dumb enough that the azure functions runtime can figure out how to deal with it.

It took me 4 hours to debug this mess.

All that to say, yes, a weighted blanket would be downright delightful right now, but please keep the zip files away from me

Surp,
@Surp@lemmy.world avatar

Nothing compresses harder than my emotions

joyjoy,

zip isn’t sufficient for all my clones.

_cnt0,
@_cnt0@sh.itjust.works avatar

Your mom is so fat she compresses a binary tree into a linked list in O(1) by sitting on it.

mynachmadarch,

Your mom is so fat, she thinks a compressed cake is 1 byte.

Flummoxed,

Well? Did that compression help you sleep?

metaStatic,

tar ball is the only way

I use arch btw

mynachmadarch,

Just had some flashbacks to being a kid trying to extract a game a friend sent me as a .tar.gz

not_that_guy05,

You aren’t using arch unless you mention it.

kamenlady,
@kamenlady@lemmy.world avatar

It only counts, if the mention is btw btw

xx3rawr,

We should all dip ourselves in tar and be found well preserved by future paleontologists

psud,

The best thing to do with a tarball is to bzip it

zorro,

xz for me. I like to keep my backdoor wide open.

techMayhem,

TIL xz is used by power bottoms

rem26_art,
@rem26_art@fedia.io avatar

give me that zstd --ultra 22 its the only thing that will fix me

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