Live data from Hacker News

Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

bugzilla.mozilla.org

401–410 of 443 posts

Re: Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

#402
post #389

Earlier quoted context omitted.

I would say we're coming to that point with phones too. Phones have also largely reached the end of their breakneck big-annual-improvement phase; There's little annual improvement in performance, power consumption, form factor or feature set. Screen resolutions are plenty high for most users, similar for the cameras. Most people would also probably be quite happy with the version of Android or iOS they are using if i…

> Most people would also probably be quite happy with the version of Android or iOS they are using if it kept getting bugfixes and security updates. Absolutely! Most non-tech folks would be delighted by this. Regular users generally don't care one bit about whatever fad style or trendy feature got added with the latest update, they are just annoyed that their buttons or icons got moved around.

> Most non-tech folks would be delighted by this.

And many tech folks too. My phone is a tool, not a lifestyle. I don't need my tools constantly changing out from under me.

Re: Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

#403

Earlier quoted context omitted.

Neat idea, I bet the intern had fun implementing it, why was it on by default?

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.

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-related CPU use by 75%

#404
post #94

Earlier quoted context omitted.

All of them? From IDEs through games to email clients. Remove that malware as soon as you can. Either replace it with some more competent antivirus (not sure there are any) or don't use any antivirus at all - as a visitor of this site you should generally know what you're doing and what is and what isn't safe. I use https://github.com/jbara2002/windows-defender-remover and have been running my Windows machines withou…

Eclipse and IDEA both have tickets dedicated to Defender's shenanigans: https://github.com/microsoft/java-wdb/issues/9

[dead]

Re: Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

#405

Earlier quoted context omitted.

The "average color" (or whatever it is) could have been pre-computed server-side rather than tiring out the poor innocent client CPUs.

Couldn't this be done cheaply on the GPU?

It could probably be somewhat cheaply extracted during decoding.

Re: Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

#406
post #12

Earlier quoted context omitted.

Have you any semblance of proof of this? By the looks of it took Firefox a few years to figure out what the repro was, they reported it to MS, it was (very) promptly fixed and they were warned that the syscall they were using isn't being used as intended and they should consider changes to FF for future use cases.

>> It's plausible that this bug was engineered as an attack on Firefox. > Have you any semblance of proof of this? Does it need proof? Someone can make a statement like this solely based upon past behavior. They're merely stating that it is plausible .

> Does it need proof?

Yes, it does. Stringing together a narrative and ignoring the proof that contridts your claims is conspiracy theory territory.

> Someone can make a statement like this solely based upon past behavior. Yet all the evidence (the bug linked) implies nothing of the sort.

> They're merely stating that it is plausible.

I can state that it's _plausible_ that the US government conspired with Disney to fake the Moon landing as a show of power to the USSR in the 60's, but I'd expect to be asked for proof, and I'd expect to be accused of spreading absolute nonsense.

Re: Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

#407

Earlier quoted context omitted.

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.

Not being able to distinguish between a feature and a bug is a feature, not a bug.

It's an UI issue.

Re: Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

#408
post #86
post #12

Earlier quoted context omitted.

Have you any semblance of proof of this? By the looks of it took Firefox a few years to figure out what the repro was, they reported it to MS, it was (very) promptly fixed and they were warned that the syscall they were using isn't being used as intended and they should consider changes to FF for future use cases.

I don't have proof. I'm presenting a theory based on circumstantial evidence. I think it says just as much to reject a theory without proof as it does to present a theory without proof. Let me break down the context in which I make put forward my theory. * Corporate doublespeak is a well documented tactic in which a business will project a message when the truth is the opposite of the message. Sometimes they use euph…

> I think it says just as much to reject a theory without proof as it does to present a theory without proof.

Except you don't have any proof, and the proof that opposes your wild speculation is:

- 5 years ago, a bug was opened on the FF issue tracker that over the years had a bunch of derailments.

- A month ago, someone _actually_ investigated, found an issue and reported it to Microsoft.

- Issue was promptly fixed

You're spreading FUD, and attacking _me_ for asking for proof when you made the accusation in the first place. If you want to discuss this reasonably, I'm happy to, but in order to do that, the slightest modicum of bait that points to any sort of effort is required, meanwhile to someone who has worked on software for a reasonably long time, seeing issues spin like this for years is par for the course, and it's great that someone fixed it.

Re: Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

#409

Quick napkin math of the wasted power : Firefox has ~300e6 users, let's assume the bug wasted 5 extra watts 4 hours a day. That's 250 megawatts saved, the equivalent of an average coal power plant. Because some Microsoft engineer missed a bug.

> That's 250 megawatts saved, the equivalent of an average coal power plant. Because some Microsoft engineer missed a bug. Are you sure you want to invoke this logic? Because following it through imagine the energy savings if Firefox users switched to Chrome.

How many megawatts saved if everyone learned how to do all their work on text-only consoles running linux?

Re: Microsoft fixes 5-year-old Defender bug, reducing Firefox-related CPU use by 75%

#410

Earlier quoted context omitted.

To save a search: "Ambient mode uses a lighting effect to make watching videos in Dark theme more immersive, by casting gentle colors from the video, into your screen's background."

The "average color" (or whatever it is) could have been pre-computed server-side rather than tiring out the poor innocent client CPUs.

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.

Post reply on HN