TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Advent of Code 2020

306 pointsby galaktorover 4 years ago

16 comments

xyzzy_plughover 4 years ago
I&#x27;ve always found AoC to be added stress during a time of the year I&#x27;m not really running a stress-deficit. I find the competitive aspect a pretty big turn off. I usually get a few puzzles in and then burn out, because I can&#x27;t keep up with the people who do it every day (I don&#x27;t even use my computer every day).<p>I wish the scoring didn&#x27;t prioritize timeliness. This is really the sort of thing I&#x27;d enjoy cranking out on a plane ride, not every day.
评论 #25250361 未加载
评论 #25249730 未加载
评论 #25250526 未加载
评论 #25249911 未加载
评论 #25249243 未加载
评论 #25249417 未加载
评论 #25252675 未加载
评论 #25249846 未加载
评论 #25249919 未加载
评论 #25274212 未加载
评论 #25250373 未加载
评论 #25250235 未加载
评论 #25274440 未加载
评论 #25252904 未加载
评论 #25301401 未加载
评论 #25252449 未加载
评论 #25251910 未加载
评论 #25251268 未加载
评论 #25249803 未加载
评论 #25249921 未加载
评论 #25249380 未加载
Mister_Snugglesover 4 years ago
I look forward to Advent of Code every year.<p>So far, I&#x27;ve used it as a way to learn new languages - I&#x27;ve done it in D, C#, Swift so far. I don&#x27;t bother with the competition aspect, but I do have a few people that I bounce solutions off of.<p>This year I&#x27;m taking a different approach though, I&#x27;m going to use it to re-learn an old language - UniVerse[0] Basic[1]. In my first IT job, I supported an in-house system that ran on UniVerse. I then moved on to working with a commercial system built on UniData[2] (a close cousin to UniVerse). These products mainly exist to allow Pick-style MultiValue applications to run on modern systems. They are closed-source commercial products, but there is a limited-use personal edition available.<p>One nice thing about these is that they don&#x27;t just emulate a Pick environment, they also give it features that Pick systems never had. For example, UniVerse Basic is capable of making HTTP&#x2F;HTTPS requests, parsing XML and JSON, and at some point UniVerse Basic even gained the ability to interact with Python objects. One of the first things I built in preparation for this was a subroutine to retrieve the input data, downloading it and caching it if required.<p>It&#x27;s been about 10 years since I&#x27;ve worked with this technology, so I&#x27;m really looking forward to re-learning it.<p>[0] <a href="https:&#x2F;&#x2F;www.rocketsoftware.com&#x2F;products&#x2F;rocket-universe-0&#x2F;rocket-universe" rel="nofollow">https:&#x2F;&#x2F;www.rocketsoftware.com&#x2F;products&#x2F;rocket-universe-0&#x2F;ro...</a><p>[1] <a href="https:&#x2F;&#x2F;docs.rocketsoftware.com&#x2F;nxt&#x2F;gateway.dll&#x2F;RKBnew20&#x2F;universe&#x2F;v12.1.1&#x2F;universe_basic_user_guide_v1211.pdf" rel="nofollow">https:&#x2F;&#x2F;docs.rocketsoftware.com&#x2F;nxt&#x2F;gateway.dll&#x2F;RKBnew20&#x2F;uni...</a><p>[2] <a href="https:&#x2F;&#x2F;www.rocketsoftware.com&#x2F;products&#x2F;rocket-unidata-0&#x2F;rocket-unidata" rel="nofollow">https:&#x2F;&#x2F;www.rocketsoftware.com&#x2F;products&#x2F;rocket-unidata-0&#x2F;roc...</a>
评论 #25254033 未加载
mkeeterover 4 years ago
Advent of Code is a huge amount of fun!<p>One of my favorite problems from last year involved programming a robot to traverse an obstacle course (<a href="https:&#x2F;&#x2F;adventofcode.com&#x2F;2019&#x2F;day&#x2F;21" rel="nofollow">https:&#x2F;&#x2F;adventofcode.com&#x2F;2019&#x2F;day&#x2F;21</a>).<p>Interestingly, the space of potential programs was small enough (105 bits) that you could smash an SMT solver into it and <i>solve</i> for a correct, minimal program, given the shape of your obstacle course: <a href="https:&#x2F;&#x2F;www.mattkeeter.com&#x2F;projects&#x2F;synthesis&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.mattkeeter.com&#x2F;projects&#x2F;synthesis&#x2F;</a>
Gehinnnover 4 years ago
I&#x27;m curious if my debug visualizer extension for VS Code could be helpful for solving this kind of puzzles (<a href="https:&#x2F;&#x2F;github.com&#x2F;hediet&#x2F;vscode-debug-visualizer&#x2F;blob&#x2F;master&#x2F;extension&#x2F;README.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;hediet&#x2F;vscode-debug-visualizer&#x2F;blob&#x2F;maste...</a>). Might be one of the few use cases where it can really shine.
评论 #25252219 未加载
tasubotadasover 4 years ago
AoC is great.<p>But I also think that it&#x27;s a missed opportunity to measure productivity and runtime performance of programming languages.<p>In &quot;Benchmarks Game&quot; you get extremely optimized programs which is not usually achievable by an average developer. On AoC you would get a wide distribution of submissions and you could get the right estimate of how performant are the programs submitted by PHP, Python, or Rust developers.<p>I guess we wouldn&#x27;t get to see people abusing mpz_add on Python or PHP that often.
评论 #25279250 未加载
orestisover 4 years ago
This is a great opportunity to use new languages and get a feel of how communities take on newcomers! I tried Clojure a few years back and I got a warm welcome, so I&#x27;d like to extend an invitation to anyone considering using Clojure for this year&#x27;s puzzles, head over to the Clojurians Slack and the #adventofcode channel and hang out. There&#x27;s no competitiveness and people just like to compare notes and discuss approaches. A lot of Europe representation too!
weavieover 4 years ago
I&#x27;ve always struggled with AoC in the past due to work and family commitments, but this year is different. I now have a work from home, flexitime job and thus so much more time to devote to it. Hope to make it beyond day 2 at least!
forrestthewoodsover 4 years ago
I love Advent of Code. I usually finish mid-January due to holiday travel. A++++ can’t wait to start.
st1x7over 4 years ago
Anyone else planning on rotating languages? I think that using a different language every day is too much of a stretch for me, but I plan to switch between C++, Rust and Julia.
评论 #25252451 未加载
评论 #25275540 未加载
Barrin92over 4 years ago
that damn intcode computer from last year is still giving me PTSD. Had a bug in it that somehow didn&#x27;t show up in the first three challenges, took me forever to find.
评论 #25252459 未加载
david2ndaccountover 4 years ago
AoC is a lot of fun and is a great way to scratch that puzzle itch.
BooneJSover 4 years ago
Looking forward to learning Rust this year!
kris-sover 4 years ago
Data for past completion rates is available. I wonder how that affects puzzle difficulty tuning.<p><a href="https:&#x2F;&#x2F;adventofcode.com&#x2F;2019&#x2F;stats" rel="nofollow">https:&#x2F;&#x2F;adventofcode.com&#x2F;2019&#x2F;stats</a>
评论 #25249470 未加载
sathish316over 4 years ago
Is Advent of code used mainly for learning new languages? I find it very different from Topcoder style questions. I tried 3 puzzles and part1 and part2 in each question makes this a good test of how to design code in order to make it extensible for future changes. Can someone who has done Advent of code in the past confirm if learning new languages and making your code extensible are the primary objective of AoC questions?
_v7guover 4 years ago
Very nice. I like to try doing these in a different language each year. Last year went very well with F#, let&#x27;s see how this year goes with Haskell.
a_imhoover 4 years ago
Why Advent of Code, how is it different to the million other coding challenges online? I never participated, only looked at some of the puzzles.
评论 #25251381 未加载
评论 #25252382 未加载
评论 #25251835 未加载
评论 #25262581 未加载
评论 #25253782 未加载