perviouslyiner
When you’re 90% through a ASOIAF ebook and it finishes b/c the rest is a list of family names
import re
numbers = {
"one" : 1,
"two" : 2,
"three" : 3,
"four" : 4,
"five" : 5,
"six" : 6,
"seven" : 7,
"eight" : 8,
"nine" : 9
}
for digit in range(10):
numbers[str(digit)] = digit
pattern = "(%s)" % "|".join(numbers.keys())
re1 = re.compile(".*?" + pattern)
re2 = re.compile(".*" + pattern)
total = 0
for line in open("input.txt"):
m1 = re1.match(line)
m2 = re2.match(line)
num = (numbers[m1.group(1)] * 10) + numbers[m2.group(1)]
total += num
print(total)
There weren’t any zeros in the training data I got - the text seems to suggest that “0” is allowed but “zero” isn’t.
I think Shapez levels become procedural after a certain number of predetermined ones?
easy to remember, as 9/11 was a couple of days ago.
Wendover’s description of how complex the company structures are and why inheritance is so complicated: https://m.youtube.com/watch?v=oL0umpPPe-8
Another more successful operation in Rwanda and Ghana is https://en.wikipedia.org/wiki/Zipline_(drone_delivery_company) delivering 1.8kg over 300km and dropped by parachute.
Taking money out of someone’s wages because equipment got washed away isn’t cool, especially if it pressures them to go out in a storm to try and stop it happening a second time
Based on human perception, based on water chemistry, based on physics.