Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

OP and author here. I'm a long time HN reader but this is only my second submission. I know my weekend hack is no where near amazing but I think it's useful which is why I intentionally spent extra time making it easy to reuse.

Could you explain what kind of posts you want on HN front page and why my submission is unfit to be on it so I can avoid making the same mistake?



The face cards appear to be rendering as PNG instead of SVG. Additionally, it would be cool to render the flip as a CSS 3d transform transition and fall back to jQuery flippy where not supported.

Also, I'm not sure about the mustache.js + hogan.js + jquery + backbone combo. That's a whole lotta libraries for something that would take around 20 lines in d3.js.

I don't mean this to put you down, but there are different ways of thinking of problems and you are approaching an interface/visualization problem from a templating background (which is possible, but not ideal).


I went with PNG over SVG because I wanted to keep things unfancy until later given that SVG versions are much bigger than PNG versions and I've heard rumors of SVG issues on Mobile Safari. Optional SVG support will likely be added later.

Re unnecessary rigging (hogan.js, jquery, backbone), they're there because this hack was original built as part of a larger project. I'll be tearing them out as time allows because they're definitely not needed.

Re d3 and approaching problem differently, I wholeheartedly agree. I'll be happy to use a 20 line d3.js version if someone comes up with one. :-)


Unlike some, I see no problem with this being on the front page. That said, I do have a question, why is the '10' smaller than the other numbers? This seems to be the same with the cards you forked.


Ah, yes. I'm not certain why the original version did that but when I changed it to same size as others, 10 card 'stuck out' like a sore thumb. I'm thinking about either switching to a narrower version of Helvetica like real poker cards do.

Please do try your own variations and make suggestions. Thx.


i think you did a terrific job here.. some people are just grumpy i think..


Thanks. I am frequently grumpy as well so I thought I would respond as I would like to be responded to when I am in that state of mind. It takes a lot of energy to perma-grumpy.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: