Why is it SOOOOO hard to create an auto-spam detection bot

Sort:
Penguin

Chess.com has all these bots auto-banning and auto-muting people , for half the time, dumb reasons. But Chess.com just can’t make a simple bot to detect spam in top games chat. It’s kind of ridiculous. Just make a bot that detects when someone post the same thing several times and mute them. It’s childly easy, yet chess.com doesn’t do it and makes people sit there while an annoying person post 

 

 
llama47

Programming lets you do anything in terms of detecting something you want to ban.

It's matter of how annoying it is, and how much you're willing to pay to stop it.

Career programmers cost money, and ideally they do nothing but e.g. develop apps and games like puzzle rush that make you money. It's far less than ideal to have them working on stopping spammers all the time.

In particular if the spammers aren't bots... if the spammers are just kids who post something over and over, it's really not worth spending 5 figures on. In other words over $10,000

BondageFair

You should try developing a bot that spam reports spammers. ☕

BondageFair

By the way llama, developing a bot to prevent spam wouldn't require "5 figures". the developers can simply have the bots monitor top games/messages via API/http(s) requests monitor the messages, insert them inside a data structure and then count them, if the same message appears twice in the data structure or more then consider it as spam.

Moonwarrior_1

Lol

llama47
BondageFair wrote:

By the way llama, developing a bot to prevent spam wouldn't require "5 figures". the developers can simply have the bots monitor top games/messages via API/http(s) requests monitor the messages, insert them inside a data structure and then count them, if the same message appears twice in the data structure or more then consider it as spam.

Let's say I'm a poor person.

But I'm not an idiot. I'm just a spammer who wants to make some money. So I post a message with only 11 words.

11 words will have 10 spaces between them.

How many unique messages could I post merely by alternating between 1 and 2 spaces between words?

Well there are 10 single space alterations.

10C2 double
10C3 tripple
etc

It means I can post ~1000 unique messages before your program detects me for posting duplicates... and that's ONLY if I do something as simple as alter the spaces between words (and only 1 or 2 spaces).

If I do something more complex I can easily post billions of unique messages.

llama47

Meanwhile you're using some % of server resources to scan for duplicate messages among millions of members... potentially 100s of millions of messages every day.

You're using a lot of resources to stop something that takes a few lines of code to bypass. So your solution is bad, and the CEO doesn't like it wink.png

BondageFair

False, there's a way to easily detect that. The developers at that point would also just need to consider escape characters as well for whitespaces/tabs/newlines. the only functionalities they would need to add to the bot is: 1. Word count/frequency - mute if repetitive 2. whitespace count/frequency - mute if repetitive (if you increase the spaces as well those would also be detected because of word count/frequency, if you change your spam phrase and increase spaces, they could either try implementing a context recognition/blacklist for the bot so regardless as long as the spam sees that you are technically reposting the same thing using different words then - muted) 3. simply add a time limit per post as well.

BondageFair

The scanning process by the way wouldn't cause any major damages or any damages at all really, plus they could perform passive scans meaning it doesn't necessarily need to rely on their servers.

BondageFair

at that point your spam attempt would fail, therefore my solution is successful.

llama47

Of course.

And for every clever solution there's a clever way around it. It's a never-ending game. You shouldn't call it easy.

BondageFair

You aren't clever enough to think of any way to bypass the solution though.

llama47

Hah, who cares. I'm not a scammer. My ability to buy food doesn't depend on solving the problem, I've had literally 10 seconds to think about it, and I'm drunk.

llama47

You think it's easy because you're a kid who has had 1 or two programming classes. No one cares what you think.

BondageFair

I've actually been programming for 7 years, I'm a full stack developer and I'm also a competitive programmer, I develop apps, operating systems, websites and do backend development for servers, I also do ethical hacking so I'm pretty sure I know what would and wouldn't averagely be an easy task, obviously developing the bot itself would be time consuming but the mechanisms needed for the bot are actually quite easy to implement.

llama47

Hmm, you have more experience than me, what can I say tongue.png

BondageFair

Do you drink tea or coffee? or neither?

llama47

Regularly? Neither.

Both are ok though, I drink either one of them sometimes.

IsraeliGal

Auto-spamming bots are actually quite easy to implement, i've seen them be used in many chat sites and social media platforms. 

Maybe the way chess.com is programmed its harder to implement, but I agree, by now, especially with the budget they probably have, which is probably excessive due to covid right now, they should have implemented one by now. 

 

congrandolor

Is so hard, is so hard, is so hard rainn, gonna fall...happy.png