Day 16 - Dragon Checksum [Revival of Code 2023 - Advent of Code 2016] @0xdf
Day 16 - Dragon Checksum [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 16 challenge, Dragon Checksum, involves taking a string and expanding it via a given algorithm to a given size, and then calculating a checksum on it.

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
Taking groups of n Video: youtube.com/watch?v=FYwNGpubEhA
Real Python post with templates: realpython.com/python-advent-of-code

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

[00:00] Introduction
[00:16] Challenge part 1
[04:40] genday.sh / input
[05:10] expand test
[06:55] Debugging test typo
[07:51] expand function
[09:10] checksum test
[10:10] num_twos function
[11:30] num_twos test
[13:20] checksum function
[16:45] part1 test
[17:51] part1 function
[19:21] Solving part 1
[19:42] Challenge part 2
[19:55] Setup part2, refactor
[20:30] Running (via debugger) too slow
[20:49] Debugging to find what's slow
[21:30] Accidentally solving
[22:13] Back to explain what happened
[22:33] Debugger is slow
[23:29] Improving checksum algo speed
[31:46] Found issue, fixing, and solving

#ctf #adventofcode #revivalofcode #python
Day 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]Brute Forcing a Web Pin - Frosty Keypad [Sans Holiday Hack 2024]Printing Department [AOC2025 Day 4]PowerShell Challenge [Sans Holiday Hack 2024]Scanning UDP with nmap
0xdf |

Day 16 - Dragon Checksum [Revival of Code 2023 - Advent of Code 2016]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER