Day 22 - Grid Computing [Revival of Code 2023 - Advent of Code 2016] @0xdf
Day 22 - Grid Computing [Revival of Code 2023 - Advent of Code 2016]  @0xdf
Uploaded August 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 22 challenge, Grid Computing, involves looking at the output of `df -h` on a bunch of devices, and looking for ways to move data around. Most of the challenge is analysis of the input data to give a bunch of constraints that make solving the challenge pretty easy.

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:16] Challenge part 1
[01:16] genday.sh / input
[01:48] Node class
[03:57] Creating example data / fixture
[04:51] Test for parse
[06:44] parse function
[09:51] Test for part 1
[10:47] part1 function
[11:43] Fixing bad test data
[12:22] Solving part 1
[12:38] Challenge part 2
[14:06] Input analysis with Bash
[16:10] Mapping data
[22:34] Debugging name issue
[23:43] Map analysis
[24:35] Updating map to return necessary information
[26:12] Updating part 2
[29:53] Solving part 2 + Conclusion

#ctf #adventofcode #revivalofcode #python
Day 22 - Grid Computing [Revival of Code 2023 - Advent of Code 2016]CVE-2022-23935 Analysis: Command Injection in Exiftool [HackTheBox - Investigation]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]
0xdf |

Day 22 - Grid Computing [Revival of Code 2023 - Advent of Code 2016]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER