-
as seen on Programmers
- Search for 'Programmers'
Some company is selling software through Apple's App Store which uses portions of code that I released publicly under the GPL. The company is violating the licensing terms in two ways, by (1) not preserving my copyright statement, and not releasing their code under the GPL license and (2) by distributing…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
just wondering idk if its $200 or $10000. just an average ecommerce TOS i guess..
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have recently been wondering why so little code is ever released as 'Public Domain'. MIT and BSD licenses are becoming extremely popular and practically only have the restriction of license propagation.
The reasons I can think of so far are:
Credit - aka Prestige, Street-cred, 'Props', etc.…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
This works:
>>> def bar(x, y):
... print x, y
...
>>> bar(y=3, x=1)
1 3
And this works:
>>> class foo(object):
... def bar(self, x, y):
... print x, y
...
>>> z = foo()
>>> z.bar(y=3, x=1)
1 3
And even this works:
>>>…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
This is undefined behaviour:
void feedMeValue(int x, int a) {
cout << x << " " << a << endl;
}
int main() {
int a = 2;
int &ra = a;
feedMeValue(ra = 3, a);
return 0;
}
because depending on what parameter gets evaluated first we could call (3, 2) or (3, 3).
However…
>>> More