News for hackers. Stuff that matters.
Re:F8 Developer Conference by cmelbye on Saturday March 08, 2014 @05:59PM (#7366738)
What the fuck, 115% CPU usage? https://www.dropbox.com/s/iyt8wxqxp6nvfgh/Screenshot%202014-...

Can we stop making useless HTML5 animations that cause computer fans to turn on?

Re:F8 Developer Conference by simonsarris on Saturday March 08, 2014 @06:42PM (#7366859)
Well let's see, there's probably something in the drawing co-

Four full-sized canvases laid atop each other?

(And I guess peeking at the code, they may be able to get rid of one of those Math.sqrts by using the distance-squared everywhere you need it instead of the distance. As a first pass there's probably other sqrts or trig that could be removed, but its hard to eyeball minified code)

I thought it was a very pretty sight, but it probably could be made a lot less harsh.

Re:F8 Developer Conference by theunquietone on Saturday March 08, 2014 @07:24PM (#7366967)
Hey hey. Sorry about that. This is Ashley from Parse and we're working on it. If you notice any more issues or anything shoot me an email at ams at fb.com.
Re:F8 Developer Conference by judk on Saturday March 08, 2014 @11:00PM (#7367373)
Oh I thought you were trying to show that HTML is a graveyard and native is the way forward.
Re:F8 Developer Conference by Yetanfou on Saturday March 08, 2014 @06:39PM (#7366854)
While I fully agree with the senselessness of this overlapping-parallaxing-animating background drivel I did notice it seemed to work rather well here, using about 52% CPU on an Athlon II P360-powered machine (not the fastest around) running Firefox 30 on Linux. This is still 50% more than I'd like to see once the page has rendered, but for that purpose I have noscript and friends - I actually had to allow scripting on that page to see the animations in the first place...
Re:F8 Developer Conference by objclxt on Sunday March 09, 2014 @12:56AM (#7367632)
I think there's some cross-browser optimizations to be done here, because it completely destroyed Safari for me, and that's on a pretty serious machine (2.7 i7, 16GB RAM).
Re:F8 Developer Conference by carbocation on Saturday March 08, 2014 @07:17PM (#7366952)
It actually causes latest Chrome on my 2011 Macbook Air to go slow enough that I can't scroll down the page. I guess if I open up Developer Mode and extract the text, I could find out what's going on.
Re:F8 Developer Conference by lifeformed on Saturday March 08, 2014 @07:51PM (#7367017)
It looks pretty cool though.
Re:F8 Developer Conference by kayoone on Saturday March 08, 2014 @08:17PM (#7367066)
it looks beautiful but just having the page open on my 2011 Macbook Air results in about 50% constant cpu usage, fans spinnig up etc without me doing anything. Thats a bit much.
Re:F8 Developer Conference by judk on Saturday March 08, 2014 @11:04PM (#7367383)
The mobile view doesn't have the CPU crazy rendering, just an unreadably long page with a hard to read bizarrely kerned navigation menu hiding behind the hamburger icon.