{"id":334163,"date":"2017-02-24T01:02:27","date_gmt":"2017-02-23T17:02:27","guid":{"rendered":"http:\/\/techcrunch.com\/?p=1456282"},"modified":"2017-02-24T01:02:27","modified_gmt":"2017-02-23T17:02:27","slug":"deepcoder-builds-programs-using-code-it-finds-lying-around","status":"publish","type":"post","link":"https:\/\/people.utm.my\/asmawisham\/deepcoder-builds-programs-using-code-it-finds-lying-around\/","title":{"rendered":"DeepCoder builds programs using code it finds lying around"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/markus-spiske-207946.jpg?w=738\" class=\"\"\/><\/p>\n<p>Like all great programmers I get most of my code from StackOverflow questions. Can\u2019t figure out how to add authentication to Flask? <a target=\"_blank\" href=\"http:\/\/stackoverflow.com\/questions\/6972999\/flask-user-authentication\">Easy<\/a>. Want to shut down sendmail? <a target=\"_blank\" href=\"http:\/\/stackoverflow.com\/questions\/10359437\/sendmail-how-to-configure-sendmail-on-ubuntu\">Boom<\/a>. Now, thanks to all the code on the Internet, a robot can be as smart as a $180,000 coder.<\/p>\n<p>The system, called <a target=\"_blank\" href=\"https:\/\/openreview.net\/pdf?id=ByldLrqlx\">DeepCoder<\/a>, basically searches a corpus of code to build a project that works to spec. It\u2019s been used to complete programming competitions and could be pointed at a larger set of data to build more complex products.<\/p>\n<p>From the paper:<\/p>\n<p>\ufffcBuilding an IPS system requires solving two problems. First, the search problem: to find consistent programs we need to search over a suitable set of possible programs. We need to define the set (i.e., the program space) and search procedure. Second, the ranking problem: if there are multiple programs consistent with the input-output examples, which one do we return? Both of these problems are dependent on the specifics of the problem formulation. Thus, the first important decision in formulating an approach to program synthesis is the choice of a Domain Specific Language.<\/p>\n<p>The system gets smarter as it keeps practicing, figuring out which snippets of code work best together and when to use a certain snippet in place of another. Because it \u201clearns\u201d the system can get faster and faster as it builds more programs.<\/p>\n<p>Matej Balog at the University of Cambridge and Alexander L. Gaunt, Marc Brockschmidt, Sebastian Nowozin, Daniel Tarlow at Microsoft Research built the product and co-authored a paper on its use. Programmers note that <a target=\"_blank\" href=\"https:\/\/www.newscientist.com\/article\/mg23331144-500-ai-learns-to-write-its-own-code-by-stealing-from-other-programs\/\">a system like this can\u2019t build larger projects out of small snippets of code<\/a> which, to be fair, sounds like whistling past the graveyard.<\/p>\n<p>Given that this is how many programmers work \u2013 cutting up code and repurposing it \u2013 this seems like an excellent use for deep learning systems. I can imagine this being a great solution for simple CRUD apps \u2013 the basic tools needed to update and add records to a database. In fact, it could mean the end of the entry level programmer job all together. I, for one, welcome our job-killing AI-powered robot overlords.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" width=\"680\" height=\"453\" src=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/markus-spiske-207946.jpg?w=680\" class=\"attachment-large size-large wp-post-image\" alt=\"markus-spiske-207946\" srcset=\"https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/markus-spiske-207946.jpg?w=680 680w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/markus-spiske-207946.jpg?w=1360 1360w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/markus-spiske-207946.jpg?w=150 150w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/markus-spiske-207946.jpg?w=300 300w, https:\/\/tctechcrunch2011.files.wordpress.com\/2017\/02\/markus-spiske-207946.jpg?w=768 768w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/>&nbsp;Like all great programmers I get most of my code from StackOverflow questions. Can&#8217;t figure out how to add authentication to Flask? Easy. Want to shut down sendmail? Boom. Now, thanks to all the code on the Internet, a robot can be as smart as a $180,000 coder. The system, called DeepCoder, basically searches a corpus of code to build a project that works to spec. It&#8217;s been used&hellip; <a href=\"https:\/\/techcrunch.com\/2017\/02\/23\/deepcoder-builds-programs-using-code-it-finds-lying-around\/?ncid=rss\">Read More<\/a><\/p>\n<div class=\"feedflare\">\n<a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=fjT2v0V9pII:6gPVRmtEPec:2mJPEYqXBVI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=2mJPEYqXBVI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=fjT2v0V9pII:6gPVRmtEPec:7Q72WNTAKBA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=7Q72WNTAKBA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=fjT2v0V9pII:6gPVRmtEPec:yIl2AUoC8zA\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=yIl2AUoC8zA\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=fjT2v0V9pII:6gPVRmtEPec:-BTjWOF_DHI\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=fjT2v0V9pII:6gPVRmtEPec:-BTjWOF_DHI\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=fjT2v0V9pII:6gPVRmtEPec:D7DqB2pKExk\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?i=fjT2v0V9pII:6gPVRmtEPec:D7DqB2pKExk\" border=\"0\"><\/img><\/a> <a href=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?a=fjT2v0V9pII:6gPVRmtEPec:qj6IDK7rITs\"><img decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~ff\/Techcrunch?d=qj6IDK7rITs\" border=\"0\"><\/img><\/a>\n<\/div>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/feeds.feedburner.com\/~r\/Techcrunch\/~4\/fjT2v0V9pII\" height=\"1\" width=\"1\" alt=\"\"\/> <\/p>\n","protected":false},"author":5817,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[25],"tags":[59,66,26],"class_list":["post-334163","post","type-post","status-publish","format-standard","hentry","category-technology","tag-media","tag-techcrunch","tag-technology"],"_links":{"self":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/334163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/users\/5817"}],"replies":[{"embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/comments?post=334163"}],"version-history":[{"count":0,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/posts\/334163\/revisions"}],"wp:attachment":[{"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/media?parent=334163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/categories?post=334163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/people.utm.my\/asmawisham\/wp-json\/wp\/v2\/tags?post=334163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}