|
This Day 4 challenge, I have the feeling that I should have done it by actually knowing how MD5 works (very well) and then figuring out what kind of message would produce what kind of output. But then I just brute forced it, parallelized it and called it a day. I feel dirty. Then again, it is the simplest solution, but ...
|
# ¿ Dec 5, 2015 05:55 |
|
|
# ¿ May 11, 2024 06:20 |
|
I loving hate Day 12 (was away for a week, catching up now). Phase 1 was able to do without a json parser and no regex's (yet, knock on wood). And it was really simple and clever. And in phase 2 now it makes me either make a json parser, use one or implement some mind-twisting, soul-hating state machine that I'll remember forever in the "what not to do" section of programming experiences. I guess I'll just have to get in line and use this son of jay ....
|
# ¿ Dec 16, 2015 05:44 |
|
Xarn posted:I said it once already, but I just used an ad-hoc brace matcher... Yes, and then inbetween you had to find the offending string, then find_start again. I chose to keep a bit of my sanity and just use a drat parser.
|
# ¿ Dec 16, 2015 14:04 |
|
What I hope is that in January we would get the really nice and elegant solutions to all these problems which would put my brute-forced crap to shame.
|
# ¿ Dec 19, 2015 01:16 |
|
chutwig posted:Finally had time to return to the problems after a busy December and restart all the way back at problem 7. Having it laid bare that I'm a systems programmer with little knowledge of algorithms is teeth-gritting sometimes, but that makes it all the more gratifying when I get the solution. Welcome, you're gonna have a lot of fun (until Day 19, drat that day). But, I'm just curious, what does "systems programmer with little knowledge of algorithms" means? From what I know, systems programming still is programming (with a different focus), where algorithms are just as prevalent and as important (if not more so) than application programming.
|
# ¿ Dec 28, 2015 00:34 |
|
|
# ¿ May 11, 2024 06:20 |
|
Erwin posted:I've been doing a few of the days that I never finished last year in anticipation of 2016 starting. Did last year's in Python, doing this year's in Go. One guy did yesterday's challenge in brainf*ck: https://www.reddit.com/r/adventofcode/comments/5g1cx1/spoilers_2016_day_1_brainfck_dear_fsm_why_did_i/ Yea ... beat that.
|
# ¿ Dec 2, 2016 06:49 |