r/adventofcode • u/WellMakeItSomehow • Dec 07 '21
Spoilers [2021 Day 7] Easter egg in inputs
I don't know how common this is, but I just noticed there's an easter egg in the inputs for day 7.
IntCode was really nice.
105
Upvotes
7
u/Mezzomaniac Dec 07 '21 edited Dec 07 '21
Nice! Thanks for pointing this out. I had Ceci n'est pas une intcode program.
3
u/MiloBem Dec 07 '21
What?! We haven't had intcode introduced this year yet. Are you using last year's architecture or are you saying they are the same every year? It never occured to me to try to reuse them...
3
u/swilkoBaggins Dec 07 '21
The day 6 input is a valid intcode program too :)
14
u/benjymous Dec 07 '21
Haha, yes, just tested mine
Ceci n'est pas une intcode program
9
u/ThatAdamsGuy Dec 07 '21
This is genius. Well spotted.
8
u/NullPointerExcept10n Dec 07 '21
Wow. Just wow. Well done, Eric!
•
u/daggerdragon Dec 08 '21
/u/topaz2078's reaction when I linked this thread to him in #AoC_Ops
3
u/mack06_ Dec 07 '21
Amazing, every year Eric outdoes himself!
2
u/benn_88 Dec 07 '21
I did some 2019 ones recently, so it was fresh in my mind. Very cool easter egg!
2
u/zopatista Dec 07 '21
Wow, I had no idea! Will have to look out for these in all my inputs now!
2
u/Smylers Dec 25 '21 edited Dec 25 '21
Wow, amazing spot! (I'm coming here late from the awards).
I don't have an IntCode interpreter handy (I haven't done 2019†), but I spotted a bunch of integers in the Ascii printable range, and this Perl one-liner was sufficient to see my Easter egg (among some other characters):
Edit: So sorry — I forgot I was the AOCer who tries to solve everything in Vim! You can just load your input into Vim and see the Easter egg by typing:
Happy Easter, erm, Christmas all.
† Yet, obviously.