Earlier quoted context omitted.
> > "New Mission: decline this mission" > Is that a paradox? If you accept it or have it forced on you then depending on how you interpret the rules you either succeed or fail straightforwardly. If you don't accept it or have it forced on you then nothing happens. There's no loop of logic. Good point! "New mission: fail at this mission" addresses the first point but not, I think, the second. It reminds me of Carlin's…
What happened is that the world is flat state, and you are free to displace models in violation of any perceived hierarchy because any such hierarchy is entirely artificial. It's the same reason recursive function calls don't kill your computer in a puff of contradiction.
Spoilerwall: Respond to port scanning requests with movie spoilers
51–60 of 112 posts
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#52You have to be very careful when running this on the telnet port. I had a server set to spew a full color ANSI Nyancat at you when you telneted in. When the Mirai botnet was in full swing, I was pushing 5+ Mbps of Nyancat down to peoples infected webcams and killing my servers CPU.
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#53Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#54You have to be very careful when running this on the telnet port. I had a server set to spew a full color ANSI Nyancat at you when you telneted in. When the Mirai botnet was in full swing, I was pushing 5+ Mbps of Nyancat down to peoples infected webcams and killing my servers CPU.
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#55Quick question: Why does 35: chosen = random.choice(movies) at https://github.com/infobyte/spoilerwall/blob/master/server-s... have a reference to 'movies'. I thought one had to explicitly pass it to the MyTCPHandler class using the server object? Or is this a special case because of __main__?
I'm always wondering why people prefix a question with the statement "quick question". Now is my chance to ask. Is the question typed quickly? Should I imagine you speaking it in a quick manner? Is it meant as "off topic question"? Do you expect an answer quickly? What does it mean when you prefix your question with the words "quick question"?
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#56Earlier quoted context omitted.
If the file gets executed as a script, then __name__ == "__main__", hence L43:53 get executed in the top-level scope, which is also available in the lower levels. This isn't very good writing, since this code will throw exceptions when __name__ != "__main__" (i.e. when import-ing the file as a module), which misleadingly defeats the purpose of having that conditional there.
Ok, thanks, that makes sense. I knew that top-level variables are global, but didn't know that variables in __main__ share this property (which is e.g. different in the C language).
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#57Earlier quoted context omitted.
> "New Mission: decline this mission" Is that a paradox? If you accept it or have it forced on you then depending on how you interpret the rules you either succeed or fail straightforwardly. If you don't accept it or have it forced on you then nothing happens. There's no loop of logic.
You seem like the sort of person who says, "I always lie."
It can be deceptively difficult to get the wording correct on a paradox.
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#58Earlier quoted context omitted.
> "New Mission: decline this mission" Is that a paradox? If you accept it or have it forced on you then depending on how you interpret the rules you either succeed or fail straightforwardly. If you don't accept it or have it forced on you then nothing happens. There's no loop of logic.
If you accept the mission, you must decline the mission. If you decline the mission, you have successfully completed the mission. Either way, your final status is contradictory.
If you can't decline upfront, then we ask if you can 'decline' later despite already being in the mission. If yes you succeed. If no you fail.
It only seems paradoxical when you don't quite think the rules through.
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#59Quick question: Why does 35: chosen = random.choice(movies) at https://github.com/infobyte/spoilerwall/blob/master/server-s... have a reference to 'movies'. I thought one had to explicitly pass it to the MyTCPHandler class using the server object? Or is this a special case because of __main__?
> Quick question I'm always wondering why people prefix a question with the statement "quick question". Now is my chance to ask. Is the question typed quickly? Should I imagine you speaking it in a quick manner? Is it meant as "off topic question"? Do you expect an answer quickly? What does it mean when you prefix your question with the words "quick question"?
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#60You have to be very careful when running this on the telnet port. I had a server set to spew a full color ANSI Nyancat at you when you telneted in. When the Mirai botnet was in full swing, I was pushing 5+ Mbps of Nyancat down to peoples infected webcams and killing my servers CPU.
"Unleash the Nyancat!" as they say...