| Author |
Message |
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55736 Location: Earth, Sol, Milky Way
|
Posted: 09 Apr 2010 12:14:08 am Post subject: SAX "Dupe Aborted" Bug Fixed |
|
|
Many of you have vociferously complained to me about a long-standing bug in SAX, the Simultaneous Asynchronous eXchange, our very own cross-site, Web-to-IRC AJAX chat platform embedded on almost every Cemetech page. Up until a few months ago, users would occasionally get strings of duplicates when sending or receiving messages. I uncovered a few unhandled oddities in the designed flow of control within the Javascript for the system, and tossed in a few debug messages. The "Dupe Aborted" message was intended as a notification that due to unforeseen circumstances, a new XMLHttpRequest call was being made to check for new lines to display before the previous call had completed. Due to schoolwork constraints, most notably the arduous task that has been my Master's thesis, the "bug" (really a notification of a bug rather than a bug in and of itself) remained in SAX. It particularly plagued those users on slow or loaded connections. Today, following the successful completion of my thesis forty-eight hours ago, I managed to trace the remaining SAX bugs and hopefully solve them. Network lag that would have caused towers of Dupe Aborted messages are now gracefully handled with the message shown below, which disappears once congestion clears. Please make sure you clear your browser cache if you're still seeing Dupe Aborted messages, and post in the associated topics if you have any problems.
 _________________
 |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10228 Location: A galaxy far far away......
|
|
| Back to top |
|
|
Ultimate Dev'r

Join us on #cemetech-vaporware

Joined: 16 Mar 2005 Posts: 7297
|
Posted: 09 Apr 2010 02:13:52 pm Post subject: |
|
|
Still getting dupe aborts over here (but a lot less frequently now). _________________
 |
|
| Back to top |
|
|
tifreak8x

Guru

Joined: 16 Mar 2005 Posts: 9059 Location: Sol System
|
Posted: 09 Apr 2010 02:21:58 pm Post subject: |
|
|
But.. But..
Those Dupe Warning messages were a vital part of Cemetech! How dare you go and get rid of them. Now we have even less to complain and whine about. XD
Seriously tho, looks nice. Sadly I get hit with that network lag error a lot, but I guess that can't really be helped. _________________ Projects: AOD Series: 70% | FFME: 80% | Pokemon: 18% | RPGSK: 60% | Star Trek: 70% | Star Trek 83+: 40% | TI-City: 5%
Look here for Assembly Resources. |
|
| Back to top |
|
|
TsukasaZX

Corallian

Joined: 13 Mar 2007 Posts: 1226 Location: P4X-650
|
Posted: 09 Apr 2010 06:57:30 pm Post subject: |
|
|
Ooh, fancy!
Except it's probably totally not fancy from other linked sites' ends  _________________ On EFNet IRC: Whenever | Nick: Su-Hime | Channels: #Cemetech, #UnSS
TI-83+/84+ Projects
Yumé 2: Rika's Story - 25% Complete; Will finish to coincide with Y:tED
PC Projects
Yumé: The Eternal Dreams - rewriting environment system again
TIBiC/GO - 1%; compiling list of commands
"Alenda lux ubi orta libertas" - Let learning be cherished where liberty has arisen.
"Aut viam inveniam aut faciam" - Either I shall find a way, or I shall make one. - Hannibal
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55736 Location: Earth, Sol, Milky Way
|
Posted: 09 Apr 2010 09:37:39 pm Post subject: |
|
|
| Ultimate Dev'r wrote: | | Still getting dupe aborts over here (but a lot less frequently now). | Hmm, that's odd. Are you sure you have the new saxjax.js? Cleared your cache and all that?
| KeithJohansen wrote: | Ooh, fancy!
Except it's probably totally not fancy from other linked sites' ends  | Hit me up and I'll upgrade yours toos. _________________
 |
|
| Back to top |
|
|
TsukasaZX

Corallian

Joined: 13 Mar 2007 Posts: 1226 Location: P4X-650
|
Posted: 10 Apr 2010 12:44:08 am Post subject: |
|
|
| KermMartian wrote: | | KeithJohansen wrote: | Ooh, fancy!
Except it's probably totally not fancy from other linked sites' ends  | Hit me up and I'll upgrade yours toos. |
I'll PM you your credentials (again?) when I finish the design upgrades 'n stuff. Whenever that gets done.... Must. Not. Get. Distracted. By. LEGO. _________________ On EFNet IRC: Whenever | Nick: Su-Hime | Channels: #Cemetech, #UnSS
TI-83+/84+ Projects
Yumé 2: Rika's Story - 25% Complete; Will finish to coincide with Y:tED
PC Projects
Yumé: The Eternal Dreams - rewriting environment system again
TIBiC/GO - 1%; compiling list of commands
"Alenda lux ubi orta libertas" - Let learning be cherished where liberty has arisen.
"Aut viam inveniam aut faciam" - Either I shall find a way, or I shall make one. - Hannibal
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55736 Location: Earth, Sol, Milky Way
|
Posted: 10 Apr 2010 06:04:07 am Post subject: |
|
|
I think that I still have them, but let me know a time when you're not busy working on other site pieces so I don't inadvertently overwrite something you're working on.  _________________
 |
|
| Back to top |
|
|
Ultimate Dev'r

Join us on #cemetech-vaporware

Joined: 16 Mar 2005 Posts: 7297
|
Posted: 10 Apr 2010 02:02:10 pm Post subject: |
|
|
| KermMartian wrote: | | Ultimate Dev'r wrote: | | Still getting dupe aborts over here (but a lot less frequently now). | Hmm, that's odd. Are you sure you have the new saxjax.js? Cleared your cache and all that? |
I was on a livecd, so possibly the lag from that could've caused the dupes... _________________
 |
|
| Back to top |
|
|
comicIDIOT

Guru

Joined: 01 May 2006 Posts: 5106 Location: SFBA, California
|
Posted: 14 Apr 2010 12:26:44 am Post subject: |
|
|
Noticed this, can't say when it popped up but you can get a rough estimate
 _________________
-Alex |
|
| Back to top |
|
|
TsukasaZX

Corallian

Joined: 13 Mar 2007 Posts: 1226 Location: P4X-650
|
Posted: 14 Apr 2010 10:44:33 am Post subject: |
|
|
Oh no! You discovered Kerm's secret plan to brainwash the masses to do his geeky bidding through secret arcane chants posted in SAX! :O _________________ On EFNet IRC: Whenever | Nick: Su-Hime | Channels: #Cemetech, #UnSS
TI-83+/84+ Projects
Yumé 2: Rika's Story - 25% Complete; Will finish to coincide with Y:tED
PC Projects
Yumé: The Eternal Dreams - rewriting environment system again
TIBiC/GO - 1%; compiling list of commands
"Alenda lux ubi orta libertas" - Let learning be cherished where liberty has arisen.
"Aut viam inveniam aut faciam" - Either I shall find a way, or I shall make one. - Hannibal
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55736 Location: Earth, Sol, Milky Way
|
Posted: 14 Apr 2010 10:55:51 am Post subject: |
|
|
| KeithJohansen wrote: | | Oh no! You discovered Kerm's secret plan to brainwash the masses to do his geeky bidding through secret arcane chants posted in SAX! :O | Actually, that used to occur when a trailing line return snuck into the SAX response from the server. I was pretty sure it didn't happen anymore for anything. _________________
 |
|
| Back to top |
|
|
DJ_O

Retired TI-83+ coder

Joined: 18 Mar 2005 Posts: 1485 Location: Quebec (Canada)
|
Posted: 14 Apr 2010 02:07:35 pm Post subject: |
|
|
| comicIDIOT wrote: |  | That looks like the lyrics to many eurobeat song choruses. _________________ Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)
Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55736 Location: Earth, Sol, Milky Way
|
Posted: 16 Apr 2010 09:39:01 am Post subject: |
|
|
Haha, nice. So I've been getting scattered reports of Dupe Aborteds; if you're one of the victims, let me know specific circumstances so I can trace it out. _________________
 |
|
| Back to top |
|
|
comicIDIOT

Guru

Joined: 01 May 2006 Posts: 5106 Location: SFBA, California
|
Posted: 29 Sep 2010 11:20:13 pm Post subject: |
|
|
 _________________
-Alex |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55736 Location: Earth, Sol, Milky Way
|
Posted: 29 Sep 2010 11:36:28 pm Post subject: |
|
|
Geez, the database server goes down for two minutes, and everyone's on my case.  _________________
 |
|
| Back to top |
|
|
comicIDIOT

Guru

Joined: 01 May 2006 Posts: 5106 Location: SFBA, California
|
Posted: 29 Sep 2010 11:37:59 pm Post subject: |
|
|
Hey, not like we knew  _________________
-Alex |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55736 Location: Earth, Sol, Milky Way
|
Posted: 29 Sep 2010 11:58:37 pm Post subject: |
|
|
| comicIDIOT wrote: | Hey, not like we knew  | Haha, no, of course not. The difference is between true lag (when the AJAX calls never return, which is what now causes the lag indicator) and false lag, or HTTP requests that return immediately but with invalid or failed data. This was the latter, which the script manifested as Dupe Aborted combined with lag, a more accurate indication of the type of downtime. _________________
 |
|
| Back to top |
|
|
DJ_O

Retired TI-83+ coder

Joined: 18 Mar 2005 Posts: 1485 Location: Quebec (Canada)
|
Posted: 30 Sep 2010 01:34:27 am Post subject: |
|
|
| KermMartian wrote: | Geez, the database server goes down for two minutes, and everyone's on my case.  | Good thing it doesn't go down for 2 minutes about twice or three times a day, every day or two x.x _________________ Retired 83+ coder, Omnimaga/TIMGUL founder. Now doing power metal music (formerly did electronica)
Follow me on Bandcamp|Facebook|Reverbnation|Youtube|Twitter |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55736 Location: Earth, Sol, Milky Way
|
Posted: 30 Sep 2010 01:35:32 am Post subject: |
|
|
| DJ Omnimaga wrote: | | KermMartian wrote: | Geez, the database server goes down for two minutes, and everyone's on my case.  | Good thing it doesn't go down for 2 minutes about twice or three times a day, every day or two x.x | I assume you're talking about 1and1's failures on Omnimaga? _________________
 |
|
| Back to top |
|
|
|