<!--DEBUG:--><!--DEBUG:dc3-united-states-software-in-english-pdf-2--><!--DEBUG:--><!--DEBUG:dc3-united-states-software-in-english-pdf-2--><!--DEBUG-spv-->{"id":2046651,"date":"2021-12-01T11:15:00","date_gmt":"2021-12-01T09:15:00","guid":{"rendered":"http:\/\/nhub.news\/?p=2046651"},"modified":"2021-12-01T12:03:10","modified_gmt":"2021-12-01T10:03:10","slug":"have-a-crack-at-this-daily-coding-puzzle-through-december","status":"publish","type":"post","link":"http:\/\/nhub.news\/fr\/2021\/12\/have-a-crack-at-this-daily-coding-puzzle-through-december\/","title":{"rendered":"Have a crack at this daily coding puzzle through December"},"content":{"rendered":"<p style=\"text-align: justify;\"><b>2021 Advent of Code prepares for launch<\/b><br \/>\nIt&rsquo;s that time of year again, when all good little developers count down to the festive season with the Advent of Code. It&rsquo;s a gloriously simple concept. Much like the Advent Calendar, each day in December, up to and including the 25th, contains a treat. However, rather than pictures or vaguely stale chocolates, each Advent of Code day presents a coding challenge that needs solving. Although the creator insists that a background in computer science is not a requirement, problem-solving skills certainly are, as is some experience in a programming language (although a specific language is not required). \u00ab\u00a0Every problem has a solution,\u00a0\u00bb explained creator Eric Wastl, \u00ab\u00a0that completes in at most 15 seconds on 10-year-old hardware.\u00a0\u00bb Except installing Windows 11. Good luck trying to do that on 10-year-old hardware. The Advent of Code has been running since 2015, with participants attempting to gather stars, of which two are made available per day. Complete the first puzzle to unlock the second one (and the second star). Fifty are on offer during December. Each puzzle (usually themed) takes the form of some written text explaining a problem. Without wishing to spoil things, this hack&rsquo;s approach is usually to try to break the problem down into more manageable elements if the solution is not immediately evident. It&rsquo;s a lot of fun, although we draw the line at trying the Christmas Day puzzle. There are mince pies to be eaten. Posting on Reddit, the Advent of Code&rsquo;s creator explained that \u00ab\u00a0making puzzles is hard\u00a0\u00bb and the work of beta testers was useful in scoring the difficulty of a given puzzle. However, that score is not entirely reliable. \u00ab\u00a0Even things like average leaderboard times aren&rsquo;t a good measure,\u00a0\u00bb he said. \u00ab\u00a0That just tells you how long the fastest super-competitive people took (and thus suffers very severely from survivorship bias).\u00a0\u00bb Still, as a rule of thumb the difficulty ramps up over time, although plenty of tips can be found within the Advent of Code community. This year, our language of choice will be Rust. However, that selection will be augmented by another calendar that promises a different beer for every day. How that will affect this writer&rsquo;s puzzle-solving abilities will be all too obvious by his absence from the leaderboards. \u00ae<\/p>\n<script>jQuery(function(){jQuery(\".vc_icon_element-icon\").css(\"top\", \"0px\");});<\/script><script>jQuery(function(){jQuery(\"#td_post_ranks\").css(\"height\", \"10px\");});<\/script><script>jQuery(function(){jQuery(\".td-post-content\").find(\"p\").find(\"img\").hide();});<\/script>","protected":false},"excerpt":{"rendered":"<p>2021 Advent of Code prepares for launch It&rsquo;s that time of year again, when all good little developers count down to the festive season with the Advent of Code. It&rsquo;s a gloriously simple concept. Much like the Advent Calendar, each day in December, up to and including the 25th, contains a treat. However, rather than [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2046650,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[93],"tags":[],"_links":{"self":[{"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/posts\/2046651"}],"collection":[{"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/comments?post=2046651"}],"version-history":[{"count":1,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/posts\/2046651\/revisions"}],"predecessor-version":[{"id":2046652,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/posts\/2046651\/revisions\/2046652"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/media\/2046650"}],"wp:attachment":[{"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/media?parent=2046651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/categories?post=2046651"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nhub.news\/fr\/wp-json\/wp\/v2\/tags?post=2046651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}