HNHacker News
TopNewBestAskShowJobs

gcp

5,403 karma · joined August 2, 2011

submissionscomments
gcp··on 10% of Firefox crashes are caused by bitflips
You were seeing issues from the graphics driver, not Firefox.

Any memory allocation failing within the browser forces an instant crash unless the callsite explicitly opts in to handling the allocation failure.

"Check malloc failure" is an opt-out feature in browsers, not opt-in. It's the same in Chromium. Failing to check would cause too many security issues. (One more reason new stuff tends to prefer Rust, etc)

gcp··on Speedometer 3.0: A shared browser benchmark for web application responsiveness
Yeah, Dark Reader is known to totally plummet Firefox performance.

Not sure if it's a coding issue in the Firefox version of Dark Reader, or it's hitting some slow path in Firefox itself.

gcp··on Speedometer 3.0: A shared browser benchmark for web application responsiveness
It helps if you file bugs in Bugzilla. You can link to them here, there's a good chance a developer will find them.
gcp··on Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives
Change tends to mean things like exciting new spying and UI regressions

Or missing out on new anti-fingerprinting and anti-tracking improvements. Note that adblockers don't generally do the former.

gcp··on Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives
The whole point of the about:restartrequired warning is to avoid this problem. If you're crashing, I hope you've been filing bugs.
gcp··on Mozilla's new Firefox Linux package for Ubuntu and Debian derivatives
This is how Mozilla's own updater works (if you use the .tar.gz version), but the distro package updater just overwrites everything without waiting and applications like Firefox have no control over that. As a user, you'd really want to disable unattended updates for such software.

It's not an issue for these .deb packages because they enable the (experimental) forkserver.

gcp··on Firefox engineers discover a Windows Defender bug that causes high CPU usage
What determines "excessive"? In this case it's for a security feature that Chrome lacks(!).
gcp··on Firefox engineers discover a Windows Defender bug that causes high CPU usage
Did you report this on Bugzilla? Even if it's not Firefox's fault if you don't report it no-one knows about the issue.

Recent versions of Firefox allow you to block some stuff like that: https://support.mozilla.org/en-US/kb/identify-problems-third...

Though it's possible they use different code injection tricks to make blocking impossible. (You can't block Defender from listening to events for example)

gcp··on Tab Unloading in Firefox 93
One reason why it shipped on Windows first is that the situation is more serious there. The article goes into details why the different overcommit behavior is more problematic on Windows, and you're more likely to OOM there as a result.

Getting macOS to OOM is actually pretty difficult, we probably want to unload tabs before that point for performance (swap!) reasons, but that's also harder to measure very reliably.

gcp··on Tab Unloading in Firefox 93
Because for some people their open sites, and the ability to switch quickly between them, is the most important use of their machine and what they want their RAM to be used for.
gcp··on Tab Unloading in Firefox 93
It wasn't enabled by default because it didn't work well enough. Getting better low memory triggers was a key to making this an overall benefit, and not just a user annoyance.
gcp··on Tab Unloading in Firefox 93
>very rarely Firefox would crash

The feature stops (or reduces the likelyhood) of that happening. It literally is made to trigger in a situation where the alternative is to crash.

>So, if I want to disable this, I should set a big number to the browser.low_commit_space_threshold_mb pref in about:config, right?

This will ensure that you crash and have to reload all of your tabs instead of the oldest ones, yes :-)

gcp··on Tab Unloading in Firefox 93
>though it's not clear to me what the difference is

This one works well enough that we can default it on :-)

The previous one didn't reliably detect low memory situations and you could crash with OOM before it ever triggered. The article goes into detail about the various signals that have to be monitored on Windows. We had to do some work on gathering the metrics and correlating with crash data to determine when to trigger.

gcp··on Tab Unloading in Firefox 93
That's definitely something we would want to do, but it requires a (very) reliable measurement method for this kind of memory pressure.

If it's not reliable, the browser unloads tabs when it's not needed, and that's way more annoying.

gcp··on Tab Unloading in Firefox 93
>No thanks, I'd rather get more RAM or swap space for paging.

As the article explains, if you have enough swap you'll never trigger this. It activates right before you'd have crashed otherwise.

gcp··on Tab Unloading in Firefox 93
People on low memory machines, or people on big boxes that read some article about how swap makes your SSD die and tried to disable Windows swapping (or downloaded some "optimization" tool that does that). The last is explicitly hinted in the article. There's a surprising amount of people in that situation.
gcp··on Tab Unloading in Firefox 93
The original ticket seems to indicate this is a leak in a Windows accessibility service and so far there was no luck in finding a way to avoid it. That sucks.
gcp··on Tab Unloading in Firefox 93
Paste a few links from about:crashes here. If you click on them, you might find the associated bug (if it exists).

Firefox should literally never crash. If it does, that's a serious bug (but especially on Windows, not necessarily in Firefox itself).

gcp··on Tab Unloading in Firefox 93
Paste a few links from about:crashes here. If you click on them, you might find the associated bug (if it exists).

Firefox should literally never crash. If it does, that's a serious bug (but especially on Windows, not necessarily in Firefox itself).

gcp··on Turn off DoH, Firefox
>it looks like HN folks are not in favour of these integrations, including me.

I have no idea why you think that random HN discussion afterwards (in response to an article filled with misinformation!) would have any bearing on how Firefox is developed.

https://www.mozilla.org/en-US/about/governance/

>Is there a link to discussion?

There's been about 1.5 year of extended discussion and iteration over DoH, yes. I'm sorry but there certainly isn't just a "single" link!

gcp··on Turn off DoH, Firefox
...users in the US.

Quite an important detail.

gcp··on Turn off DoH, Firefox
First announcements were even longer ago: https://hacks.mozilla.org/2018/05/a-cartoon-intro-to-dns-ove...
gcp··on Turn off DoH, Firefox
This has been tested and debated for months. Initial support for Firefox rolled out 9 months ago or so: https://miketabor.com/enable-dns-over-https-and-encrypted-sn...

The conclusion of the debate was that it vastly improves the privacy for most users. Which is why it shipped in Firefox.

Take that into account when you read (misleading, factually wrong) push-back like the original article.

gcp··on The Machine Fired Me
So the machine "fixed" the "glitch"?
gcp··on The Machine Fired Me
YouTube is requiring them to switch to monetized

That's just what "The Machine" says and may not be the intended policy, even if it is now the effective one.

gcp··on Improving DNS Privacy in Firefox
Pretty much the entire WWW is being shaped and controlled by this group. "Open Web" my ass.

In reality, "they" couldn't even ship Array.prototype.flatten because a few sites won't update MooTools. What you describe couldn't be further removed from reality.

https://groups.google.com/a/chromium.org/forum/#!msg/blink-d...

gcp··on Things to know about the GDPR, Mozilla and Firefox
https://bugzilla.mozilla.org/show_bug.cgi?id=697436#c14

"GA also doesn't track IPs or store PII within the tool."

gcp··on Some frustrated publishers are sitting out Google’s GDPR meetings
Mostly they won't be able to send mailings around.

Data portability and such are likely a much bigger hassle. Those are actual features you need to implement now if you stored PII.

gcp··on Some frustrated publishers are sitting out Google’s GDPR meetings
Thank you, I did not know this.
gcp··on Some frustrated publishers are sitting out Google’s GDPR meetings
Thing is if everything puts up a big notice "YOU MUST AGREE TO BE TRACKED AND SOLD TO USE OUR SERVICE" then people will just click that.
← PreviousPage 2 of 34Next →