An anti-gibberish filter


(Paul) #1

Having read this:

and having decided I like the minimum character feature, I was wondering if there was any way to stop people from posting gibberish, as in

feirererfgerkjrehjr rejhhhreuhrer eiruhfruhrehr

You know, as in just banging on the keyboard.


(Jeff Atwood) #2

This exists for topic titles, entropy check, but not for post bodies.


(Paul) #3

Hello Jeff. Thank you and your colleagues for such a great piece of software.

I am not a computer scientist, so please excuse me if I stick my foot in it. According to Wikipedia, an English text (and I’m guessing that the same goes for most other western languages) would typically have a low entropy, as opposed to gibberish, so is there any reason why the same check run on titles cannot be run for the body of a post? I think this would also avoid to some degree people just typing out random stuff to fill the character quota mentioned in the original thread, right?


(Jeff Atwood) #4

Two reasons

  1. Like the mythical ALL CAPS POST, posts consisting of all gibberish are pretty rare in the wild. If we saw posts like this daily then it would be a more serious concern.

  2. Titles are more important to protect as what you see on the home page is titles, not post bodies.


(Jens Maier) #5

Gibberish is not the same as random. If a human types gibberish on a keyboard, you can expect to see patterns, i.e. low entropy.