News for hackers. Stuff that matters.
Re:Brew commands send data to Google Analytics by hueving on Friday November 25, 2016 @03:38AM (#13035123)
Please make it opt in. If you truly believe people closely read the prompts for having their data harvested, a default to "No" should not impact you at all.

If you don't believe they read the prompts closely, you're an asshole for stealing data by default.

Re:Brew commands send data to Google Analytics by CJefferson on Friday November 25, 2016 @05:18AM (#13035630)
Is it "stealing data" to record that certain options in my program are never used, or used frequently, or whenever a user clicks on options A,B and C in sequence the app crashes?

My problem is that I believe that 90% of the users of my app won't care one way or the other if I record these stats. If I default opt-out these people, then I lose all that useful data and in the process, I believe, make my app worse for everyone.

I won't deny this is not an obvious choice, but I think personally on balance it's better to opt-in. Especially when the data is anonymised and doesn't contain any private/identifying information. But I understand how others would disagree. If there was some kind of OS-wide "don't record what I do" option I could hook into, I would use it.

Re:Brew commands send data to Google Analytics by Nursie on Friday November 25, 2016 @06:41AM (#13036002)
Your belief may not match the real world. You can only know that by actually asking them.

Look at the outcry when Microsoft put this stuff in Win 10.

At the very least you should present a question on install. Hiding a notice amongst licenses and other information, as often happens, is underhanded and scammy.

Re:Brew commands send data to Google Analytics by hueving on Friday November 25, 2016 @06:51AM (#13036057)
>My problem is that I believe that 90% of the users of my app won't care one way or the other if I record these stats. If I default opt-out these people, then I lose all that useful data and in the process, I believe, make my app worse for everyone.

If those people wouldn't volunteer to opt-in, it's just as likely that the reason they are not opting-out is because they missed the notification that someone is collecting data about them.

It's a UX anti-pattern to default behavior to something the users may not want. If you're worried they'll accept whatever default there is, just explicitly ask them if they want to relay usage stats and you'll be surprised how much of the 90% you claim don't care will start caring.

Look at the comments on this thread, there are multiple accounts of people surprised by this. The very fact that this article is on the front page is proof that Brew tricked users.

>Especially when the data is anonymised and doesn't contain any private/identifying information.

You've either made massive breakthroughs in the field of information security or this is a bogus statement. If the user's computer even connects to an analytics service, they've already got an IP address, frequency of connections from that IP, etc and all of the correlation that comes with enabled by their other data sets. Just because it's anonymized by the time it comes out of Google in Brew usage reports doesn't mean it hasn't given Google additional information to profile people.

Re:Brew commands send data to Google Analytics by stan_rogers on Friday November 25, 2016 @07:34AM (#13036268)
You should, perhaps, question your beliefs. When I get "do you want to send...", I only very rarely click "yes/OK", and then only if that and the OS were the only things running and the problem is locally reproducible. The state of my machine is none of your damned business.
Re:Brew commands send data to Google Analytics by CJefferson on Friday November 25, 2016 @09:23AM (#13036883)
You could be right. I could pop up a message early on, saying I'm doing analytics.

I think, based on the conversation here, I'm going to make it very clear there is analytics, but not allow turning them off. This is (I think, you are welcome to disagree of course) the best situation:

* Everyone knows there is analytics going on, no hiding. * I get good quality analytics from my actual users, as no-one can opt out (well, you could start port blocking, I'm not going to make the program stop working in that situation).

Re:Brew commands send data to Google Analytics by lorenzfx on Friday November 25, 2016 @06:39AM (#13035993)
How about choosing no default, and instead ask the user on first run? `Do you want to send usage data to the developer? (yes/no)`
Re:Brew commands send data to Google Analytics by CJefferson on Friday November 25, 2016 @08:54AM (#13036725)
I imagine it would get REALLY annoying if every command line program started doing that, every time you logged into a new machine.

Of course, that suggests we should introduce some kind of standard, then bash (or whatever shell you use) could prompt you once, and every other program could use that setting.

Re:Brew commands send data to Google Analytics by jeena on Friday November 25, 2016 @09:47AM (#13037027)
At least this would make the problem with how many commandline tools are tracking you visible, and perhaps would start a discussion on the necessity of tracking for tools like brew, ls, cp, dd and so on.
Re:Brew commands send data to Google Analytics by iagooar on Friday November 25, 2016 @04:02AM (#13035254)
This. A thousand times this. To me this whole thing feels like the maintainer is trying to justify something that most people won't ever accept as the status quo. Bad times when software this solid is going in a wrong direction. Time for a Homebrew fork?
Re:Brew commands send data to Google Analytics by CJefferson on Friday November 25, 2016 @07:59AM (#13036395)
No need for a fork, if someone was willing to put in the time and money to maintain a private anonymous analytics server, the homebrew folks would be happy to use it.

Unless of course you are fundamentally opposed to tracking of any kind, then a fork is required. It is a fairly massive infrastructure to recreate however...

Re:Brew commands send data to Google Analytics by true_religion on Friday November 25, 2016 @03:43AM (#13035149)
Calling it theft feels a bit hyperbolic.
Re:Brew commands send data to Google Analytics by tn6o on Saturday November 26, 2016 @11:13PM (#13047668)
Agreed.
Re:Brew commands send data to Google Analytics by andybak on Friday November 25, 2016 @03:42AM (#13035147)
'Stealing' data? Is that like 'stealing' by downloading a movie?
Re:Brew commands send data to Google Analytics by wheelerwj on Friday November 25, 2016 @03:46AM (#13035162)
No, it's like stealing personally identifying information and sending it to the world's largest ad company.
Re:Brew commands send data to Google Analytics by daenney on Friday November 25, 2016 @04:09AM (#13035280)
The information brew collects I would hardly call personally identifiable. Take a look at what they collect: https://github.com/Homebrew/brew/blob/master/docs/Analytics....
Re:Brew commands send data to Google Analytics by jakobegger on Friday November 25, 2016 @04:19AM (#13035335)
They can call it "anonymous data" as much as they want, but in the end it's still data transmitted to Google's servers. If you are simultaneously logged into your Google account on that computer, the information is not anonymous anymore. Google could with high probability correlate connections.
Re:Brew commands send data to Google Analytics by andybak on Friday November 25, 2016 @09:09AM (#13036800)
> They can call it "anonymous data" as much as they want, but in the end it's still data transmitted to Google's servers.

You appear to be saying that it's wrong to send any data to Google - which strikes me as an indefensibly extreme position. For example if they were tracking a simple count "number of times anyone anywhere has run brew" and it was stored as a single global integer then it's hard to imagine what issue you could have with it as it's basically no worse than a simple hit counter on a website.

So what are you saying? Surely the problem has to relate to what data is collected?

Re:Brew commands send data to Google Analytics by jakobegger on Friday November 25, 2016 @01:43PM (#13038923)
I'm saying that if you make your software talk to Google, don't say that it collects "anonymous aggregate data". The data it sends could easily be traced back to you (by Google).

And after all the Snowden revelations it's very naive to assume that Google (or any other company) will protect your data.

Re:Brew commands send data to Google Analytics by andybak on Friday November 25, 2016 @06:22PM (#13040625)
Doesn't that depend on what's being sent? Either it's personally identifiable (or at least de-anonalysable) or it's not. Within reason some things are not of any real interest to anyone.

What is the threat model here?

Re:Brew commands send data to Google Analytics by daenney on Friday November 25, 2016 @05:50AM (#13035791)
Sure, but then the problem isn't the information they collect but the fact that it goes to Google. Short from them setting up their own analytics service though, to whichever one you send this data it'll be traceable up to some extent. Google just might have a larger trove of data about you, but that's also through your own doing.
Re:Brew commands send data to Google Analytics by TeMPOraL on Friday November 25, 2016 @03:45AM (#13035158)
"Exfiltrating" would be a better word here.

(Also, downloading a movie is a different thing - there you're not stealing nor exfiltrating anything, you're downloading data as intended by uploader, who may or may not have the copyrights for that data.)

(INB4, ripping a DVD and uploading it is not data theft. Exfiltrating a pre-release copy from movie company's servers would be data theft.)

Re:Brew commands send data to Google Analytics by rocqua on Friday November 25, 2016 @04:51AM (#13035499)
The ripping would be the 'exfiltration' as would recording a movie in theatre or hacking servers.

The sharing or getting something from a shared thing would merely be copyright infringement.

Re:Brew commands send data to Google Analytics by hueving on Friday November 25, 2016 @03:51AM (#13035195)
By your definition, there would be no such thing as stealing IP, PII, launch codes or identities. However, those things are well accepted terms in all industries, including tech. You need to reconsider your strange restriction to mutual exclusion if you ever want to engage in meaningful conversations.
Re:Brew commands send data to Google Analytics by andybak on Friday November 25, 2016 @03:56AM (#13035220)
> stealing IP

This is the usage I'm most firmly resisting.

> PII, launch codes or identities

All inaccurate to varying degrees - or at the very least metaphorical/rhetorical uses. If you're allowed to push a meaning in one direction then I'm allowed to point it out and attempt to bend it back a little.

Re:Brew commands send data to Google Analytics by hueving on Friday November 25, 2016 @06:29AM (#13035948)
>push a meaning in one direction then I'm allowed to point it out and attempt to bend it back a little.

I'm not pushing anything. Your argument is about whether or not copying information is 'stealing'. I'm just pointing out that it's a very commonly agreed upon vernacular all over many industries. Call your credit card company and tell them someone stole your credit card number and see if they understand what you are talking about and/or try to correct you by saying it was merely copied.

Go ahead and try to change the definition, but don't waste time on HN with that crap when the subject isn't even about whether or not it's "stealing" because it makes for boring conversation.

Re:Brew commands send data to Google Analytics by andybak on Friday November 25, 2016 @09:16AM (#13036836)
You don't see anything even slightly problematic about referring to opt-out (rather than opt-in) aggregate and presumably anonymous usage statistics as 'stealing'?

You don't think that is possibly somewhere towards the further reaches of consensus on what is a reasonable application of the word?

You're welcome to disagree with my position but you're going a touch further than that. You're also accusing me of arguing in bad faith and being somehow aware that my argument has no merits. Considering I think I'm stating a fairly reasonable view I find that somewhat disingenuous in return.

Re:Brew commands send data to Google Analytics by andybak on Friday November 25, 2016 @08:16PM (#13041141)
I think you've tired of me but I want to finish with one last thought: "Choose your battles wisely" - this might not be the best place to make our last stand. There's a danger of tiring out potential allies before the point things really matter.
Re:Brew commands send data to Google Analytics by Esau on Friday November 25, 2016 @10:41PM (#13041609)
This is the correct answer. Opt-out is a jerk move - used by those who value themselves more than their users/customers/fellow humans.