{"id":17844,"date":"2012-11-15T19:38:47","date_gmt":"2012-11-16T00:38:47","guid":{"rendered":"http:\/\/www.shamusyoung.com\/twentysidedtale\/?p=17844"},"modified":"2012-11-15T19:58:01","modified_gmt":"2012-11-16T00:58:01","slug":"growmap-check-the-checkbox","status":"publish","type":"post","link":"https:\/\/www.shamusyoung.com\/twentysidedtale\/?p=17844","title":{"rendered":"Growmap: Check the Checkbox"},"content":{"rendered":"<p><table   class=\"\" cellpadding='0' cellspacing='0' border='0' align='center'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/splash_spam.jpg' class='insetimage'   alt='splash_spam.jpg' title='splash_spam.jpg'\/><\/td><\/tr><\/table><\/p>\n<p>Short version: You now have to check a checkbox to leave a comment. This may or may not be a permanent change. I&#8217;ll be monitoring this new system over the next couple of days to see how well it works. In the meantime, please provide checkmarks along with your comment to placate the untrusting computer. If you&#8217;re curious about the why &#038; how, then read on&#8230;<\/p>\n<p><!--more--><br \/>\nMany of you have probably noticed the extreme slowdowns on the website for the past couple of weeks. It began right as hurricane Sandy hit. At the time I figured some internet-clog was understandable. (Trivia: <a href=\"http:\/\/www.ted.com\/talks\/andrew_blum_what_is_the_internet_really.html\" title=\"TED: Andrew Blum: What is the Internet, really?\">Most of the physical backbones of the internet pass through New York<\/a>.) But then Sandy passed and the internet went back to normal, and my website remained slow. <\/p>\n<p>I have no idea if Sandy had anything to do with it. After puzzling over this for a few weeks I&#8217;ve discovered a big source of the slowness was due to <a href=\"http:\/\/akismet.com\/\" title=\"Akismet Website\">Akismet<\/a>, the most active layer of my spam filtering system. <\/p>\n<p>My spam filtering system goes like this:<\/p>\n<ul>\n<li>The user submits a new comment. The order of the next steps aren&#8217;t clear to me without looking at the source code (no thank you) but the following actions are all part of the chain:\n<\/li>\n<li>WordPress looks for words that have been flagged as suspicious. I add these words manually. Common spam products and topics are here, along with a few slurs. If any of these words show up, the comment is held for moderation and I have to approve it manually.\n<\/li>\n<li>WordPress also has a list of FORBIDDEN PHRASES OF DOOM. If one of these words appear, the comment is nuked and I never see it. I usually only use this on prolific spammers that get through the other layers. Spammers often use gibberish URLs or names, so it&#8217;s safe to ban &#8220;grlfmd23kjfe.ru&#8221; without needing to worry I&#8217;m banning legit users.\n<\/li>\n<li>Askismet (the WordPress plugin) shows the comment to akismet (the server \/ website) which offers back a good \/ bad response. If it&#8217;s bad, the comment is thrown into a special back-end spam queue that I can review later if I remember. (I almost never remember.) Stuff left in this queue for a few days gets deleted automatically.\n<\/li>\n<li>WordPress looks at the comment for &#8220;suspicious patterns&#8221;. Maybe lots of links, or if the ratio of links to content is low, or whatever. I&#8217;m not actually sure how this logic works, and I don&#8217;t care to look at the source.\n<\/li>\n<\/ul>\n<p><table width='400'  cellpadding='0' cellspacing='0' border='0' align='right'><tr><td><img src='https:\/\/www.shamusyoung.com\/twentysidedtale\/images\/comic_legit.jpg' class='insetimage' width='400' alt='Hm. Looks like a legit comment.' title='Hm. Looks like a legit comment.'\/><\/td><\/tr><\/table>I used to have another layer, which was a plugin called <a href=\"http:\/\/wordpress.org\/extend\/plugins\/bad-behavior\/\" title=\"Bad Behavior plugin\">Bad Behavior<\/a>. I really liked it. It ate a ton of spam, just by looking for obviously spam-like behavior. For example: <em>People leaving a comment who had never loaded the page they were commenting on.<\/em> I had to get rid of Bad Behavior a while back because it began eating a ton of CPU cycles. I have no idea why. It had worked fine prior to that. But whatever. I disabled Bad Behavior over a year ago. <\/p>\n<p>But now Akismet has flipped out. The plugin keeps complaining that it can&#8217;t reach the website. It then throws suspicious comments into moderation, where I end up seeing them. Gah. I forgot how vile this stuff is. It&#8217;s actually really bad for me personally. There is something about having anonymous strangers try and use my personal blog as a place to sell child porn that will fill me with ragemurder juice. So for the past couple of weeks I&#8217;ve been seeing that rotten stuff mixed in with your comments, which has really been taking the fun out of this site for me. <\/p>\n<p>(Other major spam type: Replica handbags. Hear that spammers? REPLICA HANDBAGS! YOU WISH YOU HAD MY SEARCH RANKING YOU FEEBLE PARASITES. People looking for REPLICA HANDBAGS CHEAP will end up on MY site before they find YOURS, you tick on the ass of the internet!)<\/p>\n<p>Anyway. Akismet sort of half-fails in this goofy way, and I think it was trying to reach the server every single time someone tried to load the page. It would connect eventually and clean out spam in batches, but doing things this way was giving the site a case of the slows. <\/p>\n<p>I tried turning off Akismet and had thirty spam appear on the site in the space of ten minutes. (Imagine what that would look like after an eight-hour sleep. I&#8217;d spend the first hour of every day removing spam. It would feel like checking my email in 1997. Ugh. THAT was an ugly period.)<\/p>\n<p>So now we&#8217;re trying &#8220;Growmap&#8221;. It&#8217;s just a checkbox. The thinking is, your average spambot is probably configured to blindly submit comments to high-ranking WordPress pages without bothering to load or look at them. It won&#8217;t check the checkbox, and so the comment will be rebuffed without needing to pass through any of the software layers I&#8217;ve listed above.<\/p>\n<p>So that&#8217;s where we are. Let me know how the site is working and how the new checkbox works. Also let me know if you&#8217;re looking for replica handbags. No, actually don&#8217;t. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Short version: You now have to check a checkbox to leave a comment. This may or may not be a permanent change. I&#8217;ll be monitoring this new system over the next couple of days to see how well it works. In the meantime, please provide checkmarks along with your comment to placate the untrusting computer. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[111],"tags":[41],"class_list":["post-17844","post","type-post","status-publish","format-standard","hentry","category-notices","tag-spam"],"_links":{"self":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/17844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17844"}],"version-history":[{"count":0,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=\/wp\/v2\/posts\/17844\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shamusyoung.com\/twentysidedtale\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}