20
Apr
image

If you haven't noticed yet, AP comments are now powered by Disqus. It took a really long time to squash all integration bugs and accept some downsides of moving to a non-native comment system, but when two complicated systems and over a hundred thousand comments are involved, migration gets a little tricky (to say the least).

After studying the code of the Disqus plugin to the point that I am now familiar with it more intimately than I ever cared to be, over 200 emails with the Disqus team, reporting multiple bugs and submitting code patches, many sleepless nights, ripped our hairs, and cursing, I was finally satisfied enough to pull the trigger last Saturday night. The beast was unleashed, and after about a week rolling with Disqus, I wouldd say it's a big success. There are still numerous issues that the company will hopefully work out in the next few months, but for the most part, the pluses outweigh the minuses.

image

Benefits

On the surface, here are some user-facing benefits of using Disqus:

  • you're automatically logged in on all sites that use Disqus which means less email/name/url typing. If you don't want to sign in, you don't have to - comments can be left without having an account as well
  • alternate login methods, such as Twitter, Facebook, Google, Yahoo, and OpenID
  • threaded replies (actually, this is not really a benefit over our system, as we also had threaded comments)
  • comment editing - you can edit your comments at any time, which wasn't possible before
  • track your comments from one central location
  • slicker, JS/Ajax-powered interface that doesn't require reloading the page after posting or logging in. In fact, new comments show up live too
  • comment ratings so that bad comments are buried and good ones surface to the top
  • comment flagging - see a spammer? Just flag the comment, and the moderators will be alerted
  • comment sorting - newest first, oldest first, best rating, popular now
  • post ratings so that you can tell how many people and who liked any given post
  • replies by email - you can reply to Disqus notifications right from your inbox (just make sure to clean up your signature) and they'll get posted right up.
  • mobile support - Disqus has excellent mobile support and integrated seamlessly into our mobile site. On the mobile front, I have 0 issues with Disqus, they really did it right

On the backend:

  • a Javascript-based comment system will allow us to implement better caching, letting the same hardware handle more page loads. It should also help move to multiple web servers
  • email moderation, including deleting, spamming, and approving comments

In general, less friction should translate to more comments, and if it's easier for you to join a conversation, we are doing something right after all.

Problems

Here are some problems with Disqus that may not be immediately apparent:

  • there are occasional bugs here and there in both the JS interface and the backend. While I've finally worked out integration issues, bugs in day-to-day operations, unfortunately, still exist
  • comments are synced back to the local database for a number of reasons (SEO, an option to move away from Disqus and keep past comments, to name a few), except there is a fatal flaw in this sync - it's done every 5 minutes only to new comments.
    This means edits, spamming, deletion, and other moderation is not replicated correctly - once a comment gets synced once, it's left in that state and never touched again.
    All of this left a really bad taste in my mouth, but I've accepted that it's how things will be for now after the Disqus team promised me talks of a proper sync process are already on the table.
    Due to bugs in WP, duplicate comments sometimes appear in the local db - I think it's related to poor wp-cron implementation in WordPress <3.4, which is documented here and this subsequent bug report I opened here.

In Disqus' defense, other comment systems aren't perfect either - for example, when I tried LiveFyre, I found it to be nicer in certain aspects but lacking severely in others, prompting me to go back to trying to implement Disqus.

Bonus - Sneak Peak At Disqus 2012

If you think the regular Disqus interface is nice, just wait till you see what they have in store for us for 2012. The new "Disqus 2012" interface, currently in limited beta, is much-much cleaner and nicer. Check it out:

image

What a refreshing look, isn't it? Notice comment downvoting in addition to upvoting, letting you bury the bad guys just like you do on Reddit. We also get easy comment sharing options, more profound Community and My Disqus tabs, and for moderators - more streamlined controls which require fewer clicks. I absolutely love it, but it is missing some core functionality right now due to being an early preview.

Disqus 2012 isn't something I can turn on for you - it's a client feature attached to your Disqus account. You can test drive it here, if your account is eligible. Let's just say I'm very excited and can't wait for it to be completed.

So, enjoy better, easier comments on AP, folks. In fact, why don't you take Disqus for a spin right now and leave a comment or two? Go on, we love to hear from you.

Artem Russakovskii
Artem is a die-hard Android fan, passionate tech blogger, obsessive-compulsive editor, bug hunting programmer, and the founder of Android Police.
Most of the time, you will find Artem either hacking away at code or thinking of the next 15 blog posts.

  • The Twelfth Imam

    First there was 'Son of God.

  • The Twelfth Imam

    Then 'Noah,

  • The Twelfth Imam

    God's Not Dead

  • The Twelfth Imam

    and 'Heaven
    is For Real

  • The Twelfth Imam

    Now this; 'Persecuted,' where a pastor is an enemy of the
    state for not supporting the FCC's "Fairness Doctrine."

  • The Twelfth Imam

    Don gimme any yo smart-ass intellecshul buhshit, creep. Tryin to impress me so I'll sleep wifyuh?

    Just cause you're strapped down on a gurney, you think I wanna sleep with you?

    Listen, I know all you Jew boys. You jus in a constant state of excitement.

  • The Twelfth Imam

    Brother Hash Brown,

    This pussy ass nigga Mr E has got to be the dumbest mu'fucka in this HOLY MUSLIM SITE.

  • The Twelfth Imam

    What do you expect? He's married to a Mexican

  • The Twelfth Imam

    Brother Khalid, that is a very niggerish thing to say.

  • The Twelfth Imam

    Indeed, the increased number of Ashkenazis migrating from Israel who are mostly secular Jews is depleting the number of secular Jews in Israel who support the democratic principles of a secular/civil state.

  • The Twelfth Imam

    The western/Aryan non-Semitic Jews, the Ashkenazi who rule the
    Israeli/Zionist state, are now petrified by the dire effects produced by
    demographic changes within Israel and within the Jewish communities in the western world, especially in the US.

    One is the increase in the number of Israeli immigrants leaving Israel to live for good in the West. Another is the number of Israelis migrating to the US being much greater than the number of American Jews migrating to Israel.

  • The Twelfth Imam

    I will no longer be watching/purchasing anything associated with the following actors:

    Natalie Portman

    Scarlett Johannsson

    Jim Carey

    Darren Aronofsky

    Avi Arad (founder of Marvel Studios, and exec producer of all the Marvel films)

    Roman Polanski

    Ben Kingsley

    Dakota Fanning

    Tom Cruise

    Ben Stiller

    Adam Sandler

    Naomi Watts

    Mayim Bialik (Penny from The Big Bang Theory)

    Nicole Kidman

    Sacha Baron Cohen

  • The Twelfth Imam

    Multiple
    intelligence agencies confirmed that the militant Islamist organization
    and its numerous affiliates intend to carry out a massive, coordinated
    plan to stand aside and watch America’s increasingly rapid decline, with
    terrorist operatives across the globe reportedly mobilizing to take it
    easy, relax, and savor the spectacle as it unfolds.

  • The Twelfth Imam

    What country in the world besides “Israel”, (with the possible exception
    of the United States) can intentionally bomb a United Nations shelter
    housing hundreds of civilians and get away with it, and then claim the moral high ground?

  • The Twelfth Imam

    Brother Imam Abbas, until and unless we overcome Zionism and can
    liberate our Palestinian brothers and sisters from the shackles of
    Zionism, I'm afraid we won't be able to consider ourselves
    as Allah's desirable, potent, intelligent, virile creatures,
    Let
    us all dedicate ourselves to the cause of building a strong, united and
    virile ummah for the sake of our own lives and the benefit of
    posterity.

  • The Twelfth Imam

    Nigga, calm down. The sperm donors (fathers) have no child support culpability. They can
    flit from flower to flower like a honeybee and populate the countryside
    without consequence. Meanwhile the mothers can collect social security,
    food stamps, Women, Infants and Children (WIC) checks, health insurance
    and other benefits from the cash-cow taxpayers.

  • The Twelfth Imam

    Brother mayhem, one man's trash, is another man's treasure.

    You Should Have Known

  • The Twelfth Imam

    But the show's true reality is that it's a window to our country's budget deficit and entitlement program issues under debate in Congress.

  • The Twelfth Imam

    Maury's paternity topic is particularly relevant because it uncovers our overpopulation and an epidemic number of American women having children out of wedlock by multiple fathers. The more kids women pop out, the more government benefits they receive. The sperm donors (fathers) have no child support culpability. They can flit from flower to flower like a honeybee and populate the countryside without consequence. Meanwhile the mothers can collect social security, food stamps, Women, Infants and Children (WIC) checks, health insurance and other benefits from the cash-cow taxpayers.

  • The Twelfth Imam

    Indeed, Brother Durka Durka Mohammed, JESUS WAS A JEW FAG, and is still worshiped by fags and pedos.

  • The Twelfth Imam

    Brother Ali Habib, CONTROL YOUR TONGUE Or you'll end up like Achmed the Dead Terrorist

  • The Twelfth Imam

    Brother Farooq, You really need to calm down. This giving away of our innermost secrets has to stop. I dread to think what kind of an impression you are forming of us.

  • The Twelfth Imam

    Just because you're "non-white" does not mean you're black, asshole.

    JUSTICE FOR TRAYVON!

  • The Twelfth Imam

    I swear I'm going to destroy this JEW-GOD JESUS/JEHOVAH/YAHWEH from the face of the earth.

  • The Twelfth Imam

    JESUS THE JEW FAG

  • The Twelfth Imam

    Certainly the universe is awesome. But I'm going to
    bypass trying to explain the nature of existence because it is
    unexplainable. The God argument doesn't explain how God came into
    existence. To say that God always existed doesn't explain how God could
    exist in a universe that didn't exist. For all we know the universe
    always existed beyond bounds that can't be seen.

  • The Twelfth Imam

    also, this is a HOLY Muslim site, not "holly". Either buy a good dictionary or perform a spell-check, you dumb jew.

  • The Twelfth Imam

    STUPID JEW, AT LEAST LEARN TO SPELL YOUR SURNAME CORRECTLY.

  • The Twelfth Imam

    The Twelfth Imam

  • The Twelfth Imam

    Is who I am.

  • The Twelfth Imam

    Not too much.

  • The Twelfth Imam

    Give me more.

  • The Twelfth Imam

    Going to be

  • The Twelfth Imam

    some more.

  • The Twelfth Imam

    Let's go.

  • The Twelfth Imam

    I can do it.

  • The Twelfth Imam

    300

  • The Twelfth Imam

    not much further

  • The Twelfth Imam

    almost there.

  • The Twelfth Imam

    closer.

  • The Twelfth Imam

    50 more.

  • The Twelfth Imam

    cmon

  • The Twelfth Imam

    faster

  • The Twelfth Imam

    not too fast

  • The Twelfth Imam

    smooth is slow

  • The Twelfth Imam

    slow is smooth

  • The Twelfth Imam

    smooth is fast

  • The Twelfth Imam

    missed a few.

  • The Twelfth Imam

    get them all.

  • The Twelfth Imam

    no one left

  • The Twelfth Imam

    behind

  • The Twelfth Imam

    39 more to go

  • The Twelfth Imam

    cmon now

  • The Twelfth Imam

    hurry it

  • The Twelfth Imam

    up

  • The Twelfth Imam

    now

  • The Twelfth Imam

    ah

  • The Twelfth Imam

    closer

  • The Twelfth Imam

    just a bit

  • The Twelfth Imam

    little bit

  • The Twelfth Imam

    30 more.

  • The Twelfth Imam

    i can make it.

  • The Twelfth Imam

    I'm almost

  • The Twelfth Imam

    making it.

  • The Twelfth Imam

    there.

  • The Twelfth Imam

    i see it

  • The Twelfth Imam

    the light.

  • The Twelfth Imam

    forgot to vote.

  • The Twelfth Imam

    can't forget that.

  • Guest

    Seriously it will benefit a lot po.st/FMIl6w

  • http://pasteyourlinkinhere.blogspot.com/2014/05/pokervovocom-judi-poker-online.html Raditya Of’Diary

    Nice Posting and good job my friends. :)

    by :
    - Domino Kiu Kiu Uang Asli Indonesia
    - ADRO TEXTILE

  • Guest

    I'm just saying because there are always _those_ people.

  • Guest

    I'm just saying because there are always [i]those[/i] people.

  • Guest

    I'm just saying because there are always [/i]those[i] people.

  • Guest

    I'm just saying because there are always [i/]those[i] people.

  • Guest

    I'm just saying because there are always [i]those[i/] people.

  • Guest

    I'm just saying because there are always those people.

Quantcast