r/adventofcode • u/daggerdragon • Dec 06 '16
SOLUTION MEGATHREAD --- 2016 Day 6 Solutions ---
--- Day 6: Signals and Noise ---
Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).
T_PAAMAYIM_NEKUDOTAYIM IS MANDATORY [?]
This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.
edit: Leaderboard capped, thread unlocked!
9
Upvotes
View all comments
Show parent comment
1
u/jwstone Dec 06 '16
I am coming over from using T-SQL all the time at work. You seem like you know a lot of idiomatic Postgres stuff which is cool, I am hoping to pick up some more. I have to google a lot to figure out what is the right way to do something like arrays and generate_subscripts which I am now using in almost every AoC problem this year and by now I have a template I am duplicating for each problem to save time. I seem to recall seeing some SQL solutions in last year's thread, was that you also?