You are reading a single comment by @Velocio and its replies. Click here to read the full conversation.
  • Anti-SHOUT code already exists.

    But it works only on comments that are all shouting, rather than some % shouty.

    It's the equivalent of:

    if comment.ToUpperCase() == comment {
      comment = comment.ToLowerCase()
    }
    

    The post in question was typed out with CAPS LOCK on, but the person that typed it still shift-keyed the I at a beginning of a sentence. Thus, defeating the anti-SHOUT.

    I can make it work on a % basis, but it could still be defeated by unicode hacks, or quoting some other thing first.

    Such things are never perfect... it's more about getting the majority of all shouting comments then it is about making it precise in all cases. The exceptions can be reported (PM me) and I shall deal with them by hand.

  • You could activate the code at a percentage, or even at a percentage of a certain piece.
    What language are you using for these scripts? Maybe I can hack something neat together.

About

Avatar for Velocio @Velocio started