LGF Technical Detour: Ajax Comments Running

Charles Johnsonfollow me on twitter
Sun Jul 8, 2007 at 3:59 pm PDT • Views: 222

We had a very good shakeout test for the new system over the past couple of days; releasing it Friday caused a pretty remarkable surge of comments (over 7,000), setting an all-time record even though most of them were just in open threads.

That stress test revealed a synchronization problem that otherwise would not have shown up, as comments were posted so quickly that many ended up with the same timestamp. This caused the duplicate copies of comments and incorrect post numbering many of you noticed. And that bug is now squashed.

Recent updates:

* the comment posting system is completely Ajax-driven, resulting in near chat-room speed because you can post and see new comments without ever reloading the page. Every thread is a little chat room! (And if you’re using a browser that can’t do Ajax, it will gracefully fall back to the old system that requires a page reload after posting.)

* there’s an almost-live preview of your comment, that shows up above the comment posting form when you click the ‘preview’ button, showing exactly what your comment will look like when it’s posted.

* any deleted comments in the thread are now automatically updated (hidden from view) when you post a comment or click ‘new comments,’ to prevent you from reading or replying to a post that has been consigned to the /dev/null directory.

* the previous/next post links that appear at the top and bottom of each thread now include the number of comments posted in the previous and next thread.

* to use the posting features, of course, you’ll need to be logged in to an LGF account. But even if you aren’t logged in, you can use the ‘new comments’ button to follow a developing discussion without reloading the entire page. (Yes, even the trolls can do this.)

Advertisement

393 comments

^ back to top ^

Name:

Pass:

Register Forgot Your Password? Account Settings Re-send Confirmation (To log in, cookies must be enabled in your browser!)

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► Resources

► Never Forget

► Statistics

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

Time to put on the big boy pants.

TwitterFacebook
LGF Pages
Recent Pages

Channeling Confucius
Haitian Invasion Welcomed in Rural America - BBC Video
9 minutes ago
Views: 8 • Comments: 0
Tweets: 0 • Rating: 0

MichaelJ
Samsung's Galaxy Note Is the Most Useless Phone I've Used
9 minutes ago
Views: 20 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
GM Moves From Pension Plan to 401(k) - Feb. 15, 2012
13 minutes ago
Views: 14 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Religion Over Rights? Kansas Bill Would Let 'Religious Freedom' Curb Civil Liberties
14 minutes ago
Views: 31 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
Billionaire Tax Dodger Fails from the Grave
24 minutes ago
Views: 29 • Comments: 1
Tweets: 1 • Rating: 1

Randall Gross
Times Reporter Balks at Grapple by Prosecutors for His CIA Source
28 minutes ago
Views: 31 • Comments: 1
Tweets: 0 • Rating: 1

researchok
Iran Meddling in Yemen, Says Security Officials
31 minutes ago
Views: 27 • Comments: 0
Tweets: 1 • Rating: 1

researchok
Newt: For the Record
1 hour, 13 minutes ago
Views: 34 • Comments: 0
Tweets: 0 • Rating: 0

researchok
Vive La France! 67 Years Later An American Infantryman Is Awarded The Legion d'Honneur
1 hour, 18 minutes ago
Views: 50 • Comments: 0
Tweets: 0 • Rating: 1

researchok
Newt Gingrich: The Most Disliked Politician in America
1 hour, 18 minutes ago
Views: 61 • Comments: 0
Tweets: 1 • Rating: 0

 Frank says:

When did mediocrity and banality become a good image for your children?