LGF Technical Detour: Ajax Comments Running

• Views: 1,337

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

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2023-04-04 11:11 am PDT
LGF User's Guide RSS Feeds

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Cash.app
Recent PagesClick to refresh
The Pandemic Cost 7 Million Lives, but Talks to Prevent a Repeat Stall In late 2021, as the world reeled from the arrival of the highly contagious omicron variant of the coronavirus, representatives of almost 200 countries met - some online, some in-person in Geneva - hoping to forestall a future worldwide ...
Cheechako
3 days ago
Views: 122 • Comments: 0 • Rating: 1
Texas County at Center of Border Fight Is Overwhelmed by Migrant Deaths EAGLE PASS, Tex. - The undertaker lighted a cigarette and held it between his latex-gloved fingers as he stood over the bloated body bag lying in the bed of his battered pickup truck. The woman had been fished out ...
Cheechako
2 weeks ago
Views: 285 • Comments: 0 • Rating: 1