Maybe some sort of flood prevention should be added to SAX:
Is that a bot or something?
Please don't add too strict filters or anything like that... Having something like the shoutbox for MyBB would suck.
Please don't add too strict filters or anything like that... Having something like the shoutbox for MyBB would suck.
haveacalc wrote:
Goodbye, fast WPM...
Heaven forbid you just have one long message rather than 30 individual sentences, with each having its own 'post' .
By the way, remember to account for a large conversation on IRC. It may read IRC as a user and treat it with 'flood control' causing some issues.
For minimal lag, I'll implement it within the javascript on these pages. Technically someone could get around it with some coding of their own, but I'm not going to worry about that, since it's only meant to prevent people from spamming the box at left.
14:23:47 haveacalc: Is
14:23:47 haveacalc: it
14:23:49 haveacalc: even
14:23:50 haveacalc: a
14:23:51 haveacalc: problem?
14:23:51 haveacalc: It
14:23:54 haveacalc: looks
14:23:54 haveacalc: like
14:23:54 haveacalc: that
14:23:56 haveacalc: only
14:23:57 haveacalc: happened
14:23:58 haveacalc: once.
14:23:47 haveacalc: it
14:23:49 haveacalc: even
14:23:50 haveacalc: a
14:23:51 haveacalc: problem?
14:23:51 haveacalc: It
14:23:54 haveacalc: looks
14:23:54 haveacalc: like
14:23:54 haveacalc: that
14:23:56 haveacalc: only
14:23:57 haveacalc: happened
14:23:58 haveacalc: once.
I think it's imperative that you have restrictions on the SAX Chat. Perhaps if it's possible, you can have a more strict filter for non-posting members and, as you post more, you can type more than once within a few seconds in SAX if its totally necessary.
Think of how many times it's looping per second. It probably wouldn't make a huge difference, but it already lags some. Try typing something in: There's already a very significant delay.
haveacalc wrote:
Think of how many times it's looping per second. It probably wouldn't make a huge difference, but it already lags some. Try typing something in: There's already a very significant delay.
No, thats because there is a low refresh rate to keep bandwidth down. Kerm's got plenty of CPU cycles with which to play with, and adding filters wouldn't cause a noticeable delay. And haveacalc, it is not looping at all. If it looped, it would never return any data (remember, PHP is only executed upon a client request, it is not running continuously).
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
» Go to Registration page
» Goto page 1, 2 Next
» View previous topic :: View next topic
» View previous topic :: View next topic
Page 1 of 2
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement