Here an example which demonstrates why after knowing Python and try to learn Java i did quickly make the sane choice to give up on java and trying to go along better with python (the two examples do the same):
Its from here (The example are aged but the Syntax is stille the same create a list 1000 times then append the list 1000 times each then access it) First is Python second is java:
for i in xrange(1000): v=['a','b','c','d','e','f','g']
for j in xrange(1000):
v.append(j)
v[j]
import java.util.Vector;
public class ListTest {
public static void main(String[] args) {
for (int i = 0; i < 1000; i++) {
Vector v = new Vector();
v.addElement("a");
v.addElement("b");
v.addElement("c");
v.addElement("d");
v.addElement("e");
v.addElement("f");
v.addElement("g");
for (int j = 0; j < 1000; j++) {
v.addElement(new Integer(j));
v.elementAt(j);
}
}
}
}
Most people here use CC-BY. CC-SA has some bitter bytaste.
Indeed there are no restrictions to just take it and upload it somewhere else, however if someone does that he would need to give you attribution.
You may just add in your description that you dont want it to be uploadet somewhere else. However i am not sure if that would become part of the license and would be legally binding.
And I also know how bad Python performs, an example of this is that I know a guy who coded a simple space shooter in Python and his computer barely ran it(note: his computer was not the best one available), while I have created more complex games and had them run on smartphones just fin
I think it does not matter in which language you programm bad code which has as example an infinitive loop or whatever overly CPU demanding you will end up with a slow program.
Now Python is a bit slow compared to c++ but to say its not possible to make a shooter for a little old pc is out of the world. Here is some example to compare:
Now you see some examples are as quick as c++ some are 100 times slower.
However if you really try to do something scientific or demanding with python that could be executed 100 times quicker with c++ you still have the option to use a python module (cython) and execute the code in C or C++ and it will be only minimally slower.
For my programs on pc Python + Kivy needs about 4 seconds from start till loadet kivy itsself needs 2-3 seconds.
So also here i would not say its too slow.
In the end i think you can safely say if someone programs proper he will not get a too big difference betwenn Python and C++ in real life execution.
Its about the same on Android, however since Python is not the native language on android it will be quite a bit slower than java need more ram and will not work on older versions.
On the other hand i tried to get into java for exactly that reason and in the end i was just horrified how ugly the language feels compared to Python (which has a similar struckture like c++ but quite some improvements over c++ in terms of languagebeauty)
Also i think its safe to say that most programs in Python needs less code and are codet more streamline.
For that think python is easy to learn and its nice to use and for that reasons its also my favorite language.
I have since long time the feeling the bosses in Linux are rather trying to destroy it from the inside.
Linux has some very akward policies and in some way no one seems to care to make it really userfriendly means you can find extreme akward bugs where you wonder why no one has fixed it.
The Packagesystem can mess itself up when there are differen versions of the same package required. For me most distros are just hell to work with.
I found something more to the topic:
Here an example which demonstrates why after knowing Python and try to learn Java i did quickly make the sane choice to give up on java and trying to go along better with python (the two examples do the same):
Its from here (The example are aged but the Syntax is stille the same create a list 1000 times then append the list 1000 times each then access it) First is Python second is java:
for i in xrange(1000): v=['a','b','c','d','e','f','g']
for j in xrange(1000):
v.append(j)
v[j]
import java.util.Vector;
public class ListTest {
public static void main(String[] args) {
for (int i = 0; i < 1000; i++) {
Vector v = new Vector();
v.addElement("a");
v.addElement("b");
v.addElement("c");
v.addElement("d");
v.addElement("e");
v.addElement("f");
v.addElement("g");
for (int j = 0; j < 1000; j++) {
v.addElement(new Integer(j));
v.elementAt(j);
}
}
}
}
At the bottom of submited art is a request deletion button.
Otherwise maybe just write a moderator.
Hello Mornedil,
Most people here use CC-BY. CC-SA has some bitter bytaste.
Indeed there are no restrictions to just take it and upload it somewhere else, however if someone does that he would need to give you attribution.
You may just add in your description that you dont want it to be uploadet somewhere else. However i am not sure if that would become part of the license and would be legally binding.
I think it does not matter in which language you programm bad code which has as example an infinitive loop or whatever overly CPU demanding you will end up with a slow program.
Now Python is a bit slow compared to c++ but to say its not possible to make a shooter for a little old pc is out of the world. Here is some example to compare:
Here
Now you see some examples are as quick as c++ some are 100 times slower.
However if you really try to do something scientific or demanding with python that could be executed 100 times quicker with c++ you still have the option to use a python module (cython) and execute the code in C or C++ and it will be only minimally slower.
For my programs on pc Python + Kivy needs about 4 seconds from start till loadet kivy itsself needs 2-3 seconds.
So also here i would not say its too slow.
In the end i think you can safely say if someone programs proper he will not get a too big difference betwenn Python and C++ in real life execution.
Its about the same on Android, however since Python is not the native language on android it will be quite a bit slower than java need more ram and will not work on older versions.
On the other hand i tried to get into java for exactly that reason and in the end i was just horrified how ugly the language feels compared to Python (which has a similar struckture like c++ but quite some improvements over c++ in terms of languagebeauty)
Also i think its safe to say that most programs in Python needs less code and are codet more streamline.
For that think python is easy to learn and its nice to use and for that reasons its also my favorite language.
Oh it was my experiences with Linux in general but i did think of Ubuntu rather than debian...
So maybe its a bit offtopic since its about the question why Debian reject packeges without explanation...
Great design but its too small :(
I think my answer was sufficient and covers your question. Your attachment zip.png? Oo
I have since long time the feeling the bosses in Linux are rather trying to destroy it from the inside.
Linux has some very akward policies and in some way no one seems to care to make it really userfriendly means you can find extreme akward bugs where you wonder why no one has fixed it.
The Packagesystem can mess itself up when there are differen versions of the same package required. For me most distros are just hell to work with.
Looks fair especially as the set is quite big.
I will add it :)
Have you published your Rpg already?
Pages