200 points · by pabs3 · 3y ago · 334 comments
By asking nicely. Not by siphoning data out of my system.
Where is this world going ? Do i really have to treat every program as spyware and restrict its internet access ? And anyway, why would a compiler need internet access ?
The problem is always how to randomly sample people and AFAIK there is no good way except randomly sample people (a.k.a telemetry). You can argue that developers shouldn't care that much about their software are being used and whether they are performing as expected, but asking nicely really is not a solution.
APPENDED: PLEASE NOTE I'm saying asking nicely is not a solution to get correct data from statistical standpoint. You can argure the data accuracy is not important in this context.
LLVM, GCC, rust, zig, D, etc don't have telementry and they seem to be doing fine. What makes go special? They aren't trying to be more efficient than rust. It isn't more widely used than GCC. I would argue they don't need this telemetry at all.
Some people are posting here as if this is already decided -- AFAICT, that's not the case. It's not even a formal proposal yet, and the stated intent was to start a conversation around something concrete. (For context, this is standard for how the Go project approaches large topics, including for example I think there were something like ~8 very detailed generics design drafts from the core Go team over ~10 years).
It sounds like the Go team is going to take some time to look into some of the alternative approaches suggested in the feedback collected so far.
In any event, this is obviously a topic people are very passionate about, especially opt-in vs. opt-out, but I guess I would suggest not giving up hope quite yet.
[0] https://discourse.llvm.org/t/rfc-lldb-telemetry-metrics/6458...
it's owned by an ad company
But that doesn't mean it's not useful, for Go but also gcc, or Zig, or D, or any other language.
A long list of use cases is given here: https://research.swtch.com/telemetry-uses
Where I'd expect difference is precisely over the question of whether it's worth the cost & trust issues. That makes me wonder whether there might be some middle-ground here where some third-party like the Linux Foundation could run a telemetry service which is highly public in both its design and collected data, and whether that would be enough that many people would be comfortable with this kind of service without Google's business reputation entering into the equation.
https://www.oracle.com/java/technologies/javase/terms-java-u...
https://learn.microsoft.com/en-us/dotnet/core/tools/telemetr...
Also the idea of GCC is more used than Go and GCC does not have telemetry so GO doesn't need it is completly unrelated.
Most dev working on core tools want telemetry to improve those tools, it's invaluable data to make the right decisions.
Well, to bad. Because if you don't, you've built a piece of malware, by definition. You need to ask, live with bias, and draw your conclusions accordingly.
It's just that, if the argument in my last paragraph did become widely accepted, it would lead to a pretty brutal society. (And, of course, it is becoming pretty widely accepted where software is concerned.)
Reading through the use-cases at https://research.swtch.com/telemetry-uses one thing to consider is that these are the kinds of things people care about as a project matures — once you have a large number of people depending on your project, you have to worry more about unintended consequences as you evolve and since the user community has grown larger and the project more stable it's also harder to know whether the people you hear from regularly are representative. When a project is small or mostly used by enthusiasts you can be more confident that your understanding of what people are doing is relatively accurate but that just isn't true over time. For example, how many millions of Java developers never contact Oracle or the OpenJDK developers throughout their entire careers?
Generics were also controversial and it took multiple iterations and years to get them done.
I wouldn’t call it “suddenly”.
Also, why do they need the data “suddenly”? What do you suggest?
Here's a long list of questions Russ Cox was interested in - notice how many of them would really want something like “what is your CI configuration?”, and consider that while they could sample GitHub Actions configuration that doesn't tell them anything about the much more varied set of projects who don't use that service:
Who cares?! It's about respect for individuals and respect for their privacy. Any kind of telemetry should be opt-in no matter how you spin the PR.
eg, some options:
a) No telemetry. All users of the Go language get equal treatment/consideration by the developers ("best guess").
b) With telemetry. The users who opt out are thereby excluded from consideration ("punished").
It seems like over time, option b) would lead to problems for the Go language as the developers base their decisions on incomplete information, whilst believing that information is somehow more complete than option a).
Allow me to help you. You ask first. If the answer is no, you don't do it. If you cannot master this skill, or refuse to, you are embarking on becoming one of the most problematic demographics on Earth.
There is no excuse for not asking, and honoring the answer. Sending data is not free, and I guarantee your telemetry is not that important, neither is your vaunted sampling. All you want is to know who your Users are, and the fact is, that is fundamentally gated behind them wanting to even bother telling you.
Just like answering polls makes more of a difference than voting.
The solution, at least for me, is to remove that software from my life. Personally I vowed a long time ago to never work for a company whose business is to track people. It's no big deal for me, but I understand at least some may have hard decisions to make.
If monitoring of the application isn't possible (And by possible I mean reliably statistically so opt-out not opt in) then that will drive the shift to centralized/web based applications even faster.
Ironically, those who are most wary of telemetry tend to be the same people who also appreciate being able to run local software over web based.
https://wiki.debian.org/PrivacyIssues https://www.qubes-os.org/
You can disable the Go proxy and go for a more direct source fetch with an env variable, but in the same way you can also disable the telemetry.
My feeling about Google is that they do not respect privacy, no matter the product. Invasion of privacy and tracking their customers are behaviors deeply ingrained in Google DNA.
Doing so for all other products has been incredibly profitable, so why not Go? It’s not like Go the language has a history of respecting the PL community (the resolution of Google stepping on the Go name was Google throwing their weight around and told the Go! author to pound sand), so why should anyone expect they respect their users?
If you're using an application from Google or Microsoft or any big tech company for that matter: yes.
> And anyway, why would a compiler need internet access ?
The go build tool will fetch dependencies for you. If you don't use dependencies or use a local network proxy instead of the Google one you can safely disable WAN access, but otherwise you'll end up with a broken tool.
someproject% go get ./... # or 'go mod download'
Next disable network access for the go command, or for the whole system.Then compile:
someproject% go buildThis leads to the compiler having access to the internet and possibly exercising its access. In a perfect world of separated concerns the compiler binary wouldn't have any networking code at all, necessitating a go-get before calling go-build.
I understand why the Golang team decided to go with this approach, but it does have side effects that people coming from different tooling (say, C) wouldn't expect.
It doesn't. It compiles without internet access. If it has internet access it can also send telemetry data. If the compiler refused to work in all cases where it couldn't send telemetry data, I'd see the point...
Languages like Go have enormous test code bases with unit tests to ensure that every corner of the language is compiled and executes correctly. We don't need gobs of telemetry to phone home about how people are using a compiler.
The tests are the map, the actual use of the language is the terrain. The map is assembled largely by blindly guessing what the terrain is likely to look like.
That isn't very scientific.
The result is a situation where users will scream at the language authors if they break something, but they'll refuse to share any information about what they're actually doing with the language, which is perverse.
There are numerous compilers for C++, one of the hariest languages around, that were developed with no telemetry and work just fine and cover the entire language spec. Some of these compilers like G++ and Clang++ manage to target many different architectures with very few issues.
The obsession with telemetry is a mix of laziness and I strongly suspect user-hostile surveillance motives.
We're just going to have to lock down OSes. Giving any application carte blanche network access is like when apps had open access to all of system RAM and the whole filesystem back in the MS-DOS / Windows 3.x days.
Maybe unauthorized (by the user) telemetry should be like invalid memory access and trigger something akin to SIGSEGV. That'll send a message.
There's a big difference from functionality not existing to do this, and functionality existing that can change at any time. rsc's attitude about this comes with an air of "I want to alter the deal. Pray I don't alter it further"
THIS !!!
I suspect like many people, I feel that if they had said "We're going to introduce this ... but don't worry, it will be opt-in", then they would have avoided 99.99999999999999% of the negativity.
Instead, by making it opt-out, they are basically doing a classic Google shit move.
And that's before we start getting into questions about GDPR and opt-out.
The insinuation that all comments opposing the telemetry are hidden is bullshit, as a simple check will confirm: https://github.com/golang/go/discussions/58409
There were definitely comments that got quite heated and probably fell outside good discourse practices, largely because people are very passionate about privacy and also tend to get very upset when they feel betrayed.
We're supposed to be adults, not 13 year olds. I'm not perfect either and a jerk at times – most people are – and that's okay, but I'm not making excuses for it. Have some standards.
Most of the hidden comments were hugely disrespectful and provided no argument or anything of value. If you start comparing opt-out telemetry to rape then you're simply a jerk (yes, really: https://i.imgur.com/eLVs9ev.png) I don't care about "yeah but people have strong feelings". I'm tired of excuses for jerkery; I find this enabling of it even more egregious than the jerkery itself. I have strong feelings about a lot of things, but I also manage to keep them in check most of the time on account of being an adult with some standards. Nowhere is this as easy as in online discussions, because you can literally step away from the computer at any time and come back to it an hour or day later.
Obviously, Google's data hunger is worlds less harmful than sexual assault, but I think the difference in how consent is treated is actually relevant for the discussion.
When it comes to sex, it has taken many decades (or even centuries) of hard work, but at this point society is finally starting to get the message across: you don't have consent if it's not given explicitly. Society is still in the process of getting everyone on the same page here (sadly) but progress is being made.
While compiler data collection isn't as important, the idea that consent means "you haven't tried saying no enough" is completely absurd. This means is no good comparison for consent because every comparison where a normal person deals with consent will make the suggestion opt-out seem horrible. Most actions happening to a person without consent are or should be illegal, with perhaps lawful arrests and the judicial system being the exception.
If we, as a society, really do value explicit consent, we shouldn't mix and match what is and isn't consent based on what serves us. Consent is important in software too, even if some companies or developers don't see it that way.
Google devs especially should know this. People I know have felt a real sense of violation when they found out how intensely Google tracks its users. I've seen people get creeped and grossed out by their phones because they were asked to review a restaurant they were near, realising that Google knew exactly where they were and how long, and that the tracking had gone on for much longer before that. I, myself, felt a little violated when I found out how much data Microsoft's dotnet tool has been sending out after getting "consent" during an automated install and first use, despite knowing the data can't track me down as a person.
The impact may be incomparable, but developers seem to severely underestimate the emotional impact their blatant disregard for other people's privacy can really have just because they don't feel the same way. Perhaps another way the comparison is more apt than it would seem at first glance.
CoCs are always protecting the inner circle and their opinions. In the early days of open source, flame wars were considered a legitimate way for voicing opinions. Now, in corporate controlled "open" source, the dominance hierarchy must be protected.
Similarly, codes of conduct are set by many groups as a way to be welcoming, letting prospective participants know that they’re not going to get flamed or hit on for trying to participate. Yes, some corporations might use moderation for ulterior reasons but that happens anyway – it’s like arguing that we shouldn’t have cars because people will use them to commit crime.
Quite true. Especially in the worksplace where RFC/design meetings are only done to validate what has already been decided.
> CoCs are always protecting the inner circle and their opinions
CoC are 99% not doing that. Of course people can abuse it but I don't see it in practice most of the time. It's just that the abuse/drama gets more attention.
> In the early days of open source, flame wars were considered a legitimate way for voicing opinions
Flame wars have always been discouraged. As soon as one starts, mods usually step in and shut it down.
> Now, in corporate controlled "open" source, the dominance hierarchy must be protected.
Yes, very few corporate-backed open source projects are truly open to collaboration, especially when it changes the feature set. If you want to submit bug reports, help users or a PR for a tiny bug, that's all good.
In their defense, the employees of those companies do the most work so they get to decide. But they do benefit enormously from having the code open (something they very often forget).
Chairman Mao instituted the Hundred Flowers Campaign purportedly as a way to solicit community participation in building China's new communist society. The CCP assured everybody, hey, we're totally open to criticism, feel free to be open and honest, we could use your ideas for how to improve.
The reality was made clear in the Anti-Rightist Campaign, in which critics of Mao's plan or regime were put on a list of those to be arrested as "rightists" and imprisoned or killed.
Well, mine were, and I don't think I was rude, pithy, or repetitive. So your calling it bullshit is, frankly, bullshit.
Hiding "I don't want this" comments also conveniently completely hides their vote counts, absolutely suppressing people's opinions.
A lot of people just go ahead with the "telemetry=bad" message + critique of telemetry in general without even taking a look at the actual proposal[0] (which has some important points regarding collection frequency, data shared, and architecture). Not saying there should be no critique, but blanket statements that often criticize aspects that are irrelevant here don't help.
They're really trying to approach this in a way that, to me, is as reasonable and transparent as effectively possible (yes, I'm on the side of "opt-in telemetry doesn't work because of the majority of people who don't care either way; won't turn off if prompted, won't turn on either", so being opt-in is in fact unreasonable to me).
The Go toolchain already in a sense "calls home" by default to the Go module proxy hosted by Google.
Anyway, it's open source, they're the maintainers, it's up to them, while if you want, you can fork it. Telemetry is immensely useful to understand what features or technical improvements are worth prioritizing to benefit the actual average user the most, and not just the vocal minority. Telemetry being opt-in breaks this by once again prioritizing the vocal minority that turns it on.
It is still telemetry, other platform's toolchains dont have it, it's not bad faith for rejecting it.
> Anyway, it's open source, they're the maintainers, it's up to them, while if you want, you can fork it.
Yea, so Rust it is then.
LLVM, GCC, etc. mostly depend on the crash reporter from distributions, and I know several Clang devs who have been thinking about adding some additional telemetry.
No I won't mention names here because I do not want the innocent to be harassed because I posted on fucking hacker news.
As much as I like both Go and Rust, the jump between the two is not that easy.
.NET enters the room
I don't think it's fair to describe the Go proxy as "calls home"; no one says that about Rubygems, PyPI, npm, or any other package tool. If anything, the Go proxy is the only package system that actually allows disabling it quite easily and pain-free. Try using Ruby without rubygems or React without npm: no doubt possible, but it will take a lot more effort.
The Go equivalent of `gem`, `pip`, `npm`, `apt`, `cargo`, etc, is `go get`. There's no issue with `go get` connecting to internet.
On the other hand, `go build`, `ruby`, `python`, `node`, `gcc`, `rustc`, have no business doing anything that requires the network (obviously `node` etc are interpreters, so the user's program could have networking code, but that's the user's code, and not the interpreter's code).
So, `go get` using Google's proxy by default, fine, this is Google's tooling, we can just avoid using `go get`.
But the problem is that this proxy sneakily creeps into the `go build` command as well, so you can't just "not use `go get`" because you have to set flags for the compiler as well.
IP addresses being the only "personal" data the new telemetry proposal would plausibly be able to gather as well, which a lot of folks are complaining about.
Just to be clear, I don't think the Go module proxy is a bad thing, just saying that we've already crossed that "threshold" of potential personal data collection long ago.
So does Rubygems, PyPI, npm, or any other package tool.
If you want to have a broader discussion about package tools: be my guest. But people misrepresenting and banging on about the Go proxy specifically got boring a long time ago.
Opt-out telemetry executing for users who would not like it to be executing, because they don't know about it or forgot, makes it a spyware.
The rest of the discussion only makes sense to have if you agree there are circumstances when implementing spyware is justified.
It's doing that to provide a functionality required by the user, which results in informed consent. If you do computing without a user's informed consent, you're building malware.
I think if the Go authors do move forward with this proposal in any form, a fork is guaranteed. I've heard multiple sources express interest in doing so already.
That is in fact not the case. This is just one possible explanation for users not turning it on, one that I don't believe is even close to a meaningful amount in the grand scale of things.
As I wrote in the first message, a huge amount of people don't care either way. They won't turn it off if they're prompted, but they also wouldn't bother turning it on. They just don't care. I'm one of these people.
Do you have any data to support that claim?
Anecdotally, almost all programmers I've spoken to have expressed some kind of complaint about how much data all our devices collect these days. Many of them even saying that they're afraid to speak their mind on the Internet because they know someone might connect their words to their true identity.
A large number of non-programmers have mentioned to me how freaked out they are by their Android phones showing them ads for things they've just mentioned in proximity of their phones for the first time.
Considering the massive surveillance we're under, I think that "most people care, and don't want telemetry if given the choice" is much more precise than "most people don't care".
That is presuming people aren't turning it on because they don't like it, while the reason they aren't turning it on could be they are lazy and don't want to do any extra work.
If you had a HTML sanitizer that most people weren't turning on, you might just turn it on by default to improve safety (like Rails did at one point). Just because people weren't turning something on themselves doesn't make turning it on by default "hostile".
The solution in these scenarios is to simply ask the user, with no default, whether they want telemetry to be enabled or disabled. To do so in a modal or required dialogue in fresh install and the update in question.
If the telemetry is worth changing defaults to you then IMO it should be worth a bit of friction to introduce it more ethnically.
Why would you assume that?
I think most people care and wouldn't turn it on if asked to.
There was a bug on MacOS that ended-up requiring XCode to be install in order for the Go compiler to work? That example is bad because:
1. it was going to be very obvious real quick 2. it did get discovered and fixed without telemetry.
... and both of my points above are irrelevant. Why? Because the problem raised here is not if telemetry is useful or not. It's not even if telemetry is good or bad. It's that discussions about telemetry silenced people who were against it.
Your point is that people should not be allowed to raise arguments that have not been approved as valid. I mean, the simplest reformulation is that "if we think you're wrong you will not be allowed to speak."
For real? Being wrong means you're not allowed to participate? (And by wrong, I mean "deemed wrong by the people in power to ban others.")
Do you want to enable anonymous telemetry? yes [no]
Your choice will be remembered and we won't ask you again.
See our engagements and details on what we collect here: https://go.dev/telemetry> if an environment variable (eg. GO_DISABLE_TELEMETRY=1) is not detected
It could also easily rely on whether the shell is attached to a tty to detect a CI environment, and disable telemetry by default in this case.
At this point I think it's very hard to say what "most users" do or don't want exactly.
Got stats on that? I guess you don't as long as you don't have some kind of telemetry :)
A more reasonable way to go about this would be to launch this as opt-in first, and only bring forward the opt-out proposal if enough people don't opt-in. It doesn't have to go with opt-out on day one. This kind of requirement validation in not uncommon and I would be very surprised if the idea didn't cross them already. It would have been the far easier choice to make especially in the face of strong feedback, but the fact that they just chose to close the discussion instead of trying to move forward on the proposal doesn't bode well.
I understand that there are uses for such data to help make the tooling better.
I don't understand how Google and its cult can be so disingenuously surprised that people are wary of it in 2023. This makes me trust them even less than normal - i suspect they'll follow the MS playbook and "accidentally" make the opt-out fail and eventually the idea of opt-out will be completely removed from the product because "everyone seems to be happy with it... No one turns it off anyway".
It's quite different to have a system enabled which is only possible to switch off by googling a solution or digging in a settings menu. That's also opt-out, but it's a much darker pattern than the pre-checked checkbox.
Obviously, a command line tool doesn't have the luxury of an interactive setup, so the same patterns don't apply, but whether or not something is "opt out" or "opt in" isn't the entire story. I find the "default" to be the important thing. Developers need "the default" to be enabled to get reasonable coverage. That doesn't mean it needs to be "secretly" enabled.
Why is maintaining a fork and remembering to use it everywhere easier than just setting an environment variable?
> ... product because "everyone seems to be happy with it... No one turns it off anyway".
How would they know who turns it off?
in 20 years from now will I need 700 environment variables, one for nearly every piece of software on my machine?
LS_TELEMETRY=off VI_TELEMETRY=off BASH_TELEMETRY=off CAT_TELEMETRY=off
It's infuriating.
Unfortunately it's not been widely adopted. My guess is this is running into the same problem that DNT=1 in the browser did, which is that different people mean different things by "tracking" and it's very hard to come to agreement on where to draw the lines.
Try disabling all telemetry in Firefox.
It also assumes setting the variable actually works - even without malicious intent, it's an approach that assumes there are never any bugs.
So the occasional person that doesn't mind sending data to Google can leave it on, but enabled in that way instead.
If the code doesn’t exist, it can’t run. It’s the only way.
At the very least, it should be a compiler compiler flag and all code with telemetry should be in a separate library to make it easy to be sure no mistakes caused it to sneak it’s way in.
1) Presumably, you're just deleting a few bits of code here and there.
2) It's not going to stop at one lil ENV var, eh?
That would rely on installing Go from the distro repositories, though, and that's not what the official Go docs tell you to do.
Or you know, be reasonable and set the GO_DISABLE_TELEMETRY=1 env variable, IF telemetry actually ends up being added some day.
I'm not in favor of any kind of telemetry in my devtools but there's no reason to go nuclear at this point.
Honestly the proposal by rsc is even reasonable to me, I'm mostly against it because I have no trust in Google regarding any kind of data, personal or not.
> eventually the idea of opt-out will be completely removed from the product
That's never happened anywhere, and it's entirely illegal.
Besides, opt out via env var is a broken idea. It forces me to go through all sorts of dockerfiles, ci config, dev machine scripts, etc to make sure its set. Not to mention the ongoing maintenance of keeping it that way. Id rather just use the go-with-at-least-some-minimal-respect fork and write scripts to verify that's the base docker image, installed golang, etc. It actually seems easier to do that than verify every environment that runs golang has that env var set.
Jokes on you... Open source software is provided as is
It is so hard to create something, because of the dangers lurking everywhere. I think I need a reasonable creators license.
Whilst I wouldn't argument that's an inaccurate description of the people you want data from, counter point: tough?
We're used to these liberties being taken in IT, so let's imagine a less technical scenario. You buy some lightbulbs from ShopX, and they'd really like to know your lightbulb usage habits in order to improve the efficiency of their lightbulbs (and nothing else, honest guv! but okay, let's give them the benefit of the doubt).
They could send you a questionnaire, and as rightly pointed out in these arguments, it's unlikely you'd bother with it. Or they could ... what?
Anything that involves them getting that information is a slippery slope at best, and a bit creepy already. This is the only industry where we've normalised this kind of liberty taking.
Or the only one where you're personally aware of it. The kind of low-frequency limited data the Go team proposed collecting is basically the same as, say, McDonald's telling store managers to report how many people ordered mayonnaise on their sandwiches so they can decide whether to continue stocking it. It's worlds better than the kind of individual patron tracking large retailers or credit card companies routinely do, but they don't advertise that.
There are two differences here: one is where data collection happens — since this is running locally rather than in the cloud we know it's happening — and the other is the larger question of Google's corporate reputation is affecting reactions. A lot of the takes on social media have been reacting to that larger issue, many by people who don't even use Go, and are alleging scenarios far beyond what would be possible with the proposed system. I think some of this also goes back to the risk of being open: I would bet that more than a few of the people who are very concerned about Go lang use tools like VSCode which collect far more data but not having the big public proposal didn't mean everyone was talking about it at the same time.
The credit card companies are more like it but I opt out of that game too, by not using them. Their practices are well known to me.
To be clear, “what if they extended the scope later?” is a fair question but I do think that needs to be carefully expressed as a significant hypothetical future change from the actual proposal.
Good luck getting non-operating system biased data after that.
Collecting non-operating system biased data seemed to be one of the stated goals to making the telemetry turned on by default. Otherwise it was posited that Go users on open source operating systems would disproportionately choose to keep telemetry off when prompted in an opt-in model.
I'm an ex-Googler who has admired Golang for many years and have been considering it for use in my hardware startup.
The fact that opt-out-only telemetry was even considered, much less appears to be already decided(?), makes me far less likely to use this tool chain at any time in the future.
You see this pattern in other "free in license only" software where the important decisions are made without community input.
The Go team has come back on some other decisions in the past after they proved controversial. I can't predict the future, I'm not a member of the Go team, but I'll take the bet that the proposal will either be abandoned or that it becomes opt-in.
The speed at which this topic has escalated since the idea was raised last week is astonishing. The biggest mistake Cox has made is assuming people would at least read the three blog posts and debate the topic as presented.
I'm not thrilled at the idea of opt-out telemetry but some of the rhetoric is well and truly beyond the pale.
Yes, I agree he was perhaps a bit naïve about this. On the other hand: I also don't really know how to do this type of discussion better. Russ obviously went out of his way to come up with a nuanced solution, which one could reasonably disagree with, but I have the impression many people didn't bother reading it, especially on HN here but also in the Go discussion about it. This thread is full of basic misunderstandings, or, if we want to be less generous about it, misinformation. I don't think most people do it on purpose, it is what it comes down to in the end.
One of the really great things about internet discussions is that anyone can join in. One of the bad things about internet discussions is that anyone can join in.
https://code.visualstudio.com/docs/getstarted/telemetry
https://stackoverflow.com/questions/64570113/how-do-i-stop-n...
I think it's pretty obvious that opt out telemetry rubs most people the wrong way.
This is basically re-stating the opt-in challenge: we know that some people are vocally upset by it but we have to guess at the relative percentages of the groups of people who know and do not mind, don't know but would be upset, or don't know and wouldn't mind if they did. People who are upset are far more motivated to comment about it, so anyone looking at social media is going to see a lot of messages from them but still not know what percentage of the total community feels similarly. I've even seen people who aren't primarily in the Go community but very active on privacy issues commenting on this, which is perfectly legitimate but also not representative of the median Go developer.
It's also important to remember that "data" covers a range of sensitivities, and vague assertions don't help the conversation. For example, the proposed system records less identifying information than visiting Golang.org but relatively few people would say it's unethical for that site not to have a mandatory opt-in requirement before loading a page - most of the interest tends to be in things like disclosure and retention policies.
Does a singular setting actually turn off telemetry in VS Code? (aside from Extensions telemetry)
If you really want to see what your devices send back, monitor DNS on your devices.
I installed a bunch of apps on a spare phone (that had no sim card) and was VERY surprised how much background data and requests Tiktok used.
With some effort you can MitM your phone with your own certificate authority and a tool like mitmproxy in transparent mode. It still won't detect all of the trackers (detecting MitM is quite easy with certificate pinning), but it'll show you even clearer how much you're being tracked.
Expect every API to also be a tracking endpoint, and expect every application you use to upload your location. There are apps that do well, but they've become the exception rather than the rule.
The answer is No. No telemetry to be used on people who don't want it.
Rust is interesting because not only is it good at low-level control but it has very advanced language structures and rich libraries (unlike C), better ergonomics than Java, a great async implementation, etc. That expands the range of problems you might consider a “low-level” language for considerably since you no longer have the tedium of basic things like primitive data and control structures, non-ASCII text processing, etc. steering you towards other choices.
Go is an interesting middle language because it has some higher level features but also surprisingly limited types and C-style error handling, so you had the somewhat unusual case where people who wanted either low-level control or better robustness, advanced typing, packaging, friendlier compiler error messages, etc. might reasonably conclude Rust is a better choice. I'd still say Rust is harder to learn but the situation feels somewhat unique compared to the past where e.g. you really had to want the advanced features in C++ to pay the productivity tax of using it.
I don't know what goals Google, as opposed to the Golang team, has for Go. I do know Google has notoriously opaque and complex internal politics, and a long history of summarily axing projects that fail to perform over some set of internal metrics, no matter how large and invested a userbase they happen to have.
So I don't think it is unreasonable to consider the question. Sure, the technologies aren't fungible, but it isn't a technological question I'm asking; every longstanding human enterprise necessarily involves politics, and it's the politics I'm wondering about here.
I have no idea what you're talking about. I agree for the mindshare, because I started with Go and thought Rust looked more elegant, but after actually trying it it became pretty clear that they don't compete.
I don't know where you're getting that Go somehow "lost", it sounds like bubble reasoning. Again, it didn't "lost" because they don't compete with each other.
It's like saying Nadal lost against Messi because Messi is more popular when they're not playing the same sport, it doesn't make sense.
Once allow Go in Debian, then what? More packages with telemetry turned on becoming the "norm" and accepted? No.
There are better ethical free and open software.
Google/Golang devs: You're objecting in bad faith and violating our Code of Conduct.
telemetry is definitely not a solution half of the industry would be happy about. It's polite way of saying - I want to know what you are doing!
On the other, you have to possibly learn a new language, tools, libraries, etc, new community, new release cadence, different feature set, etc.
Tough choice.
Apple does this same thing with an opt-in. Google is evil. Stop supporting evil.
Stupid proposal. If I wanted telemetry, I’d implement with a trusted party, whose service I am paying to use.
However, several hidden comments were, as far as I could tell, made with good intent. That does create an impression that certain opinions are not welcome. The argument for hiding these comments seems to be that they've already been used in other discussions (i.e. "opt-out is illegal under GDPR" being used in a discussion about opt-in/opt-out design despite not being mentioned in that thread before).
When I read the comments by the Go people, it looks like the implementation of opt-out telemetry has already been decided on. Objections like "have you checked if that's even legal" are ignored with a simple "I'm not a lawyer". As rsc puts it, "This is a technical discussion, not a negotiation.".
The discussion is clearly set up wrong and I doubt it will matter in the end, now. The Github discussion is focused on technical implementation, with the moral discussion already having been decided upon; that way, people with arguments against telemetry have no place to voice their concerns. Maybe the moderators simply couldn't imagine being anti-telemetry or maybe they don't consider the position relevant, but this approach was going to stress out the moderators and cause unproductive discussion from the very start.
Personally, I'm somewhat disappointed (but not surprised in the least) that this is being suggested, but I suppose this is what one should expect when running any kind of program from Google (or Microsoft, for that matter). You simply can't trust these companies and the open source developers that work for them to respect your privacy.
I have to say, though, the proposal doesn't seem to take the risk of bad data injection seriously. I myself would definitely run the theoretical AdNauseam style fork of Go if the team behind the tool choose to go through with an opt-out mechanism.
If I have not made my code open source, stop snooping. If you want to know how your features are used, go and analyze open source codebases.
And it must be default turned off. Don't use dark patterns like default telemetry on and hoping that x% of users will forget to turn it off in a week and we will get our data. Smells bad.
Again, I'm pretty against it. My red-line is opt-in telemetry, and even that's a place I don't want to arrive.
Microsoft .NET also introduced opt-out telemetry (ie., turned ON by default and you could opt-out by setting an environment variable DOTNET_CLI_TELEMETRY_OPTOUT=1|true|yes). These are just dark patterns by big-tech and erode developer trust.
Ken Thompson's Turing Award lecture on "Trusting Trust" comes to mind. https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref...
The comment has a "let's talk about how we stop there and not move forward than that" tone, because frankly, I don't think Go maintainers and Google will say "Oh, we overreached, sorry. Let's abandon it and never talk about it again".
However, even discussing telemetry and being so adamant about it made me reconsider the extent I'm going to use Go in the future.
[0]: https://github.com/golang/go/discussions/58409#discussioncom...
The first remark to start everything was sensational, and I'd love more specific citation to learn more about the claimed allegations.
Then, seemingly out of nowhere, one individual went on a major rant about "intersex" or something like that, and something-something Ada Initiative...
What I want is a technical discussion about "Google's opt-out telemetry proposal on the Go compiler", which raises some alarm... the word "opt-out" seems to suggest Google would require people to unsubscribe from their intelligence gathering? Seems sensational at face value. But is that even true? And what, if anything does gender-identity drama have to do with anything about that?
The problem is, we've seen it all before. When Microsoft added telemetry to dotnet, they stated the following:
> The feature collects the following pieces of data:
>
> The command being used (e.g. “build”, “restore”)
> The ExitCode of the command
> For test projects, the test runner being used
> The timestamp of invocation
> The framework used
> Whether runtime IDs are present in the “runtimes” node
> The CLI version being used
>
> The feature will not collect any personal data, such as usernames or emails. It will not scan your code and not extract any project-level data that can be considered sensitive, such as name, repo or author (if you set those in your project.json). We want to know how the tools are used, not what you are using the tools to build. If you find sensitive data being collected, that’s a bug. Please file an issue and it will be fixed.
All very useful information that doesn't tell them anything about you or your machine.
Since then, Microsoft has been steadily increasing the amount of data it's been collecting, including personal identifiable information in the form of a pseudonym based on unique machine identifiers. Once data collection starts, it only ever gets worse.
"Oops, we accidentally included ~.ssh"
I don’t know, I’m all for privacy but people get passionate too easily the moment someone even mentions the word telemetry and I think we should focus on actual privacy issues, like analytics in the context of ads, social networks (tiktok, fb, ig…), etc.
I really like to see the actual thing with own eyes rather than develop an understanding via layers of drama.
For example, Microsoft maintains a document that covers all of the data points contained in their .NET SDK telemetry: https://learn.microsoft.com/en-us/dotnet/core/tools/telemetr...
There's no telemetry for now, it's a proposal: https://github.com/golang/go/discussions/58409
Blabs on about the bureaucratic/ policy ends of collecting data from me and NOT what they want to impact? Geez not even one example of where a little data could've helped golang compiler progs and users? My immediate reaction? Def negative
GitHub issue link or some forum/board with context/discussion on this topic?
https://github.com/golang/go/discussions/58409
I think this assertion and the various sentiment around it is nonsensical and partly demonstrates why "they" were actively moderating as they attempted to have a rational discussion about a topic with human beings online.
Some of the moderator decisions were stupid; many were not ("You can stick your telemetry where the sun doesn't shine" is no doubt sincere but it's not LKML I suppose); much of it seems to have been attempting to keep stuff organized and not-repetitive.
[1] https://www.theregister.com/2023/02/10/googles_go_programmin...
Seriously, though, I think this kerfuffle pretty much cements Rust as the go-to native-compiled network infrastructure language for future projects.
Operating system is already a spyware and next arms race is for everyone to arm their compilers. Good going, product managers.
I agree that I (in theory) quite like some of the design decisions, but as far as I know nothing of this actually works in practice. Like, it's not even close to being production ready, and people are seriously doubting whether the language will ever even come close to being a viable option.
I'm not up to date on all of the issues (in the code or in the community), but the last thing I heard is that the developers of V are still working on the "auto-free" memory management model (which is supposed to infer when 'free' needs to be called), but it's not working (and afaik proven to be undecidable in general).
Edit: Another reason why I'd be rather skeptical of this language is the claims it makes on the 'Compare' page: https://vlang.io/compare
It starts off stating that "V was created because none of the existing languages had all of the following features:" and then goes and lists an incredibly ambitious list of features, which essentially amount to "As safe as Rust, but Go's simplicity and fast-compilation time, and a small compiler with zero dependencies", and more. These are hard problems, especially if you're also working on developing an experimental memory management technique.
They themselves don't claim it to be production ready and I don't think it is going to be anytime soon.
EDIT: Typo.
It’s going to be utterly inconsequential for everyone who leaves it enabled.
People who are raging about the change are not crusaders for privacy and freedom, they’re petulant children who “don’t like the idea of it” and are throwing tantrums.
If it’s that important, there are plenty of languages that put idealism over pragmatism to choose from.
When you install a compiler who's respecting your privacy, and without opt in it starts sending telemetry, you can't expect that to go well.
Now naming people like this isn't going to help either I think.
What is the privacy bait and switch? The whole idea behind "anonymous usage statistics" is that it's statistical and anonymous, so that it by definition has no privacy consequences.
If that doesn't hold up (e.g. it leaks a username, a path, anything) then there should be outrage. But this discussion isn't about that. Or about the fact that it could be worse, or have a bug.
The interesting question is: is it acceptable to have telemetry that is anonymous and statistical? And if not - why? The argument "it doesn't respect my privacy" can't apply then.
It can be called anonymous when it goes through TOR to be sent, etc… which is not even considered afaik.
If you rely on the receiving party to not store your IP and other sent details, then it’s not anonymous. Sadly, some companies get evil, get compromised or get internal threats…
And yeah, opt-in is minimum or the software is called a spyware. And yes, with this definition recent Windows is a spyware.
If you want an argument about privacy, watch the insightful talk by Halvar Flake on security vs. death squads… chilling but sadly true.
Are the currently deployed and used versions of the go compiler going to suddenly start sending telemetry? Or is it just a future version that someone would have to deliberately upgrade to?
Personally, when a new version of golang comes out, I like to read the release notes and then adjust my build environments with the necessary environment changes for the new features.
regardless i think we should hold open source projects to higher standards, such that telemetry isn’t introduced by default.