An ode to bzip

The story goes like this. ComputerCraft is a mod that adds programming to Minecraft. You write Lua code that gets executed by a bespoke interpreter with access to world APIs, and now you’re writing code instead of having fun. Computers have limited disk space, and my /nix folder is growing out of control, so I need to compress code. The laziest option would be to use LibDeflate, but its decoder is larger than both the gains from compression and my personal boundary for copying code. So the question becomes: what’s the shortest, simplest, most ratio-efficient compression algorithm? I initially thought this was a complex question full of tradeoffs, but it turns out it’s very clear-cut. My answer is bzip, even though this algorithm has been critiqued multiple times and has fallen into obscurity since xz and zstd became popular.

purplesyringa's blog

Sembra incredibile ma sono ancora qui a pubblicare dei videi nonostante gli impegni sempre più impegnativi. Merito almeno un singolo applauso.

Speciale 5000 iscritti: come funziona la compressione dei dati che viaggiano su internet. Da Shannon (l'unico Claude di cui potete fidarvi al 100%) agli algoritmi classici, fino ai tre protagonisti della compressione moderna: gzip, Brotli, Zstandard.

E "one more thing": il nuovo OpenZL di Meta.

https://youtu.be/ohgfRVRncbQ

#compressione #gzip #brotli #zstandard #openzl

Compressione: perché ogni bit conta (speciale 5000 iscritti) - Buongiorno 318

YouTube
Oh, joy! Yet another "groundbreaking" tool to tell us the OS that made our #gzip file. 🥳 Because who doesn't lay awake at night pondering over gzip metadata? Thanks, Evan, for saving us from this burning mystery. 🚀🙄
https://evanhahn.com/introducing-gzpeek/ #groundbreaking #tools #metadata #contribution #tech #humor #HackerNews #ngated
Introducing gzpeek, a tool to parse gzip metadata

gzip streams contain hidden metadata, like the operating system that did the compression. I built gzpeek, a tool to read this metadata.

I was surprised to learn that gzip streams encode which operating system did the compression. I built a little tool, "gzpeek", to inspect this metadata (and more): https://evanhahn.com/introducing-gzpeek/

#gzip #metadata #programming #compression

Introducing gzpeek, a tool to parse gzip metadata

gzip streams contain hidden metadata, like the operating system that did the compression. I built gzpeek, a tool to read this metadata.

Yes, #7zip, just undoing the #gzip compression is exactly what i wanted you to do on the `.tar.gz` #tarball.
I don’t wan the files in the .tar file, just a .tar file lying around besides the .tar.gz file.
🤦🏼

I have a gzip'ed image file. The .img.gz is about 300 GiByte. If I want to know how large the uncompressed image is I'd run `gzip -l file.img.gz`.

But it's slooooooow. I assume gzip doesn't have something like an index structure and needs to decompress the whole stream. Is this so?

#gzip #askfedi

압축 요청 헤더 지원 여부에 따른 HTTP Client 이중화

이 글에서는 .NET 환경에서 HTTP를 통한 파일 전송 시 압축을 활용하여 로딩 시간을 단축하는 방법에 대해 설명합니다. 특히, `Accept-Encoding` 헤더를 이용한 압축 요청이 서비스별로 다르게 처리될 수 있는 문제점을 지적하고, 이를 해결하기 위해 HTTP Client를 이중화하는 방법을 제시합니다. 미리 압축된 파일을 우선적으로 다운로드하고, 실패 시 압축 요청 헤더를 포함한 요청을 보내는 방식으로 압축 전송을 보장합니다. 실제 적용 사례인 `AssemblyLoader.cs` 파일의 예시를 통해, 이 방법이 어떻게 라이브러리 로딩 속도를 향상시키는지 확인할 수 있습니다. 이 글은 네트워크를 통한 라이브러리 로딩 시 안정성 확보와 성능 향상을 동시에 추구하는 개발자에게 유용한 인사이트를 제공합니다.

Hackers' Pub

🚀 Gros changement chez Blabla Linux !

Fini l'ancien thème, bonjour Astra et la vitesse GZIP. C'est beau, c'est rapide, c'est en mode sombre. Mon envie de bloguer est revenue ! 😉

RDV sur le site : https://blablalinux.be/2025/12/06/changement-theme-astra-blablalinux/

#wordpress #theme #astra #blablalinux #gzip #nginx

Archivierung und Kompression mit tar: Grundlagen, Optionen und Beispiele

tar (Tape Archiver) ist das Standard-Archivierungswerkzeug unter Linux, das mehrere Dateien und Ordner zu einem einzigen Archiv bündelt. Im Gegensatz zu gzip, bzip2 und xz komprimiert tar nicht selbst, sondern arbeitet mit Kompressionstools zusammen (z, j, J). Es erhält vollständige Metadaten inklusive Berechtigungen und SELinux-Kontexte. Wichtige Optionen von tar -c (create) : Erstellt ein neues Archiv. -f (file name). : Gibt den Dateinamen des Archivs an. # Einen Ordner […]

https://andreas-moor.de/archivierung-und-kompression-mit-tar-grundlagen-optionen-und-beispiele/

Kompression mit zip: Grundlagen, Optionen und Beispiele

zip ist das universellste Archivierungs- und Kompressionswerkzeug, das unter Linux, Windows und macOS funktioniert. Es kombiniert Archivierung und Kompression in einem Schritt und kann Ordner direkt verarbeiten – im Gegensatz zu gzip, bzip2 und xz. Ideal für plattformübergreifenden Dateiaustausch. Wichtige Optionen von zip -r : Rekursiv: Komprimiert Ordner und alle Unterordner (einzigartig bei zip). zip -r backup.zip ordner/ -d oder unzip : Entpackt eine .zip-Datei. unzip ist ein […]

https://andreas-moor.de/kompression-mit-zip-grundlagen-optionen-und-beispiele/