[{"data":1,"prerenderedAt":627},["ShallowReactive",2],{"project-35161916":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":26,"sentiment":27,"stance_mix":28,"scored_comments":32,"aspects":33,"strip":47,"post_text":50,"what":51,"said":85,"maker_in_thread":204,"shape":212,"grid":215,"attempts":588,"same_week":589,"maker_shows":42,"maker_hidden":619,"reader_version":620,"card":621},"35161916","whatdoesthiscodedo.com","AI explanations for other people’s code","title","Show HN: AI explanations for other people’s code","https:\u002F\u002Fwhatdoesthiscodedo.com\u002F","flurly",1678840431,2023,186,128,307,3109,10,"notable","ai","code explanation","web_app",[20,23,24,25],"chatgpt","code comprehension","explain code","mixed",-0.222,{"positive":29,"neutral":30,"mixed":17,"critical":31},15,18,36,79,{"performance":34,"idea":36,"pricing":39,"execution":41,"docs":43,"privacy":44,"design":46},{"positive":35,"critical":17},5,{"positive":37,"critical":38},1,7,{"positive":37,"critical":40},0,{"positive":42,"critical":29},6,{"positive":37,"critical":40},{"positive":40,"critical":45},4,{"positive":40,"critical":40},[37,40,40,37,37,37,37,37,48,45,40,48,45,48,49,37,40,48,48,49,37,35,48,35,45,35,49,37,37,37,49,37,48,48,49,37,48,48,37,48],3,2,null,{"problem":52,"audience":59,"pricing":63,"motivation":69,"time_to_build":50,"stack":73,"openness":82,"stage":83,"team_size":84},{"value":53,"source":54,"evidence":55},"Hard to quickly understand other people's code","maker",[56],{"id":57,"by":10,"text":58},"35161919","Hi HN, As a developer, I much prefer to write code than read other people’s code. But most projects I work on involve other developers so it’s hard to avoid. Often I find it…",{"value":60,"source":54,"evidence":61},"Developers reading coworkers' code, and non-professional developers copying code",[62],{"id":57,"by":10,"text":58},{"value":64,"source":54,"evidence":65},"Free, sponsored by maker's company Beam Analytics",[66],{"id":67,"by":10,"text":68},"35168405","Less than $2 for almost 10k users! https:\u002F\u002Ftwitter.com\u002FTheBuilderJR\u002Fstatus\u002F1635943930524217346 Right now it's \"sponsored\" by my main company https:\u002F\u002Fwww.beamanalytics.io\u002F In some…",{"value":70,"source":54,"evidence":71},"Reading other people's code is hard; the ChatGPT interface is clumsy for frequent use and sharing",[72],{"id":57,"by":10,"text":58},[74],{"value":75,"source":76,"evidence":77},"ChatGPT API","commenter",[78],{"id":79,"by":80,"text":81},"35163314","samspenc","This looks fantastic! I guess you're calling the recently announced ChatGPT APIs under the hood, just curious, how much is this costing you right now? Are you planning to leave…","unknown","launched","company",{"praise":86,"objections":113,"requests":163,"questions":181,"alternatives":196},[87,106],{"value":88,"source":76,"evidence":89},"Explanations are often accurate and impressive for common code",[90,94,98,102],{"id":91,"by":92,"text":93},"35162937","michaelteter","I'm surprised and impressed. Given this code, which is probably obvious to a human who knows the context, I did not expect a clear and accurate \"answer\" from this tool. ``` h1s =…",{"id":95,"by":96,"text":97},"35162925","julioc","I've tried it on a few of the wtfjs examples, and it explains the snippets surprisingly well, sometimes even better than the original explanations!…",{"id":99,"by":100,"text":101},"35163208","upon_drumhead","I'm surprised and impressed. I pasted in the BF hello world example code and it actually parsed it and wrote it out very clearly. https:\u002F\u002Fwhatdoesthiscodedo.com\u002Fg\u002Fb928d0f Well…",{"id":103,"by":104,"text":105},"35163110","ffhhj","Correctly identifies some 3D game code: ``` float x = Mathf.Cos(time * frequency) * amplitude; float y = Mathf.Sin(time * frequency * 2) * amplitude * 0.5f; float z =…",{"value":107,"source":76,"evidence":108},"Useful for catching bugs such as a memory leak",[109],{"id":110,"by":111,"text":112},"35163878","clevedotoner","Pleasantly surprised at it catching a memory leak: https:\u002F\u002Fwhatdoesthiscodedo.com\u002Fg\u002F28d19ac",[114,137,156],{"value":115,"source":76,"evidence":116},"Explanations are often wrong or miss logic, and break when function names change",[117,121,125,129,133],{"id":118,"by":119,"text":120},"35163723","alanhaha","Amazing toy! It shows a wonderful demo about how we can use GPT during coding. However, it also shows the limitation of a language mode: it doesn't really do logic thinking. Like…",{"id":122,"by":123,"text":124},"35163162","xmcqdpt2","This is neat! I like it. In classic chatgpt fashion you can easily trick it if your function name is wrong however. For example, https:\u002F\u002Fwhatdoesthiscodedo.com\u002Fg\u002Fab146f8…",{"id":126,"by":127,"text":128},"35163733","ar9av","I used it on a very simple ray triangle intersection function, which at first it did surprisingly well. But then I changed the name of the function to something completely…",{"id":130,"by":131,"text":132},"35164169","qiller","Impressive. Interesting how it gets some things so close, but pretty wrong ``` if (c.length === 8) { return new Color3( parseInt(c.substr(0, 2), 16) \u002F 255, parseInt(c.substr(2,…",{"id":134,"by":135,"text":136},"35165708","eithed","Breaking the model seems very easy - for ``` a = [1,2,3,True,'False',None] b = [2,3,4,5,!true] c = set(a) & set(b) ``` this is the explanation I was given: ``` The code defines…",{"value":138,"source":76,"evidence":139},"Pasting work code into a third-party site is a privacy risk",[140,144,148,152],{"id":141,"by":142,"text":143},"35162135","scastiel","It works pretty well! I would add a big red disclaimer such as: “be careful: putting here code source from your job is probably highly against the rules of your company, and you…",{"id":145,"by":146,"text":147},"35163517","matt3210","I’m not putting my code on that! I can’t imagine anyone being allowed to upload production code",{"id":149,"by":150,"text":151},"35163198","exodust","I like it. Bookmarked. Will use again for sure. As others have said, I was wondering what the privacy implications are, as I don't want to share what I paste there when it's code…",{"id":153,"by":154,"text":155},"35162906","rvz","With all the hype and euphoria over ChatGPT, all we get is a site which is asking you to paste in code you probably copied internally from work or StackOverflow to give an opaque…",{"value":157,"source":76,"evidence":158},"Learning tools like this bypass the struggle needed to learn",[159],{"id":160,"by":161,"text":162},"35164203","JTyQZSnP3cQGa8B","> As a developer, I much prefer to write code than read other people’s code Developers should review and learn from each others’ code, that’s how you progress. Even as a senior,…",[164,168,174],{"value":165,"source":76,"evidence":166},"Clarify privacy and data storage policy",[167],{"id":149,"by":150,"text":151},{"value":169,"source":54,"evidence":170},"Warn or detect sensitive data such as API keys",[171],{"id":172,"by":10,"text":173},"35162180","Thanks Sebastian! That's a good point. I've also thought about writing a classifier to detect sensitive information like API Keys or passwords. Let me see what I can add without…",{"value":175,"source":76,"evidence":176},"More concise explanations that name algorithms and point out errors",[177],{"id":178,"by":179,"text":180},"35165465","vintermann","This is a nice idea. I like it. It can certainly be confused by adversarial function and variable names or comments, but that is to be expected. I think maybe it's a bit verbose…",[182,186],{"value":183,"source":76,"evidence":184},"How much does it cost to run and will it stay free?",[185],{"id":79,"by":80,"text":81},{"value":187,"source":76,"evidence":188},"Does the site work in some browsers or with ad blockers?",[189,193],{"id":190,"by":191,"text":192},"35163426","zzo38computer","The web page is not working for me, but I figured out how to access it anyways. I put the code: ``` \u002FF ARGUMENTS 0 get (r) file def ARGUMENTS length 1 gt {F ARGUMENTS 1 get cvi…",{"id":194,"by":10,"text":195},"35163749","Interesting. I can’t reproduce. Is it consistent across browsers? Can you try turning off Adblock?",[197],{"value":198,"source":76,"evidence":199},"Asking ChatGPT directly with a prompt",[200],{"id":201,"by":202,"text":203},"35164716","rishabhjain1198","I think it should be general practice to include the prompts used for tools like this, so people can understand how they work and suggest improvements. The prompt used for this…",{"comments":205,"answered":49,"key":206},8,[207,210,211],{"id":208,"text":209},"35163460","Can you elaborate on what’s not working?",{"id":194,"text":195},{"id":172,"text":173},{"commenters":213,"max_depth":38,"maker_replies":205,"first_comment_mins":40,"lifespan_hours":214},95,75,[216,220,224,227,229,233,236,239,242,245,249,251,253,256,259,262,265,268,271,274,278,280,283,286,289,292,296,300,303,307,311,312,313,316,319,322,325,328,331,334,336,338,341,344,347,349,350,351,354,356,358,360,363,366,368,371,373,375,379,380,382,386,389,391,393,395,396,400,402,405,406,409,411,415,416,419,422,424,429,433,436,439,440,443,446,448,450,452,455,458,461,464,466,470,474,478,481,483,486,488,490,493,496,500,504,507,512,515,518,521,523,526,528,530,534,538,542,546,551,555,559,562,565,570,574,578,581,584],[217,40,37,218,219,40],"35164583","project\u002Fcritical\u002Fperformance","somenameforme",[221,40,40,222,223,40],"35164676","commenter\u002Fneutral\u002Fnone","Kiro",[225,40,40,222,226,40],"35164771","personjerry",[228,40,40,222,223,40],"35165294",[230,40,40,231,232,40],"35165549","other\u002Fneutral\u002Fnone","db48x",[234,40,40,222,235,40],"35165981","visarga",[237,40,40,222,238,40],"35183693","YeGoblynQueenne",[240,40,40,222,241,40],"35167597","meandmycode",[243,40,40,222,244,40],"35164775","Zondartul",[246,40,37,247,248,40],"35164919","project\u002Fcritical\u002Fidea","amoss",[250,40,40,222,223,40],"35165259",[252,40,40,222,248,40],"35165364",[254,40,37,218,255,40],"35165808","tirpen",[257,40,37,218,258,40],"35164727","xaphod",[260,40,37,218,261,40],"35164887","recuter",[263,40,40,231,264,40],"35165379","mrexroad",[266,40,40,231,267,40],"35167532","DaiPlusPlus",[269,40,40,231,270,40],"35195881","fourthark",[272,40,37,247,273,40],"35164894","SanderNL",[275,40,48,276,277,40],"35165648","project\u002Fneutral\u002Fpricing","onion2k",[279,40,37,247,241,40],"35167523",[281,40,37,247,282,40],"35168585","CamperBob2",[284,40,40,231,285,40],"35167987","LeanderK",[287,40,37,218,288,40],"35164951","spullara",[290,40,37,218,291,40],"35165127","akomtu",[293,40,48,294,295,40],"35165689","project\u002Fmixed\u002Fperformance","TacoSteemers",[297,40,48,298,299,40],"35165810","project\u002Fneutral\u002Fperformance","sharperguy",[301,40,40,222,302,40],"35168940","antondd",[304,40,48,305,306,40],"35166825","project\u002Fneutral\u002Fidea","epups",[308,40,35,309,310,40],"35167416","project\u002Fpositive\u002Fperformance","sebzim4500",[91,37,35,309,92,40],[160,49,37,247,161,40],[314,49,40,222,315,40],"35164346","siva7",[317,49,40,222,318,40],"35164401","throwaway675309",[320,49,40,231,321,40],"35164759","colmvp",[323,49,40,231,324,40],"35165329","justusw",[326,49,40,231,327,40],"35169856","logarhythmic",[329,48,48,294,330,40],"35166039","Yoric",[332,48,48,298,333,40],"35166538","reportgunner",[335,48,48,298,333,40],"35166548",[337,48,35,309,267,40],"35167685",[339,48,35,309,340,40],"35169974","agent281",[342,48,37,218,343,40],"35170706","ChatGTP",[345,48,40,231,346,40],"35166669","bsenftner",[348,48,40,231,330,40],"35166940",[118,45,48,294,119,40],[122,35,48,294,123,40],[352,42,37,247,353,40],"35163937","bmitc",[355,42,40,231,264,40],"35165550",[357,42,40,231,353,40],"35168922",[153,38,37,359,154,40],"project\u002Fcritical\u002Fexecution",[361,38,40,222,362,40],"35163134","6510",[364,38,40,222,365,40],"35163297","echelon",[367,38,40,231,318,40],"35164431",[369,38,40,231,370,40],"35165100","corobo",[372,38,40,231,154,40],"35165258",[201,205,48,374,202,40],"project\u002Fneutral\u002Fdocs",[376,377,48,294,378,40],"35166001",9,"eqvinox",[110,17,35,309,111,40],[130,381,37,218,131,40],11,[383,384,48,305,385,40],"35165077",12,"akhosravian",[387,384,48,305,388,40],"35168037","AnIdiotOnTheNet",[190,390,37,359,191,40],13,[208,390,40,392,10,37],"maker\u002Fneutral\u002Fnone",[394,390,37,359,191,40],"35163502",[194,390,40,392,10,37],[397,398,37,359,399,40],"35165096",14,"nitwit005",[95,29,35,401,96,40],"project\u002Fpositive\u002Fexecution",[141,403,48,404,142,40],16,"project\u002Fmixed\u002Fprivacy",[172,403,40,392,10,37],[407,403,37,408,142,40],"35162622","project\u002Fcritical\u002Fprivacy",[410,403,40,392,10,37],"35162636",[412,413,35,401,414,40],"35163756",17,"koeng",[103,30,35,401,104,40],[417,30,40,222,418,40],"35164970","taneq",[420,30,40,222,421,40],"35165625","Vespasian",[423,30,40,231,418,40],"35166769",[425,426,48,427,428,40],"35162934",19,"project\u002Fmixed\u002Fexecution","username223",[430,431,35,401,432,40],"35163051",20,"msla",[434,431,48,435,432,40],"35163089","project\u002Fneutral\u002Fexecution",[79,437,48,438,80,40],21,"maker\u002Fneutral\u002Fpricing",[67,437,40,438,10,37],[441,437,35,442,80,40],"35205652","project\u002Fpositive\u002Fpricing",[178,444,48,445,179,40],22,"project\u002Fmixed\u002Fdesign",[149,447,48,404,150,40],23,[449,447,37,408,146,40],"35163543",[451,447,40,231,150,40],"35163666",[453,447,37,408,454,40],"35165075","eCa",[456,447,40,457,150,40],"35177266","commenter\u002Fneutral\u002Fprivacy",[459,460,40,218,10,37],"35162737",24,[462,460,40,231,463,40],"35165012","amelius",[134,465,37,359,135,40],25,[467,468,37,359,469,40],"35165305",26,"chris_overseas",[471,472,37,247,473,40],"35194823",27,"gloosx",[475,476,37,359,477,40],"35166127",28,"supermatt",[479,476,48,435,480,40],"35168447","LorenDB",[99,482,35,401,100,40],29,[484,482,37,359,485,40],"35163436","athorax",[126,487,37,359,127,40],30,[145,489,37,408,146,40],31,[491,489,40,231,492,40],"35163593","ljouhet",[494,489,48,495,191,40],"35163662","project\u002Fneutral\u002Fprivacy",[497,498,37,359,499,40],"35170261",32,"el84",[501,502,35,401,503,40],"35164119",33,"dmitshur",[505,506,40,231,463,40],"35165243",34,[508,509,35,510,511,40],"35165881",35,"project\u002Fpositive\u002Fdocs","brontosaurusrex",[513,31,37,218,514,40],"35162733","juliansimioni",[516,31,40,517,10,37],"35162771","maker\u002Fneutral\u002Fperformance",[519,31,48,435,520,40],"35163355","jurimasa",[522,31,37,359,261,40],"35163788",[524,31,48,435,525,40],"35164407","voxelghost",[527,31,40,222,261,40],"35164489",[529,31,37,359,191,40],"35164096",[531,532,48,305,533,40],"35167261",37,"powerapple",[535,536,37,359,537,40],"35165451",38,"charcircuit",[539,540,37,359,541,40],"35191063",39,"noisediver",[543,544,48,305,545,40],"35166909",40,"s-xyz",[547,548,35,549,550,40],"35165073",41,"project\u002Fpositive\u002Fidea","cocodill",[552,553,40,231,554,40],"35189955",42,"johnrushx",[556,557,40,231,558,40],"35163523",43,"GenerocUsername",[560,561,48,435,463,40],"35165024",44,[563,561,40,231,564,40],"35165737","mad0",[566,567,48,568,569,40],"35170003",45,"project\u002Fneutral\u002Fdesign","justaj",[571,572,37,218,573,40],"35165583",46,"DeathArrow",[575,576,48,427,577,40],"35165405",47,"ronnykylin",[579,580,37,359,232,40],"35163107",48,[57,582,40,583,10,37],49,"maker\u002Fneutral\u002Fidea",[585,582,35,586,587,40],"35162126","maker\u002Fpositive\u002Fnone","lemoneyeo",[],[590,595,600,604,609,614],{"id":591,"name":592,"points":593,"category":594},"35150345","Modern Font Stacks",335,"dev_tools",{"id":596,"name":597,"points":598,"category":599},"35090054","lunar-lander-autopilot",277,"games",{"id":601,"name":602,"points":603,"category":594},"35084108","APIRank.dev",176,{"id":605,"name":606,"points":607,"category":608},"35166874","MCIWB",171,"languages",{"id":610,"name":611,"points":612,"category":613},"35143052","Counter",169,"data",{"id":615,"name":616,"points":617,"category":618},"35119681","Terminal Based Wikipedia",165,"productivity",false,"v2",{"id":622,"name":5,"line":6,"ai":619,"cat":19,"year":12,"points":13,"comments":14,"rec":26,"s":623,"top":17,"kw":624,"maker":10,"domain":5,"tier":18,"attempts":40,"strip":625,"url":9,"mix":626,"praise":88,"objection":115,"sub":20},35161916,-0.22,[20,23,24,25],"1001111134034321033215354521112133213313",[29,30,17,31],1794036632612]