News for hackers. Stuff that matters.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by sicariusnoctis on Monday April 10, 2023 @05:25PM (#35517564)
The "average color" (or whatever it is) could have been pre-computed server-side rather than tiring out the poor innocent client CPUs.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by Phiwise_ on Monday April 10, 2023 @05:42PM (#35517747)
But then Google would be responsible for that one-time computation instead of making the clients do it billions of times.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by hsbauauvhabzb on Monday April 10, 2023 @05:45PM (#35517777)
They could do it on a few clients then ship the data back to the server. If they’re resourceful those clients don’t even need to be watching the video! (they could send it and compute the output in the background of another stream)
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by TeMPOraL on Monday April 10, 2023 @05:53PM (#35517851)
But that's a distributed problem now and those use up valuable developer time, which we know is the most important resource in the world...
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by hsbauauvhabzb on Tuesday April 11, 2023 @09:43PM (#35534044)
Yeah, but if google solve distributed processing just imagine the cost savings elsewhere (imagine involuntarily crowdsourcing video encoding, it would save them millions)
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by KeplerBoy on Monday April 10, 2023 @05:47PM (#35517793)
Couldn't this be done cheaply on the GPU?
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by TingPing on Monday April 10, 2023 @11:03PM (#35520239)
The browser isn’t the ideal place to do things “on the GPU” unless the site is designed around it.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by hoseja on Tuesday April 11, 2023 @06:26AM (#35523113)
It could probably be somewhat cheaply extracted during decoding.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by heftig on Tuesday April 11, 2023 @07:49AM (#35523762)
The effect is created by scaling and blurring the storyboard images that are also used for the seek preview. The image is refreshed every ten seconds, with a CSS opacity animation fading from the old background image to the next over a couple of seconds.

This sounds like it should be relatively cheap if composition is properly accelerated.