zlacker

[parent] [thread] 1 comments
1. ghowar+(OP)[view] [source] 2021-10-28 21:21:30
> GitHub's intention isn't for Copilot to hold the code's copyright, but for the user to.

That is true, so I have two things I can do:

1) I can argue that Copilot is actually the distributor of the code, which means Copilot is infringing, or

2) I can go after the user for infringing, and if I win, that user would not want to use Copilot anymore for liability reasons. Or they could go after Microsoft themselves.

Why not do both? So that's what I am doing, or rather, will do.

replies(1): >>treesp+qok
2. treesp+qok[view] [source] 2021-11-04 18:09:12
>>ghowar+(OP)
I got access to Copilot technical preview earlier today, here's the completion you wanted to try:

    // Computes the index of them item.
    map_index(int item, int *array, int size)
    {
     int i;
     for (i = 0; i < size; i++)
     {
      if (array[i] == item)
      {
       return i;
      }
     }
     return -1;
    }
[go to top]