Better HN
topnewbestaskshowjobs
Log inSign up

mostlystatic

840 karma · joined Oct 18, 2012 (14y ago) · 248 submissions

Founder of debugbear.com.

Email: matt at mostlystatic.com

Submissions

comment 5y ago · link · parent

Formatters like Prettier can help here. For example, this code contains a function call, because the first line doesn't end with a semicolon.

  let a = 123  
  ({a}= {a: 10})
Prettier will reformat it like this:

  let a = 123(({ a } = { a: 10 }));
You could also use ESLint to enforce semicolons.

The error messages when running code like this aren't very good though.

92.

Conducting Customer Interviews(featureupvote.com ↗)

1 points · by mostlystatic · 5y ago · discuss

93.

Phlogiston Theory(en.wikipedia.org ↗)

2 points · by mostlystatic · 5y ago · discuss

comment 5y ago · link · parent

Open University degrees don't tend to have entry requirements.

> There are no formal entry requirements for this qualification.

> At The Open University we believe education should be open to all, so we provide a high-quality university education to anyone who wishes to realise their ambitions and fulfil their potential.

http://www.open.ac.uk/courses/physics/degrees/bsc-physics-r5...

comment 5y ago · link · parent

SEEKING FREELANCER - Remote - Technical Writer / Front-end Developer

DebugBear is a website monitoring tool that helps developers understand and optimize site performance. I'm a solo founder looking for a technical writer to write articles about front-end web performance.

You'll need:

- Experience building front-end apps (e.g. using tools like React/Angular/Vue/Webpack/...)

- Experience writing technical articles

- Basic understanding of web performance

- Some overlap with European work hours preferred

If interested, email matt at debugbear.com and include links to something you've written.

comment 5y ago · link · parent

Author here. Most of the negative performance impact comes running the injected JavaScript code, so it will be the same on all websites.

I tested different sites in 2018, but it's harder to see the performance impact of an extension, because variability between tests is larger for more complex pages. https://www.debugbear.com/blog/measuring-the-performance-imp...

Generally the site you're on doesn't matter. Ad blockers are different, since they have a positive impact on sites with ads. Some extensions are site-specific, e.g. Wikiwand. I'm also mentioning Avira as a special case. If I tested each extension on the top 1000 sites I could identify more examples, but don't think it's worth the effort/cost.

> The assumption one might make is that these extensions stack up but I could imagine there could be non-linear effects combining extensions (unless there’s prior research indicating it is linear in all or almost all cases?).

Yeah, if you different extensions add more JavaScript bundles the performance impact just adds up. I've not looked at this in depth, but the 2018 post takes a quick look at combining multiple extensions. https://www.debugbear.com/public/blog/chrome-extension-perfo...

97.

Debugging web performance with the Chrome DevTools Network tab(debugbear.com ↗)

1 points · by mostlystatic · 5y ago · discuss

98.

Why is the Google Cloud UI so slow?(debugbear.com ↗)

492 points · by mostlystatic · 5y ago · 384 comments

comment 6y ago · link · parent

Since Indie Hackers generally don't take external funding, all the risk is concentrated on the founders. That makes it attractive to focus on established product categories with known demand.

Funded startups are in a better position to take risks and work on innovative products. You don't know if you're building the right thing, and even if you are your potential customers might not see the value right away. Funding allows founders to take a salary while trying to find a market.

I had lots innovative ideas I started working on my product. But in practice the few users I had were all asking for the same types of standard functionality. So I started trying to more directly compete with existing successful businesses.

100.

Understanding Core Web Vitals(debugbear.com ↗)

1 points · by mostlystatic · 6y ago · discuss

101.

Website Builder Performance Review(debugbear.com ↗)

4 points · by mostlystatic · 6y ago · discuss

102.

Creating a Web Performance Team(debugbear.com ↗)

2 points · by mostlystatic · 6y ago · discuss

103.

Building Custom Lighthouse Audits(debugbear.com ↗)

1 points · by mostlystatic · 6y ago · discuss

comment 6y ago · link · parent

This reminds me of two other now-obsolete web debugging tools.

Weinre[1] let you to view the DOM, network requests, and console output when testing sites on a phone. Aardwolf[2] provided an interactive JavaScript debugger, by rewriting the code to add debug hooks.

[1] http://people.apache.org/~pmuellr/weinre/docs/latest/ [2] https://github.com/lexandera/Aardwolf

105.

Front-End JavaScript Performance(debugbear.com ↗)

1 points · by mostlystatic · 6y ago · discuss

106.

Is the Web Getting Slower?(debugbear.com ↗)

2 points · by mostlystatic · 6y ago · discuss

comment 6y ago · link · parent

HTTP Archive uses an emulated 3G connection to measure load times, so of course faster internet for real users won't make the reported load times go down.

Am I missing something?

https://httparchive.org/faq

108.

GPT-3 on Web Performance(debugbear.com ↗)

2 points · by mostlystatic · 6y ago · discuss

109.

Counting Chrome Extensions – Statistics on the Chrome Web Store(debugbear.com ↗)

1 points · by mostlystatic · 6y ago · discuss

comment 6y ago · link · parent

I initially understood this to mean Accenture changed its name as a consequence of the Enron/Arthur Anderson scandal. But Anderson Consulting changed its name to Accenture in January 2001, and the scandal only became public later that year.

Seems like the two companies weren't very close even before that, the name change was required as part of a legal settlement with Arthur Anderson.

https://en.wikipedia.org/wiki/Accenture#Split_from_Arthur_An...

comment 6y ago · link · parent

Here are the test results for Dark Reader: https://www.debugbear.com/chrome-extension-performance-looku...

I also briefly mention it in the section on FCP, explaining why it makes sense for the extension to use render-blocking content scripts. https://www.debugbear.com/blog/2020-chrome-extension-perform...

comment 6y ago · link · parent

Local news sites tend to be extremely slow and ad-heavy in my experience. So I thought of a medium-sized US city, searched for "Cincinnati news" and picked the top result.

I found what I was looking for, this is the article I ran the tests on: https://www.wcpo.com/news/education/higher-education/miami-u...

comment 6y ago · link · parent

Good point about extension code running while rendering is still blocked by the network. That should prevent any user-facing delay.

I just ran a few quick tests with the Top 50 extensions and an NYT article. The charts are ordered by largest median metric value.

https://gist.github.com/mattzeunert/de3c8aedd2936a34eeb88b62...

The Largest Contentful Paint (LCP) chart suggests an interesting phenomenon. Extensions like Dashlane and Evernote appear to slightly increase when that paint happens. These extensions load a large amount of code, but don't block the initial render.

Grammarly does not seem to push up LCP much. Its JS code runs before the page starts rendering, so maybe it is less likely to compete with other code later on.

Normally running code before the page renders would be bad, but if the page is network-constrained at that point it might soften the impact.

comment 6y ago · link · parent

I ran the tests 7 times and then took the median. I'll look into quantifying variance more, but for now here's a boxplot for total on-page CPU time. https://gist.github.com/mattzeunert/de3c8aedd2936a34eeb88b62...

I ran tests on example.com, apple.com, and a WCPO news article (for the ad blocker tests).

The biggest performance issue is that extensions just dump large scripts into pages indiscriminately. Most of the time extensions don't do anything differently based on the content of the page.

I also tested a WCPO news article to see the impact of ad blockers. I picked a local news website specifically because they contain a lot of ads. If a page doesn't have any ads the performance impact of an ad blocker will be slightly negative.

What my tests don't pick up is extensions that only run a certain domains. For example, if you run Honey on a shop they support I expect the CPU consumption to increase a lot more.

I wrote a similar article last year, which tests a few other pages as well: https://www.debugbear.com/blog/measuring-the-performance-imp...

comment 6y ago · link · parent

I ran most of the tests on example.com, which is easy to render without having a GPU available.

Looking at on-page CPU time for Evernote, 91% is spent just processing JavaScript or HTML. So I expect any benefit of a GPU to be minimal.

comment 6y ago · link · parent

There's a GNOME mailing list discussion which suggests the etymology is different.

""" First appearance of "master" in git is in a CVS helper script... Why is that branch called master? Probably because BitKeeper uses "master" for its main branch... But maybe this "master" isn't the same one that's in "master/slave"? """

It then links to a BitKeeper file saying:

"We are then going to modify the file on both the master and slave repository and then merge the work."

https://mail.gnome.org/archives/desktop-devel-list/2019-May/...

12345
9