News for hackers. Stuff that matters.
Re:Homebrew now sends usage information to Google Analytics by LeoPanthera on Monday April 25, 2016 @04:21PM (#11567031)
Set HOMEBREW_NO_ANALYTICS=1 to opt out.

The right thing to do would be to make it opt in, not opt out. (Which would not be without precedent. Debian's popcon is opt-in.)

Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @04:25PM (#11567047)
Disagree. Google Analytics is a network of companies that has agreed to privately collection information about users without their permission or even knowledge. It is malware that should not be included in Homebrew. The only ethical decision we can make as developers is not to use it.
Re:Homebrew now sends usage information to Google Analytics by fit2rule on Monday April 25, 2016 @04:27PM (#11567068)
Yeah, I'll confess that this is a real deal breaker for me personally .. I'll be having a closer look at ports and maybe fink soon. Maybe after all its time to get off OSX and back to Linux, where these sorts of things happen less frequently ..
Re:Homebrew now sends usage information to Google Analytics by throwanem on Monday April 25, 2016 @04:54PM (#11567273)
If it means that much to you, why not add host file entries to point GA's DNS records at 0.0.0.0 or something else invalid? If you don't trust that either, supplement it with packet filter rules to drop traffic heading to the IP addresses to which those names (currently) resolve. Switching platforms seems like a major overreaction here.
Re:Homebrew now sends usage information to Google Analytics by mortenlarsen on Monday April 25, 2016 @05:09PM (#11567392)
Privacy should be the default.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @05:41PM (#11567609)
Only if you're willing to pay for it. Otherwise, you trade privacy for convenience, or some other benefit.

Its, of course, always your choice if you're willing to trade it for something.

Re:Homebrew now sends usage information to Google Analytics by mortenlarsen on Tuesday April 26, 2016 @11:54AM (#11572921)
There is a lot of free, open and convenient software that respects my privacy.

Do you think money or privacy violations must be part of the equation to make good software?

That is like the old argument against free/open software that I heard from a lot of people, back in the 90's. I thought we were past that.

Re:Homebrew now sends usage information to Google Analytics by fit2rule on Tuesday April 26, 2016 @02:09AM (#11569764)
Its a huge hassle, and I don't want to have to keep fighting the battle against this policy. So I'll just rather switch.
Re:Homebrew now sends usage information to Google Analytics by ARussell on Monday April 25, 2016 @04:40PM (#11567178)
Maybe try out Nix while you're at it, too! I'm using NixOS, and I'm pretty happy with it so far. The standalone package manager fills the same niche as Homebrew, I think.
Re:Homebrew now sends usage information to Google Analytics by Juan1 on Monday April 25, 2016 @05:47PM (#11567641)
I only use Linux, so what do I know, but... is the highly interesting Nix package manager a full alternative to Homebrew ?
Re:Homebrew now sends usage information to Google Analytics by oh_sigh on Monday April 25, 2016 @04:38PM (#11567158)
Or you could just say HOMEBREW_NO_ANALYTICS=1 and be done with it.
Re:Homebrew now sends usage information to Google Analytics by 0x0 on Monday April 25, 2016 @04:43PM (#11567200)
Until next month when we might need to set HOMEBREW_NO_PIWIK=1337...
Re:Homebrew now sends usage information to Google Analytics by mikeryan on Monday April 25, 2016 @05:01PM (#11567325)
I'd assume "NO_ANALYTICS" would mean "no analytics" not "no google analytics?
Re:Homebrew now sends usage information to Google Analytics by 0x0 on Monday April 25, 2016 @05:05PM (#11567359)
Who knows!? This marks quite a change in attitude where the end user is suddenly responsible for staying on top of newly silently introduced opt-out settings. I'm pretty disappointed and feel the amount of trust I've had in the maintainers have dropped considerably. Sneakily sending random HTTP requests to third party analytics services and stuffing my dotfiles with unique identifiers for tracking purposes is not what I expected from a friendly open source project.

This could have been handled much better with some sort of opt-in prompt like the debian installer does for its popcon usage tracker.

Re:Homebrew now sends usage information to Google Analytics by fit2rule on Tuesday April 26, 2016 @02:11AM (#11569768)
>This marks quite a change in attitude where the end user is suddenly responsible for staying on top of newly silently introduced opt-out settings. I'm pretty disappointed and feel the amount of trust I've had in the maintainers have dropped considerably.

I agree with you. I'd much rather have this be out in the open - like, ever 5th time I run 'brew' or something, it asks me for permission to send analytics, and the options are "YES-once, YES-Always, NO-NEVER", and if I say NO, NEVER, it never asks me again.

If spying on me can be automated, so can not spying on me.

Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @05:04PM (#11567347)
I'd assume that software that wasn't sending analytics wouldn't start doing so without at least informing me first, but I'd be wrong. I think the parents point is that we can't trust Homebrew to do the right thing, because they've now chosen not to.
Re:Homebrew now sends usage information to Google Analytics by hk__2 on Monday April 25, 2016 @05:29PM (#11567525)
Yep, and as you can see if you read the code there are as few references to GA as possible so that it’d be easy to change the service we use without editing code everywhere.
Re:Homebrew now sends usage information to Google Analytics by jldugger on Monday April 25, 2016 @04:37PM (#11567143)
Would be somehow more ethical if they set up their own piwik instance to collect the same data?
Re:Homebrew now sends usage information to Google Analytics by fabulist on Monday April 25, 2016 @04:46PM (#11567229)
Collecting telemetry is reasonably, but it seems inappropriate for Google to get a copy and to be able to identify which of their users installed a particular piece of software from the IP address.

So yes. Running their own server would be much preferable.

Re:Homebrew now sends usage information to Google Analytics by estel on Monday April 25, 2016 @05:07PM (#11567367)
For Homebrew:

> The Google Analytics anonymous IP setting is enabled i.e. 1 (https://developers.google.com/analytics/devguides/collection...)

Re:Homebrew now sends usage information to Google Analytics by dogecoinbase on Monday April 25, 2016 @05:13PM (#11567411)
It's worth noting that AIP's functionality requires you to trust Google -- the data is received by them, but their design specifies that they mask it before it's processed or stored.
Re:Homebrew now sends usage information to Google Analytics by creshal on Monday April 25, 2016 @05:17PM (#11567431)
Or so they claim.
Re:Homebrew now sends usage information to Google Analytics by fabulist on Monday April 25, 2016 @07:18PM (#11568177)
While I feel we should all treat Google with skepticism here, I didn't realize they (and so failed to acknowledge) that Homebrew was attempting to remedy that, so I apologize for speaking out of turn.
Re:Homebrew now sends usage information to Google Analytics by hk__2 on Monday April 25, 2016 @05:22PM (#11567469)
We don’t have the resources for this. If you have any suggestion for a service that doesn’t require us time to manage we’d be very grateful. Homebrew have a dozen maintainers for >30 PRs & issues per day plus maintaining our own CI infrastructure plus normal development; and all of this is on our spare time.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @05:32PM (#11567544)
As a Homebrew user, thanks for your efforts. I'm totally fine with the change myself, and I apologize for everyone else in here who cares about their privacy, but doesn't really care about the time volunteers are committing, nor the time savings from this feature.
Re:Homebrew now sends usage information to Google Analytics by stevenhubertron on Tuesday April 26, 2016 @10:44PM (#11577514)
I concur, thank you for wanting to do a better job with readily available tools that are widely used and easy to implement. I support your use of GA.
Re:Homebrew now sends usage information to Google Analytics by fabulist on Monday April 25, 2016 @06:33PM (#11567938)
Add a feature where users can opt-in for periodic reports to be uploaded as a private gist, and a link is transmitted to you. GitHub is already a trusted party where Homebrew is concerned, so the loss of privacy is minimal. Users control their own GitHub accounts, so they control of the permanence of the data you collect on them. You can use Google Forms to transmit the links, so your infrastructure is cheap-to-free. For bonus points, encrypt the links with your public key.

How does that sound?

Re:Homebrew now sends usage information to Google Analytics by hk__2 on Tuesday April 26, 2016 @03:51PM (#11575035)
We don’t want personal data; we only care about aggregation. Being able to link each gist to its owner would be a privacy issue here.
Re:Homebrew now sends usage information to Google Analytics by fabulist on Wednesday April 27, 2016 @02:10AM (#11578161)
Excellent point, I should've thought of that.
Re:Homebrew now sends usage information to Google Analytics by SoOnThe1Hand on Monday April 25, 2016 @05:50PM (#11567654)
So the project is short-handed, but wants to take on scouring analytics to start packaging common things people are doing with the software.

If you're too busy to do this "right" why bother? Are you hoping making more shortcuts will increase adoption?

Current employer doesn't much care about these things, but last employer did. Having shared this thread with their IT folks, they've decided to cut people off from homebrew while they figure it out.

I guess costing yourself users is one way to free up some time.

Re:Homebrew now sends usage information to Google Analytics by hk__2 on Monday April 25, 2016 @06:16PM (#11567834)
As I wrote we’d be very grateful if you had any suggestion.
Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @06:48PM (#11568016)
Have you tried getting donations for the project? Have you tried joining a foundation that supports open source projects (like Apache)?
Re:Homebrew now sends usage information to Google Analytics by hk__2 on Tuesday April 26, 2016 @02:22AM (#11569812)
Yes we recently joined the Software Freedom Conservancy so we can now accept donations.
Re:Homebrew now sends usage information to Google Analytics by iagooar on Monday April 25, 2016 @04:46PM (#11567231)
I think it would be, yes. At least, it would not get into the hands of an external 3rd party (that as we know, lives from selling / using data they gather from people).
Re:Homebrew now sends usage information to Google Analytics by TheLogothete on Monday April 25, 2016 @05:19PM (#11567444)
Google does not use GA data unless the webmaster chooses to share it with them.

I'm not sure if they use it to improve their ad products, but I wouldn't be surprised if the answer is no.

Re:Homebrew now sends usage information to Google Analytics by joepie91_ on Monday April 25, 2016 @05:36PM (#11567578)
Firstly, this is a decision that should be up to the user, not the webmaster.

Secondly, do you have a source for that? I find that a very dubious claim, from a business perspective.

Re:Homebrew now sends usage information to Google Analytics by PavlovsCat on Monday April 25, 2016 @06:39PM (#11567968)
> this is a decision that should be up to the user, not the webmaster.

This may be a dumb example, but if I get someone (I don't know very well) a glass of water from the kitchen, I won't take a little sip from it on the way. Yes, they might not care, and it's super unlikely that I would infect them with anything. But it's still not my call, and you only need to see someone not get something so basic once to lose a lot of trust in them, certainly if they actually start arguing about it. It's more than optional courtesy, it's a respect for boundaries and personal choices.

And it doesn't matter at all how much they are doing otherwise for you, that is orthogonal. By that I mean: nobody asked anyone to make something for free, we're just asking people to not unwittingly have them feed GA if they don't want to. If there are too many things to fix and too few developers, fix fewer things. It's just homebrew, not cancercure. If enough users disagree with that, let them all opt-in and/or volunteer their own time, problem solved either way.

Re:Homebrew now sends usage information to Google Analytics by throwaway160303 on Monday April 25, 2016 @09:51PM (#11568867)
If enough users disagree with that, let them take over maintenance of homebrew.

But nobody actually cares that much, only enough to complain. At length.

Re:Homebrew now sends usage information to Google Analytics by fabulist on Monday April 25, 2016 @06:22PM (#11567877)
"We use the information we collect from all of our services to provide, maintain, protect and improve them, to develop new ones, and to protect Google and our users. We also use this information to offer you tailored content – like giving you more relevant search results and ads."

https://www.google.com/intl/en/policies/privacy/

"When you visit a website that uses our advertising products (like AdSense), social products (like the +1 button) or analytics tools (Google Analytics), your web browser automatically sends certain information to Google... When you visit websites or use apps that use Google technologies, we may use the information we receive from those websites and apps..."

https://www.google.com/policies/privacy/partners/

It should be noted this does not directly contradict what GP claims.

Re:Homebrew now sends usage information to Google Analytics by dudus on Monday April 25, 2016 @09:34PM (#11568792)
Also related:

"""

Google Analytics protects the confidentiality of Google Analytics data in several ways:

Google Analytics data may not be shared without customer consent, except under certain limited circumstances, such as when required by law.

Security-dedicated engineering teams at Google guard against external threats to data. Internal access to data (e.g., by employees) is regulated and subject to the Employee Access Controls and Procedures.

"""

https://support.google.com/analytics/answer/6004245?hl=en

Re:Homebrew now sends usage information to Google Analytics by pdkl95 on Monday April 25, 2016 @10:28PM (#11569022)
> protects the confidentiality

For their definition of "confidential", which they can change at any time.

> certain limited circumstances

If they only intended the "required by law" example, they wouldn't use such a broad - and completely undefined - set of circumstances.

> guard against external threats

Google may have good security practices now, but an continually growing collection of highly-revealing tracking data is a very tempting target for many businesses, governments, etc. If Google (or anybody else) wants to claim that they are protecting your data, they should indemnify the subjects of their spying against any damages those caused by those "external threats".

Re:Homebrew now sends usage information to Google Analytics by ThisIs_MyName on Tuesday April 26, 2016 @08:40PM (#11577004)
>they should indemnify the subjects of their spying against any damages those caused by those "external threats"

I despise GA as much as the next guy, but you'd have to be pretty crazy to expect any business to provide such a guarantee. Google isn't your insurance company.

Re:Homebrew now sends usage information to Google Analytics by pdkl95 on Tuesday April 26, 2016 @10:28PM (#11577451)
I don't really expect that anyone would make that kind of guarantee; I'm arguing in the style of a proof by contradiction. These businesses shouldn't be making this kind of claim, and they shouldn't be holding onto data beyond what is necessary. Data should be expunged as soon as possible, because then there isn't anything to protect.

Businesses are acting like there is no risk in holding personal information. When people complain, they respond with claims that the data is safe. When businesses act like they are secured and that we should trust them, we should be asking them to stand behind those claims. I agree, this is crazy, but businesses really want to make strong claims but not be bound by those claims. An honest business that actually believed in their own promises shouldn't have problem putting those promises into a formal guarantee.

Re:Homebrew now sends usage information to Google Analytics by ThisIs_MyName on Tuesday May 03, 2016 @12:35PM (#11622136)
>I don't really expect that anyone would make that kind of guarantee

Yet you do seem to expect that guarantee:

> An honest business that actually believed in their own promises shouldn't have problem putting those promises into a formal guarantee.

You can't use such guarantees to vet businesses because no sane company would meet your requirements!

Re:Homebrew now sends usage information to Google Analytics by fabulist on Monday April 25, 2016 @10:01PM (#11568902)
That seems to say Google won't share your Analytics data without making any guarantee that they won't _use_ your analytics data.
Re:Homebrew now sends usage information to Google Analytics by TheLogothete on Tuesday April 26, 2016 @03:02AM (#11569955)
Everyone who has signed up for GA knows it. When you sign up you are asked 2 questions:

Do you want to share data with google to imrpove our products?

Do you want to pool your data for benchmarking purposes?

Both are unchecked by default. But here you go, I will search for "google analytics data sharing" for you.

https://support.google.com/analytics/answer/1011397?hl=en

Re:Homebrew now sends usage information to Google Analytics by erpellan on Monday April 25, 2016 @06:39PM (#11567967)
Indeed! Feel free to demand a refund or refer to the contract you signed... Nobody's forcing anyone to use it.
Re:Homebrew now sends usage information to Google Analytics by bpchaps on Monday April 25, 2016 @09:14PM (#11568711)
This is the sort of defeatist and way-too-easy attitude that turns things to garbage all around. In many ways, bringing up issues that affect many opinionated people's core values is how things get fixed. If this was said for everything that was free, then we wouldn't have anything.

For example: "Linux has issues" "It's free. Nobody's forcing you to use it."

or

"FreeBSD has issues.." "It's Free. Nobody's forcing you to use it."

or

"I had a hard time installing Gentoo because of bad documentation. Somebody should fix that. No, seriously, metaland." "It's Free. Nobody's forcing you to use it."

I'm all for "beggars can't be choosers", but when there's nothing else to choose, of course people are going to complain.

Re:Homebrew now sends usage information to Google Analytics by sneak on Tuesday April 26, 2016 @05:48AM (#11570545)
The usage license we agreed to means we can fork it and remove this nonsense spyware.
Re:Homebrew now sends usage information to Google Analytics by bitmapbrother on Monday April 25, 2016 @04:56PM (#11567298)
I'm always amused by the way some people try to extend the definition of malware beyond its scope. This isn't malware. It's just anonymous usage tracking. If you don't like it you can turn it off. I hope you don't use a smartphone because the amount of intrinsic "malware" you must be subjected to must be unbearable.

"Malware" is an umbrella term used to refer to a variety of forms of hostile or intrusive software, including computer viruses, worms, trojan horses, ransomware, spyware, adware, scareware, and other malicious programs. It can take the form of executable code, scripts, active content, and other software.

Re:Homebrew now sends usage information to Google Analytics by mortenlarsen on Monday April 25, 2016 @05:16PM (#11567422)
Definitions vary, but I once wrote these notes for the definition in a security policy. It is probably more broad than what some people would write.

    Malware
    -------
    - Any software that actively attempts to do any of the following:
	- Do harm to the system, applications or data
	- Deliberately weakens system security
	    - By changing system or user security settings
	    - Contains or installs backdoors
	    - Downloads updates as executables
	    - Use executables to wrap otherwise readable data
	    - Expects higher or more privileges than is needed by it's function.
	- Circumvent the wishes or intention of the user
	    - Makes it self the default application for file-types that already have an application assigned to them
	    - Inserts itself into other applications against the users expectation (eg. as a plugin)
	    - Uses the privileges of other applications to circumvent system policy
	- Hide its activity from inspection
	    - Anti-debugging, and other rootkit like behaviour
	- Use "dark patterns" to trick the user into performing or agreeing to some action
	    - Installs toolbars, etc.
	- Compromise the privacy of the user
	    - Phones home, access data irrelevant to it's function
	- Resists removal
Re:Homebrew now sends usage information to Google Analytics by TheLogothete on Monday April 25, 2016 @05:22PM (#11567468)
I don't see how GA can be classified as malware according to this.
Re:Homebrew now sends usage information to Google Analytics by falcolas on Monday April 25, 2016 @05:37PM (#11567580)
Automatically opting a user into data collection, without explicitly asking the user, is a dark pattern.

Requiring the user to set an environment variable to opt out is smarmy.

Re:Homebrew now sends usage information to Google Analytics by mortenlarsen on Monday April 25, 2016 @05:25PM (#11567504)
Phones home...
Re:Homebrew now sends usage information to Google Analytics by TheLogothete on Monday April 25, 2016 @05:32PM (#11567543)
It does not compromise the user's privacy in any way. GA prohibits PII. Also, the webmaster has to opt-in to share the data with Google in the first place.
Re:Homebrew now sends usage information to Google Analytics by mortenlarsen on Monday April 25, 2016 @05:41PM (#11567608)
Some people disagree. If they didn't, why is this on HN with a lot of comments from people who a unhappy with this change?

If software compromises my privacy, I feel that I have been betrayed and lost something that I can not take back.

If you don't get to automatically participate in a "anonymous" usage survey, have you lost something you can not undo?

That in my opinion, is why software should always err on the side of privacy.

Re:Homebrew now sends usage information to Google Analytics by TheLogothete on Tuesday April 26, 2016 @02:56AM (#11569938)
People just LOOVE to be outraged. For example in this thread people rage about google getting hands on their data. When I point out that the webmaster has to explicitly chose to share the data with google, I get downvoted. When I say that GA prohibits the use of PII, I get downvoted. It doesn't matter that I'm right. People WANT to be outraged. Reason, no reason, doesn't matter.
Re:Homebrew now sends usage information to Google Analytics by ThisIs_MyName on Tuesday April 26, 2016 @08:50PM (#11577032)
Chill, dude. Most of us dislike GA and its monopoly on web/mobile tracking. Why trust GA to respect webmaster options when you don't have to?

...anyway, complaining about getting downvoted is a surefire way to keep getting downvoted :P

Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @05:00PM (#11567323)
I didn't say that this usage of GA is malware, I said that GA, the network, is a malware. So while Homebrew may (or may not) be protecting their users identities while using a malware service, they are still choosing to use a malware service.

Tracking people's online activity through a large percentage of the internet, without their consent or even knowledge qualifies as malicious to me.

Re:Homebrew now sends usage information to Google Analytics by LeoPanthera on Monday April 25, 2016 @05:03PM (#11567343)
But surely you can see the similarity here. The tracking software wasn't in Homebrew before, is added without asking you when you update, and is completely useless to you as a user but builds information about you and sends it to a third party.

If it's not malware, it's certainly really similar to it.

Re:Homebrew now sends usage information to Google Analytics by TheLogothete on Monday April 25, 2016 @05:23PM (#11567489)
It is used to improve the product, why is this useless to the user?
Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @06:49PM (#11568023)
Software that ships Ask Toolbar in their installer say it's to improve the product as well.
Re:Homebrew now sends usage information to Google Analytics by whateveracct on Monday April 25, 2016 @05:12PM (#11567408)
never underestimate people's principled paranoia rofl
Re:Homebrew now sends usage information to Google Analytics by cpeterso on Monday April 25, 2016 @05:05PM (#11567352)
Does Homebrew's UUID linked with the user's Google Analytics ID in their browser cookies?
Re:Homebrew now sends usage information to Google Analytics by x0x0 on Monday April 25, 2016 @05:20PM (#11567457)
It certainly appears not. They're using curl and reporting a UID they generate.

   A Homebrew analytics user ID e.g. 1BAB65CC-FE7F-4D8C-AB45-B7DB5A6BA9CB. This 
   is generated by uuidgen and stored in ~/.homebrew_analytics_user_uuid. This 
   does not allow us to track individual users but does enable us to accurately 
   measure user counts vs. event counts 
https://github.com/Homebrew/brew/blob/master/share/doc/homeb...

Of course, you have to trust homebrew, but hell, you're already running their software, so it's a little late.

Re:Homebrew now sends usage information to Google Analytics by hk__2 on Monday April 25, 2016 @05:27PM (#11567517)
You can always even check the code that’s running on your own computer. If you installed Homebrew in /usr/local the relevant files are /usr/local/Library/Homebrew/utils/analytics.sh and /usr/local/Library/Homebrew/utils/analytics.rb.
Re:Homebrew now sends usage information to Google Analytics by mikevm on Monday April 25, 2016 @04:22PM (#11567036)
That's probably true, but then no one would opt-in.
Re:Homebrew now sends usage information to Google Analytics by derefr on Monday April 25, 2016 @06:03PM (#11567751)
Or, even worse, there'd be a selection effect where the distribution of people who opt in is skewed from the total distribution of Homebrew users, ruining the dataset for any analysis one might want to do to it. There's a reason that Nielson Ratings collection isn't opt-in.
Re:Homebrew now sends usage information to Google Analytics by falcolas on Monday April 25, 2016 @06:15PM (#11567829)
Funny, it's been quite a few years, but I remember being a Nielson family for a few months, and it was absolutely opt-in. We had to fill out a little booklet with what we were watching and data about ourselves.
Re:Homebrew now sends usage information to Google Analytics by maxerickson on Monday April 25, 2016 @06:18PM (#11567839)
You can't opt in to Nielson because they choose who to give the boxes to. Of course it's optional to do it if they do ask you if you want a box.
Re:Homebrew now sends usage information to Google Analytics by cname on Monday April 25, 2016 @05:36PM (#11567573)
Although if Homebrew wasn't using Google Analytics, maybe people would. It could just be a "Do you mind sending us anonymous usage data? [y/N]" prompt. Many other apps do something equivalent, and I don't mind giving it to them. The fact that those apps ask in the first place makes me much more amenable to the idea.
Re:Homebrew now sends usage information to Google Analytics by nickfrostatx on Monday April 25, 2016 @06:16PM (#11567832)
"Do you mind" would be counterintuitive. I see analytics and want to respond "n", for no analytics
Re:Homebrew now sends usage information to Google Analytics by joosters on Monday April 25, 2016 @05:09PM (#11567384)
...which is very telling.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @05:16PM (#11567421)
As in, people want privacy at the expense of volunteer time.

Simple solution: Charge people for using Homebrew who don't want to send analytics in, fund Homebrew development with those funds. Otherwise, its an external cost being foisted on the volunteers by developers who want privacy at the cost of additional volunteer time.

EDIT: The tone of this thread is the exact problem with open source projects and participation. "I want a say, but I'm not willing to contribute in any way except use your tool you're providing for free." Sad, but expected.

Re:Homebrew now sends usage information to Google Analytics by cname on Monday April 25, 2016 @05:32PM (#11567540)
I think most people aren't concerned so much about sharing usage data. The problem is specifically the way it's being shared via a third party. Other apps ask if I mind sharing some data (e.g., Firefox), and I don't have a problem with that.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @05:33PM (#11567547)
Okay. Is everyone going to pony up for a self-hosted analytics box and the time to manage it? No? Of course not. Everyone wants to complain, no one would contribute resources to do it though. Privacy has a high moral value (its free to want it and complain about it), but small economic value (you use Chrome? It sends everything you do back to Google. You'll still use it, because its better than not).
Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @06:57PM (#11568063)
a HN thread is not the appropriate place to ask for resources for a project.

There are many OS projects out there with larger needs than an analytics server that have managed to get the support they need. If resources are an ongoing problem you even have the option of applying to join a free software foundation like Apache that has resources.

Re:Homebrew now sends usage information to Google Analytics by vorg on Monday April 25, 2016 @11:03PM (#11569152)
> join a free software foundation like Apache that has resources

There's a reciprocal arrangement here. One of the requirements of joining the Apache Software Foundation is using "Apache" when refering to the name of the software product for the first time in a new context, e.g. first mention on a webpage. Apache Groovy was promoted from Apache's incubator last November (2015), so I've been doing just that ever since. Unfortunately, many of the developers who work on Groovy don't bother, availing themselves of those resources but not giving back to the foundation the small amount asked.

Re:Homebrew now sends usage information to Google Analytics by joepie91_ on Monday April 25, 2016 @05:34PM (#11567550)
Just like open-source doesn't come with warranties from the creator, it also doesn't come with obligations to the end user other than to abide by the license.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @05:35PM (#11567568)
You use Homebrew. In return, you send anonymous stats to save the developers time. If you'd prefer not to, set the env var or stop using Homebrew.

Alternatively, fork it, take out the modifications, and run your own version of Homebrew. But that takes time, and effort; that same time and effort homebrew devs are trying to save with a feature. Why is your time as a user valuable but the Homebrew dev's time not?

Re:Homebrew now sends usage information to Google Analytics by pyre on Monday April 25, 2016 @05:22PM (#11567466)
Not necessarily. Opting in takes effort, and people aren't really seeing any reward, so they would be less likely to take the effort.
Re:Homebrew now sends usage information to Google Analytics by codedokode on Monday April 25, 2016 @06:47PM (#11568009)
You can make it so that opting in and out takes equal effort.
Re:Homebrew now sends usage information to Google Analytics by michaelbuckbee on Monday April 25, 2016 @05:45PM (#11567624)
I'd consider it less strong opinions and more power of defaults.
Re:Homebrew now sends usage information to Google Analytics by jordigh on Monday April 25, 2016 @08:00PM (#11568356)
At 193,622 submissions, I wouldn't say "nobody" opts in to popcon:

http://popcon.debian.org/

Re:Homebrew now sends usage information to Google Analytics by quotha on Monday April 25, 2016 @04:48PM (#11567240)
This is software, they can just ask instead!
Re:Homebrew now sends usage information to Google Analytics by Matt3o12_ on Monday April 25, 2016 @05:38PM (#11567585)
Which might break some scripts that expect home brew not to require user input. The right way to do it would be to ask if a terminal was available but in reality, scripts are not careful enough to tell applications that they are in fact headless. I've seen some scripts break under that assumption.
Re:Homebrew now sends usage information to Google Analytics by ant6n on Monday April 25, 2016 @06:16PM (#11567830)
Did it print a warning when upgrading on terminal?

They could have a prompt with a countdown, you opt in it you don't say 'no' after a minute.

Re:Homebrew now sends usage information to Google Analytics by davesque on Monday April 25, 2016 @04:53PM (#11567267)
That's kinda the point.
Re:Homebrew now sends usage information to Google Analytics by duncan_bayne on Monday April 25, 2016 @05:45PM (#11567622)
... which, if true, tells you something about the value of this 'feature' to the user.
Re:Homebrew now sends usage information to Google Analytics by isomorphic on Monday April 25, 2016 @04:46PM (#11567225)
Or, you could edit /usr/local/Library/Homebrew/utils/analytics.rb to send Google Analytics garbage (from random UUIDs) until Homebrew makes this feature opt-in.
Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @04:56PM (#11567301)
This is a great idea.

Any rubyists want to provide a patch to do this?

Re:Homebrew now sends usage information to Google Analytics by x0x0 on Monday April 25, 2016 @05:23PM (#11567491)
trashing the telemetry data they're using to figure out what OS/ver people are using and bugs they are hitting makes you a real jerk

use their opt-out if you want

Re:Homebrew now sends usage information to Google Analytics by isomorphic on Monday April 25, 2016 @05:30PM (#11567528)
Collecting telemetry data without letting users even know about it (much less opt in) isn't cool, either.
Re:Homebrew now sends usage information to Google Analytics by cellularmitosis on Tuesday April 26, 2016 @02:05AM (#11569746)
I'm really having trouble understanding this (and I appear to be in a very very tiny minority). Why would it bother you if homebrew devs and Google knew which packages you had installed?
Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @05:29PM (#11567523)
Fair point, the public shaming that is happening now is probably punishment enough.

Frankly I don't trust the opt-out code to be (and remain) bug-free. There are, as far as I can tell from searching, no tests. So I feel more comfortable maintaining a patched version with the calls nooped instead.

Re:Homebrew now sends usage information to Google Analytics by hk__2 on Monday April 25, 2016 @06:20PM (#11567855)
You can also submit a pull-request to add tests or fix any bug you can find.
Re:Homebrew now sends usage information to Google Analytics by binaryanomaly on Monday April 25, 2016 @04:32PM (#11567098)
Totally agree. I don't feel too comfortable bout google knowing everything about me... Should be opt in.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @04:46PM (#11567228)
Did you read the link? Your actions cannot be tied specifically to you.
Re:Homebrew now sends usage information to Google Analytics by binaryanomaly on Monday April 25, 2016 @05:16PM (#11567424)
Says the company that offers the service? There's traces , ips, etc. everywhere, not impossible to correlate...
Re:Homebrew now sends usage information to Google Analytics by azag0 on Monday April 25, 2016 @05:24PM (#11567495)
1) Homebrew is not a company. 2) It's open source.
Re:Homebrew now sends usage information to Google Analytics by Spivak on Monday April 25, 2016 @06:03PM (#11567746)
1) Google the company. 2) GA is not open source nor does it matter when it's your data on someone else's server.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @06:04PM (#11567754)
What makes you trust Homebrew over Google? What makes you trust anyone with your data online?
Re:Homebrew now sends usage information to Google Analytics by drivingmenuts on Tuesday April 26, 2016 @12:31AM (#11569453)
Well, up until now, Homebrew wasn't specifically collecting any information.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @05:19PM (#11567453)
Then stop using Homebrew.
Re:Homebrew now sends usage information to Google Analytics by 0x0 on Monday April 25, 2016 @04:46PM (#11567230)
You may also want to "rm ~/.homebrew_analytics_user_uuid"
Re:Homebrew now sends usage information to Google Analytics by LeoPanthera on Monday April 25, 2016 @04:55PM (#11567279)
You could really screw with their statistics by regularly changing the contents of that file.
Re:Homebrew now sends usage information to Google Analytics by hk__2 on Monday April 25, 2016 @05:16PM (#11567426)
Homebrew maintainer here. Remember that we didn’t put these analytics in place to get rich or get free beer at the local pub. Screwing up the stats won’t help anyone.

We currently don’t have any overview of our userbase; we don’t even know how many people use Homebrew. More importantly, Homebrew currently only bottles the default options but we know some people use some options that cause the formulae to build from source. If tomorrow we see that e.g. `brew install foo --with-bar` is run by hundreds of people everyday we could start bottling it and saving time to everyone. But right now that’s completely dark; the only insights we have about the usage is people opening issues/PRs.

Re:Homebrew now sends usage information to Google Analytics by courtewing on Monday April 25, 2016 @06:22PM (#11567876)
Out of curiosity, would the homebrew maintainers be open to replacing google analytics with an open source setup if the infrastructure was sponsored?
Re:Homebrew now sends usage information to Google Analytics by hk__2 on Wednesday April 27, 2016 @12:35PM (#11582008)
I can’t speak for all the team here but yes that’s something we’d consider. Someone suggested Keen IO on the issues tracker which is not open-source but it’s the only viable alternative that has been proposed so far, and it’s not from Google so some people would be more happy with that.
Re:Homebrew now sends usage information to Google Analytics by azag0 on Monday April 25, 2016 @05:23PM (#11567484)
Amazing. I've been using --with-python3 a lot, having a bottled option would be great.
Re:Homebrew now sends usage information to Google Analytics by jsmeaton on Monday April 25, 2016 @05:25PM (#11567506)
I'll leave analytics turned on, but the blog post says it'll strip arguments. Your example above seems to conflict with what the post says, no?
Re:Homebrew now sends usage information to Google Analytics by hk__2 on Monday April 25, 2016 @05:54PM (#11567681)
Yeah it’s not implemented yet. We’re doing it incrementally and actually started shipping the first bits one month ago (but it was opt-in for tests). Bottling the most used options is something we’re really excited both as maintainers and users and is IMO the number 1 reason these analytics will benefit everyone. We’re currently looking how it behaves and will add them soon.
Re:Homebrew now sends usage information to Google Analytics by hnhnhn3 on Monday April 25, 2016 @08:19PM (#11568451)
The biggest benefit of this change is getting people to reconsider their usage of homebrew. For example, now I'm looking into Nix. These sorts of changes fuel competition and innovation.

I'm reminded of when Adblock Plus went sour, and we got uBlock Origin. There are lots of examples of this.

Re:Homebrew now sends usage information to Google Analytics by gondo on Monday April 25, 2016 @05:44PM (#11567620)
its better to create am empty ~/.homebrew_analytics_user_uuid and remove write permissions
Re:Homebrew now sends usage information to Google Analytics by vemv on Monday April 25, 2016 @04:43PM (#11567198)
Where's your reasoning? Homebrew gave theirs.

Keep in mind that no personal info is ever sent. Just a random UUID.

Re:Homebrew now sends usage information to Google Analytics by LeoPanthera on Monday April 25, 2016 @04:53PM (#11567268)
My reasoning? Because it's good to respect the privacy and choices of your users. Homebrew never called home to Google in the past, most people would not reasonably expect it to suddenly start doing so without letting them know.
Re:Homebrew now sends usage information to Google Analytics by davb on Monday April 25, 2016 @05:02PM (#11567335)
Agreed.

I expect that if it was opt-in most people wouldn't take the active step to do so. And if given a choice on first-run, a large proportion of users would choose to disable the analytics reporting.

Making it opt-out seems deceitful - an attempt to trick users into leaving it enabled.

And the Homebrew developer responses thus far on the GitHub issue (users should be watching the documentation and Twitter feed - they'd have seen the announcement) seem unrealistic and unfair.

This should have been opt-in from day one, not opt-out. Especially if it's changing existing behaviour (having never automatically reported telemetry in the past).

Re:Homebrew now sends usage information to Google Analytics by geoelectric on Monday April 25, 2016 @04:51PM (#11567254)
One decent reason would be that existing installs arguably shouldn't change their privacy considerations without a hoop to jump through.
Re:Homebrew now sends usage information to Google Analytics by isomorphic on Monday April 25, 2016 @04:56PM (#11567296)
I block Google Analytics in my web browser, too...
Re:Homebrew now sends usage information to Google Analytics by oconnore on Monday April 25, 2016 @04:46PM (#11567227)
> no personal info

> Just your universally unique id

...

Re:Homebrew now sends usage information to Google Analytics by estel on Monday April 25, 2016 @05:01PM (#11567327)
> > Just your universally unique id

How is a Homebrew UUID personal info?

Re:Homebrew now sends usage information to Google Analytics by Touche on Monday April 25, 2016 @05:17PM (#11567428)
They send more than that, have you checked out the code? Every time you do an install Google gets to know about it: https://github.com/Homebrew/brew/blob/acc9a7ca8554bc2413dee2...

Maybe this is sufficiently private, maybe not. I'm not a security expert.

Maybe GA's fingerprinting heuristics are advanced enough to know that because user 1034324234 installed spacemacs at 4:01 and I visited the spacemacs documentation at 4:01 that there's a decent chance I'm user 1034324234.

Decent enough to see if the pattern happens again. After a few rounds of this, it's close enough to serve me ads based on user 1034324234's install patterns.

:shrug: doesn't sound crazy to me.

Re:Homebrew now sends usage information to Google Analytics by throwanem on Tuesday April 26, 2016 @07:05AM (#11570821)
Ads which you'll no doubt block anyway. Not seeing the issue here.
Re:Homebrew now sends usage information to Google Analytics by notalaser on Monday April 25, 2016 @05:12PM (#11567403)
It's on my PC.
Re:Homebrew now sends usage information to Google Analytics by toomuchtodo on Monday April 25, 2016 @04:47PM (#11567235)
"oconnore" is a perfectly valid unique identifier on HackerNews that doesn't tie to anything about you if you don't have your email address in your profile. This is no different.
Re:Homebrew now sends usage information to Google Analytics by LeoPanthera on Monday April 25, 2016 @04:56PM (#11567292)
The difference is, it's a choice to post on a public website. homebrew is a package management tool, there is no expectation that it will send information about you to Google.
Re:Homebrew now sends usage information to Google Analytics by yborg on Monday April 25, 2016 @05:15PM (#11567416)
>is a package management tool

This. The reasons they articulate for suddenly deciding on performing this data collection, and for doing it via GA are laughable. I am sufficiently annoyed at this because of the generation of yet another outbound data stream from my system, but the fact that in all likelihood the project will do nothing with this data really annoys me. There is zero need for this in a package system.

Re:Homebrew now sends usage information to Google Analytics by ecesena on Monday April 25, 2016 @04:52PM (#11567258)
he does have the email, though
Re:Homebrew now sends usage information to Google Analytics by Confiks on Monday April 25, 2016 @04:39PM (#11567164)
What is the mechanism in which Homebrew inserts itself into every shell session anyway? I had expected it to be loaded somewhere in some shell initialization script, such as .bashrc or .bash_profile, but I couldn't find anything.
Re:Homebrew now sends usage information to Google Analytics by Sidnicious on Monday April 25, 2016 @04:43PM (#11567197)
It doesn't — by default, Homebrew lives in /usr/local/bin/, which is already in the default $PATH on OS X.
Re:Homebrew now sends usage information to Google Analytics by Confiks on Monday April 25, 2016 @04:57PM (#11567304)
But then, by which mechanism does Homebrew notify GA that I have opened a terminal tab? There is a curl command executed every time, and I see a connection to GA with Little Snitch.

Is there some way to see the caller of a process? htop displays no parent in the tree view.

Re:Homebrew now sends usage information to Google Analytics by LeoPanthera on Monday April 25, 2016 @05:01PM (#11567329)
You probably have something in your .bashrc, or shell equivalent, that is launching brew.