[{"data":1,"prerenderedAt":211},["ShallowReactive",2],{"project-14352386":3},{"id":4,"name":5,"line":5,"line_source":6,"title":7,"url":8,"domain":9,"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":34,"aspects":35,"strip":41,"post_text":42,"what":43,"said":63,"maker_in_thread":131,"shape":137,"grid":141,"attempts":175,"same_week":176,"maker_shows":34,"maker_hidden":204,"reader_version":205,"card":206},"14352386","Genetic Hello World","title","Show HN: Genetic Hello World","https:\u002F\u002Fgithub.com\u002Fsacert\u002FGenetic-Hello-World","github.com","sacert",1494962041,2017,76,16,581,2242,26,"notable","learning_science","genetic algorithm demo","other",[23,24,25,26],"genetic algorithm","evolutionary algorithm","hello world","optimization","mixed",0.25,{"positive":30,"neutral":31,"mixed":32,"critical":33},5,3,0,2,10,{"idea":36,"docs":38,"execution":40},{"positive":37,"critical":32},4,{"positive":32,"critical":39},1,{"positive":39,"critical":39},[30,32,32,32,31,31,30,39,32,31,32,32,30,39,30,30],null,{"problem":44,"audience":42,"pricing":42,"motivation":55,"time_to_build":42,"stack":60,"openness":61,"stage":62,"team_size":62},{"value":45,"source":46,"evidence":47},"Demonstrates how a genetic algorithm evolves a target string","inferred",[48,51],{"id":49,"by":10,"text":50},"14353899","Very true - I had some time at work and remembered how big genetic algorithms were a couple years ago so I decided to get my feet wet in the subject.",{"id":52,"by":53,"text":54},"14358735","greenpizza13","This is a really fun demonstration.",{"value":56,"source":57,"evidence":58},"Getting feet wet with genetic algorithms after seeing them used in big projects","maker",[59],{"id":49,"by":10,"text":50},[],"open_source","unknown",{"praise":64,"objections":81,"requests":100,"questions":108,"alternatives":116},[65,74],{"value":66,"source":67,"evidence":68},"Simple, clear and easy to follow demonstration","commenter",[69,73],{"id":70,"by":71,"text":72},"14370662","sjmulder","Thanks for sharing. Concise and easy to follow. I ported it to C to try it out for myself. Turning off console output makes it finish almost instantly!",{"id":52,"by":53,"text":54},{"value":75,"source":67,"evidence":76},"Genetic algorithms are an elegant optimization heuristic",[77],{"id":78,"by":79,"text":80},"14353710","hcarvalhoalves","Up-voting because even though genetic algorithms seem inefficient compared to back-propagation with gradient descent, it still is an elegant optimization heuristic for many…",[82,93],{"value":83,"source":67,"evidence":84},"README wrongly conflates genetic algorithms with genetic programming",[85,89],{"id":86,"by":87,"text":88},"14357504","TeMPOraL","Cool! A minor nitpick about the README - genetic algorithm is not the same thing as genetic programming. The former is what you're doing here, the latter refers to building a…",{"id":90,"by":91,"text":92},"14357688","eternalban","It is not a minor nit & good to point out.",{"value":94,"source":67,"evidence":95},"README could better explain the concept quickly",[96],{"id":97,"by":98,"text":99},"14356611","david90","I find it interesting - but it would be nice if there is a better README for visitor to grab the concept quick.",[101],{"value":102,"source":67,"evidence":103},"Try Levenshtein distance as fitness metric",[104],{"id":105,"by":106,"text":107},"14357418","vanderZwan","I wonder how using Levenshtein distance as a fitness metric would affect the speed of progress: https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FLevenshtein_distance OP, if you want to experiment,…",[109],{"value":110,"source":67,"evidence":111},"Why lower-cost solutions rank above closer ones in the output",[112],{"id":113,"by":114,"text":115},"14354547","natosaichek","The cost function just looks like difference squared, but I'm not sure how that yields results like this: ``` Hglmo,\u001fwosmd! (8) Gflln* wosle! (9) Hello, wosld! (9999) Hello,…",[117,124],{"value":118,"source":67,"evidence":119},"Explore Genetic Algorithm tool by nk1tz",[120],{"id":121,"by":122,"text":123},"14357445","nk1tz","I've long been a fan of the GA optimization technique. I created this little tool to explore the genetic algorithm. You can tweak parameters on the fly and watch the effect it…",{"value":125,"source":67,"evidence":126},"Methinks it is like an incestuous weasel (Levenshtein example)",[127],{"id":128,"by":129,"text":130},"14358013","TomNomNom","I used Levenshtein distance for a similar thing some years ago: https:\u002F\u002Ftomnomnom.com\u002Fposts\u002Fmethinks-it-is-like-an-incestuous-weasel It worked very well!",{"comments":33,"answered":39,"key":132},[133,134],{"id":49,"text":50},{"id":135,"text":136},"14354830","Oh, I was splitting the two of the top genes within the pool and giving each other half of their respective genes and inserting it at the bottom which is why the ones that look…",{"commenters":138,"max_depth":37,"maker_replies":33,"first_comment_mins":139,"lifespan_hours":140},13,167,49,[142,144,146,149,153,155,156,157,159,161,162,163,165,168,170,173],[78,32,30,143,79,32],"project\u002Fpositive\u002Fidea",[49,32,32,145,10,39],"maker\u002Fneutral\u002Fnone",[147,32,32,148,79,32],"14353956","other\u002Fneutral\u002Fnone",[150,32,32,151,152,32],"14354808","other\u002Fneutral\u002Fdocs","xoroshiro",[86,39,31,154,87,32],"project\u002Fneutral\u002Fdocs",[90,39,31,154,91,32],[121,33,30,143,122,32],[113,31,39,158,114,32],"project\u002Fcritical\u002Fexecution",[135,31,32,160,10,39],"project\u002Fneutral\u002Fexecution",[105,31,31,160,106,32],[128,31,32,148,129,32],[164,31,32,148,106,32],"14358619",[166,37,30,143,167,32],"14357473","gvx",[97,30,39,169,98,32],"project\u002Fcritical\u002Fdocs",[70,171,30,172,71,32],6,"project\u002Fpositive\u002Fexecution",[52,174,30,143,53,32],7,[],[177,182,187,192,197,200],{"id":178,"name":179,"points":180,"category":181},"14343967","FSQL",341,"dev_tools",{"id":183,"name":184,"points":185,"category":186},"14332479","Howmanypeoplearearound",199,"security_privacy",{"id":188,"name":189,"points":190,"category":191},"14314875","SQueaLy",163,"data",{"id":193,"name":194,"points":195,"category":196},"14338708","Nginx Sysguard",161,"infrastructure",{"id":198,"name":199,"points":195,"category":181},"14360921","3DC.io",{"id":201,"name":202,"points":203,"category":19},"14330635","Gitorials",147,false,"v2",{"id":207,"name":5,"line":5,"ai":204,"cat":19,"year":12,"points":13,"comments":14,"rec":27,"s":28,"top":17,"kw":208,"maker":10,"domain":9,"tier":18,"attempts":32,"strip":209,"url":8,"mix":210,"praise":66,"objection":83,"sub":20},14352386,[23,24,25,26],"5000335103005155",[30,31,32,33],1794036555358]