HN user

jpangs88

58 karma
Posts1
Comments34
View on HN

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?

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.

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...

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.)

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.)

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.

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."

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...

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.

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?

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.

I always thought they just forgot the comma. "All that she wants is another, baby."

I am an native english speaker that moved to Sweden. I am currently learning swedish and the swedish language doesn't use commas in the same way. I think a comma, even in just the lyrics (or a pause in the song), would have made things clearer.

I am not sure if this is related but I also worked for a company that had this business model and they were desperately trying to change their business model because the money that came in from these calls was decreasing and would eventually stop coming in. It could be that they stop making enough more.

It could also be that they were bought by a different company that had this business model (something that my old company did all the time.)