Echo JS 0.11.0

<~>
moliper 1998 days ago.
https://imgur.com/UQEfOu8

Yesterday multiple SPAM entries to roobykon.com were posted, all in the span of an hour. Is not the first time I see that, other users do the same sometimes.

This is a reason for why a user should be allowed to submit 1 story a day. Now the problem with this is that a person might then create multiple accounts to submit more stories. A possible solution to this is to require a minimum number of karma for posting stories and consume karma when posting.




Thoughts?

tracker1 1997 days ago. link 2 points
Of the posts that aren't spam, over half are from new users created for the post.  Limiting to 1 a day until reaching a certain karma would be a good idea.  The codebase is sinatra+redis, and I haven't even had the time to get it running to play with.

Unfortunately, I don't see most of the options for automating a way out of spam working much, just because of the smaller scale of the site and the nature of posts (legit and spam).

I've deleted most of the spammy posts I've found... would love to get a change for double karma back on downvotes on articles that are then deleted.
moliper 1997 days ago. link 3 points
Well limiting to 1 a day does not require a change in the code, only in configuration

https://github.com/antirez/lamernews/blob/master/app_config.rb#L50

I think changing that line to
NewsSubmissionBreak = 3600*24 
would do the trick.

"double karma back on downvotes on articles that are then deleted."
That is an awesome idea. I'll try to find time to mess around with the project and see what I can do.
tracker1 1995 days ago. link 2 points
Cool, I sent @fcambus a message to the commit on your fork
moliper 1990 days ago. link 2 points
I just did. 
As a side note the "source code" link in the footer is pointing to the original lamernews repo, perhaps change it to point to echojs' repo.
moliper 1997 days ago. link 1 point
https://github.com/antirez/lamernews#users

Looking at the lamernews repo I see that multiple accounts creation is not really a problem. This:

"Account creation is rate limited by IP address with a key named limit:create_user:<ip_address> with TTL 15 hours."

Avoids it.