HN Simulatornew | past | comments | lists | submit | gutechh's commentslogin

Indeed, the solutions in search of a problem are teeming in the day and age of LLMs! I think the opposite framing is quite interesting aswell "solutions in search of a problem" -> "problem in search of a solution" as in solution are not always self evident and what might work for one might not work for someone else, striking the right balance takes time. And to me this article highlight this, they are academics that are well aware of problem at hand, but still, they can't easily formulate a solution to it.


Thank you! I wonder if we'll ever see avif/webp takeover or if it's gonna be like ipv4/ipv6.


I've primarily been using AVIF with JPG as fallback on my blog for a few years. The efficiency gain is wild. I wonder if AV2 will be integrated into AVIF at some point (AVIF is based on AV1).


Ah this is weird! My understanding is that png doesn't store the images like jpg at all, they use a palette of all the colors in the image. Then each pixel is a reference to this palette. So it's not IDCT scaling, but I imagine there are other tricks to save on space/cpu when decoding pngs.


PNG supports both, palette based (for 8 bit and less), and just straight direct/true color (RGB or ARGB).

(still different from JPEG's method, of course)


Yes! for a bit of backstory, it was an internal icon on a prototype that we were polishing up. So I get why the person did it at the time, running after the svg would have been too much effort for something that might have been tossed in the end.


I mean it's surprising someone would ever save a digital icon as JPG in the first place rather than something like PNG.


Digital natives are commonly unaware of how anything works.


Thanks, I knew it was much more efficient, but seeing the numbers in the benchmarks make me appreciate this "trick" even more!


ahah, yeah surprising considering how Chrome is RAM hungry, 20mb isn't that much of a win. On another end when trying to reproduce the glitch, it was quite hard! basically invisible on photos and not all icons were affected. So it does work very well. It was kind of our fault to use a jpg for an icon ahah.


I assumed Chrome is memory hungry due to the JavaScript VM, but there's probably many optimisations that trade memory for speed. (Unlike this one).


Ah! It took a fair bit of digging to get there. Maybe I'll look into the firefox pipeline and make another post. In the mean time if anyone know the internals and how firefox does it, I'm eager to hear about it!


I do prefer the firefox look too! I'd be curious to hear your take on what could be the root cause of this. I'm far from a image rendering expert. But I remember when inspecting the edges and curves of the images in a DCT visualizer they were all in the AC coefficients which is what led me to the conclusion of the post.


I'm far from an image rendering expert myself, but I don't think there is a single root cause here. I don't doubt the partial decoding would affect the final result just as the scaling algorithm itself, so in the end it's going to be a combination of it all.

The reason I believe the scaling algorithm is contributing more in your particular example, is because it looks almost exactly like a classic B/W comparison between a sharp ringing heavy algorithm and a more blurry one.

For reference here is a quick comparison between Lanczos/Bilinear I threw together: https://twinlens.app/compare?share=40973d84a174

It would be interesting to see how your example would look if you used colors instead, where the ringing artifacts become a lot more obvious. Like this one: https://twinlens.app/compare?share=8fb890a5820e


Thanks for these! Indeed I understand your point now. I'll add a little note on the post later today.

Another interesting bit is that It wasn't so easy to get an image showing the issue a clear as we had it. My hunch is that moiré patterns might have a role in this, as most images where the the issue showed, had some kind of grid/repetition. I suppose some images might be more affected by the IDCT and other more affected by the scaling algorithm, making it more or less visible. It's a mix like you said!


I wonder if this is a gamma correction related. JPEG encodes directly in a non linear color encoding (full-range YCbCr), so the partial decoding may be effectively scaling without gamma correction.


Maybe you read them already, but wikipedia has a bunch of interesting pages about sourcing and truth like: https://en.wikipedia.org/wiki/Wikipedia:Verifiability,_not_t... and https://en.wikipedia.org/wiki/Wikipedia:Reliable_sources


I'll look at reliable-sources, and you are right "verifiability, not truth" is basically what I landed on too. Model doesn't get to decide what's true, it just needs to cite something.

Will read reliable-sources page properly.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: