News for hackers. Stuff that matters.
Re:GitHub releases an ImageNet for code and a CodeSearchNet ... by flohofwoe on Friday September 27, 2019 @05:50AM (#21090100)
I know this sounds silly because code on github is visible to everybody anyway and that's a good thing, but I would appreciate a way to opt out my own code from such automated data gathering programs for machine learning purposes.

Something like a robots.txt for github projects. Not that anybody would really care, only to make my intent clear that I don't support this sort of mass data gathering nonsense.

Re:GitHub releases an ImageNet for code and a CodeSearchNet ... by kogir on Friday September 27, 2019 @07:20AM (#21090630)
You opt out by using a restrictive license or making your repo private.
Re:GitHub releases an ImageNet for code and a CodeSearchNet ... by flohofwoe on Friday September 27, 2019 @10:26AM (#21092340)
Using a restrictive license seems a bit extreme when the whole point of a public github repo is to make the code available for other programmers.

I consider this mass data gathering use for machine learning an edge case which should not harm the 'legitimate' users of the repository.

Re:GitHub releases an ImageNet for code and a CodeSearchNet ... by bpt3 on Friday September 27, 2019 @11:13AM (#21092849)
Why do you see this effort as not "legitimate"?
Re:GitHub releases an ImageNet for code and a CodeSearchNet ... by zelly on Friday September 27, 2019 @01:23PM (#21094163)
Self-host your own Git browser. Gitlab or Cgit is still good which is still used by the biggest project in the world (linux kernel).