Day 7 - Internet Protocol Version 7 [Revival of Code 2023 - Advent of Code 2016] @0xdf
Day 7 - Internet Protocol Version 7 [Revival of Code 2023 - Advent of Code 2016]  @0xdf
Uploaded July 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 7 challenge, Internet Protocol Version 7, involves looking over columns of strings and doing some fancy Regex parsing, including capture groups, negative look-aheads, and overlapping matches with the regex module.

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 regex: pypi.org/project/regex

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

[00:00] Introduction
[00:16] Challenge Part 1
[01:28] genday.sh / input
[02:10] Part 1 tests
[03:29] parse function
[05:51] Dumb testing of parse
[06:37] has_abba function
[08:38] Part 1 function
[10:51] Challenge Part 2
[11:35] Part 2 tests
[12:29] Solving part 2
[16:15] Debugging issues
[17:38] Solving

#ctf #adventofcode #revivalofcode #python
Day 7 - Internet Protocol Version 7 [Revival of Code 2023 - Advent of Code 2016]MinMax [HackTheBox - Coding Challenge]Python Script to Read Files on RainyDay [HackTheBox]Recent Updates in Feroxbuster 2.9.1Day 16 - Dragon Checksum [Revival of Code 2023 - Advent of Code 2016]Day 10 - Balance Bots [Revival of Code 2023 - Advent of Code 2016]cURLing - An Introduction to curl [Sans Holiday Hack 2024]Day 11: Cosmic Expansion [AOC2023 Python]Exploring the HackTheBox TwoMillion PHP Application [Beyond Root]Day 4: Scratchcards [AOC2023 Python]New: HackTheBox Guided Mode!Python Script to Read Files on Encoding [HackTheBox]
0xdf |

Day 7 - Internet Protocol Version 7 [Revival of Code 2023 - Advent of Code 2016]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER