Question Protected by gnat
3 Copy edited.
source | link

What do I need to do to NOT steal "Hello World" code with a GPL license?

In the project, I found math.ca file, math.c, with a big GPL header and ...

//------------------------------------------------------------------------------
/// Returns the minimum value between two integers.
/// \param a  First integer to compare.
/// \param b  Second integer to compare.
//------------------------------------------------------------------------------
unsigned int min(unsigned int a, unsigned int b)
{ 
    if (a < b) {
 
        return a;
    }
    else {
 
        return b;
    }
}

OkOK, cool so I need to get min value and ... THIS FILEthis file!? So I need to open the whole project because of it? Or do I need to reinvent mathematics?

I don't believe it's just insane, so the question is: when we can just remove the GPL header?

Must I BE A WERIDO AND DO ITbe a weirdo and do it?:

unsigned int min(             unsigned int 
JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE, 
unsigned int hyrthrtRERG            ) {  if 
(JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE
< hyrthrtRERG            ) {  return JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE;  }
else {return hyrthrtRERG            ;    } }

seriouslySeriously, do they want weme to write code alikelike the above?

What I need to do to NOT steal "Hello World" code with GPL license?

In the project I found math.c file with big GPL header and ...

//------------------------------------------------------------------------------
/// Returns the minimum value between two integers.
/// \param a  First integer to compare.
/// \param b  Second integer to compare.
//------------------------------------------------------------------------------
unsigned int min(unsigned int a, unsigned int b)
{ 
    if (a < b) {
 
        return a;
    }
    else {
 
        return b;
    }
}

Ok, cool so I need to get min value and ... THIS FILE!? So I need to open whole project because of it? Or I need to reinvent mathematics?

I don't believe it's just insane, so the question is: when we can just remove GPL header?

Must I BE A WERIDO AND DO IT?:

unsigned int min(             unsigned int 
JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE, 
unsigned int hyrthrtRERG            ) {  if 
(JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE
< hyrthrtRERG            ) {  return JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE;  }
else {return hyrthrtRERG            ;    } }

seriously do they want we write code alike above?

What do I need to do to NOT steal "Hello World" code with a GPL license?

In the project, I found a file, math.c, with a big GPL header and ...

//------------------------------------------------------------------------------
/// Returns the minimum value between two integers.
/// \param a  First integer to compare.
/// \param b  Second integer to compare.
//------------------------------------------------------------------------------
unsigned int min(unsigned int a, unsigned int b)
{
    if (a < b) {
        return a;
    }
    else {
        return b;
    }
}

OK, cool so I need to get min value and ... this file!? So I need to open the whole project because of it? Or do I need to reinvent mathematics?

I don't believe it's just insane, so the question is: when we can just remove the GPL header?

Must I be a weirdo and do it?:

unsigned int min(             unsigned int
JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE,
unsigned int hyrthrtRERG            ) {  if
(JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE
< hyrthrtRERG            ) {  return JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE;  }
else {return hyrthrtRERG            ;    } }

Seriously, do they want me to write code like the above?

2 added 411 characters in body
source | link

In the project I found math.c file with big GPL header and ...

//------------------------------------------------------------------------------
/// Returns the minimum value between two integers.
/// \param a  First integer to compare.
/// \param b  Second integer to compare.
//------------------------------------------------------------------------------
unsigned int min(unsigned int a, unsigned int b)
{ 
    if (a < b) {

        return a;
    }
    else {

        return b;
    }
}

Ok, cool so I need to get min value and ... THIS FILE!? So I need to open whole project because of it? Or I need to reinvent mathematics?

I don't believe it's just insane, so the question is: when we can just remove GPL header?

Must I BE A WERIDO AND DO IT?:

unsigned int min(             unsigned int 
JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE, 
unsigned int hyrthrtRERG            ) {  if 
(JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE
< hyrthrtRERG            ) {  return JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE;  }
else {return hyrthrtRERG            ;    } }

seriously do they want we write code alike above?

In the project I found math.c file with big GPL header and ...

//------------------------------------------------------------------------------
/// Returns the minimum value between two integers.
/// \param a  First integer to compare.
/// \param b  Second integer to compare.
//------------------------------------------------------------------------------
unsigned int min(unsigned int a, unsigned int b)
{ 
    if (a < b) {

        return a;
    }
    else {

        return b;
    }
}

Ok, cool so I need to get min value and ... THIS FILE!? So I need to open whole project because of it? Or I need to reinvent mathematics?

I don't believe it's just insane, so the question is: when we can just remove GPL header?

In the project I found math.c file with big GPL header and ...

//------------------------------------------------------------------------------
/// Returns the minimum value between two integers.
/// \param a  First integer to compare.
/// \param b  Second integer to compare.
//------------------------------------------------------------------------------
unsigned int min(unsigned int a, unsigned int b)
{ 
    if (a < b) {

        return a;
    }
    else {

        return b;
    }
}

Ok, cool so I need to get min value and ... THIS FILE!? So I need to open whole project because of it? Or I need to reinvent mathematics?

I don't believe it's just insane, so the question is: when we can just remove GPL header?

Must I BE A WERIDO AND DO IT?:

unsigned int min(             unsigned int 
JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE, 
unsigned int hyrthrtRERG            ) {  if 
(JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE
< hyrthrtRERG            ) {  return JEIOfuihFHIYEFHyigHUEFGEGEJEIOFJOIGHE;  }
else {return hyrthrtRERG            ;    } }

seriously do they want we write code alike above?

    Tweeted twitter.com/#!/StackProgrammer/status/201223981213286400
1
source | link

What I need to do to NOT steal "Hello World" code with GPL license?

In the project I found math.c file with big GPL header and ...

//------------------------------------------------------------------------------
/// Returns the minimum value between two integers.
/// \param a  First integer to compare.
/// \param b  Second integer to compare.
//------------------------------------------------------------------------------
unsigned int min(unsigned int a, unsigned int b)
{ 
    if (a < b) {

        return a;
    }
    else {

        return b;
    }
}

Ok, cool so I need to get min value and ... THIS FILE!? So I need to open whole project because of it? Or I need to reinvent mathematics?

I don't believe it's just insane, so the question is: when we can just remove GPL header?