tamaina
tamaina
どうして.pnpm-storeなんだろうか(v3って書いてあるのでv3がインストールされてしまっている?
> The store should be always on the same disk on which installation is happening, so there will be one store per disk. If there is a home directory on...
.pnpm-storeはgitignoreで解決するとして、 ENOENT: no such file or directoryはどうにもと言う感じが
Mastodon v4はあまり普及してないので後回しかな
まず大きなインスタンス(fedibird, mstdn.jp)あたりが対応しないことには…
よしんばMastodon v4が普及したとしてもImageMagick 7が必要なので対応するインスタンスは限られそう(v6が広く使われているようなので) > ImageMagick supports AVIF. As ofversion 7.0.25, it supports AVIF compression natively. https://avif.io/blog/tutorials/imagemagick/#imagemagicksupportsavif
MEMO: Webpもv4からっぽい https://github.com/mastodon/mastodon/commit/379a7a7ca7cf913cbc130a6323f821b534fc14c4
Mastodonや他のソフトウェアが問題なので、高互換と圧縮優先の2種類を用意して使い分けるというのはどうだろう (ただ2種類をストレージに保存するのは微妙、片方をプロキシにする?)
AVIFを検討するならJPEG XLも検討して良さそうだけど、ブラウザの対応が全滅している  https://caniuse.com/jpegxl Sharp.jsの対応も面倒 https://github.com/lovell/sharp/issues/2731#issuecomment-1349856411
> 片方をプロキシにする? 圧縮優先低互換の方をストレージに保存するのがサーバーのCPU的にもストレージ的にも無難そう