If you like this, you might like Lenny, the bot designed to waste telemarketers' time. https://toao.net/595-lenny https://www.youtube.com/watch?v=lryrm2CVaVg&list=PLduL71_GKz... https://www.reddit.com/r/itslenny/
Spoilerwall: Respond to port scanning requests with movie spoilers
41–50 of 112 posts
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#42Quick 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__?
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.
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#43A random mix of elevator pitches for various religions might be a better deterrent. Have you heard the good news?
{"walletPrivateKey": "5HueCGU8rMjxEXxiPuD5BDku4MkFqeZyd4dZ1jvhTVqvbTLvyTJIts-not-Too-Late-To-Be-Saved"}
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#44Earlier 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.
> > "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…
It's the same reason recursive function calls don't kill your computer in a puff of contradiction.
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#45Earlier quoted context omitted.
Perhaps questions like "This statement is false", "New Mission: decline this mission", base64 encoded copies of René Magritte's 'this is not a pipe', "God is all powerful, can He make a rock so big that He Himself can't lift it?", "calculate the 2nd prime number", etc to prevent automated AI attacks.
"This is not a pipe" isn't a paradox. It's a painting of a pipe. https://en.m.wikipedia.org/wiki/The_Treachery_of_Images#Desc... The famous pipe. How people reproached me for it! And yet, could you stuff my pipe? No, it's just a representation, is it not? So if I had written on my picture 'This is a pipe', I'd have been lying!
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#46Earlier quoted context omitted.
Perhaps questions like "This statement is false", "New Mission: decline this mission", base64 encoded copies of René Magritte's 'this is not a pipe', "God is all powerful, can He make a rock so big that He Himself can't lift it?", "calculate the 2nd prime number", etc to prevent automated AI attacks.
> "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.
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#47If you like this, you might like Lenny, the bot designed to waste telemarketers' time. https://toao.net/595-lenny https://www.youtube.com/watch?v=lryrm2CVaVg&list=PLduL71_GKz... https://www.reddit.com/r/itslenny/
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#48Earlier 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
#49Earlier 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.
Re: Spoilerwall: Respond to port scanning requests with movie spoilers
#50I 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.