Day 18 - Like a Rogue [Revival of Code 2023 - Advent of Code 2016] @0xdf
Day 18 - Like a Rogue [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 18 challenge, Like a Rogue, involves generating rows of off/on based on the previous row. I'll start with 40 rows and then 400,000, but all run in reasonable time.

Repo for Advent of Code 2016 Solutions: gitlab.com/0xdf/aoc2016
Intro video for this event: youtube.com/watch?v=qEPpsS0StQI
Configuring VSCode to debug PyTest: youtube.com/watch?v=zL2YTdIj3R8
Real Python post with templates: realpython.com/python-advent-of-code

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

[00:00] Introduction
[00:17] Challenge part 1
[01:14] genday.sh / input
[01:40] next_row test
[03:09] Debugging typos
[03:46] next_row
[05:48] Test for part 1
[07:04] Solve part 1
[08:22] Refactoring stub to solve part 1
[08:55] Part 2 solve

#ctf #adventofcode #revivalofcode #python
Day 18 - Like a Rogue [Revival of Code 2023 - Advent of Code 2016]Python Flask Jinja2 SSTI Payload AnalysisDay 17 - Two Steps Forward [Revival of Code 2023 - Advent of Code 2016]Wearhouse Woes [Day 15 - Advent of Code 2024 - Python]Day 25: Snowverload [AOC2023 Python]Day 5: If You Give A Seed A Fertilizer [AOC2023 Python]Finding and Fixing a Bug in Netexec NFSReflective XSS via Link Click / SSRF [Hackvent 2022 - Day 14]Troubleshooting proxychainsElf Connect - JavaScript Game Hacking [Sans Holiday Hack 2024]Day 22: Sand Slabs [AOC2023 Python]Resonant Collinearity [Day 8 - Advent of Code 2024 - Python]
0xdf |

Day 18 - Like a Rogue [Revival of Code 2023 - Advent of Code 2016]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER