Holding Fallout 1/2 as the best gaming experiences of my life for a long time, just recently discovered Fallout Nevada and Sonora that some kind talent also ported to WASM/Web — and it finally hit the spot for me after ~25 years.
You wouldn't have to any more than you need 0 through N frames in memory to calculate frame N+1. Whatever your decoding state completes at frame N can be considered a key frame.
It doesn’t have to be every frame though. Pre calculate to 25%/50%/75%, then as I’m playing, save key frames for more incremental points, and if I start scrubbing, calculate more around that region.
Edit: this doesn’t have to happen synchronously either, it can occur in a background thread or passively.
somewhat related: /rescue/* on every FreeBSD system since 5.2 (2004) — a single statically linked ~17MB binary combining ~150 critical tools, hardlinked under their usual names
once you actually need to configure Caddy, it is an abomination beyond imagination — the docs, Caddyfile, JSON config — all of them lack coherence or sensible design
never touching it again
good defaults matter; nginx configs were very concise and readable in 2005-2015 when I was using it heavily; http/3, ws, acme — perhaps new tech is yet to be incorporated properly (and maybe it never will)
I genuinely haven't had a problem with it -- I use it for all my projects, and it's seamless at rewriting baseurls handling subdomains, proxies, all of it.
Of note: raw materials are now ~2/3 of the total price of a battery cell, because of the continued plunge in manufacturing costs. And it's pretty well distributed across the different raw materials used. That indicates that the price may not drop all that much more without a concerted supply-chain effort.
Maybe not for current chemistry lithium batteries but for batteries in general prices will probably keep dropping as they find different ways to save cost like using sodium instead of lithium. As solar and wind electricity production keeps getting cheaper and more home installations keep happening I think the demand for cheap home stationary batteries will start growing exponentially.
Hopefully we are not far from the tipping point cheap batteries are needed for it to happen though where world yearly electricity consumption growth can be met by renewables alone and we can start closing more and more coal power plants.
Also, The OP asked about EV battery prices, which are about more than the cell, and also include the price of the pack/enclosure, which is 25% of the cost and hasn't budged much in the last few years [1]. Maybe structural battery packs will eliminate this cost completely in the future.
And then there is the reality that most EVs are still being designed and marketed as upmarket luxury cars, and not with the goal of maximizing mass adoption of EVs in the near term.
The market for EVs is the market for higher end new vehicles today. Therefore even as battery prices drop, other factors will probably keep the prices pretty high in the near future.