To have such a strong, undiffused, and distant light that it could realistically mimic the shadows on the moon, you would need very modern CGI to replace the shadows of every actor on every frame. Supposedly the recording we have of the moon landing is of a camera pointed at a tv screen because simultaneously broadcasting and recording at the same time was still newer tech that NASA didn’t have set up. And even then, you can see the quick falloff of the shadows and how they run parallel to each other. The sophistication to pull off a fake was just not there.
ScrewdriverFactoryFactoryProvider
Tigran Hamasyan (Armenian piano jazz-metal)
The Gabriel Construct (self-described as art music iirc, but basically just some experimental rock)
Jaggery (avant-rock, cool harp sounds)
Noah Sias (deathcore? Just so fucking heavy idk)
Bent Knee (experimental rock, just an absolutely gorgeous song)
Mel Bryant (indie rock, great hook, cool breakdown)
It simply finds all possible digits and then locates the last one through the reverse indexing. It’s not efficient because there’s no shortcircuiting, but there’s no need to search the strings backwards, which is nice. Python’s startswith method is also hiding a lot of that other implementations have done explicitly.
I think I found a decently short solution for part 2 in python:
DIGITS = {
'one': '1',
'two': '2',
'three': '3',
'four': '4',
'five': '5',
'six': '6',
'seven': '7',
'eight': '8',
'nine': '9',
}
def find_digit(word: str) -> str:
for digit, value in DIGITS.items():
if word.startswith(digit):
return value
if word.startswith(value):
return value
return ''
total = 0
for line in puzzle.split('\n'):
digits = [
digit for i in range(len(line))
if (digit := find_digit(line[i:]))
]
total += int(digits[0] + digits[-1])
print(total)
Those overlapping spelled out numbers were rough
You may be able to find a repository of example inputs and outputs to work with, but that’s generally frowned upon since organizing AOC involves so much work.
No need to search when you already have someone you wanna pin it on.
I am famously a dem trooper. This is me going to bat
No but receiving money because of relationships with politicians seems pretty legal in the US
Republicans do be going on about dick pics
Also, it still counts as pushing straight to prod if your PR reviewer gives it a once-over and stamps it with “LGTM”