Better HN
topnewbestaskshowjobs
Log inSign up

jpangs88

58 karma · joined Feb 8, 2017 (9y ago) · 40 submissions

Submissions

comment 5y ago · link · parent

It seems to work okay as in you can use them: https://reactjs.org/docs/web-components.html

But it is not fully integrated with react, you have to do some work for interaction: https://www.sitepen.com/blog/wrapping-web-components-with-re...

That link is a few years old though I think the principle is the same.

comment 5y ago · link · parent

At my work web components were purposed recently for creating a ui component library of which I was skeptical. On the whole I was skeptical of web components viability and future but this post relieves some of that tension.

The other thing I was worried about was that it was planned to after writing this web component lib, to wrap these components in React. Does anyone have any experience or insights into a React wrapped web component lib?

comment 5y ago · link · parent

I get frustrated by things like this, these walled gardens of people I know. I wish I could just switch to signal but I've found people would rather just not talk to me than download a new messenger app

I've settled for just talking to the people I can convince on different messengers and now have ~5 messenger apps on my phone.

4.

Browserlist Down/Looking for Donations(browserl.ist ↗)

1 points · by jpangs88 · 5y ago · discuss

comment 6y ago · link · parent

I also thought the avatars looked creepy. I understand that this could be useful but is it more useful than MDN??? (Personally I don't think so).

comment 6y ago · link · parent

I feel like node/Electron are about as safe as chromium and it's npm packages that have lost everyone's confidence.

comment 6y ago · link · parent

Vue is also making something similar in both name and function https://vueschool.io/articles/vuejs-tutorials/suspense-new-f... don't know about svelte...

comment 6y ago · link · parent

So I very much agree with the sentiment I started writing a similar comment, but if you scroll down to the very last sentence (it's a bullet point) of the article it says that the author is not a senior engineer.

comment 6y ago · link · parent

I feel that so many of these articles on Sweden fail to mention the reason for Sweden's strategy and often say it due to another reason. The reason that the Swedish government has given for the strategy is that they think that people can follow the restrictions long term. It's not to save the economy or to create heard immunity (which I have heard from many people.) I think it's too early to judge Sweden's strategy as presumably the intent is that things will be better down the line.

On a more personal note, I live in Sweden and I am not a Swedish citizen and I can say that things aren't "Business as usual here" and plenty is being done to stop the spread of the COVID 19. I can't say I 100% agree with the policy but I also don't think it's the huge mistake people make it out to be.

I have linked below an explanation for the strategy by one of Sweden's top epidemiologist and the one that's often credited as the architect of Sweden's strategy.

https://www.bloomberg.com/news/articles/2020-06-28/sweden-s-...

https://www.krisinformation.se/en/hazards-and-risks/disaster...

comment 6y ago · link · parent

The favicons on the duckduckgo browser are often worse than other browsers in my opinion. For example the BBC website where DDG interestingly enough just uses /favicon.ico and the other browsers use the apple touch icon. (Information I found from just looking at the pages headers)

Don't really understand why they do extra work to get worse results... This feels to me slightly worse than just a privacy concern, it's a misunderstanding of their domain which leads me to the question of what else do they not fully understand.

The good news is that you can have the DDG search engine as a default in other browsers.

(I understand that the DDG browser is probably not their main focus and any lack of knowledge can potentially be just on their mobile browser.)

comment 6y ago · link · parent

I was wrong about what this was I have edited this comment

comment 6y ago · link · parent

Makes me look forward to this more https://romejs.dev/ since one of the ideas is that it will have no third party dependencies...

comment 6y ago · link · parent

I don't think there is anything bad or wrong about using preact. I gave it a shot and for the most part it worked really well. I think the only bad thing I noticed was that not everyone supports it (or at least some parts of it).

I ended up switching back to react due to the fact the react router coupled with typescript didn't work with preact. It's a known issue, and one that's kind of hard to get around if you want to use react router (which my code was already written with). That being said, there are routers that work with preact and typescript, just not react router.

I say give it a try and see if you like it.

Also you can take a look at this for a more in depth comparison https://preactjs.com/guide/v8/differences-to-react/ (at least between preact and react.)

comment 6y ago · link · parent

It's true that most the extension support is going away for now.

From there GitHub project it doesn't sound like the only thing that won't meet feature parity in the new version.

That being said I am using nightly preview and am really enjoying it and would recommend it.

And if you still want all those extensions you could always fork the current version like waterfox.

comment 6y ago · link · parent

Although true kali Linux is bot general and has a bunch of "hacking" tools on it, how many people who will read this will know the difference? I could see many people seeing this and conflating it with Linux as a whole unfortunately...

comment 6y ago · link · parent

Also the title sounds funny, "What is on a child's computer?"

As well as the very 1984 like, "engage them into positive diversions." Great copy!

comment 7y ago · link · parent

Versioned garbage, but yeah you could. It would just make a new version not work which isn't as harmful as taking away a package.

comment 7y ago · link · parent

Yeah it's a shame they have significantly slowed down updates to it. To me it sort of felt half done since you could sort of have tabs if you opened links. But it's a solid browser hope to see it continue.

Recently I've been using Firefox preview for Android and really enjoying it. Looking forward to it replacing Firefox for Android

https://github.com/mozilla-mobile/focus-android https://github.com/mozilla-mobile/focus-ios

comment 7y ago · link · parent

I have always found the big 3 JavaScript frameworks to be three versions of the same thing with slight differences. As someone who as worked in frontend for a while I am vexed in why people think the skills from one framework don't translate to the others.

I remember talking to someone about working on a project and they asked me if I had worked in Angular and I said no but I have worked in Vue and React to which I got a reply of "you should really learn angular."

comment 7y ago · link · parent

Does anyone know the status of the Chrome native ad blocker, the one that would block just the "obtrusive" ads? I remember hearing about it a while back and if it comes out with this change I think it would solve the use case of most people.

Not that I don't want people to switch to Firefox/other browsers, I just feel like if Google implements their own solution I think most people won't mind...

comment 7y ago · link · parent

Safari uses Chromium, how so? I thought they were based on the same engine then they split but that was like 6 years ago. I couldn't find anything on it with a simple search.

comment 7y ago · link · parent

This was behind a paywall, here is a similar article:

https://www.bbc.com/news/technology-48262681

comment 7y ago · link · parent

I feel like I should be happy as a web dev to hear that I no longer have to support a browser engine made by Microsoft (which has been a huge pain and despite this will be a huge pain for a while due to people still using old browsers) but this feels bittersweet. It feels like we're taking the engineering out of everything because companies can make more money by not innovating.

comment 7y ago · link · parent

I'm wondering how this is different than add blockers which are allowed in the app stores. In concept it does something very similar: allows the user to circumvent how people get paid for content.

I understand that ads can be more dangerous than paywalls but the end result is the same. Is it just that some lawmakers saw one as okay and the other as not?

comment 8y ago · link · parent

I agree, the only thing I have ever found with CORS is that it makes it difficult for people who don't consider it when planning out servers should run. It goes like this:

- Just use my API...

- I tried, please enable CORS.

- What's CORS?

I find it frustrating that this seems to be the default for most servers. I think it should be opt in and not opt out.

comment 8y ago · link · parent

Oh now I've misinterpreted this song two times haha. Thanks for the help.
12