News for hackers. Stuff that matters.
Re:Twitter crashes itself with commas by unfasten on Tuesday July 17, 2012 @04:06PM (#4257605)
I ran into this problem last night and ended up looking at the script. File size is 4,129,653 bytes, on a single line. I had it saved to check out what the problem was, so here it is if you want to check it out yourself: https://dl.dropbox.com/u/24903613/hn/twitter-4MB-line.js

Link to it on Twitter's servers (I uploaded to dropbox just in case the file expires or is changed): http://a0.twimg.com/c/phoenix/en/bundle/t1-more.5d72926b7850...

Re:Twitter crashes itself with commas by evilduck on Tuesday July 17, 2012 @05:04PM (#4257877)
This was what I was served and was referencing when I wrote that: https://dl.dropbox.com/u/21496507/t1-more.f1f23c393561.js

I don't feel like digging through minified javascript though, so I have no clue what the discrepency is.

Re:Twitter crashes itself with commas by unfasten on Tuesday July 17, 2012 @05:22PM (#4257966)
Interesting. The difference could be A/B testing or serving up different scripts to different browsers.

At a quick glance you can definitely see some differences between the different scripts we were served. For instance, in the one you were served there are some unminified portions that include the license notice for some of the code (easyXDM). In the script served to me there are no unminified portions, with everything being served on a single line.

Re:Twitter crashes itself with commas by polarix on Wednesday July 18, 2012 @01:54AM (#4259549)
Ugh, look at all the whitespace from the compiled mustache. Embarrassing.