News for hackers. Stuff that matters.

jpangs88

Re:How we use web components on Wednesday May 05, 2021 @02:58AM (#27046976)
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.

Re:How we use web components on Wednesday May 05, 2021 @02:34AM (#27046842)
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.

Re:Mozilla Hubs – Private social VR in your web browser on Saturday October 24, 2020 @02:06AM (#24877300)
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).
I feel like node/Electron are about as safe as chromium and it's npm packages that have lost everyone's confidence.
Re:Try Svelte on Wednesday September 23, 2020 @06:56AM (#24565432)
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...
Re:Things I Learned to Become a Senior Software Engineer on Monday September 07, 2020 @09:53AM (#24399421)
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.
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.)

Re:A one-line package broke `npm create-react-app` on Saturday April 25, 2020 @01:41PM (#22979735)
I was wrong about what this was I have edited this comment
Re:A one-line package broke `npm create-react-app` on Saturday April 25, 2020 @01:34PM (#22979689)
Makes me look forward to this more https://romejs.dev/ since one of the ideas is that it will have no third party dependencies...
Re:Svelte Is Unappealing on Tuesday March 24, 2020 @07:12AM (#22673843)
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.)

Re:Things about the new Firefox browser for Android on Thursday February 27, 2020 @12:38PM (#22435569)
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.

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

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.
Re:Thank you, Chris on Thursday August 29, 2019 @02:30PM (#20832286)
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

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

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.
This was behind a paywall, here is a similar article:

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

Re:Microsoft Edge and open source collaboration on Thursday December 06, 2018 @12:27PM (#18620090)
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.
Re:Mozilla hit with takedown request for anti-paywall addons on Monday December 03, 2018 @01:40AM (#18586801)
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?

Re:Do You Really Know CORS? on Thursday October 04, 2018 @01:25AM (#18137398)
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.

Re:Pop Songs Written by Native Speakers of Swedish on Monday August 20, 2018 @11:55AM (#17800963)
Oh now I've misinterpreted this song two times haha. Thanks for the help.
Re:Pop Songs Written by Native Speakers of Swedish on Monday August 20, 2018 @02:05AM (#17798011)
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.

Found a link to a forum saying exactly what you said. Weird that they don't say anything about this computer. I wonder why they even sell it at all. I guess they still sell the MacBook Air which hasn't been refreshed in a while so that's just one of their business models, sell old tech at modern prices and spend nothing on advertising.

https://forums.macrumors.com/threads/future-13-macbook-pro-w...

The T2 chip also controls the secure boot functionality, I don't think that Apple would skip adding it in just because it doesn't have the touch bar.

Here is a link from Apple that says all of their Macbook Pro models have T2 chips from 2018 onward.

https://support.apple.com/en-us/HT208862

But I still may be wrong though where did you read that the MBP without a touch bar doesn't have a T2 chip?

Apple does have one model without a touchbar but it's thirteen inch and has lower specs. I am pretty sure it too has a T2 chip and the same keyboard flaws. It's what I'd buy if I bought a Mac but I don't think I will.

Older »