[{"data":1,"prerenderedAt":183},["ShallowReactive",2],{"project-10648590":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":5,"maker":10,"posted_at":11,"year":12,"points":13,"comments":14,"rank_in_year":15,"shown_in_year":16,"top":17,"tier":18,"category":19,"subcategory":20,"format":21,"keywords":22,"reception":27,"sentiment":28,"stance_mix":29,"scored_comments":33,"aspects":34,"strip":37,"post_text":28,"what":39,"said":64,"maker_in_thread":109,"shape":119,"grid":121,"attempts":141,"same_week":146,"maker_shows":175,"maker_hidden":176,"reader_version":177,"card":178},"10648590","david-peter.de","Interactive factorization diagrams","title","Show HN: Interactive factorization diagrams","http:\u002F\u002Fdavid-peter.de\u002Ffactorization-diagrams\u002F","sharkdp",1448876730,2015,26,10,1018,2565,40,"shown","learning_science","math visualisation","web_app",[23,24,25,26],"prime factorization","factorization diagram","prime numbers","interactive math","quiet",null,{"positive":30,"neutral":31,"mixed":31,"critical":32},0,1,2,4,{"design":35,"performance":36},{"positive":30,"critical":31},{"positive":30,"critical":31},[38,30,38,30,31,30,30,30,31,30],3,{"problem":40,"audience":28,"pricing":28,"motivation":28,"time_to_build":28,"stack":50,"openness":63,"stage":63,"team_size":63},{"value":41,"source":42,"evidence":43},"Visualising how a number factors into primes","inferred",[44,46],{"id":45},"post",{"id":47,"by":48,"text":49},"10649094","mcnamaratw","It's awesome. That's really nice. One thing, when I pick a number with an annoyingly large prime factor (e.g. 1655=5*331), it seems to drop the large factor. At some point that…",[51],{"value":52,"source":53,"evidence":54},"PureScript","commenter",[55,59],{"id":56,"by":57,"text":58},"10649017","amelius","Slightly offtopic: if I type \"123456\" the UI becomes unresponsive (cannot type backspace for instance). It may be that the language Purescript is \"lazy\", but somehow this does…",{"id":60,"by":61,"text":62},"10649098","bjz_","Purescript is eager - not lazy. Didn't have trouble with 123456... the key-presses did seem a tad slower though. I'm on Firefox Developer.","unknown",{"praise":65,"objections":70,"requests":91,"questions":103,"alternatives":108},[66],{"value":67,"source":53,"evidence":68},"Commenters find the diagrams awesome and nice",[69],{"id":47,"by":48,"text":49},[71,78,85],{"value":72,"source":53,"evidence":73},"Large prime factors render as tiny dots that look like circles, hard to read",[74,75],{"id":47,"by":48,"text":49},{"id":76,"by":48,"text":77},"10649135","Ohhhh, so when I do 1655 I'm not just getting a pentagon, I'm getting five circles, each made out of 311 little tiny dots? (Or however many dots it is :P)",{"value":79,"source":53,"evidence":80},"Large inputs make the UI unresponsive due to slow factorization or drawing",[81,82],{"id":56,"by":57,"text":58},{"id":83,"by":10,"text":84},"10649110","I added a hard limit of 10,000 (in the input field and the code), because the prime factorization will be too slow otherwise. Maybe your browser takes a long time to draw the…",{"value":86,"source":53,"evidence":87},"Colors differ for primes 13 and 19 without clear reason",[88],{"id":89,"by":57,"text":90},"10649004","Why do 13 and 19 look so much different?",[92,99],{"value":93,"source":94,"evidence":95},"Better scaling so large prime factors are visible","maker",[96],{"id":97,"by":10,"text":98},"10649123","Huge prime factors are indeed a problem (in the sense that the simply look like circles). I think I can work a little bit on the scaling of the diagrams (there is still some free…",{"value":100,"source":53,"evidence":101},"Indicate when a factor is not displayed",[102],{"id":47,"by":48,"text":49},[104],{"value":105,"source":53,"evidence":106},"Why 13 and 19 are colored differently",[107],{"id":89,"by":57,"text":90},[],{"comments":110,"answered":33,"key":111},5,[112,113,116],{"id":97,"text":98},{"id":114,"text":115},"10649146","Exactly. Maybe a Retina display with super-resolution on the canvas would help ;-)",{"id":117,"text":118},"10649120","Yes, thanks for clarifying: Purescript is eager. But the slow response time is not related to Purescript being eager or lazy, it's related to the slow prime factorization…",{"commenters":33,"max_depth":33,"maker_replies":110,"first_comment_mins":120,"lifespan_hours":38},157,[122,124,126,128,129,131,133,135,137,139],[47,30,38,123,48,30],"project\u002Fmixed\u002Fdesign",[97,30,30,125,10,31],"maker\u002Fneutral\u002Fdesign",[76,30,38,127,48,30],"project\u002Fneutral\u002Fdesign",[114,30,30,125,10,31],[56,31,31,130,57,30],"project\u002Fcritical\u002Fperformance",[60,31,30,132,61,30],"commenter\u002Fneutral\u002Fnone",[117,31,30,134,10,31],"commenter\u002Fneutral\u002Fperformance",[83,31,30,136,10,31],"maker\u002Fneutral\u002Fperformance",[89,32,31,138,57,30],"project\u002Fcritical\u002Fdesign",[140,32,30,125,10,31],"10649097",[142,145],{"id":143,"t":144,"points":33,"comments":30},"10644576",1448805574,{"id":4,"t":11,"points":13,"comments":14},[147,152,157,161,166,171],{"id":148,"name":149,"points":150,"category":151},"10646440","Pickle Cat",747,"creative",{"id":153,"name":154,"points":155,"category":156},"10646551","HackerCouch",162,"consumer_social",{"id":158,"name":159,"points":160,"category":19},"10634918","Easy Forth",122,{"id":162,"name":163,"points":164,"category":165},"10663298","LaTeX Boilerplates",104,"productivity",{"id":167,"name":168,"points":169,"category":170},"10649059","Mmm",72,"languages",{"id":172,"name":173,"points":174,"category":151},"10656671","VerizonCraft",53,13,false,"v2",{"id":179,"name":5,"line":6,"ai":176,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":28,"top":17,"kw":180,"maker":10,"domain":5,"tier":18,"attempts":32,"strip":181,"url":9,"mix":182,"praise":67,"objection":72,"sub":20},10648590,[23,24,25,26],"3030100010",[30,31,31,32],1794036538157]