758 points · by bevacqua · 10y ago · 310 comments
Unlike most of Microsoft's other EEE attempts, this time they're putting their code with their mouths are and putting it all up under MIT. There's little you can do to get more open and honest than that. If the community doesn't like the direction MS is taking Chakra, they're free to take it in a new direction. Hopefully it doesn't come to that, but it's an option.
Joyent wound up embracing io.js, and Node.js is moving at a very fast pace now while maintaining LTS branches in parallel. It's a very well managed project, in my opinion.
Aside, how come anything remotely questioning of Microsoft when there's an announcement is met with downvotes?
I don't think it is. However, I'll downvote criticism that isn't actually based on anything other than "well, you know, it's Microsoft so they won't", "remember extend, embrace, extinguish?" or "M$", etc. etc.
Criticism with actual backing is fine.
I've found them generally to be quite supportive and encouraging in the vast majority of places.
I've been un-acknowledged on a couple and have felt un-welcome in only one instance. (In that one case I'm pretty sure the words we were using were all English, but I'm not sure we had the same meaning... I walked away from that one feeling dumber than where I started.)
All said and done, I have been wildly pleased with my experiences as a Microsoft community contributor on github... Though would say that there is some variability as you cross teams.
As you'd expect from people.
I do not get what you mean here, are you willing to elaborate a bit? :)
Selection effects! Posts about Microsoft doing something cool will attract a readership in which Microsoft fandom is over-represented, compared to the average readership of HN.
I disagree. Node was OSS-licensed under GitHub back in the Joyent days, but the inner circle was still very much closed. PRs languished for months or even years. The leap from there to here for Node is, arguably, bigger than the leap from closed-source to open. Evidence: io.js had to happen.
Microsoft is a much, much, much bigger company than Joyent. If they decide they want to take things in their own direction, they can throw an awful lot of programmers at making that happen. Which would make standing up a fork that could plausibly claim to be at least as actively developed as Microsoft's would be much more difficult.
I'm not saying Microsoft is intentionally not licensing patents through OS, this might be strictly to be compatable with GPL.
> The MIT License (MIT)
> Copyright (c) Microsoft Corporation
Incredible!
https://github.com/Microsoft/ChakraCore/blob/master/LICENSE....
This announcement is probably timed to coincide with NDC. There were lots of similar open source announcements at a previous MS conference I was at. Although it was a bit weird due to the time difference on the embargo.
I'm not going to pretend that MS "got it" at the time. "Share Source" was an insult to everyone. However, internally you could see light bulbs going off in people's heads. People who worked on the shared source version were proud of what they were doing and were really eager to have people look at it. The fact that "shared source" essentially crippled it to the point that it would be useless to everyone was surely a thorn in those people's sides. It (and every other shared source project) died in obscurity (thankfully).
I often wonder if this was one of the seeds that eventually sprouted inside MS to make them start to take open source seriously. I even wonder if one day we will see them embrace software freedom. Well... I can dream can't I ;-)
MS is being open because it makes sense to, and it's the only way to maintain mindshare in the near future. Azure's a decent enough offering, but AWS and GCE are right there as well, each with advantages over the others. I actually like windows (mostly), but need it far less, as I can do what I like with OSX and Linux and do daily.
As a developer/user it's nice to see the changes.
Gone from being vehemently anti-Microsoft most of my career to going "Hmmmm, I should look at that."
Now to carve out time to do anything with any of it. :\
And it is incredibly great having competition in the JS engine market.
Their open-source friendliness has unfortunately coincided with a decline of their respect for user privacy and choice (Windows 10). I find the "New Microsoft" bittersweet.
Most of the privacy settings that people are most worried about is tied into Cortana or more specifically what you allow Cortana to do on your behalf. You can simply choose not to use Cortana or to disable it entirely. Google Now & Siri support the same functionality but ironically don't give you the settings to disable it, so nobody bats an eyelid.
Beyond that you only really have so called "basic telemetry." Which tells them when you launch a Windows 10 "app" and some basic computer information. But even without that setting/ability the apps themselves could conduct the same reporting (via direct HTTP requests), the only reason it is even a setting is because Microsoft unified it to make developers lives easier and to better aggregate the information their side.
Are people legitimately concerned that when they launch the XBox music app that Microsoft knows you did? Even without the Windows telemetry they could just look at their own server logs since the XBox Music app utilises so many web resources (e.g. images). The same is true with any developer, any app, on any platform.
Ultimately the whole thing is a bunch of noise and no substance. Nobody can actually point to exactly what specific information Microsoft is even taking, and have even less data yet still to back up any claims.
In all of these discussions on HN, the only ones bringing up "worries" about Cortana features have been people defending Windows 10 (and now Windows 8 and 7) data collection. It's easy to disable and, if you choose not to use it, it won't collect data anyways. The same can't be said of telemetry.
> Which tells them when you launch a Windows 10 "app" and some basic computer information
Actually it's not clear what else is being collected, because Microsoft won't disclose what's being collected. Is there evidence that only data about usage of Windows store apps is being collected?
> But even without that setting/ability the apps themselves could conduct the same reporting
Which would be needed to take into account when deciding on if that app should be used. Just to be clear, that means the application I choose to run might be collecting analytics, but my OS is also collecting analytics on the applications I'm choosing to run because it thinks it should.
> Nobody can actually point to exactly what specific information Microsoft is even taking
Yes, because Microsoft won't tell anyone what it's collecting!
> and have even less data yet still to back up any claims
As a baseline, you yourself talked about how we know they're collecting information about application usage. That right there is undesirable behavior for many that we have plenty of evidence for.
Not when you consider the fact that they're being so damned sneaky about it.
First, the idea that you have to run an enterprise OS to turn off (not "set to basic", but turn OFF) the tracking says volumes. Just by having it default would meet the goals of collecting development/troubleshooting/debugging info since most people won't change the defaults.
Next up, there's the fact that Microsoft has gone out of their way to make it hard to turn off anyways by hard coding addresses and ignoring registry keys. The only way for a home user to stop all tracking is to firewall an ever changing list of IPs.
Third, you do not know what they are tracking or not tracking. The communications are secure and the application closed source.
It's more the attitude these actions belie than the actions themselves, IMO. It's a very quiet, but distinct disdain for the user. "Yes, you paid $100 for our OS, but you didn't think you actually controlled it, did you?"
So... minus four in a short amount of time. Would anyone care to explain how I'm incorrect about any of this?
I don't want certain Win 7 machines that I own/maintain to ever upgrade to Windows 10. Didn't ask for it. Don't want it. Just go away and let me do my job. Microsoft provides me no official way to disable that horrendous popup. I expect that shit from shady browser toolbars, and bundled crapware, not Microsoft.
Microsoft seems to think the users can't be trusted with options to disable Updates, Telemetry, and other BS services. I absolutely HATE having to ever reboot my windows machine. It is extremely critical for me to have my dev box be rock stable and running 24/7. I frequently used to go months without ever rebooting it. Also, with Win 7 I could just set the Update behavior to "don't call us, we'll call you". With Windows 10 I'm forced to muck around with services and group policy just to get my machine to update and reboot on my schedule, rather than Microsoft's.
As a customer of MS, I despise these methods, as I continue to use their OS, because there simply isn't any other alternative. All I can hope for is people who don't specifically need Windows to switch to other OSs en masse. At this point I could be swayed into thinking that its a good idea to support anti-microsoft efforts even if they are not based in facts (as you point out, nobody has shown exactly what they collect), just to obtain the result that you want.
Siri can be disabled. Location tracking to improve contextual understanding can be disabled separately if you don't want to disable Siri completely. If you disable Siri, all data is deleted. You're also informed of exactly what data is uploaded.
> Beyond that you only really have so called "basic telemetry." Which tells them when you launch a Windows 10 "app" and some basic computer information. But even without that setting/ability the apps themselves could conduct the same reporting (via direct HTTP requests), the only reason it is even a setting is because Microsoft unified it to make developers lives easier and to better aggregate the information their side.
Does Microsoft let you disable this? Apple offers you a prompt like this one http://imgur.com/aBzTNsV on every major (x.y) update, and shows you what data is being uploaded (as well as letting you disable it) in settings.
Enterprise customers are fine because they have controls for everything, but small offices running Windows 10 Pro aren't so lucky.
"Microsoft Builds Trove From Windows 10 User Data To Support Bing, Cortana"
Plus them collecting data from windows 8(.1) and 7 users without any proper warning/message to user is wrong.
I still can't imagine why Microsoft would think it's worth the bad publicity to not offer the option to disable telemetry, considering how few people tend to deviate from defaults in general, and how tiny a percentage of their users even care about privacy to begin with (evident from the commercial success of Windows 10).
They've been getting so much goodwill for all the other great things they've been doing lately. It just seems downright foolish to squander all of that for a few extra basis points in their telemetry data from those rare few users who care about privacy but are forced to use Windows 10 anyways for whatever reason.
Those who care about privacy but do have a choice in OS will simply avoid Windows 10 altogether because of the mandatory telemetry, which is telemetry data that they wouldn't be getting anyways. A certain percentage of these people could be Windows 10 users if it weren't for the mandatory telemetry. Would they really rather have people using other OSes, than having them use Windows 10 without giving them telemetry data?
So many aspects of their position on this issue seems completely irrational to me.
Yes, a much more accurate description than the GP's would be that the "new Microsoft" isn't letting single executive edicts set corporate policy for many things, such as how all teams should interact with the open source communities, instead letting teams themselves make that decision and then supporting them in doing so. The natural result is that many developers within Microsoft come from or have extensive experience with open source and so will embrace it when given the opportunity.
It feels like less a change in philosophy of "open source is our future" and more of one that good decisions can come from the bottom up (and a little bit of "yeah, the whole 'linux is a cancer' thing was really stupid").
Similar to Google, Facebook, Twitter and others: They support open source, but not end-user control or privacy.
EDIT: Not a complaint, but it's very interesting that this was modded down. It's a simple, factual statement that I doubt the companies themselves would disagree with (though the truth is much more detailed).
And odds are there is an iPhone or Android phone in your pocket, its software metaphorically top heavy with instrumentation to track your ever engagement pattern with laser-like precision.
But Microsoft takes the brunt of this complaint because they're open, honest, and give you a scale of opt-outs. But mysteriously no one blames Ubuntu for doing the exact same things because... freedom?
Meanwhile, Microsoft has opened their entire core technology stack to outside scrutiny, adopted a radically user-centric approach to OS design, and taken a very risky and user-and-dev-friendly strategy regarding how apps are shipped and created.
I find this ceaseless double standard less than sweet, and indeed very much about bitterness.
The Win10 privacy thing isn't much different from what Apple now does by default, and all of it can be turned off. While it does gather data, it does so in the course of supporting functions that most users want like Cortana and smart search. Apple is also full of phone home stuff that must be deliberately turned off if you don't want it.
The fact is that the market has clearly indicated (1) a preference for free stuff that is supported by 'ecosystems' and indirect monetization, and (2) a willingness to trade privacy for convenience and features. You can't blame companies for complying with what the market clearly wants as indicated by consumer buying behavior. If people cared about security and privacy more than features and UX, they would vote with their dollars.
That's why I spent several hundred dollars on a copy of Windows. But can you imagine my reaction when Microsoft secretly installed tracking software to collect my personal data!?
Some times when I open up a new app, copy something into clipboard, or search on the web, there will be outgoing connections to akamai / microsoft servers.
I'm currently migrating to Linux because of this.
They are obviously trying to reinvent themselves partly in the image of Google, whose motto "Don't be evil" also sounds very hollow nowadays.
But I shudder when I think of a world where Google is built upon closed software.
[To clarify: I know that Google does not open most of their software. However, with their reliance on open source software they were a big driver for the legitimacy of the movement]
Which makes me agree very hard with your first point, btw.
As far as I know they give you the option to opt out of everything. Are they bad even for asking?
No, they don't, and two seconds of searching will confirm that for you. All many of us are asking is to be able to opt out of it.
Here is how a process of enforcing looks like: https://www.reddit.com/r/Windows10/comments/3f38ed/guide_how...
The thing we now know as "telemetry" used to be opt-in, and they hide the opt-out control during initial setup behind a thing that is a link but doesn't look like one.
It can still be turned off after installation in the same exact way as the previous versions of Windows (enter "experience" in the Start menu search box), but most won't know that this control exists.
All the rest of the things causing people to freak out about privacy are related to Cortana, and the process for turning that feature set on is in-your-face opt-in, where it's clear that you're authorizing data sharing with them.
We do a lot of high-end GPU stuff here, and Apple doesn't make any hardware that supports multiple high-end NVIDIA cards in any practical way. And no Apple monitor does 100% AppleRGB or any of the cinema color spaces, so we always needed third party monitors when doing color work.
Windows 10 is as nice and stable as Mac OS used to be (before Steve Jobs died).
(Even if its current management has the noblest intentions, who knows how it'll be in two or three years?)
Microsoft's entire leadership has turned over and it's easy to see that their culture is very different from the days you're talking about.
Also, they don't have a monopoly on nearly anything and certainly not on Javascript engines. They couldn't move to the "Extend, Extinguish" phases even if they wanted to.
Microsoft has a long history of not being so nice when they have an advantage. How much of that is leadership driven, and how much is built into the corporate culture and structure? It's knee-jerk, but it's not crazy to think about.
Yes. They made a 180° turn already. Who says they won't do another?
Customer lock-in isn't Bill Gates' idea. It's a very tempting strategy that you can find virtually everywhere where companies think it'll gain them money.
Big Corporations can have mixed messages. Apple (My most hated company in Tech has also been very good to Open Source with some projects)
They didn't have a monopoly on spreedsheets or word processors in the early 90s either..
It's nice to see but, as far as competition within OSS is concerned, it's about 7-8 years too late. MS will no doubt, at some point, release something like Node.js based on this engine. If they do it'll be widely lauded, but you can barely say they're even a "fast follower" here when they're this slow.
(I use v8 and javascriptcore all day but I still appreciate it)
I'm not disputing MS have made impressive efforts. I've just yet to see anything from them that would make me put long-term stock in their open source commitments.
https://github.com/Microsoft/node - "This project enables Node.js to optionally use the Chakra JavaScript engine."
(There's no reason clang importer couldn't surface C++ or any other language to Swift for that matter)
[1] You young-uns and your Clang. I did a C++ binding generator for my GSoC project, and back then ('05) GCC was the only open-source thing that could parse C++, and you could only get at the parse tree by patching it to dump XML.
Also, the reason you could only get the AST as a XML dump was because of the same shortsighted mindset.
It could have, but a standardised ABI is a terrible idea. Once you commit to an ABI you're stuck with the tradeoffs you make. If C++ had specified a stable ABI 20 years ago, we'd all be using setjmp and longjmp for exceptions, and small string optimisations and such would be impossible.
I don't really see the big deal tbh. C++ code compiled with GCC was ABI stable between GCC 3.4 (Apr 2004) and GCC 4.9 (Apr 2014), and you can still use use the -fabi-version switch today to generate code against older ABIs. Hell, libstdc++v5 (shipped with GCC 3.3) is still packaged for most distributions.
This is interesting. You can use it as an alternative to v8 for node.js
https://github.com/Microsoft/node/tree/chnext/deps/chakrashi...
It's interesting that the license of the Chakra shim is the V8 license:
https://github.com/Microsoft/node/blob/chnext/deps/chakrashi...
E.g. All files in https://github.com/Microsoft/node/tree/chnext/deps/chakrashi...
Disclaimer: I work for Chakra team (powering node.js)
Not being permanently coupled to a particular platform is probably a good thing for Node, and provides a healthy incentive for V8 to stay on-top of its game.
Over the past 5 years or so, Microsoft has lost developers as a core group. There are certainly interesting things happening out of their dev group, but with the rise of Cloud infrastructure, cheap (free) alternatives to WINS stacks rose tremendously in popularity.
I was a Seattle Techstars 2013 Founder, and the only two teams using MSFT tech were those whose founders were ex-Microsoft employees.
This just feels like a ploy to get developers back on to Microsoft's platforms, then slowly bleed them dry with fees.
*
My experience with the new Microsoft: One of our major products runs on Microsoft SQL Server. Sadly, many developers/ops folks did not realize the difference between SQL Server Enterprise, and SQL Server Standard, and opted to install SQL Server Enterprise on servers, despite not using any of the Enterprise features.
Not only does SQL Server Standard pricing differ compared to Enterprise, but how it's price differs. Enterprise is charged based on a per-core license, requiring both a core license for every core, as well as a minimum of 4-core's per physical processor.
During a routine Software Audit, MSFT determined we had quite a few more SQL Server Enterprise installs than we licensed, so sent us a nice fat bill. We asked for leniency. It was a mistake (ours of course), but we didn't use any of SQL Server Enterprise features.
MSFT wanted no part of that.
So we ponied up our bill, and decided to never use MSFT tech again.
Contrast that with AWS. Due to developer error, we had one of our AWS keys compromised and an attacker used it to mine bitcoins. Amazon sent us the bill. We contacted them, and they gave us a one-time forgiveness.
*
The morale of this story: Use microsoft technology at your own peril. Also, having developers handle infrastructure is cool, but don't discount the value of a dedicated infra team.
MSFTs tactics: allowing you to install SQL Server Enterprise without actually having a paid-for license, is similar to charging someone a fee for a service, and having them opt-out of any reoccuring subscription fees.
This is just anecdotal evidence that "new Microsoft" is the same as "old Microsoft."
I'm willing to believe that the folks working on this actually do care about contributing to open source and believe "rising tides raise all ships," but not for a second do I think that the decision makers at MSFT also believe that way.
So, you license a technology, and now your supplier can police you at their own wish. OK, there are situations when you have no choice - they are the only game in town. But in the last decade much of the infrastructure has been available in an open-source form.
I am surprised anyone would touch anything from such companies if there is a free alternative not connected to such companies (and in this case there are many).
I can believe there's a contractual term in the volume license agreement that allows them the right, but for that they be giving you a significant discount, which seems fair.
Every time I use firefox or libre-office or linux or vim or postgres or http or node.js or any of the great open alternatives to the ugly walled garden that is Microsoft, I feel free as an individual and empowered as a developer - I at least have the tools I can use to make peoples daily work better.
I particularly want them to leave node.js alone, as I use this on a daily basis for real work - I don't want to see them screw that up aswell.
I suspect the implementation is tightly coupled to Window's ABI.
LuaJIT platforms like luvIT[1] with proper VM management/diagnostics APIs will make it compelling solution for backend middlewares and IoT boards.
[1] https://luvit.io
I know that there was probably a good amount of work that went into making this happen.
Disclaimer: I work for Chakra team.
There is tremendous political and PR value in offering MIT outbound. Fun thought experiment: How different would reception be with Apache 2.0, Eclipse Public, or similarly "enterprisey" terms?
I know that doesn't entirely address your wish, but it's a step in the right direction. :P
This link should show JSC there:
It doesn't surprise me though. ASP.NET is a powerful platform which has seen some great improvements after MVC gained traction, but I wouldn't use it for anything simple where a static site generator or WordPress would get the job done.
* Better ES6 support https://kangax.github.io/compat-table/es6/
* Faster performance http://az648995.vo.msecnd.net/win/2015/12/chakra-performance...
In this case the duplicated effort is desirable. You're implementing an engine to meet a spec. Duplicating the effort gives you:
Competition - if there's only one implementation, what are your drivers, metrics and priorities for improving performance, spec compliance, and correctness? In practice, you're going to be deciding these things arbitrarily, by committee, on behalf of the market. If on the other hand you have two(+) competing engines, all these decisions are driven much more by the market, which is far likelier to generate better results for the market.
Redundancy - If the same spec is implemented semi-independently by two different teams, then different implementations of the same features will be tried, and tested in the wild, until winners emerge for different use cases. This is incredibly powerful for innovation and optimisation, and the fact that both engines are open source only multiplies this power.
Definitely by literally merging the two engines into one codebase, you'll lose these advantages almost completely, and even putting the two teams and the two projects under one organisational roof whilst still trying to keep them 'separate' would put the advantages of them being truly independent at serious risk, whilst probably not having much upside that isn't already provided by having the two codebases be open source.
Two independent teams duplicating their efforts is a very, very good thing, and even better now that ChakraCore is open source.
Pragmatically, that's very unlikely to be effective.
The two teams are culturally, physically, and temporally (time zone) distant, so Conway's Law tells us it would be very difficult for them to efficiently work on a single code artifact.
It's not impossible, but it requires a lot of coordination. With something as deep as a high performance language VM, it's really hard to scale development beyond a handful of people in one room. Unlike, say, an application framework or an app, there are few easy, loosely coupled things to hack on.
Disclaimer: Msft employee on chakra
Declaimer: I work for Chakra team.
I work for Chakra team.
Look at prototype pull request in ChakraCore by one of our awesome engineer: https://github.com/Microsoft/ChakraCore/pull/63
You will need to complete a Contributor License Agreement (CLA) before your pull request can be accepted. This agreement testifies that you are granting us permission to use the source code you are submitting, and that this work is being submitted under appropriate license that we can use it.
[0] https://github.com/Microsoft/ChakraCore/blob/master/CONTRIBU...
It's just a way of confirming that you own the rights to your contribution, and that you explicitly give Microsoft permission to use it. (And if you didn't want to grant them permission, you would have no reason to contribute!)
Mozilla gets by without one. Apple's approach for managing Swift, too.
> It's just a way of confirming that you own the rights to your contribution, and that you explicitly give Microsoft permission to use it.
If that's all they wanted to do, they could get by with something resembling the terms that Mozilla gets its committer's to sign. Usually these CLAs are specifically written to go a lot further than that, though. They usually take away a lot of the contributors' bargaining power. Microsoft's CLAs included.
Mozilla does have one.
> Code committed by you to a Mozilla Repository, whether written by you or a third party, must be governed by the Mozilla Public License 2.0, or another license or set of licenses acceptable to the Mozilla Foundation for the Code in question.
https://static.mozilla.com/foundation/documents/commit-acces...
Swift has a much shorter one:
> By submitting a pull request, you represent that you have the right to license your contribution to Apple and the community, and agree by submitting the patch that your contributions are licensed under the Swift license.
I could go on, but the point is that CLAs exist for good reasons. There may be another, different way to accomplish the same goals, but since it isn't my pocketbook funding the project, I don't feel like I have a right to complain.
As such, just because a project has a CLA doesn't mean there's anything nefarious or inhibiting going on.
Regardless of what license the project is filed under, as an individual contributor working for free for the community, the license of a project determines the terms under which I am sharing my work. I expect those to be respected in perpetuity, and I would like the right to rescind my contribution if the copyright holder is in violation of the license.
(Please don't turn this into a GPL vs MIT discussion)
EDIT
Echoing other responders here, if you downvoted I would really appreciate the discussion of why.
The CLA is just another license to consider with the project; just like projects that have the "any later version" GPL clause. That little addition is important to some individuals.
I think a more successful argument would be against the lack of specific guarantees in existing CLAs, rather than CLAs themselves.
For example, the CLA could give joint copyright to the involved parties, but also agree to only publish the code under a license published by the Free Software Foundation.
CLAs, as you point out, are sometimes a necessary mechanism to ensure that a project can correct licensing issues when they arise. Obviously, through careful choice of licensing it may be possible to avoid the need for a CLA entirely, such as is starting to be done with the Apache License 2.0 by some projects.
So I would think of this differently: depending on the license, some projects may need a CLA for protections only available to them with one. For those projects, the community should encourage them to encode their intentions in the CLA to assuage fears and provide certain guarantees to contributors.
Finally, keep in mind that the entire world does not follow US Contract / Copyright law (or even the bern conventions). In some countries, a CLA may be the only possible way to ensure that a project won't have problems later. While the current versions of today's "free software" licenses have generally tried to account for that, legal situations change over time.
EDIT
Dear mods. Some pretty measured posts are getting serious heat in this (and other threads relating to MS) maybe you could look into it?
Unfortunately there are people here right now that are paid to shill your crap and constantly come up with excues like "things have changed". Yeah right, like I will forget what you have done.