Day 1 - No time for a Taxicab [Revival of Code 2023 - Advent of Code 2016] @0xdf
Day 1 - No time for a Taxicab [Revival of Code 2023 - Advent of Code 2016]  @0xdf
Uploaded June 2023 | Updated November 2026, 3 hours ago
Python Discord is doing an event called Revival of Code, where we work through the 2016 Advent of Code, one challenge every two days. The day 1 challenge, No Time For a Taxicab, involves following directions around a grid, and then calculating the distance back to the starting point.

Repo for Advent of Code 2016 Solutions: gitlab.com/0xdf/aoc2016
Intro video for this event: youtube.com/watch?v=qEPpsS0StQI
Real Python post with templates: realpython.com/python-advent-of-code
Python match statement: peps.python.org/pep-0622

☕ Buy Me A Coffee: buymeacoffee.com/0xdf

[00:00] Introduction
[00:13] Challenge Part 1
[01:28] genday.sh script
[01:58] Part 1 tests
[03:39] parse function
[07:31] Validating pytest, solving part 1
[08:12] Part 2 tests
[09:15] Refeactor to create step function
[10:35] part2 function
[13:01] Debugging reuse of step as a function and variable
[13:52] Updating step to return visited
[15:00] Debugging forgetting to add positions to visited
[16:38] Fixed issue, solving part 2
[17:06] Conclusion


#ctf #adventofcode #revivalofcode #python
Day 1 - No time for a Taxicab [Revival of Code 2023 - Advent of Code 2016]Python Directory Traversal Exploit [Yummy - HackTheBox]Addition [HackTheBox - Coding Challenge]Binary Analysis of notes [HackTheBox Gofer]Configuring VSCode to Debug PyTestExploring a Flask App with SSTI [HackTheBox Sandworm]Day 22: Monkey Map [AOC2022 Python]
0xdf |

Day 1 - No time for a Taxicab [Revival of Code 2023 - Advent of Code 2016]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER