{"id":95,"date":"2005-02-18T11:23:10","date_gmt":"2005-02-18T11:23:10","guid":{"rendered":"http:\/\/vhkssinging.wordpress.com\/2005\/02\/18\/why-is-spam-like-opera\/"},"modified":"2015-10-07T13:44:19","modified_gmt":"2015-10-07T13:44:19","slug":"why-is-spam-like-opera","status":"publish","type":"post","link":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/2005\/02\/18\/why-is-spam-like-opera\/","title":{"rendered":"why is spam like opera?"},"content":{"rendered":"<p>As I&#8217;ve mentioned before, I have modified the Movable Type code to block spammers&#8217; comments, at which I&#8217;m reasonably successful (to judge by the record of failed attempts in the activity log).  The conditions of use of this software don&#8217;t permit me to share actual code, but I&#8217;m willing to explain privately the principles I&#8217;ve used to anyone who wants to do the same.  Anyone with a reasonable grasp of Perl would be able to replicate what I&#8217;ve done or do something equivalent.<br \/>\nAny spam trap has the problem of &#8216;false positives&#8217;, i.e. what to do about genuine comments which get misclassified as spam.  The response to messages which fall into the trap is sufficiently neutral not to offend a genuine contributor and I have access to the text of the comment so that I can check whether it is spam or not (in fact no false positives of this kind have occurred to date).<br \/>\nI won&#8217;t be giving away too much if I say that some of the spam is identified because it uses a word which occurs on a blacklist.  But here I have to be careful setting up the blacklist because these words could conceivably turn up in a genuine posting or a comment on it.  I can&#8217;t ban the word &#8216;casino&#8217;, for example, because it might occur in a review of a performance of <i>Lulu<\/i> (or indeed one of the various other operas which feature gambling).  &#8216;Bankruptcy&#8217;, another favourite spam topic, falls foul of the same opera.  Ban &#8216;cigarette&#8217; and you&#8217;re restricted in what you can say about <i>Carmen<\/i>.  The root of the problem is that opera and spam share a fascination with human vices!<\/p>\n<p>[This entry was &#8211; perhaps inevitably &#8211; targeted by spammers. I&#8217;m closing it to comments but if you wish to comment, you may email me and I&#8217;ll edit it in.]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I&#8217;ve mentioned before, I have modified the Movable Type code to block spammers&#8217; comments, at which I&#8217;m reasonably successful (to judge by the record of failed attempts in the activity log). The conditions of use of this software don&#8217;t &hellip; <a href=\"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/2005\/02\/18\/why-is-spam-like-opera\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[132,526],"_links":{"self":[{"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/posts\/95"}],"collection":[{"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":1,"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":3803,"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/posts\/95\/revisions\/3803"}],"wp:attachment":[{"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/media?parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/categories?post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.virginiaknight.org.uk\/vhkssinging\/wp-json\/wp\/v2\/tags?post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}