Show HN: I ported Manim to TypeScript (run 3b1B math animations in the browser)

· · 来源:tutorial资讯

Git packfiles use delta compression, storing only the diff when a 10MB file changes by one line, while the objects table stores each version in full. A file modified 100 times takes about 1GB in Postgres versus maybe 50MB in a packfile. Postgres does TOAST and compress large values, but that’s compressing individual objects in isolation, not delta-compressing across versions the way packfiles do, so the storage overhead is real. A delta-compression layer that periodically repacks objects within Postgres, or offloads large blobs to S3 the way LFS does, is a natural next step. For most repositories it still won’t matter since the median repo is small and disk is cheap, and GitHub’s Spokes system made a similar trade-off years ago, storing three full uncompressed copies of every repository across data centres because redundancy and operational simplicity beat storage efficiency even at hundreds of exabytes.

for (const component of components) {

Show HN。关于这个话题,同城约会提供了深入分析

"You may have co-CEOs where one is an outgoing and high-level thinker, who may find it more challenging to focus on all the small tasks, and the other CEO is more detail-oriented and loves to speak to the data and the nuances," she says.

Rebecca Morelle,Science Editorand

02版