Better HN
topnewbestaskshowjobs
Log inSign up

johannh

593 karma · joined Nov 13, 2012 (14y ago) · 31 submissions

Submissions

comment 5y ago · link · parent

Both the more technical blog post as well as the MDN page are linked shortly after that paragraph.

comment 5y ago · link · parent

No, there’s no allow-list, you get the same heuristics as described on that MDN page.

comment 5y ago · link · parent

Yes, it’s essentially that, FPI with workarounds for common breakage. You should switch from FPI, this is essentially another take on FPI by some of its original developers, so it should have fewer issues overall, not just site breakage.

comment 5y ago · link · parent

(I’m one of the developers of this feature and co-author of the blog posts)

This is a great question and I’m glad you found the answer, you probably understand that for many blog posts we avoid going into too much technical detail.

To answer your final question, there is no hardcoded allow-list for State Partitioning. The heuristics as described on MDN are accurate.

comment 6y ago · link · parent

If your users are clicking a button then it should actually show the permission prompt, unless you're losing the user interaction somewhere in the callback (by doing something async first)

https://hacks.mozilla.org/2019/11/upcoming-notification-perm...

This is a frequent "mistake"/issue however, and we're working on a mitigation for it.

6.

A cartoon intro to DNS over HTTPS(hacks.mozilla.org ↗)

400 points · by johannh · 8y ago · 134 comments

comment 10y ago · link · parent

Congrats! Please note that Servo is a work in progress that is still lacking some modern browser security features, so enjoy responsibly.

See also https://github.com/servo/servo/labels/A-security

8.

What’s new in curl(daniel.haxx.se ↗)

99 points · by johannh · 11y ago · 7 comments

comment 11y ago · link · parent

https://en.wikipedia.org/wiki/Egg_of_Columbus

comment 12y ago · link · parent

I find it ironic if banks and post offices are using combination locks as advertised security measures but the people selling those install steel doors on their storefront.

comment 12y ago · link · parent

True, I'm not surprised at all. HTTPS Everywhere-like functionality should be integrated into browsers and not a downloadable extra, tricking people into feeling fully secured.

comment 12y ago · link · parent

> AMO doesn't do any code signing for extensions, so they're only protected by HTTPS. As we saw with Heartbleed, SSL private keys can be compromised.

I find it quite ironic that HTTPS Everywhere is arguing HTTPS is not safe enough to offer them a reasonable guarantee of integrity.

13.

5 things you didn’t know were possible with JavaScript(medium.com ↗)

4 points · by johannh · 12y ago · 4 comments

14.

The Trouble with Job Titles(haneycodes.net ↗)

2 points · by johannh · 12y ago · discuss

15.

Why Is Node Being Forked?(dtrejo.com ↗)

76 points · by johannh · 12y ago · 18 comments

16.

Job Title: It’s Complicated(bradfrostweb.com ↗)

1 points · by johannh · 12y ago · discuss

17.

Yet another woman in gaming has been driven from her home by death threats(wehuntedthemammoth.com ↗)

2 points · by johannh · 12y ago · 1 comment

18.

Building a Better Node Community(medium.com ↗)

3 points · by johannh · 12y ago · discuss

19.

Excel.vim(github.com ↗)

143 points · by johannh · 12y ago · 57 comments

comment 12y ago · link · parent

This was originally published a year ago in this blog post:

http://berzniz.com/post/68001735765/javascript-hacks-for-hip...

Makes for a nicer read than slideshare imo.

comment 12y ago · link · parent

True, but it still feels like the right thing to do.

I'd like people do be responsible when they discover a serious flaw in my programs, so I'll try to be responsible when discovering one in theirs.

Also Linus basically insults anyone for being alive.

comment 12y ago · link · parent

This is something that could definitely have been reported to Slack before disclosing it publicly. Maybe he did that, but it's not mentioned in the blog post so I assume he didn't.

It's just a nice thing to do and they might reward you for it. You can still post it on your blog after they released a fix.

23.

Hello World Quiz(helloworldquiz.com ↗)

3 points · by johannh · 12y ago · discuss

24.

CLAHub – Easily add a Contributor License Agreement to your GitHub project(clahub.com ↗)

3 points · by johannh · 12y ago · discuss

25.

Meet Microsoft's Sharks Cove: A Raspberry Pi-style mini-PC running Windows 8.1(pcworld.com ↗)

1 points · by johannh · 12y ago · 1 comment

comment 12y ago · link · parent

What if I'm not from the US and require a work permission? Any chance of applying?

comment 12y ago · link · parent

Looks promising! May I ask why you forked from the original (https://github.com/JamesFator/GoogleMusicMac)? Looking at the commit history it seems to be under active development.

comment 13y ago · link · parent

So what exactly makes Mongo such a bad implementation (apart from things that were already fixed)?

I don't mean to defend MongoDB, i'm genuinely interested in finding a better NoSQL DB. I just usually get to hear the same "Fisher price" bashing without any real arguments.

comment 13y ago · link · parent

So he's saying MySQL is bad, and MongoDB (because of a statement on their home page) is kind of like MySQL, so MongoDB is also bad. Also there was some article about scaling it to "only" 100GB which means it damages NoSQL as a whole in the "most harmful way".

Sorry but I don't really get the reasoning.

12