News for hackers. Stuff that matters.
Re:NPM Is Joining GitHub by batmansmk on Monday March 16, 2020 @01:07PM (#22594626)
VsCode, Typescript, Github, NPM.

And Microsoft doesn't even have to maintain the main runtime, Google does. What a clever strategy!

Re:NPM Is Joining GitHub by BiteCode_dev on Monday March 16, 2020 @01:44PM (#22595181)
Yes, they almost own the entire JS ecosystem at this point.

They lost a decade of battles for the web, but it seems they just found a way to get back in the fight.

Now at the IE 6 times, that meant monopoly, and it was terrible news.

But today, it means more competition between the giants, which is very good for us.

Re:NPM Is Joining GitHub by sbarre on Monday March 16, 2020 @02:10PM (#22595514)
One could argue that the IE6 of our times is Google Chrome at this point..
Re:NPM Is Joining GitHub by impatient_bacon on Monday March 16, 2020 @02:24PM (#22595682)
Safari.
Re:NPM Is Joining GitHub by dlivingston on Monday March 16, 2020 @03:07PM (#22596269)
Care to explain? Safari has one of the highest standards compliance of any modern browser [0], which IE famously did not.

It has been argued with various success [1] that Chrome is the new I.E., due to "Chrome exclusive" web standards.

[0]: https://html5test.com/compare/browser/safari-11.2/chrome-30/...

[1]: https://news.ycombinator.com/item?id=16070595

Re:NPM Is Joining GitHub by Spivak on Monday March 16, 2020 @03:20PM (#22596463)
I think the honest truth is that a lot of developers see Safari similarly to IE because Firefox and Chrome are quick to jump on and ship new features and "if only Safari kept up" they could be used "everywhere". Combined with the fact that iOS is large enough that you can't just drop Safari support and tell them to use Chrome.

It's a weird world where webdevs apparently ideally just want everyone on the 6 second old version version of Chrome. I totally get it -- it's an absolutely rational stance but it feels a lot like how devs felt about IE6 at the beginning.

Re:NPM Is Joining GitHub by oorza on Monday March 16, 2020 @06:28PM (#22598795)
You're right, IE6 was amazing at the time. It made a ton of things possible that previously hadn't been, and the standards bodies were lagging behind it. Had MS actually kept updating IE6 and kept it ahead of the standards, the standards would never have mattered, and we'd never have developed this sick taste for IE. No one hated that they had a monopoly, we hated that they had a stagnant monopoly.
Re:NPM Is Joining GitHub by aduitsis on Monday March 16, 2020 @07:51PM (#22599646)
Those of us that were using non-MS OSes like Linux or FreeBSD or Solaris back then hated it that sites were made to work correctly only on IE.
Re:NPM Is Joining GitHub by robertlagrant on Tuesday March 17, 2020 @03:53AM (#22602700)
Your comment just triggered the box model. Which is what I call my flashbacks about when hasLayout was true or not.
Re:NPM Is Joining GitHub by sgtfrankieboy on Monday March 16, 2020 @03:13PM (#22596352)
If you are going to compare browsers make sure you aren't comparing against a version of Chrome from 2013.

Here is the correct comparison: https://html5test.com/compare/browser/safari-11.2/chrome-68/...

Which clearly shows its the worst of the bunch.

Edit: Also just noticed, the latest Chrome version that the site has is 68. We're currently on 80+

Re:NPM Is Joining GitHub by nickpresta on Monday March 16, 2020 @06:50PM (#22599055)
A more up-to-date, although not complete, comparison is available here: https://caniuse.com/#compare=firefox+74,chrome+80,safari+13
Re:NPM Is Joining GitHub by jbjorge on Monday March 16, 2020 @04:42PM (#22597465)
I've worked with projects that used iframes in safari. It had some of the weirdest bugs. Some random times it didn't render changes to the DOM. Sometimes when clicking input fields it would focus the surrounding iframe element.

A webview in iOS could sometimes crash system wide. Not enough to restart the app. You'd have to restart the device.

Felt like a sitcom when I had to ask customers if they'd tried turning it off and on again.

Re:NPM Is Joining GitHub by saagarjha on Monday March 16, 2020 @03:19PM (#22596448)
Chrome is pushing version 80, I'm not sure why that website is using a version from seven years ago…
Re:NPM Is Joining GitHub by manigandham on Monday March 16, 2020 @05:32PM (#22598131)
Safari is way behind Chrome and Firefox on web features and has all kinds of proprietary rules on existing implementations.

It's not even required or the default install on any OS. And it has rapid updates that constantly test new features and improve performance and security.

Any "exclusive" features are just early testing for later standardization. It's Safari that's lagging in implementing them.

Re:NPM Is Joining GitHub by lexicality on Monday March 16, 2020 @04:20PM (#22597177)
Not for Javascript it doesn't.

Plus because it's tied to the OS and the phone determines the maximum OS you end up with a bunch of users stuck on ancient and buggy versions.

This is to say nothing about the remote debugger purposefully locking you out of older versions for no reason to make debugging them harder.

Re:NPM Is Joining GitHub by Dahoon on Monday March 16, 2020 @07:28PM (#22599463)
Want to try something fun? Install any browser in iOS and do a test. Then do the same test with Safari. Now ponder why they are exactly the same no matter which browser you install.
Re:NPM Is Joining GitHub by dlivingston on Monday March 16, 2020 @07:50PM (#22599636)
If you're referencing Apple's mandate that WebKit be used as the engine for all iOS web rendering, then yes, that's a poor policy ostensibly made in the name of security. Not sure if that's what your point is, though.
Re:NPM Is Joining GitHub by Polylactic_acid on Monday March 16, 2020 @11:03PM (#22601191)
Can you imagine how much legal trouble microsoft would be in if they blocked alternative browsers in windows? Simply providing a single default was too much.
Re:NPM Is Joining GitHub by artursapek on Monday March 16, 2020 @06:18PM (#22598681)
I also can't run Safari on my Windows or Linux machines.
Re:NPM Is Joining GitHub by stingraycharles on Monday March 16, 2020 @02:28PM (#22595725)
Safari doesn’t have the market share that IE6 had, though. Chrome has.
Re:NPM Is Joining GitHub by CSMastermind on Tuesday March 17, 2020 @07:25AM (#22603780)
I think it's important to remember that IE6 was an amazing browser when it was first released.

The problem is that it was left to stagnate after Microsoft won.

Re:NPM Is Joining GitHub by lucideer on Monday March 16, 2020 @01:10PM (#22594671)
In fairness to Microsoft, they did at least spend a little bit of time considering / working toward maintaining the runtime part, before deciding otherwise https://github.com/nodejs/node-chakracore/issues/628#issueco...
Re:NPM Is Joining GitHub by dgb23 on Monday March 16, 2020 @02:06PM (#22595467)
To be honest I like this new Microsoft. VSCode is a really good tool, C# is amazingly performant and they don‘t talk quite the same BS lingo as some other big players. Also MS research produces some really good stuff.
Re:NPM Is Joining GitHub by peglasaurus on Tuesday March 17, 2020 @01:12AM (#22601920)
These tools are worthwhile additions. Vscode is a important toolkit item for many. Just having it on multiple platforms is a useful common denominator that reduces friction.
Re:NPM Is Joining GitHub by sitkack on Monday March 16, 2020 @01:36PM (#22595067)
They could fork it, the core of the runtimework is moving to WebAssembly anyway which is a much more tractable problem. Sure this is a boatload of JS work to do at the interface boundary but the amount of hard compiler and jit work that needs to be focused on by main runtime is much lower.

Someone at MS knows strategic and tactics. When MS and Windows bootstrap themselves into the cloud, they will have some software to land on.

Re:NPM Is Joining GitHub by swyx on Monday March 16, 2020 @01:28PM (#22594960)
to be clear, Chrome's overall value to Google probably dwarfs all those things combined.
Re:NPM Is Joining GitHub by Ayesh on Monday March 16, 2020 @03:21PM (#22596474)
Also the new Chromium Edge is making its way. This will give some leverage on the browser front too.
Re:NPM Is Joining GitHub by millstone on Monday March 16, 2020 @10:53PM (#22601130)
What leverage?
Re:NPM Is Joining GitHub by searchableguy on Monday March 16, 2020 @09:48PM (#22600630)
Let's not forget electron, atom and a few other things...
Re:NPM Is Joining GitHub by Scarbutt on Monday March 16, 2020 @02:04PM (#22595436)
and Edgeium.