GitHub's Copilot; Can the original author please stand up?
Tags: github, githubcopilot, hosting, freedom
Published: 2021-07-04 16:21:14

## If something is free, you’re the product
~ Richard Serra, 1973

This famous line was in regards to the 'free' broadcast TeleVision programs that most everyone spent hours in front of per week, if not hours per day.  (People watched news & entertainment on free broadcast stations before the internet and cable.)  In USA, almost all programming was supported by advertising.  Early ads were simple, but as more psychological research was done those ads became more and more effective in influencing public perceptions.  Entire genres of TV were catered to specific groups.  Early 'soap operas' that were shown mid-day targeted stay-at-home mothers were & are full of ads for household cleaning products.  Saturday morning cartoons were full of ads to get children to get their parents to buy sugary cereals and the latest toys.  In fact, some cartoons were blatantly 30 minute ads about toys (GI Joe, Transformers, etc).

Today, TV has has become more targeted thanks to cable and satellite offering 100s of different channels for every market.  Channels just for sports fans, others just for women, children, SiFi fans, etc.  You can notice how each channel runs the same type of ads constantly, eg news channels have many ads related medicine, since those watchers tend to be older folks concerned about their health.

## Niche Marketing Techniques

I like to check out newsletters for web developers (since I'm a webdev myself) to check out the latest articles, videos, and software related to the platforms and programming languages I'm interested in.  Most of the newsletters I read have ads for products, services, and job offers I sometimes are interested in.  So it is a win-win-win; advertisers are curated by the newsletter author to deliver to a niche market content many people want to read both the free and paid content.

## Freemium: Niche Marketing for Web Services

There is another 'advertising' model for many of the commercial services that we developers use; the 'free-tier' or 'freemium'.  This model opens a limited service available to any & all with an email address, in hopes that you will buy the paid tiers later.  This helps the users to test out products by spending only time.  It also helps the service provider test out their platform, gets contact info for latter follow-ups, raise awareness, and increase community size.  More on this later.

## Code Sharing History

There were free code sharing platforms long before GitHub arrived.  In the pre-internet days, programmers would use dial-up modems to connect to a BBS where you could download both programs an source code.  There was 'sneaker-net', where people would copy and swap disks and tapes full of code.  Early internet opened the door for FTP sites (often hosted by universities) to host archives of source code.  Forums, IRC, and Usenet provided more 'social' avenues for people to share code, tips, and suggested revisions.

Sourceforge one of the larger portals to allow programmers both share their source code, compiled programs, and gather feedback to add more features and fix bugs.  Their user-base grew as more larger projects (like Linux distros, audio, video and code editors) made Sourceforge their home.  They seem to be supported by ads, but I still wonder how deep in the red they run.  I still visit there on occasion, mostly for [FileOptimizer](https://nikkhokkho.sourceforge.io/static.php?page=FileOptimizer).

## GitHub Hits the Jackpot

GitHub had great timing; they took a semi-new but powerful revision tracking system ([git](https://git-scm.com/)) add a feedback forum (issues), hosting, and mini social profile (to help personalize) wrapped together by a back-end language that was quick to develop on (Ruby).

IMHO, their clean interface and generous ad-free freemium level attracted many many programmers and entire organizations to host their code on GitHub.  They made `git` fun to use and easy to hack in quick changes.  Their search and categories allowed many people to quickly find code to solve problems they had, or even provide new ideas.  GitHub became *the primary portal for code hosting and sharing*, enabling many programmers and companies to flourish.

Though not thought of as a 'social media site' in the likes of Facebook, Twitter, etc, it is a place for many cultures to intermingle.  Very common to people from different countries, religions, beliefs, etc to gather and create solutions together.

GitHub does have a paid tier that many pay for, but I doubt that alone was worth the [$7.5billon MicroSoft paid for GitHub](https://cloudwars.co/microsoft/microsoft-killer-acquisition-github-soars-70-percent/).  It would be the user-base and all the code there that made GH worth that much.

## But Free Code Is Not (Usually) Free

Most (but not all) code on GitHub has some level of copy protection.  [MIT](https://tldrlegal.com/license/mit-license), [creative commons](https://creativecommons.org/licenses/), [GPL](https://fossa.com/blog/open-source-software-licenses-101-gpl-v3/) all have 'strings attached' to their license.  Usually the requirement is that the copyright notice (& authors' name) is kept with copies of the code, but may include greater restrictions for commercial use... And these restrictions will carry over to derived programs.  So if you use code that includes another library that has a dependency of a 'no-commercial-use' license and you want to use said code in your job or side-hustle, you may find yourself in a legal situation.

Trust me, lawyers and company heads do not like legal ambiguity.  I've lost several job opportunities as soon as I mention OSS.

## GitHub Gives Away Your Code Without Permission

I started to see sites and tools that scraped GitHub repos and presented that copyrighted code as uncopyrighted code without attribution, hmmm about a year ago (?) as top search results.  But I've seen scrapper sites directly quote eintire StackOverflow answers long before that, so this wrong is nothing new.

But what is new, is a major corporation (MicroSoft/GitHub) doing the same thing.  They call it 'AI trained' but like those 'find the traffic light' Captcha tests, humans are training the AI.  & the results are sometimes direct quotes of code, which is unauthorized.  Is some the code shown from fully 'all rights reserved' private codebases hosted on GitHub?  One PM I received from a major contributor to npm (JavaScript libraries) is that others are 'seeing your code signature everywhere'.

(Another example)
{% twitter 1410997530897309702 %}

I'm not the only one concerned:

{% twitter 1410153867820605442 %}
{% twitter 1411503865300725761 %}
{% twitter 1411449622288076801 %}
{% twitter 1411521416898482180 %}

Hopefully Copilot is not giving away passwords... but maybe they are?  Or atleast encryption methods?

{% twitter 1410460805611634696 %}

## I'm Not a Lawyer

There is legal precedent for music that taking even a [few bars of music is a copyright violation](https://www.lexology.com/library/detail.aspx?g=822996f8-5476-49ef-bd3e-e05369631c3e).  We should keep this in mind...

## Aside: Programmers are Almost Forced to 'Borrow'

Sad fact is; those using code-grabbing tools like this may end up being more productive, leaving those who don't use said tools behind....

## Alternatives to GitHub

[GitLab ](https://about.gitlab.com/) is seen an influx lately, since their git-platform is OSS that you can self-host.  They do have a solid commercial product that Goldman Sachs, ticketmaster & others use.

There are other GitHub clones written in [Go (Gitea)](https://gitea.io/en-us/) and [V (Gitly)](https://github.com/vlang/gitly)

## Or Do Not Share at All

If your code is on the internet, someone can take it.  People are willing to steal; I know someone who had his hardware reverse-engineered and 100s of clones made, putting him out of business.

Only real solution is not to share your code at all.  Which makes me a bit sad, but in a world where doctors can't share medical advice on FaceBook anymore, and [scientists get their conversations censored](https://twitter.com/RWMaloneMD/status/1411662093468803074), this is the world we live in.  :(