Live data from Hacker News

Pokedex.org: a progressive webapp for Pokémon fans

pocketjavascript.com

21–30 of 42 posts

Re: Pokedex.org: a progressive webapp for Pokémon fans

#21
post #3

This is super cool and fast, I'm impressed. Thought I would note, it looks like the catch rates of all the pokemon all incorrectly display 0%.

Thanks! I totally failed to notice that, but I've filed an issue now: https://github.com/nolanlawson/pokedex.org/issues/9

Re: Pokedex.org: a progressive webapp for Pokémon fans

#22
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

#24
Perhaps this can add some hype to the augmented reality pokemon game that is coming. It's a cooperation with Niantic ( Originally from Google, they created Ingress ).

More information about it here: http://www.pokemon.com/us/pokemon-video-games/pokemon-go/

Love the techstack for sure! Super sweet

Re: Pokedex.org: a progressive webapp for Pokémon fans

#25
post #22

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.)

Hm, that might be due to the autoloop 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

#28
post #25
post #22

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.)

Hm, that might be due to the autoloop s I have in there (which are great for illustrating the animations, but may be a bit indulgent). Which browser are you on?

Chrome 46 on MacOS.

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

Re: Pokedex.org: a progressive webapp for Pokémon fans

#29

As someone who doesn't spend much time on the front end of things, this post renewed my interest. Great explanation of tech used and why. Actually using it on my Nexus 5 was unlike any site I've used before.

Author here - thanks a lot! :) I think many of the emerging performance bottlenecks in webdev are on the client rather than the server, so there's definitely a lot more research that needs to be done here. In particular, I feel like the whole "web worker" angle has been seriously overlooked, even though the tech is ~5 years old.
Post reply on HN