[{"data":1,"prerenderedAt":972},["ShallowReactive",2],{"project-17871313":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":27,"sentiment":28,"stance_mix":29,"scored_comments":34,"aspects":35,"strip":42,"post_text":45,"what":46,"said":61,"maker_in_thread":163,"shape":174,"grid":179,"attempts":933,"same_week":934,"maker_shows":43,"maker_hidden":964,"reader_version":965,"card":966},"17871313","wolfram-cellular-automata","I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node","title","Show HN: I'm 12, learning JS, and wrote Wolfram's cellular automaton in Node","https:\u002F\u002Fbitbucket.org\u002Fliamilan\u002Fwolfram-cellular-automata","bitbucket.org","liamilan",1535572524,2018,1072,283,3,2155,1,"legend","learning_science","cellular automata","cli",[21,24,25,26],"wolfram rules","node.js","javascript","loved",0.587,{"positive":30,"neutral":31,"mixed":32,"critical":33},56,23,0,9,88,{"execution":36,"design":39,"idea":40,"docs":41},{"positive":37,"critical":38},6,2,{"positive":32,"critical":38},{"positive":18,"critical":32},{"positive":32,"critical":18},[43,32,32,32,43,16,43,32,32,16,32,32,43,16,43,32,43,16,43,44,16,43,32,44,16,43,43,32,32,44,43,16,43,43,43,43,32,43,43,16],5,4,null,{"problem":45,"audience":45,"pricing":45,"motivation":45,"time_to_build":45,"stack":47,"openness":58,"stage":59,"team_size":60},[48,54],{"value":49,"source":50,"evidence":51},"JavaScript","maker",[52],{"id":53},"post",{"value":55,"source":50,"evidence":56},"Node.js",[57],{"id":53},"unknown","launched","solo",{"praise":62,"objections":98,"requests":121,"questions":140,"alternatives":148},[63,79,90],{"value":64,"source":65,"evidence":66},"Impressive work for a 12-year-old learner","commenter",[67,71,75],{"id":68,"by":69,"text":70},"17872174","sramam","Congratulations! I showed your project to my 12 year old son who has just started to learn programming (in JS no less!) and his jaw dropped. In addition to being a programmer,…",{"id":72,"by":73,"text":74},"17871523","gilesvangruisen","This is awesome! Keep up the good work. As a fellow developer who began writing software around your age, I have some advice that is definitely subjective and biased, but which…",{"id":76,"by":77,"text":78},"17873219","wavefunction","Keep it up, this is exactly how great programmers are made!",{"value":80,"source":65,"evidence":81},"Clean, readable code",[82,86],{"id":83,"by":84,"text":85},"17871790","strainer","I like how the array named 'map' reflects our original use of this word, rather than the special meaning which it has acquired to programmers. In Javascript and other languages…",{"id":87,"by":88,"text":89},"17872877","ArtWomb","Good job! I mentor college CS majors whose code is not as clean as this. Seriously. I would also recommend checking out The Coding Train. NYU ITP Daniel Shiffman's lectures on…",{"value":91,"source":65,"evidence":92},"Inspiring to other young programmers",[93,97],{"id":94,"by":95,"text":96},"17873855","chriselles","Congrats! I have shown this to my 13 and 12 year old sons to inspire them.",{"id":68,"by":69,"text":70},[99,110],{"value":100,"source":65,"evidence":101},"Doubt that a 12-year-old wrote it, based on writing style",[102,106],{"id":103,"by":104,"text":105},"17872564","jcrza","I guess I'm the only one here doubting that the combination of both this project and the language used in the comment replies is coming from a 12 year old. Take it as a…",{"id":107,"by":108,"text":109},"17874552","da_murvel","Excuse my portion of scepticism, it's not the fact that a \"12 year old\" built this, sure anyone can learn how to code and we can't know how much help this person got along the…",{"value":111,"source":65,"evidence":112},"Code could use comments and has small bugs such as repeated setTimeout calls",[113,117],{"id":114,"by":115,"text":116},"17872249","test6554","Great job! One way to improve this code is to add comments. Use comments to describe what each function does and what the parameters are supposed to be. Then you can tell at a…",{"id":118,"by":119,"text":120},"17873322","Qwertie","Nice work. I'm not a JS expert but I think I saw a bug. Inside of animate() you are calling setTimeout() to automatically call animate repeatedly but this is also calling…",[122,126,133],{"value":123,"source":65,"evidence":124},"Add comments to the code",[125],{"id":114,"by":115,"text":116},{"value":127,"source":65,"evidence":128},"Split code into modules and use a bundler",[129],{"id":130,"by":131,"text":132},"17871609","crooked-v","Good work. For a next step, I would suggest giving a try at breaking it up into multiple files using import\u002Fexport statements (it doesn't need it but it's good practice), and…",{"value":134,"source":65,"evidence":135},"Port to Python or Go",[136],{"id":137,"by":138,"text":139},"17873043","mvpu","Great! Now redo this in Python and GoLang :)",[141],{"value":142,"source":65,"evidence":143},"What resources were used to learn Node and JS",[144],{"id":145,"by":146,"text":147},"17871450","rjplatte","That's awesome. What resources did you use to learn Node and JS? Just looked at your code. Kid. You're a badass. Keep this up, you'll go places.",[149,156],{"value":150,"source":65,"evidence":151},"Observable notebook version",[152],{"id":153,"by":154,"text":155},"17871646","jacobolus","Great work! I made a quick Observable notebook out of your code, in case anyone wants to see what it does without downloading or running it on their own machine:…",{"value":157,"source":65,"evidence":158},"Repl.it version",[159],{"id":160,"by":161,"text":162},"17873150","amasad","That's really awesome. Here it is running in a Node repl in the browser if you want to try it quickly (the code verbatim but hardcoded the rule number to 18)…",{"comments":37,"answered":38,"key":164},[165,168,171],{"id":166,"text":167},"17873896","Thanks Steve! I watched your video and although I don't understand everything, I learned a lot. Separating my program into functions is a good idea. Your video clarified the map…",{"id":169,"text":170},"17872486","Thanks a ton! Tell your son that it took me a while, and a lot of work, but it feels great to finish something (there are a lot of projects that I don't finish...). I began…",{"id":172,"text":173},"17871592","Thank you! I'm watching a lot of Youtube videos. This is how I got to cellular automata. My dad showed me git last week.",{"commenters":175,"max_depth":176,"maker_replies":37,"first_comment_mins":177,"lifespan_hours":178},184,8,13,130,[180,184,188,190,194,197,200,203,206,208,211,214,217,220,223,226,229,232,235,238,241,244,247,251,254,256,258,260,263,267,270,273,276,280,284,288,290,292,295,298,301,304,306,308,311,312,313,316,319,322,326,329,333,335,338,341,344,347,350,352,354,357,360,363,366,370,373,376,379,382,385,388,390,392,395,397,400,402,404,407,410,413,416,418,421,424,427,429,432,434,437,440,443,446,448,450,453,456,459,462,465,468,470,473,475,478,481,484,488,491,493,494,496,498,501,505,507,509,512,515,518,521,524,527,531,534,536,539,542,545,547,550,554,557,560,562,565,567,570,573,575,577,580,582,584,586,588,590,593,596,599,602,605,607,609,612,615,618,620,623,625,629,633,636,639,641,643,645,648,651,653,655,659,664,667,671,674,676,679,681,683,687,690,693,695,697,700,703,705,708,712,716,719,723,725,728,730,733,735,737,741,745,750,752,754,758,762,765,769,773,777,781,785,787,791,795,797,801,805,808,812,816,820,824,828,832,835,839,843,846,850,854,858,860,863,865,867,871,873,876,879,884,887,889,892,895,897,901,903,906,908,910,912,915,917,920,922,924,927,931],[181,32,43,182,183,32],"17873555","maker\u002Fpositive\u002Fexecution","sgk284",[185,32,32,186,187,32],"17873711","commenter\u002Fneutral\u002Fnone","krat0sprakhar",[189,32,32,186,183,32],"17874000",[191,32,32,192,193,32],"17873844","commenter\u002Fpositive\u002Fnone","hashbig",[195,32,32,192,196,32],"17873848","unit91",[198,32,32,192,199,32],"17873961","dylandavidson",[201,32,32,192,202,32],"17873970","priv7",[204,32,32,186,205,32],"17874725","mosselman",[207,32,32,186,183,32],"17873994",[209,32,32,192,210,32],"17874858","ObsoleteNerd",[212,32,32,192,213,32],"17877158","savimportweb",[215,32,32,192,216,32],"17877836","portroyal",[218,32,32,192,219,32],"17881662","blaines",[221,32,32,192,222,32],"17888970","Latherus",[224,32,32,192,225,32],"17874636","ghoshbishakh",[227,32,32,192,228,32],"17874692","cardimart",[230,32,32,186,231,32],"17874956","windlessstorm",[233,32,32,192,234,32],"17875027","lynxaegon",[236,32,32,192,237,32],"17875478","kenmendin",[239,32,32,192,240,32],"17875610","magicduck",[242,32,32,192,243,32],"17876439","irmis",[245,32,32,192,246,32],"17876486","fernandopj",[248,32,32,249,250,32],"17880099","other\u002Fneutral\u002Fnone","Jach",[252,32,32,192,253,32],"17873850","ronilan",[255,32,32,186,183,32],"17873995",[166,32,32,257,11,18],"maker\u002Fpositive\u002Fnone",[259,32,32,186,183,32],"17874019",[261,32,32,192,262,32],"17874641","brtknr",[264,32,16,265,266,32],"17875661","maker\u002Fneutral\u002Fnone","giancarlostoro",[268,32,43,257,269,32],"17878019","nkoren",[271,32,43,257,272,32],"17874755","navinsylvester",[274,32,32,192,275,32],"17874970","LifeQuestioner",[277,32,16,278,279,32],"17875083","maker\u002Fneutral\u002Fexecution","SmallDeadGuy",[281,32,16,282,283,32],"17876330","maker\u002Fneutral\u002Fdesign","DonHopkins",[285,32,32,286,287,32],"17878105","other\u002Fneutral\u002Fdesign","tokyodude",[289,32,32,286,279,32],"17883741",[291,32,32,186,183,32],"17878034",[293,32,16,265,294,32],"17875209","earthscienceman",[296,32,32,186,297,32],"17875739","jstimpfle",[299,32,32,249,300,32],"17876253","cs02rm0",[302,32,32,249,303,32],"17876488","dolessdrugs",[305,32,32,249,283,32],"17877279",[307,32,32,186,183,32],"17880695",[309,32,32,192,310,32],"17876037","kyberias",[68,18,43,257,69,32],[169,18,32,265,11,18],[314,18,32,186,315,32],"17872650","FactolSarin",[317,18,32,186,318,32],"17872795","dajohnson89",[320,18,32,249,321,32],"17872735","samstave",[323,18,32,324,325,32],"17872770","other\u002Fcritical\u002Fidea","elliotec",[327,18,32,249,328,32],"17872937","wolco",[330,18,32,331,332,32],"17873095","other\u002Fneutral\u002Fidea","_hardwaregeek",[334,18,32,249,321,32],"17873537",[336,18,32,249,337,32],"17873204","jakecopp",[339,18,32,249,340,32],"17873354","kazinator",[342,18,32,249,343,32],"17875839","TheGrumpyBrit",[345,18,32,249,346,32],"17873376","mistermann",[348,18,32,249,349,32],"17874189","comtn",[351,18,16,265,69,32],"17873275",[353,18,32,249,340,32],"17873341",[355,18,32,186,356,32],"17874684","jgtrosh",[358,18,32,186,359,32],"17879812","jwdunne",[361,18,32,186,362,32],"17873485","danellis",[364,18,43,257,365,32],"17875045","rothron",[367,18,18,368,369,32],"17873236","project\u002Fcritical\u002Fnone","flavio81",[371,18,32,186,372,32],"17873277","skeeterbug",[374,18,32,186,375,32],"17873775","not_kurt_godel",[377,18,32,186,378,32],"17874153","cztomsik",[380,18,32,186,381,32],"17874311","ascorbic",[383,18,32,186,384,32],"17874355","exDM69",[386,18,32,186,387,32],"17877214","kilon",[389,18,32,186,384,32],"17879062",[391,18,32,186,387,32],"17879742",[393,18,32,186,394,32],"17874734","gear54rus",[396,18,32,186,375,32],"17879795",[398,18,32,186,399,32],"17873316","Jgoure",[401,18,32,186,375,32],"17873741",[403,18,32,186,303,32],"17876529",[405,18,43,406,69,32],"17873349","project\u002Fpositive\u002Fexecution",[408,18,32,186,409,32],"17879649","cphoover",[411,18,32,186,412,32],"17873753","krapp",[414,18,32,186,415,32],"17891239","rymate1234",[153,38,43,417,154,32],"project\u002Fpositive\u002Fnone",[419,38,16,420,131,32],"17872146","project\u002Fneutral\u002Fnone",[422,38,32,249,423,32],"17873333","extremelearning",[425,16,16,265,426,32],"17871820","scottmf",[428,16,16,265,131,32],"17871889",[430,16,32,186,431,32],"17872104","throwaway2016a",[433,16,32,186,131,32],"17872280",[435,16,32,186,436,32],"17872536","rickycook",[438,16,32,186,439,32],"17871935","erikpukinskis",[441,16,32,186,442,32],"17871985","Varcht",[444,16,32,186,445,32],"17872012","ateesdalejr",[447,16,32,186,381,32],"17874333",[449,16,32,186,426,32],"17872247",[451,16,32,186,452,32],"17876368","coldtea",[454,16,43,257,455,32],"17871941","noobermin",[457,16,32,186,458,32],"17872194","sb8244",[460,16,32,186,461,32],"17872314","vram22",[463,16,32,186,464,32],"17872555","dnadler",[466,16,32,186,467,32],"17872624","pvorb",[469,16,32,186,461,32],"17877434",[471,16,32,186,472,32],"17874033","taneq",[474,16,32,186,303,32],"17876639",[476,44,43,257,477,32],"17872934","ninjakeyboard",[479,43,43,257,480,32],"17874763","deepaksurti",[482,37,32,249,483,32],"17873373","shamdasani",[485,37,18,486,487,32],"17873650","project\u002Fcritical\u002Fexecution","fireattack",[489,37,32,249,490,32],"17873725","zachlatta",[145,492,43,257,146,32],7,[172,492,32,265,11,18],[495,492,16,265,146,32],"17871641",[497,492,32,265,11,18],"17871991",[499,492,32,186,500,32],"17872347","diegoperini",[502,492,16,503,504,32],"17872808","project\u002Fneutral\u002Fidea","Obi_Juan_Kenobi",[506,492,32,249,283,32],"17877155",[508,492,16,265,283,32],"17877045",[510,492,43,257,511,32],"17871654","lwansbrough",[513,492,16,265,514,32],"17871655","hobs",[516,492,43,257,517,32],"17872002","richardlblair",[519,176,43,406,520,32],"17871494","tannerwj",[522,176,32,523,11,18],"17871680","maker\u002Fpositive\u002Fdocs",[525,33,32,249,526,32],"17871452","mockingbirdy",[528,529,43,257,530,32],"17871552",10,"52-6F-62",[532,529,32,249,533,32],"17871780","markatkinson",[535,529,32,249,461,32],"17872421",[537,529,32,249,538,32],"17873139","keithnz",[540,529,32,249,541,32],"17875654","lozzo",[114,543,16,544,115,32],11,"project\u002Fneutral\u002Fdocs",[546,543,16,544,131,32],"17872611",[548,543,18,549,340,32],"17873289","project\u002Fcritical\u002Fdocs",[551,543,32,552,553,32],"17873526","commenter\u002Fneutral\u002Fdocs","tchaffee",[555,543,32,552,556,32],"17874952","mergejoin",[558,543,32,552,559,32],"17876565","Humdeee",[72,561,43,257,73,32],12,[563,561,16,265,564,32],"17871651","corpMaverick",[566,561,32,186,73,32],"17872090",[568,561,43,257,569,32],"17871695","truncate",[571,561,16,265,572,32],"17871730","godelmachine",[574,561,16,265,73,32],"17872127",[576,561,43,257,572,32],"17872781",[578,561,32,249,579,32],"17874372","eitally",[581,561,32,192,572,32],"17879371",[583,561,32,249,250,32],"17880481",[585,561,32,249,572,32],"17881944",[587,561,32,249,250,32],"17882043",[589,561,32,192,572,32],"17882063",[591,561,32,249,592,32],"17871954","ed",[594,561,32,249,595,32],"17872825","odensc",[597,561,43,257,598,32],"17872879","toufka",[600,177,43,257,601,32],"17871775","deusofnull",[603,177,32,249,604,32],"17871819","jchw",[606,177,32,186,601,32],"17871892",[608,177,32,249,526,32],"17872000",[610,177,32,249,611,32],"17873366","earenndil",[103,613,18,614,104,32],14,"maker\u002Fcritical\u002Fnone",[616,613,18,614,617,32],"17876374","WilliamEdward",[619,613,32,186,303,32],"17876677",[621,613,32,249,622,32],"17880177","otakucode",[624,613,32,186,104,32],"17906858",[626,627,43,257,628,32],"17877007",15,"jpamata",[630,631,32,249,632,32],"17873450",16,"mayneack",[634,631,32,186,635,32],"17873515","drewmol",[637,631,32,249,638,32],"17873877","jedieaston",[640,631,32,249,472,32],"17874040",[642,631,32,249,622,32],"17880205",[87,644,43,257,88,32],17,[83,646,43,647,84,32],18,"project\u002Fpositive\u002Fidea",[649,646,32,249,650,32],"17871983","FPGAhacker",[652,646,32,249,154,32],"17872061",[654,646,32,249,84,32],"17872315",[656,657,43,417,658,32],"17874760",19,"g105b",[660,661,32,662,663,32],"17872858",20,"other\u002Fpositive\u002Fnone","forthispurpose",[665,661,32,249,666,32],"17873435","yeukhon",[668,669,32,249,670,32],"17871685",21,"jVinc",[672,669,32,249,673,32],"17871895","mtmail",[675,669,32,249,445,32],"17872073",[677,669,32,249,678,32],"17872165","aj7",[680,669,32,249,283,32],"17873436",[682,669,32,249,622,32],"17880305",[684,685,32,186,686,32],"17871595",22,"jrumbut",[688,685,32,186,689,32],"17871674","jagan120",[691,685,32,186,692,32],"17872470","jen729w",[694,685,32,249,692,32],"17872506",[696,685,32,249,303,32],"17876684",[698,685,32,186,699,32],"17871926","onion2k",[701,685,32,186,702,32],"17873213","rosege",[704,685,32,186,622,32],"17880236",[706,31,43,257,707,32],"17875856","calhoun137",[709,710,43,257,711,32],"17878138",24,"kritixilithos",[713,714,16,544,715,32],"17873061",25,"mandeepj",[717,714,32,718,11,18],"17873346","maker\u002Fneutral\u002Fdocs",[720,721,43,257,722,32],"17886228",26,"tinchox5",[118,724,18,486,119,32],27,[726,724,32,186,727,32],"17874015","telcy",[729,724,32,186,119,32],"17874034",[731,724,43,406,732,32],"17874172","derrikcurran",[734,724,32,186,727,32],"17878257",[160,736,43,417,161,32],28,[738,739,43,257,740,32],"17872832",29,"transitivebs",[742,743,16,503,744,32],"17877092",30,"brianzelip",[746,747,18,748,749,32],"17872294",31,"project\u002Fcritical\u002Fdesign","Aardwolf",[751,747,18,748,253,32],"17872321",[753,747,32,186,461,32],"17872381",[755,756,32,249,757,32],"17876346",32,"FuckOffNeemo",[759,760,43,257,761,32],"17879803",33,"swat535",[763,764,43,257,262,32],"17874580",34,[766,767,32,249,768,32],"17882241",35,"mbrodersen",[770,771,43,257,772,32],"17874567",36,"lucasverra",[774,775,43,257,776,32],"17876375",37,"thieving_magpie",[778,779,32,249,780,32],"17874284",38,"davekam",[782,783,43,257,784,32],"17883308",39,"neelkadia",[94,786,43,257,95,32],40,[788,789,43,257,790,32],"17872323",41,"CommanderData",[792,793,43,257,794,32],"17871530",42,"timmonsjg",[76,796,43,257,77,32],43,[798,799,43,257,800,32],"17872293",44,"slics",[802,803,43,257,804,32],"17872585",45,"rootw0rm",[137,806,16,807,138,32],46,"project\u002Fneutral\u002Fexecution",[809,810,43,257,811,32],"17875163",47,"stevefan1999",[813,814,43,257,815,32],"17872284",48,"fullofsid",[817,818,43,257,819,32],"17875973",49,"mcs_",[821,822,43,257,823,32],"17873805",50,"willbw",[825,826,43,257,827,32],"17871502",51,"iammer",[829,830,43,257,831,32],"17874269",52,"benvineyard",[833,834,43,257,831,32],"17874271",53,[836,837,43,257,838,32],"17874591",54,"jmkni",[840,841,43,257,842,32],"17875367",55,"slolean13",[844,30,43,257,845,32],"17871691","whitepoplar",[847,848,43,257,849,32],"17876928",57,"adultSwim",[851,852,43,257,853,32],"17875015",58,"mito88",[855,856,43,257,857,32],"17873011",59,"ultrasounder",[107,859,18,614,108,32],60,[861,859,32,186,862,32],"17874619","kristopolous",[864,859,32,186,819,32],"17876073",[866,859,32,186,622,32],"17880358",[868,869,32,249,870,32],"17871682",61,"saagarjha",[872,869,32,186,445,32],"17872093",[874,869,32,186,875,32],"17872408","EvangelicalPig",[877,869,32,186,878,32],"17873481","sleepychu",[880,881,16,882,883,32],"17872778",62,"maker\u002Fneutral\u002Fidea","pantheon",[885,881,32,186,886,32],"17873286","TaupeRanger",[888,881,32,186,883,32],"17873419",[890,881,32,891,381,32],"17874350","commenter\u002Fcritical\u002Fnone",[893,881,32,186,894,32],"17876064","rohanprabhu",[896,881,32,186,883,32],"17876728",[898,899,43,182,900,32],"17873311",63,"Froyoh",[130,902,16,278,131,32],64,[904,902,43,406,905,32],"17871700","dchest",[907,902,32,186,131,32],"17871742",[909,902,32,891,905,32],"17871757",[911,902,32,186,131,32],"17871845",[913,902,32,891,914,32],"17871699","aero142",[916,902,32,186,131,32],"17871755",[918,902,32,186,919,32],"17872034","bsg75",[921,902,32,192,455,32],"17871738",[923,902,32,186,131,32],"17871920",[925,902,16,278,926,32],"17871827","gtf21",[928,929,32,249,930,32],"17873696",65,"modzu",[932,929,32,249,303,32],"17876706",[],[935,940,945,950,954,959],{"id":936,"name":937,"points":938,"category":939},"17827797","Windows 95",213,"creative",{"id":941,"name":942,"points":943,"category":944},"17846491","How privacy-friendly is your site?",200,"security_privacy",{"id":946,"name":947,"points":948,"category":949},"17834274","JobEnabler",177,"productivity",{"id":951,"name":952,"points":953,"category":944},"17828293","BuzzFeed SSO",166,{"id":955,"name":956,"points":957,"category":958},"17845565","Ledger-analytics",102,"finance_crypto",{"id":960,"name":961,"points":962,"category":963},"17848846","Quetree",91,"web_saas",false,"v2",{"id":967,"name":5,"line":6,"ai":964,"cat":20,"year":13,"points":14,"comments":15,"rec":27,"s":968,"top":18,"kw":969,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":970,"url":9,"mix":971,"praise":64,"objection":100,"sub":21},17871313,0.59,[21,24,25,26],"5000535003005350535435043550045355550553",[30,31,32,33],1794036569083]