mastodon.online is one of the many independent Mastodon servers you can use to participate in the fediverse.
A newer server operated by the Mastodon gGmbH non-profit

Server stats:

10K
active users

#gzip

4 posts4 participants0 posts today

Last RISC OS icon I created (I think ..)

This is for ungzip, which does just that. Gavin Wraith's drag-and-drop WIMP wrapper (stick) that runs a trivial perl script that calls the gzip binary.

This lets me uncompress gzip files from the GUI.

Stick does the magic of making drag-and-drop happen. The perl script converts a RISC OS filename (foo.bar/gz) into a unix style path (foo/bar.gz) and feeds the path to gzip.

#RiscOS#Icons#GZip

[Перевод] Уменьшаем базу данных в 2000 раз при помощи Rust (завершение)

Сериализация По сути, мы получили косвенную базу данных в памяти. Далее нам нужно сериализовать её, чтобы проверить, как interning влияет на её постоянное хранение. Кроме того, сериализация — это важный шаг для проверки реальности заявленной экономии места. И, наконец, это ещё одна возможность для дальнейшего сжатия данных. В Rust для сериализации стандартно используется крейт serde , который мы уже использовали для импортирования входных данных в JSON. Serde изначально имеет поддержку множества форматов благодаря крейтам расширений, поэтому я решил попробовать несколько из них.

habr.com/ru/articles/890250/

ХабрУменьшаем базу данных в 2000 раз при помощи Rust (завершение)Первая часть Сериализация По сути, мы получили косвенную базу данных в памяти. Далее нам нужно сериализовать её, чтобы проверить, как interning влияет на её постоянное хранение. Кроме того,...

#komprimace #gnu_linux
#Zstd je neskutečné dobrý #opensource komprimační algoritmus, měl by se víc propagovat (a používat).
Složky s webovým obsahem (HTML, CSS, obrázky atd.), celkem 220 Mb dat.
Jednovláknová komprimace do .tar.gz za 8 sekund a výsledek: 147 Mb.
Vícevláknová komprimace do .tar.gz za 1 sekundu (a taky 147 Mb).
Vícevláknová komprimace do .tar.zst za 1 sekundu a výsledek: 15 Mb (!!!)
GNU #gzip víc než 1 CPU nepodporuje, ale #pigz ano, který jsem použil pro porovnání rychlosti.

What is a #tar file?
depot.dev/blog/what-is-a-tar-f

« What the heck is a tar file? Since the 1980s, tar has been the go-to method for bundling and archiving multiple files, simplifying the transfer and storage of file collections on magnetic tape.
But, what exactly is a tar file, and how did a magnetic tape utility become the standard for archiving files even 40 years later? »

A fun and interesting look into the tar—and #gzip of course—file formats.

What is a "tar" (tape archive) file? A deep dive into the history and inner workings of the tar file format to create better optimized archives.
DepotWhat is a tar file?What is a "tar" (tape archive) file? A deep dive into the history and inner workings of the tar file format to create better optimized archives.

Very much liking the succinctness of the JS Compression Streams API[1] and wish I'd known about this a couple of years earlier. Here're some small helpers to compress or decompress a byte array...

I've just also pushed a new version of thi.ng/genart-api (v0.11.0) in which the reference implementation platform adapter now uses gzip compression for serializing the data of image maps/parameters (in ~50-60% of the original size)...

[1] developer.mozilla.org/en-US/do

(edit: removed obsolete `async`)

🌗 WebP:網頁壓縮格式
➤ 解釋Brotli壓縮在網站加載速度中的重要性
purplesyringa.moe/blog/webp-th
作者在嘗試壓縮網頁以提高速度時遭遇困難,敘述了使用Brotli和gzip壓縮方式的不同效果及相應的解決方法。
+ 這篇文章說明瞭在優化網頁加載速度時遇到的技術挑戰,提供了有用的解決方案。
+ 我以前並不知道Brotli壓縮的重要性,這篇文章真正開拓了我的眼界。
#網頁壓縮 #Brotli #gzip

purplesyringa's blogWebP: The WebPage compression formatI want to provide a smooth experience to my site visitors, so I work on accessibility and ensure it works without JavaScript enabled. I care about page load time because some pages contain large illustrations, so I minify my HTML. But one thing makes turning my blog light as a feather a pain in the ass.