Git Hub: Akismet support for Python 2/3

Comment Check

akismet.check('192.168.1.3', 'Firefox / COMMENT USER AGENT', comment_author='King Arthur',
              comment_author_email='arthur@camelot.co.uk', comment_author_url='https://web.archive.org/web/20190910140301/http://www.camelot.co.uk:80/',
              comment_content='The Lady of the Lake, her arm clad in the purest shimmering samite, '
                               'held aloft Excalibur from the bosom of the water, signifying by divine'
                               ' providence that I, Arthur, was to carry Excalibur. That is why I '
                               'am your king.', referrer='http://camelot-search/?q=Peasant+Woman')

Submit Ham

akismet.submit_ham('192.168.1.12', 'FIREFOX / COMMENT USER AGENT', comment_author='Tim',
                   comment_author_email='tim@witch.co.uk',
                   comment_author_url='http://witch.co.uk',
                   comment_content="Look, that rabbit's got a vicious streak a mile wide!"
                                   "It's a killer!")

Submit Spam

akismet.submit_spam('192.168.1.4', 'FIREFOX / COMMENT USER AGENT', comment_author='Frenchman',
                    comment_author_email='frenchman@guy-de-lombard.fr',
                    comment_author_url='',
                    comment_content="You don't frighten us, English pig-dogs! Go and boil your "
                                    "bottoms, sons of a silly person! I blow my nose at you, "
                                    "so-called Ah-thoor Keeng, you and all your silly English "
                                    "K-n-n-n-n-n-n-n-niggits!")

Delivery is not dependent on authentication

What really drives delivery, particularly at the consumer mailbox providers, is engagement.

The big drivers of engagement are

  1. having permission to send email and
  2. sending mail users want to receive and interact with.

Authentication is there so that the filtering engines know what mail is actually from you. It allows them to be really harsh on spam forging your domain or sent without your authority and still delivering your legitimate mail to the inbox. If your mail is fully authenticated and still going to the bulk folder, then the problem is related to your email. Something you’re doing, whether it’s a permission problem or an engagement problem or whatever, is making the filters think your mail isn’t wanted.

Fixing authentication isn’t going to fix delivery problems caused by authenticated email.

Twitter Shares Climb, as Tweaks to Site Drive Higher Profits

The social-media company’s net income more than tripled to $191 million in the first quarter

“They’re doing what they’re supposed to do,” said Wedbush analyst Michael Pachter. “They’re growing revenue and controlling operating expenses.”

Central to Twitter’s changes is an effort to promote healthy discourse, after the company has struggled to rein in toxic behavior. It has also been working to make the platform more conversational.

Twitter Chief Executive Jack Dorsey told analysts Tuesday that the company is now taking a more proactive approach to addressing abuse and its effects on the platform.

It has made changes that are “taking a bunch of the burden away from the victims of abuse and harassment on our service and we’re making the agents that we have working on this process much more effective and much more efficient,” Mr. Dorsey said.

Earlier this month, Twitter announced that it was using machine learning algorithms to proactively surface abusive tweets to its teams for review. Previously, Twitter users had to flag offending tweets before the company would remove them. Now, about 38% of abusive content that Twitter takes down is surfaced by the algorithms.

This isn’t the first time Twitter has used machine-learning technology, but previously it was applied to tracking spam.

Twitter is also now using a new appeals process to better prioritize tweets it should remove that contain private information about its users. Twitter now removes 2.5 times more tweets that share personal information since the launch of this feature.

For Twitter’s business, trying to reduce abuse and negative content can cut both ways. In previous quarters, declines in user accounts were attributed in part to efforts to purge more of the spam and accounts that violated Twitter’s rules.

Still, a platform with less abuse could retain more users and assuage marketers’ fears about advertising alongside offensive tweets.

.. Twitter is now working to make its platform more conversational. The company is testing a new version of its app, called twttr, that threads message replies in a more intuitive design that makes it easier to follow discussions.

The company also plans to start experimenting with ways to give people more control over their conversations by giving users the option to hide replies to their tweets.

Twitter also made other tweaks to its platform in the quarter that helped drive more people to its app and bolster the effectiveness of ads, including refining its algorithm to show users more personalized tweets and adjusting the size of its video player.

“We intend to move much faster” to improve the user experience, Mr. Dorsey said. Twitter is “heading in the right direction, but we still have some work to do.”

The company expanded its head count in the first quarter to about 4,100, from about 3,900 the previous quarter.

Twitter projects revenue to also increase, to between $770 million and $830 million for the second quarter.

Gmail, machine learning, filters

We’ve gotten to the point, particularly with Google but also with the other webmail providers, where the bulk of egregious spam is blocked. What’s left is not some spammer sending 10MM messages, but a much more difficult problem. Spam that reaches the inbox is sent in much smaller quantities. It’s also heavily targeted. Spammers are trying to look like legitimate marketers but still sending mail without permission.

This targeted spam is something I’ve been thinking about a lot lately. Mostly because anti-spammers did a pretty good job making not-spamming look like it was beneficial to senders. Many deliverability recommendations boil down to stop spamming but phrased in a way that makes the advice more palatable. Much of the type of spam that’s getting caught in the new filters follows deliverability recommendations. The piece it misses is that it’s not being sent with the permission of the recipient.

.. Believe it or not, spam filters started out as protecting users from mail they didn’t ask for. As the internet as grown and email has become a channel for crime the focus of filters have changed. But, fundamentally, deep down, the original purpose of keeping mail boxes useful by stopping unsolicited mail is still there. The ML filters are giving Google, and others, tools to actually address that mail better.