summary refs log tree commit diff homepage
path: root/2016/src
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-12-03 02:02:07 -0500
committerJune McEnroe <june@causal.agency>2020-11-22 00:14:26 -0500
commitf03d4ac6c50f47a0321ca168c5a9e1e1702562bf (patch)
treeadd6b9d4db0ef770978a25eeef7e830ae01ba603 /2016/src
parentSolve day 3 part 1 (diff)
downloadaoc-f03d4ac6c50f47a0321ca168c5a9e1e1702562bf.tar.gz
aoc-f03d4ac6c50f47a0321ca168c5a9e1e1702562bf.zip
Solve day 3 part 2
Dang, I got screwed up by normalizing the lines in place rather than
just for the intersection function. When it came to calculating the
length of the final segment to the intersection, the "last" point was
sometimes the wrong end.
Diffstat (limited to '2016/src')
0 files changed, 0 insertions, 0 deletions
after client registrationJune McEnroe 2019-10-23Send to server if client has no needsJune McEnroe 2019-10-23Implement some amount of client connectionJune McEnroe 2019-10-23Set clients non-blockingJune McEnroe 2019-10-23Clean up state.c and factor out parsingJune McEnroe 2019-10-23Respond to pingsJune McEnroe 2019-10-23Add verbose flagJune McEnroe 2019-10-23Set NOSIGPIPE on server connectionJune McEnroe 2019-10-23Set an initial loop capJune McEnroe 2019-10-23Fix rest parsingJune McEnroe 2019-10-23Add dynamic poll listJune McEnroe 2019-10-23Don't assume commands have targets and handle ERRORJune McEnroe 2019-10-23Clean up state somewhatJune McEnroe 2019-10-23Actually send the buffer...June McEnroe 2019-10-23Add stateJune McEnroe