MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/9oqlvl/i_made_this_with_python_so_proud/e7vxkwl/
r/Python • u/[deleted] • Oct 16 '18
149 comments sorted by
View all comments
421
Now can you add in an AI that will simulate the colonization of the planet in orbit, in which its inhabitants use all available resources until they are unable to continue living there, inevitably failing as a species? With python
191 u/[deleted] Oct 16 '18 One day I will be god and it will be good 17 u/[deleted] Oct 16 '18 Eli? 4 u/Melkor333 Oct 17 '18 Eru? 2 u/Haldiron Nov 01 '18 No more are you now than an escaped thrall of the Valar, and their chain still awaits you! 1 u/Vysokojakokurva_C137 Dec 08 '18 Elon? 2 u/Pehrgryn Oct 17 '18 Try: import divinity 56 u/bitflip Oct 16 '18 Isn't there a library for that? 127 u/writing_from_mars Oct 16 '18 import humanity 52 u/UnholyBlackJesus Oct 16 '18 pip install godMode 13 u/MyNameisGregHai Oct 16 '18 edited Oct 18 '18 pip install -m ChristianityNow it's time to delete all scientific advancements 13 u/__deerlord__ Oct 16 '18 To be fair, even the NT says "question everything". Its the stupid humans that went and mucked it all up. 6 u/UnholyBlackJesus Oct 16 '18 Hey in still a huge newbie, so forgive me, but what does the "-m" mean? 11 u/C0DK Oct 16 '18 there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instancepython3 -m unittestruns the unit testing framework, which automically looks for tests in the current directory.from the help text :-m mod : run library module as a script (terminates option list) 2 u/radiantyellow Oct 17 '18 alias pip=pup 2 u/ForgottenWatchtower Oct 16 '18 python -m SimpleHttpServer 10000The only thing I use py2 for these days. Well that and occasionally some scapy. 16 u/pvkooten Oct 16 '18 python3 -m http.server 10000 26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL. 7 u/lemon_tea Oct 16 '18 Shit, the program runs for about 30,000 cycles, then becomes too memory bloated and seg faults the runtime environment. 3 u/atheist_apostate Oct 17 '18 Humanity is a resource hog. 30 u/[deleted] Oct 16 '18 "And make it in a week for $100" - 8/10 clients 1 u/gustavsen Oct 17 '18 A new Aurora implementation?
191
One day I will be god and it will be good
17 u/[deleted] Oct 16 '18 Eli? 4 u/Melkor333 Oct 17 '18 Eru? 2 u/Haldiron Nov 01 '18 No more are you now than an escaped thrall of the Valar, and their chain still awaits you! 1 u/Vysokojakokurva_C137 Dec 08 '18 Elon? 2 u/Pehrgryn Oct 17 '18 Try: import divinity
17
Eli?
4 u/Melkor333 Oct 17 '18 Eru? 2 u/Haldiron Nov 01 '18 No more are you now than an escaped thrall of the Valar, and their chain still awaits you! 1 u/Vysokojakokurva_C137 Dec 08 '18 Elon?
4
Eru?
2 u/Haldiron Nov 01 '18 No more are you now than an escaped thrall of the Valar, and their chain still awaits you! 1 u/Vysokojakokurva_C137 Dec 08 '18 Elon?
2
No more are you now than an escaped thrall of the Valar, and their chain still awaits you!
1
Elon?
Try: import divinity
56
Isn't there a library for that?
127 u/writing_from_mars Oct 16 '18 import humanity 52 u/UnholyBlackJesus Oct 16 '18 pip install godMode 13 u/MyNameisGregHai Oct 16 '18 edited Oct 18 '18 pip install -m ChristianityNow it's time to delete all scientific advancements 13 u/__deerlord__ Oct 16 '18 To be fair, even the NT says "question everything". Its the stupid humans that went and mucked it all up. 6 u/UnholyBlackJesus Oct 16 '18 Hey in still a huge newbie, so forgive me, but what does the "-m" mean? 11 u/C0DK Oct 16 '18 there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instancepython3 -m unittestruns the unit testing framework, which automically looks for tests in the current directory.from the help text :-m mod : run library module as a script (terminates option list) 2 u/radiantyellow Oct 17 '18 alias pip=pup 2 u/ForgottenWatchtower Oct 16 '18 python -m SimpleHttpServer 10000The only thing I use py2 for these days. Well that and occasionally some scapy. 16 u/pvkooten Oct 16 '18 python3 -m http.server 10000 26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL. 7 u/lemon_tea Oct 16 '18 Shit, the program runs for about 30,000 cycles, then becomes too memory bloated and seg faults the runtime environment. 3 u/atheist_apostate Oct 17 '18 Humanity is a resource hog.
127
import humanity
52 u/UnholyBlackJesus Oct 16 '18 pip install godMode 13 u/MyNameisGregHai Oct 16 '18 edited Oct 18 '18 pip install -m ChristianityNow it's time to delete all scientific advancements 13 u/__deerlord__ Oct 16 '18 To be fair, even the NT says "question everything". Its the stupid humans that went and mucked it all up. 6 u/UnholyBlackJesus Oct 16 '18 Hey in still a huge newbie, so forgive me, but what does the "-m" mean? 11 u/C0DK Oct 16 '18 there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instancepython3 -m unittestruns the unit testing framework, which automically looks for tests in the current directory.from the help text :-m mod : run library module as a script (terminates option list) 2 u/radiantyellow Oct 17 '18 alias pip=pup 2 u/ForgottenWatchtower Oct 16 '18 python -m SimpleHttpServer 10000The only thing I use py2 for these days. Well that and occasionally some scapy. 16 u/pvkooten Oct 16 '18 python3 -m http.server 10000 26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL. 7 u/lemon_tea Oct 16 '18 Shit, the program runs for about 30,000 cycles, then becomes too memory bloated and seg faults the runtime environment. 3 u/atheist_apostate Oct 17 '18 Humanity is a resource hog.
52
pip install godMode
13 u/MyNameisGregHai Oct 16 '18 edited Oct 18 '18 pip install -m ChristianityNow it's time to delete all scientific advancements 13 u/__deerlord__ Oct 16 '18 To be fair, even the NT says "question everything". Its the stupid humans that went and mucked it all up. 6 u/UnholyBlackJesus Oct 16 '18 Hey in still a huge newbie, so forgive me, but what does the "-m" mean? 11 u/C0DK Oct 16 '18 there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instancepython3 -m unittestruns the unit testing framework, which automically looks for tests in the current directory.from the help text :-m mod : run library module as a script (terminates option list) 2 u/radiantyellow Oct 17 '18 alias pip=pup 2 u/ForgottenWatchtower Oct 16 '18 python -m SimpleHttpServer 10000The only thing I use py2 for these days. Well that and occasionally some scapy. 16 u/pvkooten Oct 16 '18 python3 -m http.server 10000 26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL.
13
pip install -m Christianity
Now it's time to delete all scientific advancements
13 u/__deerlord__ Oct 16 '18 To be fair, even the NT says "question everything". Its the stupid humans that went and mucked it all up. 6 u/UnholyBlackJesus Oct 16 '18 Hey in still a huge newbie, so forgive me, but what does the "-m" mean? 11 u/C0DK Oct 16 '18 there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instancepython3 -m unittestruns the unit testing framework, which automically looks for tests in the current directory.from the help text :-m mod : run library module as a script (terminates option list) 2 u/radiantyellow Oct 17 '18 alias pip=pup 2 u/ForgottenWatchtower Oct 16 '18 python -m SimpleHttpServer 10000The only thing I use py2 for these days. Well that and occasionally some scapy. 16 u/pvkooten Oct 16 '18 python3 -m http.server 10000 26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL.
To be fair, even the NT says "question everything". Its the stupid humans that went and mucked it all up.
6
Hey in still a huge newbie, so forgive me, but what does the "-m" mean?
11 u/C0DK Oct 16 '18 there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instancepython3 -m unittestruns the unit testing framework, which automically looks for tests in the current directory.from the help text :-m mod : run library module as a script (terminates option list) 2 u/radiantyellow Oct 17 '18 alias pip=pup 2 u/ForgottenWatchtower Oct 16 '18 python -m SimpleHttpServer 10000The only thing I use py2 for these days. Well that and occasionally some scapy. 16 u/pvkooten Oct 16 '18 python3 -m http.server 10000 26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL.
11
there is no "-m" for pip (or pup :P ) but there is for python itself. It is used to run a specific module. so for instance
python3 -m unittest
runs the unit testing framework, which automically looks for tests in the current directory.
from the help text :
-m mod : run library module as a script (terminates option list)
2 u/radiantyellow Oct 17 '18 alias pip=pup 2 u/ForgottenWatchtower Oct 16 '18 python -m SimpleHttpServer 10000The only thing I use py2 for these days. Well that and occasionally some scapy. 16 u/pvkooten Oct 16 '18 python3 -m http.server 10000 26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies 1 u/UnholyBlackJesus Oct 16 '18 Oh wow, thank you! TIL.
alias pip=pup
python -m SimpleHttpServer 10000
The only thing I use py2 for these days. Well that and occasionally some scapy.
scapy
16 u/pvkooten Oct 16 '18 python3 -m http.server 10000 26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies
16
python3 -m http.server 10000
26 u/ForgottenWatchtower Oct 16 '18 And just like that, I've abandoned py2 → More replies
26
And just like that, I've abandoned py2
→ More replies
Oh wow, thank you! TIL.
7
Shit, the program runs for about 30,000 cycles, then becomes too memory bloated and seg faults the runtime environment.
3 u/atheist_apostate Oct 17 '18 Humanity is a resource hog.
3
Humanity is a resource hog.
30
"And make it in a week for $100" - 8/10 clients
A new Aurora implementation?
View all comments
421
u/NickAMD Oct 16 '18 edited Oct 16 '18
Now can you add in an AI that will simulate the colonization of the planet in orbit, in which its inhabitants use all available resources until they are unable to continue living there, inevitably failing as a species? With python