17 ms·
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 i
by LeoPanthera 11y ago
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.)
- mikevm 11y agoThat's probably true, but then no one would opt-in.
- quotha 11y agoThis is software, they can just ask instead!
- Matt3o12_ 11y agoWhich 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.
- ant6n 11y agoDid 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.
- davesque 11y agoThat's kinda the point.
- joosters 11y ago...which is very telling.
- toomuchtodo 11y agoAs 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.
- cname 11y agoI 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.
- toomuchtodo 11y agoOkay. 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).
- Touche 11y agoa 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.
- vorg 11y ago> 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.
- cname 11y agoAlthough 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.
- nickfrostatx 11y ago"Do you mind" would be counterintuitive. I see analytics and want to respond "n", for no analytics
- duncan_bayne 11y ago... which, if true, tells you something about the value of this 'feature' to the user.
- derefr 11y agoOr, 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.
- falcolas 11y agoFunny, 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.
- maxerickson 11y agoYou 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.
- jordigh 11y agoAt 193,622 submissions, I wouldn't say "nobody" opts in to popcon: http://popcon.debian.org/ http://popcon.debian.org/
- Touche 11y agoDisagree. 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.
- fit2rule 11y agoYeah, 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 ..
- oh_sigh 11y agoOr you could just say HOMEBREW_NO_ANALYTICS=1 and be done with it.
- 0x0 11y agoUntil next month when we might need to set HOMEBREW_NO_PIWIK=1337...
- mikeryan 11y agoI'd assume "NO_ANALYTICS" would mean "no analytics" not "no google analytics?
- Touche 11y agoI'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.
- 0x0 11y agoWho 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.
- binaryanomaly 11y agoTotally agree. I don't feel too comfortable bout google knowing everything about me... Should be opt in.
- toomuchtodo 11y agoDid you read the link? Your actions cannot be tied specifically to you.
- binaryanomaly 11y agoSays the company that offers the service? There's traces , ips, etc. everywhere, not impossible to correlate...
- toomuchtodo 11y agoThen stop using Homebrew.
- azag0 11y ago1) Homebrew is not a company. 2) It's open source.
- Spivak 11y ago1) Google the company. 2) GA is not open source nor does it matter when it's your data on someone else's server.
- toomuchtodo 11y agoWhat makes you trust Homebrew over Google? What makes you trust anyone with your data online?
- drivingmenuts 11y agoWell, up until now, Homebrew wasn't specifically collecting any information.
- Confiks 11y agoWhat 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.
- Sidnicious 11y agoIt doesn't — by default, Homebrew lives in /usr/local/bin/, which is already in the default $PATH on OS X.
- Confiks 11y agoBut 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.
- LeoPanthera 11y agoYou probably have something in your .bashrc, or shell equivalent, that is launching brew.
- vemv 11y agoWhere's your reasoning? Homebrew gave theirs. Keep in mind that no personal info is ever sent. Just a random UUID.
- oconnore 11y ago> no personal info > Just your universally unique id ...
- toomuchtodo 11y ago"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.
- ecesena 11y agohe does have the email, though
- LeoPanthera 11y agoThe 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.
- deleted 11y ago[deleted]
- yborg 11y ago>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.
- deleted 11y ago
- isomorphic 11y agoOr, 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.
- Touche 11y agoThis is a great idea. Any rubyists want to provide a patch to do this?
- x0x0 11y agotrashing 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
- Touche 11y agoFair 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.
- hk__2 11y agoYou can also submit a pull-request to add tests or fix any bug you can find.
- isomorphic 11y agoCollecting telemetry data without letting users even know about it (much less opt in) isn't cool, either.
- deleted 11y ago[deleted]
- cellularmitosis 11y ago
- 0x0 11y agoYou may also want to "rm ~/.homebrew_analytics_user_uuid"
- LeoPanthera 11y agoYou could really screw with their statistics by regularly changing the contents of that file.
- hk__2 11y agoHomebrew 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.
- azag0 11y agoAmazing. I've been using --with-python3 a lot, having a bottled option would be great.
- jsmeaton 11y agoI'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?
- hk__2 11y agoYeah 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.