404 points · by fagnerbrack · 3y ago · 277 comments
>
> Your individual personal or repository data will not be shared with third parties. We may share aggregate data learned from our analysis with our partners.
That's very concerning wording... I guess even private repositories are being fed into AI, at least that's what that policy explicitly allows.
Every service and utility gets enshittificated sooner or later, it's a given at the moment. I deleted all my private repos, github and all other MS services should be avoided in the future.
The only solution is to self-host. Gitea is good.
Gitea project hosts its code on GitHub: https://github.com/go-gitea/gitea. You must admit that is a bit ironic.
> age of massive ever-growing out of control tech monopolies that do whatever the fuck they want
GitHub is not the only option for source code hosting. There are alternatives like GitLab, Bitbucket, and numerous smaller ones.
The fork was established at the time that Gitea got entepreneurial and founded Gitea Ltd. with plans for an enterprise version. https://codeberg.org used to run on Gitea, but switched to Forgejo, and Forgejo project is hosted on Codeberg at https://codeberg.org/forgejo
git init --bare /path/to/repo.git
on the server. Then locally you git clone that repo with a ssh url.It does not have any visual MR or enterprisey features, but it works.
It's a sad situation that if you desire exposure and community building you must maintain a fork on Github, but that's how it is for smaller projects. I am in a similar situation, with some of my projects with main repos hosted on sourcehut, but most of external engagement comes from clones on github. It is what it is, and we do what we must. :)
Looks like they're working on migrating to a Gitea instance: https://github.com/go-gitea/gitea/issues/1029 .
The people are on github, so it is really enticing.
Maybe the reddit and twitter drama creates a viable enough community for federated logins to become useful.
Every time someone parrots this, I have to wonder if they did more than 5 minutes of reading - it's one of the top issues on the issue tracker and they've outright stated they will move once Gitea is at a spot where they are not losing functionality and history.
This is what is crazy to me. You can agree to terms, build infrastructure around terms you agreed to, then those terms can completely change. Don't like it? Click disagree and we'll close your account, no problem!
And, thanks to politics around social media censorship, we have way too people willing to say, "Don't like the terms, don't use the platform!" to the point of normalization. Sad.
The other solution is political. There's a reason that governments regulate and define economic rules of the road. This is a good example of where governments need to step in. The link between generative AI and the data it is trained on needs to be carefully thought through and properly handled especially given the capitalist nature of our economy.
it is functioning like Open Source should, there was a disagreement in how the project was run so it gets forked
This used to be more common place when projects were run by people not companies. I wish the practice would come back we need more forks in Free Software
Upgrades have been painless. Doesn't tax the server.
Was using Gitea when that fork happened and didn't see a reason to migrate. Looked very much like poor communication on the behalf of Gitea causing a misunderstanding.
I don’t understand your thinking and gitea’s marketing. They say in the same breath that it’s “self-hosting” and that they do “Git hosting… similar to GitHub, BitBucket, and GitLab”. — https://docs.gitea.com/
Gitea is an open source alternative to GitHub, that you run yourself.
Slippery slope, yes, but in reality there is a legal framework and a ToS in place as well.
Use of data for AI training is a big deal. Implicitly allowing it under this definition will be enough cause for a lawsuit.
That doesn't give a lot of comfort. ToS can change at any time.
>data from public repositories, and also... data from private repositories when a repository's owner has chosen to share the data with GitHub by enabling the dependency graph
So if you don't enable the Dep Graph feature, your private code is treated according to the standard terms of service.
1. Click your avatar
2. Settings
3. Security / Code security and analysis
4. Dependency graph [Disable all]
You're welcome
I'm assuming I want to definitely not check that if I dont want my code stolen?
But I dunno, they have worded this all so confusingly, this is some dark pattern shit. Do I check the box or not?
You are not giving them an inch, you are receiving an inch (and a whole lot more). And if you don't want that, you can turn the feature off.
What would you want instead? Them not offering the feature at all?
If I make my own image of Spider-Man or some similar IP, that image is still a derivative and subject to copyright claims. Even if I claimed “I never knew about a character like this before”, I’d still get hit with a massive infringement claim.
How is predictive AI any different? If you feed in copyrighted or trade secret material, how are you not responsible for suspect output?
How would you know the LLM used your work specifically and then prove that in court?
Breach of licence and copyright laws is still illegal even if its very well concealed.
Lots of their customers' code is requiring attribution, or specifies acceptable uses (notably, what kind of license the product built with your code is allowed to have). Beyond simple copyright to which anyone can pretend, they're also concealing this.
GitHub is a Californian company they are beholden to US regulation that requires them to hand over data upon legal request, and they can be prohibited from telling you they did. These requests happen frequently.
https://github.blog/tag/github-transparency-report/
> In 2022, GitHub received and processed 432 requests to disclose user information, as compared to 335 in 2021. Of those 432 requests, 274 were subpoenas (with 265 of those subpoenas being criminal or from government agencies and 9 being civil), 97 were court orders, and 22 were search warrants.
Concerning national security letters:
> We’re very limited in what we can legally disclose about national security letters and Foreign Intelligence Surveillance Act (FISA) orders. We report information about these types of requests in ranges of 250, starting with zero. As shown below, we received 0–249 notices from July to December 2022, affecting 250–499 accounts.
Seems like we can increase the lower bound ever so slightly: It couldn't have been zero, otherwise it would affect "0-249 accounts".
I do have a codeberg account so will consider moving my repositories again, although it's probably too late and has all been sucked up by Google already.
True, assuming that GitHub/MSFT/OpenAI's stance is correct. Just because they have that stance doesn't mean it is[1].
In the end, these gray areas will be decided in court.
[1] I personally think it probably is, which is why I removed all of my stuff from the open web and these sorts of services -- I see no other way to prevent this use of my data.
AIUI the AI can't be used to answer any questions based knowledge from training that included private repositories, since (still AIUI) there's no guarantee that contents from the training won't appear in the output.
But there seems to be a loophole for yes/no questions. An AI that answers only yes/no could be trained on private repositories, or run on them. So they could, say, train an AI to recognise repos that require working hours from their legal staff, or from their support staff, and then run that AI on all repos to locate repos that cause expense in the future. Things like that seem possible.
And an AI might answer questions like this: "Does any repo contain the string 845fjkef5urwejf in a Kotlin file?"
I love how they say that as if it's a meaningful distinction in some way.
OpenAI is a third party..?
My employer (one of the largest in the world) has fully migrated to Office 365 and a lot of the new source code is on private Github repositories. But no worries, the humans working at Microsoft will not analyse the data. This is only done by AI.
Next people will be surprised that GitHub has the right to show your source code on a website....
i strongly doubt that this language would support the use of private repositories for training generative systems.
How do you think they do that? Crystal ball?
Not everything is about AI
there is no current reason to believe that copilot or ChatGPT are trained on private repositories; however this agreement does permit them to do so.
The concern is, why not? you have an enormous corpus of professional grade software just sitting there, one bit flip away from access; and you are even permitted (to the letter of the law) to flip that bit- why wouldn't you, eventually?
How so? Assuming you read the whole agreement and not just take a single line out of context?
"If you enable data use for a private repository, we will continue to treat your private data, source code, or trade secrets as confidential and private consistent with our Terms of Service."
I am working from information derived from the terms of service: https://docs.github.com/en/site-policy/github-terms/github-t...
For a small example of what I mean:
> GitHub considers the contents of private repositories to be confidential to you. GitHub will protect the contents of private repositories from unauthorized use, access, or disclosure in the same manner that we would use to protect our own confidential information of a similar nature and in no event with less than a reasonable degree of care.
When talking about confidentiality, GitHub is specific to mention unauthorised access, implication is here that GitHub has the authority to authorise themselves.
The next section talks about how they will grant access to third-parties, but it's clear that as a first party they exclude themselves from the moniker of "unauthorised".
Because if people found out you were doing that you would lose vast numbers of paying customers, which would cost you a lot of money.
If people haven't gotten tired of Microsoft's antics yet, they never will.
Obviously GitHub can read my repos in order to display them on GitHub.com, but access must be fleeting.
They have a legitimate cause to read and while they are at it they use the data for everything else they want.
No way for you to know.
Tell me – how can Github do all of this without programmatically accessing the contents of your private repos from their servers?
"If you enable data use for a private repository, we will continue to treat your private data, source code, or trade secrets as confidential and private consistent with our Terms of Service."
2. Build small- to mid-size businesses, that can prioritize healthy growth – like focusing on users, being kind to employees, building brand equity over time.
The pump-and-dump grift cycle of enshittification has got to stop.
Accept that you cannot grow at the same speed and focus on deep roots and fanatical customers
There's whole industry looking for companies that are too nice to their employees and customers to buy, exploit, grab profits and leave a husk behind.
Much easier said than done. Sometimes the owners just get tired or bored, and want out. They sell the company to the highest bidder, within reason; often there's no crowd clamoring to buy a small, non-growing company.
Then it's usually over.
Receiving files, copying them within a file system, and transmitting the contents? Clearly not looking.
Computing a hash for each file? Doesn’t seem like looking either.
Parsing the contents, or tokenizing them for a ML model? That’s looking IMO.
I think the defining factor is the size and nature of the derived state update on the server. Copying and transmitting retains only metadata about the file. Computing a hash produces only a handful of bytes of state about the file, and there’s nothing that can be inferred about the file’s contents from the hash. But if you start storing something like word frequencies, that’s not neutral anymore, it’s a “look” into the contents.
When Gmail was introduced two decades ago, there was some short-lived furore about the fact that Google admitted they were reading your emails for ad targeting purposes. To a lot of people like myself, this seemed a bridge too far when you’re used to servers that don’t “look” at your private stuff. But it certainly didn’t hurt Gmail’s adoption. (I still don’t use Gmail because of this original lingering distaste.)
And if you don't agree, just remember that my claim hinges on the definition of the words "you", "definition", "got" and "a".
The state update based on the file contents happens in my brain, and that’s the “look” action.
GitHub does all those things with your commits.
Not really analogous.
Nothing is stored at Amazon.
Ok, stored but no human has access.
Ok, humans have access but only special employees
Ok, some third party contractor get the data too.
GitHub should be making this blatantly clear and transparent for users, rather than using Facebook-esk cloak-and-dagger language.
For example, clearing the full reflog of a repository and then either force pushing over or deleting the remote repository (then pushing it again under a different name) will keep the activity attribution, in the second case it might even attribute the commits to the new remote (404ing when clicking the "Created x commits in y repositories").
Good for team workflows and pull requests, but annoying for public repositories with intentionally rewritten history.
master@{yesterday}
resolves to whatever the reflog thinks the master branch was pointing to 24 hours ago. There are a bunch of places in the GitHub API and UI that look like they only accept a branch or commit OID but actually accept a revision specifier. So e.g https://github.com/torvalds/linux/tree/master@{yesterday}
lets you peek into the reflog for the master branch on torvalds/linux.[1] man 7 gitrevisions
And I think - is github impossible to hack?
Will the day come when github is wide open and all that secret source gets drained out?
Turns out, you need more than source code to run a business. You need customers, markets & relationships. You need trust. You need a sales team. That's the real thing you should be worried about being stolen. Your goddamn sales team. Obviously the developers would be worried about the code base (and they should be) but at scale it's not the end of the world if some code gets out. Losing your best sales person & all their prospects would be much more catastrophic for your business.
Smaller players, especially threats to OpenAI and whoever else could easily get squashed in such a scenario.
Coca Cola’s empire surely isn’t dependent on Coke’s recipe, yet they’re still keeping it a secret. Same goes for the vast majority of for-profit organizations who do not want their core product’s recipe exposed, for a variety of reasons.
Most software companies' "value" (liquidatable assets) depend almost exclusively on their IP, as embodied in their patent portfolio and their source-code. Their people may be more valuable, but people can't be traded or used as collateral.
It’s also a security risk having your source code leaked.
I think it's a more "How much will it cost to host repositories that are at less of a risk than GitHub".
I have actually talked with non-tech-savvy people about this, most of them have heard of tech companies tracking their users, and most of them genuinely believe that there are tech company employees out there going through their private lives. This is why I really dislike the use of the word "tracking" in a tech privacy context.
A machine will read your data and will set a flag in your HR file.
No human read your data but you still face consequences
I've also talked with non-tech people about how the tracking and data mining world actually works, I've never had someone say "so what?". It may simply be that non-tech people aren't as aware of what the tracking does based on ignorance of the problem, not a genuine acceptance of the practice itself.
Are you implying this is an incorrect belief? There are reports of employees stalking their former partners at data collection companies.
(https://www.lawfareblog.com/snowden-revelations)
... but we'll never share your data with anyone!
The related update, in short, tells this:,
You have a legit blockchain project, tell us, and we'll allow you. Crypto? We most probably don't allow it [0].
The wording is this (verbatim): We will exercise discretion when applying this rule. If you believe that your use-case for cryptocurrency or blockchain is not plagued by these social problems, you may ask for permission to host it on SourceHut, or appeal its removal, by contacting support.
I'd rather have my project removed by a person who I can talk with, rather than a corporate chat bot pretending to be human, and my source code is not harvested without my consent for a service which is sold at me $10/mo.[0]: https://sourcehut.org/blog/2022-10-31-tos-update-cryptocurre...
They don’t allow crypto related code to be hosted there purely because the guy who runs the show dislikes crypto.
What else does he dislike in the future? AI/ML projects are just as divisive as crypto coin projects…
Yeah they give you a lot more on the free account now, don't they? :/
We've maybe been lazy with how we centralise repos in this way.
But whatever GitHub is doing, Vervel/AWS/CF can also do when you deploy, and they maybe already do to detect bad actors?
Just like many of us here know how to freely download pirated torrent mp3s safely, though pay for Spotify/Apple Music as its more convenient (also legal, but doubt many care about that especially here).
The good news for me the open-source developer: it looks like the closed-source code people write with the help of Copilot and all the open-source code in its learning set will also feed into that learning set.
I guess code just wants to be free -- free as in speech, expensive as in yachts and fine wine for VCs and private equity pirates. Plus ça change, plus ça reste la même chose. Sigh.
What frustrates me is that it feels like they didn't announce their intentions of what they'd do with your code. They use the same kind of verbiage ib t&c as they would to tell they collect some usage telemetry and might occasionally share it with partners. And that is definitely not the same.
What simpler alternatives are there? I found https://github.com/jonashaag/klaus . Is there something else?
I'd also expect that users of github would have an easier time than the average person figuring that change out.
I'm getting a 500 Internal Server Error on their pricing page, which I assume may have something to do with this post on HN. Anyone know what it costs to have private repos there?
The best forge is still a bit experimental, since we've recently rewritten it using tech that isn't as ready as it promises (looking at you, Cloudflare Workers).
A private repo is 5€/month, plus 0.01€/Gb.day for storage above 100Mb.
And we don't do the kind of stuff discussed here, we're just offering storage and collaboration tools, and intend to keep it this way (as well as open sourcing everything).
you have to trust linux and kind of trust aws, you don’t have to trust github at all.
not your keys, not your coins. it’s really such a good catchphrase.
for anything non-public, git data goes here:
I accidentally got a few hundred fake(?) names out of the codex models because I asked it to LARP as a professor (I was hoping for better code). Probably almost all hallucinations, but I wouldn't be surprised if some had some truth to them.
At best that would be like a Don't Track Me flag. Some will follow it, though ironically it is also useful for fingerprinting and can signal you may be doing something worth tracking.
traditionally I would have juxtaposed aggregate and privacy preserving, though I think in the lights of LLMs, that is not reasonable anymore.
soon a zip file is also "aggregate" data.
On the other hand, getting a personalized Copilot within your org is something entirely different and probably will be out in the not too distant future.
They could feed private repos into copilot. It might make copilot better. It's certainly useful to automate extraction of IP with plausible deniability. If someone notices, they can claim "oh that must be in a public dataset as well".
You no longer own your projects, they have the final word.. scary times
Glad I moved away from Microsoft products many years ago, sad for my country