News for hackers. Stuff that matters.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by bee_rider on Monday April 10, 2023 @04:23PM (#35516942)
Neat idea, I bet the intern had fun implementing it, why was it on by default?
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by warent on Monday April 10, 2023 @04:30PM (#35517032)
This seems unnecessarily passive aggressive. Everyone makes mistakes or bugs, intern or not. It makes no sense to get this salty about basic human error. Also there's nothing wrong with implementing minor UX enhancements.

If anything redirect the frustration to the leadership that doesn't prioritize fixing these kinds of errors.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by TechBro8615 on Monday April 10, 2023 @04:45PM (#35517185)
It's not unreasonable to hold YouTube devs and QA engineers to a higher standard than everyone else who doesn't work for a ~trillion dollar corporation or deploy code that runs on billions of devices.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by alluro2 on Monday April 10, 2023 @04:48PM (#35517215)
I don't think there's any error to fix. It's a feature - casting light from the video onto the UI, using JS, surely takes that amount of CPU.

The question of why it is on by default stands - because it's little bit of eye candy, vs people's laptop batteries, CPU that could have been used to get other stuff done faster - so also their time, device thermals etc... I don't think it's just unnecessarily salty to point out how the choice to turn this on by default should have been more nuanced and thought through.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by lobocinza on Monday April 10, 2023 @05:21PM (#35517540)
IMO the implementation sucks and the feature is questionable. Recently I set the browser to dark mode, which tells YT to also use dark mode, and if I haven't read here I wouldn't know that this is a toggleable feature. It's sad when we can't tell a feature and a bug apart.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by Consultant32452 on Monday April 10, 2023 @05:43PM (#35517760)
Not being able to distinguish between a feature and a bug is a feature, not a bug.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by lobocinza on Tuesday April 11, 2023 @06:52AM (#35523311)
It's an UI issue.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by tempestn on Monday April 10, 2023 @05:12PM (#35517467)
How much can websites determine about the power of the device they're running on? Obviously it'd be a security issue for them to know too much, but it would be nice to be able to progressively enhance the experience for more powerful devices that can handle it, beyond just mobile vs PC. Even just knowing whether a device was running off battery power could be useful.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by simlevesque on Monday April 10, 2023 @05:18PM (#35517511)
Here's what's available, requires permissions:

- BatteryManager.charging

- BatteryManager.chargingTime

- BatteryManager.dischargingTime

- BatteryManager.level

https://developer.mozilla.org/en-US/docs/Web/API/BatteryMana...

https://caniuse.com/?search=BatteryManager

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by rileyphone on Monday April 10, 2023 @05:29PM (#35517621)
Isn't available in Firefox though...
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by JohnFen on Monday April 10, 2023 @07:08PM (#35518515)
I don't think you really want websites to make this determination anyway. There are a million reasons why a user might want a website to use fewer resources than their machine could support.

It should just be a setting the user can select. No probing of the machine necessary.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by tempestn on Monday April 10, 2023 @10:10PM (#35519858)
What should be a setting? This specific youtube ambience thing? That is, but it shows the issue - you need to pick a default, and most people won't know they can change it. Having some idea of the capabilities of the device you're running on could allow you to choose sensible defaults.

But if you mean there should be a setting in the browser that websites could check, I agree that could be better.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by JohnFen on Tuesday April 11, 2023 @12:42PM (#35527640)
Sensible defaults go a long way, yes! Although in the case of this YouTube thing, I think the sensible default is to have it disabled regardless of the capabilities of the machine.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by bee_rider on Monday April 10, 2023 @05:07PM (#35517428)
Just to be clear I was being a bit snarky, but what I meant is that this is sort of a small, fun, less important project that could be easily given to an intern.

I don’t think there is a bug? It seems like a sort of image processing thing that might take a bit of compute run. To the extent that there’s blame, I’d lay the blame at the feet of whoever decided it should be turned on by default.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by wiseowise on Monday April 10, 2023 @05:11PM (#35517457)
We aren’t talking about misaligned element here, you know.

There are millions of FF Mac users, it’s not unreasonable to expect YouTube to do some basic testing. Never got any issues showing ads, though.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by kortilla on Monday April 10, 2023 @05:57PM (#35517884)
This is definitely worth getting salty about when you consider the cumulative electricity wasted for something so trivial. Google should be strictly monitoring performance and CPU consumption of their changes on youtube since a screwup there is the climate change equivalent of paying for 747s to fly in circles.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by tablespoon on Monday April 10, 2023 @04:28PM (#35517004)
> Neat idea, I bet the intern had fun implementing it, why was it on by default?

Total speculation, but Firefox seems to be pushing out a lot of UI gimmicks. Maybe they're trying to drum up interest in the browser that way, since they seem intent on killing many of their other differentiators.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by Georgelemental on Monday April 10, 2023 @04:31PM (#35517037)
This is a YouTube feature, not a Firefox one.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by CyanBird on Monday April 10, 2023 @04:30PM (#35517027)
Because the target audience for the feature is not tech savvy people but common users whom won't know it exists until it is shown to them/might be intimidated to delve onto FF settings

If you are tech savvy, you are then expected to be able to "bear the burden" of turning the feature off if it bothers you

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by oarsinsync on Monday April 10, 2023 @06:33PM (#35518203)
> might be intimidated to delve onto FF settings

It’s a YouTube setting, not a Firefox setting.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by devilbunny on Monday April 10, 2023 @06:44PM (#35518298)
Hell, I'm tech savvy - not a tech worker, but you'd better believe that you want me to be your end-user contact, I know a hell of a lot more than the people I work with - and I didn't even know this was an option. I'm not afraid of fixing FF settings, done it plenty of times. It's on by default. If someone who can install OpenBSD and make it a router for DSL over PPPoE in 2001 (side job) doesn't even know it exists and eats cycles [i.e., a "prosumer", not an expert, but not too far below a new hire and well beyond the masses), it's a bad idea. I don't have time to stay up on every way that people want to eat my electricity. I do know that YouTube spins up the fan on my iMac with disturbing regularity in a way that videos from alternative sources do not. So it's not the decoding.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by shapefrog on Monday April 10, 2023 @05:04PM (#35517401)
They are not the intern anymore - they are senior vice president of battery draining, this feature absolutely killed it at the end of year review.
Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by shapefrog on Tuesday April 11, 2023 @05:40AM (#35522800)
For the replier that wanted a more substantive response; my comment can be expanded on by pointing out it is ultimately a commentary on the motivations involved in the employee-manager relationship within the bureaucracy of the mega-corporation, within a society where financial success drives including but not limited to comfort, mate selection, breeding, health, longevity and day-to-day basic survival itself - factors with the importance of which has been determined by millennia of evolutionary biology.

Ultimately the result can be that an employee chooses health, survival and the social status that a job title brings and ships a product or feature that they can sell to their manager as innovative / disruptive / greatness reimagined.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by rejectfinite on Monday April 10, 2023 @05:20PM (#35517535)
I really like it!

Then again, I am using a real computer and not a toy.

Re:Microsoft fixes 5-year-old Defender bug, reducing Firefox... by Dwedit on Monday April 10, 2023 @06:22PM (#35518102)
Looks like it's a Youtube feature rather than a Firefox feature?