[{"data":1,"prerenderedAt":193},["ShallowReactive",2],{"project-10297237":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":34,"aspects":35,"strip":39,"post_text":40,"what":41,"said":85,"maker_in_thread":125,"shape":128,"grid":131,"attempts":151,"same_week":156,"maker_shows":129,"maker_hidden":186,"reader_version":187,"card":188},"10297237","Promise Visualization Playground","Try using the babelify option","maker","Show HN: Promise Visualization Playground","http:\u002F\u002Fbevacqua.github.io\u002Fpromisees?","bevacqua.github.io","bevacqua",1443542503,2015,61,9,465,2565,19,"notable","learning_science","programming visualization","web_app",[24,25,26,27],"javascript promises","async visualization","promise playground","asynchronous javascript","roasted",-0.4,{"positive":31,"neutral":32,"mixed":31,"critical":33},0,2,3,5,{"idea":36,"execution":38},{"positive":31,"critical":37},1,{"positive":31,"critical":32},[31,33,31,31,33,31,37,37,37],null,{"problem":42,"audience":54,"pricing":40,"motivation":40,"time_to_build":40,"stack":62,"openness":84,"stage":84,"team_size":84},{"value":43,"source":44,"evidence":45},"Hard to see how JavaScript promises and asynchronous functions behave","inferred",[46,50],{"id":47,"by":48,"text":49},"10299570","hawleyal","JavaScript promises, which are basically a way to respond to asynchronous functions.",{"id":51,"by":52,"text":53},"10299528","anigbrowl","I don't quite understand what's going on here but find it extremely interesting. Is it an implementation of a particular theory? The word 'Promise' makes me think of automated…",{"value":55,"source":44,"evidence":56},"JavaScript developers learning asynchronous code",[57,58],{"id":47,"by":48,"text":49},{"id":59,"by":60,"text":61},"10300848","ilaksh","Async\u002Fawait is such a much better syntax so I just use babel. It makes the syntax close to the normal synchronous code. Then you don't need a 'playground' to visualize basic…",[63,74],{"value":64,"source":44,"evidence":65},"JavaScript",[66,70],{"id":67,"by":68,"text":69},"10298432","lasryaric","I would love to try it, but I have a javascript error in the console: Uncaught SyntaxError: missing ) after argument list demo.min.js:1 Chrome version: Version 44.0.2403.155…",{"id":71,"by":72,"text":73},"10298272","nadaviv","Can't seem to get it working on Chromium 34: ``` Uncaught TypeError: undefined is not a function demo.min.js:20 (anonymous function) demo.min.js:20 i demo.min.js:1 (anonymous…",{"value":75,"source":76,"evidence":77},"Babel","commenter",[78,82],{"id":79,"by":80,"text":81},"10300051","jsprogrammer","You may want to default to Babelifying. Nothing was happening and I only discovered the problem by going to the developer console and seeing a syntax error.",{"id":83,"by":11,"text":6},"10299054","unknown",{"praise":86,"objections":95,"requests":109,"questions":115,"alternatives":120},[87],{"value":88,"source":76,"evidence":89},"Interesting idea for visualizing promises",[90,91],{"id":51,"by":52,"text":53},{"id":92,"by":93,"text":94},"10299919","dropit_sphere",">sorry if this is completely off the wall it certainly is > irrelevant for the way most helpful to most people reading, yeah, probably > I was just instantly struck by the…",[96,101,105],{"value":97,"source":76,"evidence":98},"Demo fails with JavaScript syntax or runtime errors in browsers",[99,100],{"id":67,"by":68,"text":69},{"id":71,"by":72,"text":73},{"value":102,"source":76,"evidence":103},"Nothing runs unless Babel transpilation is enabled",[104],{"id":79,"by":80,"text":81},{"value":106,"source":76,"evidence":107},"Async\u002Fawait makes a separate playground unnecessary",[108],{"id":59,"by":60,"text":61},[110],{"value":111,"source":76,"evidence":112},"Default to Babelified build so the demo works",[113,114],{"id":79,"by":80,"text":81},{"id":83,"by":11,"text":6},[116],{"value":117,"source":76,"evidence":118},"Is this an implementation of a particular theory?",[119],{"id":51,"by":52,"text":53},[121],{"value":122,"source":76,"evidence":123},"Using async\u002Fawait with Babel for visualizing control flow",[124],{"id":59,"by":60,"text":61},{"comments":37,"answered":31,"key":126},[127],{"id":83,"text":6},{"commenters":129,"max_depth":33,"maker_replies":37,"first_comment_mins":130,"lifespan_hours":129},8,129,[132,134,136,139,141,143,145,147,149],[51,31,31,133,52,31],"commenter\u002Fneutral\u002Fidea",[47,31,33,135,48,31],"project\u002Fneutral\u002Fidea",[137,31,31,138,52,31],"10299625","other\u002Fneutral\u002Fidea",[92,31,31,140,93,31],"commenter\u002Fpositive\u002Fidea",[67,37,33,142,68,31],"project\u002Fneutral\u002Fexecution",[83,37,31,144,11,37],"maker\u002Fneutral\u002Fexecution",[59,32,37,146,60,31],"project\u002Fcritical\u002Fidea",[79,33,37,148,80,31],"project\u002Fcritical\u002Fexecution",[71,150,37,148,72,31],4,[152,155],{"id":153,"t":154,"points":150,"comments":31},"10233458",1442499553,{"id":4,"t":12,"points":14,"comments":15},[157,162,167,172,176,181],{"id":158,"name":159,"points":160,"category":161},"10284321","Rhei",681,"hardware",{"id":163,"name":164,"points":165,"category":166},"10288249","Caramel",130,"languages",{"id":168,"name":169,"points":170,"category":171},"10276840","FreeGeoDB",108,"data",{"id":173,"name":174,"points":175,"category":166},"10286852","gsp",76,{"id":177,"name":178,"points":179,"category":180},"10305918","Muki",57,"creative",{"id":182,"name":183,"points":184,"category":185},"10303402","New Yorker Map",49,"consumer_social",false,"v2",{"id":189,"name":5,"line":6,"ai":186,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":190,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":191,"url":9,"mix":192,"praise":88,"objection":97,"sub":21},10297237,[24,25,26,27],"030030111",[31,32,31,33],1794036535993]