<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
<channel><title>Comments for &quot;infinate loop in VS 3.0?&quot; Talk at VideoSift.com</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30</link>
<description>VideoSift: Online Video *Quality Control (15 comments listed)</description>
<language>en</language>
<copyright>2008 videosift.com</copyright>
<pubDate>Sun, 16 Dec 2007 10:45:57 -0800</pubDate>
<generator>http://www.varocms.com</generator>
<docs>http://www.rssboard.org/rss-specification</docs>
<ttl>10</ttl>
<image><url>http://static1.videosift.com/videosift/i/sifter_small.gif</url><title>Comments for &quot;infinate loop in VS 3.0?&quot; Talk at VideoSift.com</title><link>http://www.videosift.com/talk/infinate-loop-in-VS-30</link></image>
<item><title>By James Roe</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272619</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/j/James-Roe-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;Hello,&lt;br /&gt; &lt;br /&gt; I have not heard this particular problem reported before. Do you have firebug installed for firefox and if so does the js debugger give you an error messages?&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>James Roe (http://jamesroe.videosift.com)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272619</guid>
<pubDate>Tue, 11 Dec 2007 11:23:55 -0800</pubDate>
</item><item><title>By dgandhi</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272678</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/d/dgandhi-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;Firebug sees no error, but when it freezes if I pull up the js debugger I see that it has timed out on line 465 of script.js.&lt;br /&gt; &lt;p&gt;&lt;br /&gt; Firebug seems to be indicating that the script has been calling loadevents recursively (I count 6 recursive calls until it runs out of space to display, and can't see what was called next), I presume this is the problem. I have not used firebug for debugging js before, and so I may be reading its output incorrectly. I am assuming recursive calls because it shows &quot;getElementsBySelection &amp;lt; Rounded * Nifty * NiftyLoad &lt;loadevents * loadevents * loadevents...&quot; trailing off the top of the debug screen. &lt;br /&gt; &lt;p&amp;gt;&lt;br /&gt; the first loadevents is stopped at line 181, all the others seem to call the next on line 180.&lt;br /&gt; &lt;p&gt;&lt;br /&gt; &lt;br /&gt; I disabled all my plugins except flashplayer and firebug, and I still have the problem, so flashblock, and my many other plugins are not involved.&lt;br /&gt; &lt;P&gt;&lt;br /&gt; &lt;br /&gt; Let me know if any of the current state info is of use in tracking this down. It is unfortunately very easy for me to replicate the problem.&lt;/p&gt;&lt;/p&gt;&lt;/p&gt;&lt;/loadevents&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>dgandhi (http://www.videosift.com/member/dgandhi)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272678</guid>
<pubDate>Tue, 11 Dec 2007 12:50:04 -0800</pubDate>
</item><item><title>By blankfist</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272780</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/b/blankfist-s.jpg?1222814062&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;Do you have an example url where you're receiving this error? I've sniffed the http on a couple pages already and cannot find &quot;script.js&quot;; only found tagedit.js, core-onload.js, autoreload.js, form-comment.js and urchin.js being pulled into the pages.&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>blankfist (http://blankfist.videosift.com)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272780</guid>
<pubDate>Tue, 11 Dec 2007 15:17:47 -0800</pubDate>
</item><item><title>By dgandhi</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272865</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/d/dgandhi-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;script.js is loaded by the individual video pages from:&lt;br /&gt; &lt;br /&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://static1.videosift.com/js/script.js&quot;&gt;http://static1.videosift.com/js/script.js&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; I just pulled that out of firebug from loading:&lt;br /&gt; &lt;br /&gt; &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.videosift.com/video/Holy-Sht-Theres-no-way-thats-real&quot;&gt;http://www.videosift.com/video/Holy-Sht-Theres-no-way-thats-real&lt;/a&gt;&lt;br /&gt; &lt;br /&gt; I don't get autoreload.js on these pages, but&lt;br /&gt; googles ads.js, showads.js and graphics.js are also there.&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>dgandhi (http://www.videosift.com/member/dgandhi)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272865</guid>
<pubDate>Tue, 11 Dec 2007 16:40:02 -0800</pubDate>
</item><item><title>By blankfist</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272993</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/b/blankfist-s.jpg?1222814062&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;Sorry, dgandhi, I overlooked the script.js in HttpWatch. I found it this time. I'm not sure what the problem is, to be exact, because I don't have the means (nor the patience &lt;img src=&quot;http://static1.videosift.com/videosift/i/emoticon/tongue.gif&quot; /&gt; )to properly recreate it, but it seems like it may have a bit to do with DOM manipulation taking longer than necessary before your browser is timing out. From a bit of quick research, the getElementsBySelector() function is known to walk the DOM a lot, and it's advised to use it sparingly. &lt;br /&gt; &lt;br /&gt; I'm not an expert on this, I just know enough to get into a bit of trouble here when looking over anything ECMA-Script - and AJAX combined with CSS isn't my area of expertise. Have you tried denying Firefox's request to kill the script (keep the script running)? If not, give that a try to see if shortly thereafter the events are properly finishing. Sorry. I wish I could be of greater service. I know Flash times out after 10 seconds or so, and it is possible for a script to NOT FINISH running once it times out. It's rare, but possible.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;map name=&quot;google_ad_map_20081013114120&quot;&gt;
&lt;area shape=&quot;rect&quot; href=&quot;http://imageads.googleadservices.com/pagead/imgclick/20081013114120?pos=0&quot; coords=&quot;1,2,367,28&quot;/&gt;
&lt;area shape=&quot;rect&quot; href=&quot;http://services.google.com/feedback/abg&quot; coords=&quot;384,10,453,23&quot;/&gt;&lt;/map&gt;
&lt;img usemap=&quot;#google_ad_map_20081013114120&quot; border=&quot;0&quot; src=&quot;http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=ca-pub-2778535148117178&amp;channel=1821671304&amp;output=png&amp;cuid=20081013114120&amp;url=http%3A%2F%2Fwww.videosift.com%2Frss2%2Fpost%2Finfinate-loop-in-VS-30%2Fcomments.xml&quot;/&gt;&lt;/p&gt;</description>
<dc:creator>blankfist (http://blankfist.videosift.com)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-272993</guid>
<pubDate>Tue, 11 Dec 2007 18:46:18 -0800</pubDate>
</item><item><title>By arvana</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273203</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/a/arvana-s.jpg?1220725712&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;I'm running Firefox under Ubuntu 7.10 with the Adobe flash player, and I never get any crashes or timeouts, on this or any other site.  Though I have always found VS3.0 to be quite slow to load its javascript in Firefox, even under Windows.&lt;br /&gt; &lt;br /&gt; Which version of the flash player plugin are you using?  I found that the repository version wouldn't install properly for me, so I installed it directly &lt;a rel=&quot;nofollow&quot; href=&quot;http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&quot;&gt;from their site&lt;/a&gt;.&lt;br /&gt; &lt;br /&gt; I hope that helps!&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>arvana (http://arvana.videosift.com)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273203</guid>
<pubDate>Tue, 11 Dec 2007 23:28:55 -0800</pubDate>
</item><item><title>By dgandhi</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273406</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/d/dgandhi-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;It appears that if I tell it not to kill the script it will settle in about 10 more sec.&lt;br /&gt; &lt;br /&gt; The problem is:&lt;br /&gt; &lt;br /&gt; 1) It uses tons of processing power for about 45sec. While the script is running firefox uses 99%(up from 20%) of a 1.86Ghz processor, which is fine if you are running seti@home, but laying out a page?&lt;br /&gt; 2) totally freezes firefox for that time&lt;br /&gt; 3) requires me to decide weather to kill it (even if I decide to say no it freezes until I answer)&lt;br /&gt; 4) it seems to take a bit of processing power if i let it run idle instead of killing it at the kill request. It seems to take around 5-10% of my CPU, per VS page/tab I have open, this adds up rather quickly since I'm a massive tab surfer.&lt;br /&gt; &lt;br /&gt; So is this a bug?, should loadevents() be running 17 times concurrently on the home page?&lt;br /&gt; does everyone else running firefox also get the browser freeze while the page is loading? Does any of this suggest an obvious culprit like loadevents() or NiftyLoad()?&lt;br /&gt; &lt;br /&gt; Since I've never used js for anything this processor intensive I don't know if js can reset browser default timeout limits, is that a quick fix possibility?&lt;br /&gt; &lt;br /&gt; Firefox specifically complains of the script being &quot;non-responsive&quot; is there a quick fix for that issue, by doing something quick and &quot;responsive&quot; half way through?&lt;br /&gt; &lt;br /&gt; arvana: I'm runnig flash9 out of the box from 7.10. I had flashblock installed on 7.4, and it came over with the upgrade, since I disabled it for testing this issue I have not had the crash problem that I had with 7.4, but disabling it has not effected the load freeze issue either.&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>dgandhi (http://www.videosift.com/member/dgandhi)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273406</guid>
<pubDate>Wed, 12 Dec 2007 09:06:42 -0800</pubDate>
</item><item><title>By blankfist</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273593</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/b/blankfist-s.jpg?1222814062&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;I don't know of any way to force JS to reset the browser's timeout, but what appears to be a better solution is to eventually figure out a less DOM walking intensive approach to getElementsBySelector() for VS, because you're experiencing the browser timing out with script.js executed at line 465, which is close to the for loop just at the end of that getElementsBySelector() function. I wish I was more familiar with your set up, dgandhi, and could offer a more specific fix. I am familiar with ECMA-Script based programming, but not this specific example. I think my idea here, however, is probably pretty dead on, because I kind of figured it would be the timeout issue when you mentioned receiving an error to kill a script.&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>blankfist (http://blankfist.videosift.com)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273593</guid>
<pubDate>Wed, 12 Dec 2007 12:26:38 -0800</pubDate>
</item><item><title>By dgandhi</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273606</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/d/dgandhi-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;Is commented code for VS available? I would like to patch this if possible.&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>dgandhi (http://www.videosift.com/member/dgandhi)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273606</guid>
<pubDate>Wed, 12 Dec 2007 12:45:56 -0800</pubDate>
</item><item><title>By arvana</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273826</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/a/arvana-s.jpg?1220725712&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;One workaround would just be to increase dom.max_script_run_time in about:config.  I think it is set to 5 seconds by default; if you brought it up to 15 or 20 that would at least prevent the error messages.&lt;br /&gt; &lt;br /&gt; But I agree that the fault probably lies within the JS itself; when 3.0 first came out I was experiencing 30s page-load times, and Lucky did some work on the script to improve it but it's still not perfect.&lt;br /&gt; &lt;br /&gt; If you're a JS expert, why not send &lt;a rel=&quot;nofollow&quot; href=&quot;http://lucky760.videosift.com/&quot;&gt;Lucky&lt;/a&gt; a note volunteering to help debug?&lt;br /&gt; &lt;br /&gt; Also, I believe the downloadable plugin from the Adobe site is a slightly newer version than in the repository; it might be worth a try to download it directly.&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>arvana (http://arvana.videosift.com)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273826</guid>
<pubDate>Wed, 12 Dec 2007 16:51:01 -0800</pubDate>
</item><item><title>By dgandhi</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273850</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/d/dgandhi-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;thanks arvana, dom.max_script_run_time=30(from 10) scratches my itch on this one, I might have been more helpful if you hadn't pointed that out. &lt;img src=&quot;http://static1.videosift.com/videosift/i/emoticon/smile.gif&quot; /&gt;&lt;br /&gt; &lt;br /&gt; I'll still send Lucky a note, but I don't think I'll personally be feeling the need to patch it, though I would be happy to assist in replicating the problem, or testing patches if anybody else wants to bother with it.&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>dgandhi (http://www.videosift.com/member/dgandhi)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-273850</guid>
<pubDate>Wed, 12 Dec 2007 17:06:41 -0800</pubDate>
</item><item><title>By blankfist</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-274170</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/b/blankfist-s.jpg?1222814062&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;I wish I was of more help, dgandhi. In any event, I'm sick of *quality posts only going to superficial posts, especially when we've got some real quality perspectives (from a technical standpoint). I hope I can give a probie a star with this!&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>blankfist (http://blankfist.videosift.com)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-274170</guid>
<pubDate>Thu, 13 Dec 2007 02:40:43 -0800</pubDate>
</item><item><title>By siftbot</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-274171</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/s/siftbot-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;Awarding dgandhi with one star point for this contribution to Sift Talk - declared quality by blankfist.&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>siftbot (http://www.videosift.com/member/siftbot)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-274171</guid>
<pubDate>Thu, 13 Dec 2007 02:40:44 -0800</pubDate>
</item><item><title>By dgandhi</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-274362</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/d/dgandhi-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;Alright, well, I'm a P with a star point. &lt;img src=&quot;http://static1.videosift.com/videosift/i/emoticon/smile.gif&quot; /&gt;&lt;br /&gt; &lt;br /&gt; BUT I'm still having the freeze problem. &lt;img src=&quot;http://static1.videosift.com/videosift/i/emoticon/frown.gif&quot; /&gt;&lt;br /&gt; &lt;br /&gt; Lucky said he will rework this for the next revision, but I'm still stuck until then.&lt;br /&gt; &lt;br /&gt; arvana's fix works about 75% of the time, but I still get time outs even with dom.max_script_run_time=30, any other suggestins?&lt;br /&gt; &lt;br /&gt; I'll set it to 200, but 30 seems ridiculous to begin with.&lt;br /&gt; &lt;br /&gt; &lt;b&gt;(update: set to 200, it works fine, just takes a while to settle, but no more freeze)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>dgandhi (http://www.videosift.com/member/dgandhi)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-274362</guid>
<pubDate>Thu, 13 Dec 2007 09:22:30 -0800</pubDate>
</item><item><title>By LactosetheIntolerant</title>
<link>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-276747</link>
<description>&lt;img src=&quot;http://static1.videosift.com/avatars/l/LactosetheIntolerant-s.jpg?1216359343&quot; width=&quot;40&quot; alt=&quot;&quot; /&gt;&lt;br /&gt;I'm also running 7.10, and having the same problem.  I've been playing around all day and the best solution so far is to install the noscript plugin for firefox and mark videosift as untrusted.&lt;br /&gt; This blocks all scripts from videosift, so is obviously not ideal.&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; edit:  Possibly better way is by installing adblock plus and adding *videosift*/script.js to the blocklist.  Your mileage may vary&lt;br /&gt;&lt;br /&gt;</description>
<dc:creator>LactosetheIntolerant (http://www.videosift.com/member/LactosetheIntolerant)</dc:creator><guid>http://www.videosift.com/talk/infinate-loop-in-VS-30#comment-276747</guid>
<pubDate>Sun, 16 Dec 2007 10:45:57 -0800</pubDate>
</item><atom:link href="http://www.videosift.com/rss2/post/infinate-loop-in-VS-30/comments.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>