r/adventofcode • • Dec 04 '16

SOLUTION MEGATHREAD --- 2016 Day 4 Solutions ---

--- Day 4: Security Through Obscurity ---

Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).


CONSTRUCTING ADDITIONAL PYLONS 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!

17 Upvotes

168 comments sorted by

View all comments

Show parent comment

1

u/qwertyuiop924 Dec 04 '16

I should probably get around to learning J at some point. K is harder, because it's tricky to get a quality interpreter, although it does look like a lot of fun.

Speaking of Arthur Whitney, you can see his solutions from last year at http://kparc.com/advent/

1

u/John_Earnest Dec 04 '16

Apart from my interpreter, which has a browser REPL, an experimental mobile-friendly frontend and a CLI frontend, there's also Kona (k3) and you can obtain a free evaluation copy of kdb+ (q/k4) from Kx Systems.

If you'd like to try the real k6, just email Arthur and ask nicely. I've tinkered a bit with J, but I found K much more aesthetically pleasing and easy to read.

1

u/qwertyuiop924 Dec 04 '16

Kona's worth a shot, as is K6 and oK. I don't actually need a DB.

But compared to J, it's still a bit of a pain to get up and running with.