News for hackers. Stuff that matters.
Re:Pokedex.org: a progressive webapp for Pokémon fans by tjohns on Tuesday November 24, 2015 @06:54PM (#10624467)
For some reason this blog post is using 100% of my CPU while it's sitting idle in the background. Really odd for something that's just static text. Any idea what's going on here?

(Ironically, the actual demo site (pokedex.org) seems to be well behaved in comparison, using ~0% of my CPU, even though it's much more complex.)

Re:Pokedex.org: a progressive webapp for Pokémon fans by nolanl on Tuesday November 24, 2015 @07:07PM (#10624520)
Hm, that might be due to the autoloop <video>s I have in there (which are great for illustrating the animations, but may be a bit indulgent). Which browser are you on?
Re:Pokedex.org: a progressive webapp for Pokémon fans by tjohns on Tuesday November 24, 2015 @07:41PM (#10624640)
Chrome 46 on MacOS.

And I think you're right. I just removed the loop attribute from all the <video> tags, and CPU usage quickly dropped back down to normal.