HNHacker News
TopNewBestAskShowJobs

nsthorat

232 karma · joined January 6, 2011

submissionscomments
nsthorat··on Hacker's guide to Neural Networks (2012)
Yep, Andrej leads Tesla Autopilot now. Doubt he'll be following up here.
nsthorat··on An Introduction to Polymer - A Web Component Library
You can do something simple like this: https://github.com/tensorflow/tensorflow/blob/master/tensorf...

And a simple implementation: https://github.com/tensorflow/tensorflow/blob/master/tensorf...

nsthorat··on An Introduction to Polymer - A Web Component Library
I've used Polymer for about a year now, and it's not my favorite.

Two way data binding yields bad design, and stack traces are incredibly opaque (they go through polymer guts). That means debugging is an absolute nightmare (I come from strongly typed closure javascript, so this was a punch in the face). If your HTML has problems, the browser won't yell at you; debugging tools are just plainly lacking. There's a reason Google doesn't use it widely.

So, it seems great at first because it does so much, but you realize you want some minor customization and you end up spending all your time trying to hack around it when you could have just written from scratch in the same time (for example, I wanted an iron-collapse to move upwards, and had to do some crazy CSS hackery to get that to work).

That being said, if you restrict Polymer with team style guide, it can be incredibly powerful for code reuse. My team has a style guide that looks like this: only use paper components if absolutely necessary, never use {{}} only use one-way data binding, and attach strongly typed javascript to the Polymer component classes with Closure or Typescript.

(I work at Google, was tech lead for the image search frontend team for 4 years, and now work on Tensorboard in Tensorflow which is Typescript + Polymer)

nsthorat··on Open sourcing Embedding Projector: a tool for visualizing high dimensional data
Thanks for the feedback. What version of chrome and what OS are you using?
nsthorat··on Show HN: Neural Network Visualizer Classifying Handwriting – D3/Redux
For the most part you're not doing live animations, statically drawing on a 3 canvases would give you what you want (without huge overhead of DOM nodes and simplicity of 2D canvas painting). Web workers aren't going to do much since most of your lag is coming from way too much DOM (causing layout, repaints to take forever).
← PreviousPage 2 of 2