« first day (557 days earlier)      last day (882 days later) » 

12:12 AM
The past 2 days or so, SO has been getting completely inundated with new accounts created for the purposes of spamming some kind of thing in Chinese. I have pages and pages and pages of Chinese spammers. There are hundreds, if not thousands, of brand-new accounts here, all following the same pattern. Each profile is different, and even in translation, I can't figure out what they're actually spamming.
But there are way too many of them, and the User Stalker Helper destroy script is really getting a workout. Even with that as an aid, it is taking far too long to deal with these. And I'm really starting to hit up against some pretty extreme rate limits, like on editing messages in chat.
I had not been seeing accounts like this before. It's only started the last couple of days. I guess I will need to build in some kind of "batch" mode into the script, where I can just check boxes next to all of the accounts I want to destroy, and then it will sit there doing it in a loop, with appropriate back-offs and waits to account for the rate limits.
 
 
10 hours later…
9:48 AM
@CodyGray Odd. I find spamming fascinating a it looks like pure chaos at some angle but usually has an underlying driving reason for the behaviour.
 
In many recent cases, I am at a complete loss to find the reason.
 
10:32 AM
The ways of spammers are some times inscrutable.
 
10:44 AM
So, update: the SE API returns a 502 throttle violation ("Violation of backoff parameter") for no reason whatsoever, even when you are properly respecting the backoff parameter, and there's no way to work around it by adding an additional delay the first time you get that 502 error.
08:42:34,644  INFO ChatBot:348 - Stalking unix at 1638175354 (last was at 1638175174)...
08:42:36,666  INFO StackExchangeApiClient:136 - Backing off API for 10 sec.
08:42:46,667  INFO StackExchangeApiClient:174 - Remaining API quota: 5779.

08:42:46,667  INFO ChatBot:348 - Stalking drupal at 1638175366 (last was at 1638175174)...
08:42:46,700  WARN StackExchangeApiClient:201 - SE API returned HTTP 400 when requesting URL "https://api.stackexchange.com/2.3/users". Body is: {"error_id":502,"error_message":"Violation of backoff parameter","error_name":"throttle_violation"}
So, when it tried to stalk Unix.SE, it got a result, which had the "backoff" field set. Therefore, it backed off for 10 seconds, as advised. Then, it tried making a request for Drupal.SE. That failed; the API call returned a 502 error. So, I delayed for 15 seconds, and then tried again. That also failed, for the same reason. So, again, delay for 15 seconds, and then try again: no dice.
Oddly, it fails the next couple of times, and then just magically starts to work:
08:43:16,733  INFO ChatBot:348 - Stalking arduino at 1638175396 (last was at 1638175174)...
08:43:16,823  WARN StackExchangeApiClient:201 - SE API returned HTTP 400 when requesting URL "https://api.stackexchange.com/2.3/users". Body is: {"error_id":502,"error_message":"Violation of backoff parameter","error_name":"throttle_violation"}
08:43:31,854  WARN StackExchangeApiClient:201 - SE API returned HTTP 400 when requesting URL "https://api.stackexchange.com/2.3/users". Body is: {"error_id":502,"error_message":"Violation of backoff parameter","error_name":"throttle_violation"}
 
11:12 AM
Sigh, that's not a good end user experience from the API standpoint...
I have a suggestion about telling the API to go to hell and scraping the network page instead (I assume Java has a couple of good libraries for DOM parsing and manipulation?)
@VLAZ Are you an eggs and spam follower, or the orthodox spam, spam, and spam?
 
@OlegValter Selenium is an option. It's supposed to be UI testing thing but I know a lot of people use it for website scraping. But there are also others, IIRC Beautiful Soup was one (because all the HTML is like a soup or something).
@OlegValter I think I'd take the eggs, spam, spam, and spam.
 
11:58 AM
@VLAZ ah, true, Selenium is cross-platform after all. If I recall correctly, Beautiful Soup often comes up, yeah. @CodyGray it might indeed be an easier way out than trying to befriend the API rate-limiter, especially given that the answer so far is "who the heck knows"
@VLAZ good choice sir, that is all we have here!
 
 
1 hour later…
12:59 PM
> Makes worseeeeeeeeee
^ suggested edit rejection reason of the day
 
 
10 hours later…
10:46 PM
@OlegValter No, not at all. I am trying to do everything right, but it is just not cooperating or behaving in any way that appears to be consistent with the documentation or can be reasonably accommodated.
@OlegValter That's not convenient. For starters, I don't know of any network page that shows newly-created user accounts, and it definitely can't be easily filtered/windowed by event time like the API can.
 
@CodyGray isn't it what I've been talking about? I mean, it's the API responding inconsistently is bad UX of its end users (consumers of the API)
@CodyGray maybe https://<domain>/users?tab=NewUsers&sort=creationdate could do? Not saying this is the solution, but maybe it would be easier than expecting the API to start failing seemingly at random
 
@OlegValter Sorry, I was agreeing with you :-)
No, the API is not at all user-friendly or a good UX.
@OlegValter Hmm, maybe.
I am not too eager to completely change the design to something that feels much more fragile and inferior.
 

« first day (557 days earlier)      last day (882 days later) »