LGF Technical Detour: Ajax Comments Running

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

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? 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

► 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.

A little mud hole where two mosquitoes get together.

TwitterFacebook
LGF Pages
Recent Pages

researchok
'I Was Looking Forward to a Quiet Old Age': Instead, Etta Shiber, Helped Smuggle Stranded Allied Soldiers To Freedom
31 minutes ago
Views: 25 • Comments: 0
Tweets: 0 • Rating: 0

Daniel Ballard
Late Afternoon Light-Kalanchoe
8 hours, 12 minutes ago
Views: 84 • Comments: 0
Tweets: 0 • Rating: 3

MikeySDCA
Colin Powell Endorsed Same-Sex Marriage Once It Was Safe, More Evidence He's Hardly a Great Leader.
8 hours, 16 minutes ago
Views: 104 • Comments: 1
Tweets: 0 • Rating: 0

Eclectic Infidel
City College of San Francisco Budget Update
9 hours, 4 minutes ago
Views: 102 • Comments: 0
Tweets: 0 • Rating: 0

Michael McBacon
Kansas governor signs 'Shariah bill' to ban Islamic law
13 hours, 35 minutes ago
Views: 212 • Comments: 6
Tweets: 0 • Rating: 5

Aigle
National Geographic Traveler Veers Off Track
1 day, 13 hours ago
Views: 432 • Comments: 7
Tweets: 0 • Rating: -5

MichaelJ
Apple TV Slated to Debut in December?
1 day, 14 hours ago
Views: 214 • Comments: 0
Tweets: 0 • Rating: 1

Ascher
Israeli Who Saved Turk on Everest: You Never Abandon a Friend - Israel News, Ynetnews
1 day, 16 hours ago
Views: 289 • Comments: 1
Tweets: 0 • Rating: 3

Haywood Jabloeme
The Harrassment of Patterico & Its Roots in Left-Wing Activism
1 day, 16 hours ago
Views: 505 • Comments: 2
Tweets: 0 • Rating: 4

Curt
Brian Banks: (Video) Falsely accused of rape speaks out
1 day, 18 hours ago
Views: 259 • Comments: 2
Tweets: 0 • Rating: 4

 Frank says:

He [Barney Frank] is one of the most impressive guys in Congress. He is a great model for young gay men.