News for hackers. Stuff that matters.
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.