LGF Technical Detour: Ajax Comments Running

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

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.

Put your foot on the rock.

TwitterFacebook
LGF Pages
Recent Pages

Randall Gross
Mitt Romney: Little to Like: DNC Spoofs Romney Facebook Timeline
17 minutes ago
Views: 25 • Comments: 0
Tweets: 0 • Rating: 0

researchok
French Philosopher Alain Badiou on the Real Expression of Love: 'If You Limit Yourself to Sexual Pleasure It's Narcissistic'
4 hours, 26 minutes ago
Views: 63 • Comments: 0
Tweets: 0 • Rating: 0

Haywood Jabloeme
Closing the Racial and Generational Divides
8 hours, 15 minutes ago
Views: 76 • Comments: 0
Tweets: 0 • Rating: 1

Channeling Confucius
The International Response to Syria After the Houla Massacre
10 hours, 8 minutes ago
Views: 87 • Comments: 0
Tweets: 0 • Rating: 0

Aziz Poonawalla
I Speak for Myself: All-American
12 hours, 12 minutes ago
Views: 119 • Comments: 0
Tweets: 0 • Rating: 5

Aigle
Mainliners Speak Truth to Jewish, Not Arab and Muslim Power
16 hours, 28 minutes ago
Views: 330 • Comments: 10
Tweets: 0 • Rating: -5

Mostly sane, most of the time.
So wake up and notice already
2 days, 7 hours ago
Views: 286 • Comments: 0
Tweets: 2 • Rating: 7

Daniel Ballard
Late Afternoon Light-Kalanchoe
3 days, 12 hours ago
Views: 263 • Comments: 0
Tweets: 0 • Rating: 5

Eclectic Infidel
City College of San Francisco Budget Update
3 days, 13 hours ago
Views: 311 • Comments: 0
Tweets: 0 • Rating: 2

MichaelJ
Apple TV Slated to Debut in December?
4 days, 18 hours ago
Views: 368 • Comments: 0
Tweets: 0 • Rating: 1

 Frank says:

It's f*cking great to be alive, ladies and gentlemen, and if you do not believe it is f*cking great to be alive, you better go now, because this show will bring you down so much -- from Just Another Band From L.A.