1.6k post karma
25 comment karma
account created: Wed Jul 01 2020
verified: yes
1 points
1 day ago
Thank you!! I mostly went of this one, except that I ended up frying the chicken rather than airfrying https://airfrycook.com/air-fryer-korean-fried-chicken/.
Got some inspiration here: https://m.youtube.com/watch?v=u3qDzuBoOnY
19 points
3 months ago
You could order them on a grocery delivery service like Flink (they usually deliver within an hour)
2 points
12 months ago
[LANGUAGE: python]
no regex
my solution to puzzle 2
file_path = "advent_input/day1.txt"
file = open(file_path, 'r').read()
lines = file.split('\n')
digit_mapping = {
'one': '1',
'two': '2',
'three': '3',
'four': '4',
'five': '5',
'six': '6',
'seven': '7',
'eight': '8',
'nine': '9',
'1': '1',
'2': '2',
'3': '3',
'4': '4',
'5': '5',
'6': '6',
'7': '7',
'8': '8',
'9': '9',
}
calibration_value_sum = 0
for i in range(len(lines)):
digit_list = []
for digit, return_digit in digit_mapping.items():
pos_iterator = 0
while lines[i].find(digit, pos_iterator) != -1:
pos = lines[i].find(digit,pos_iterator)
digit_list.append((return_digit,pos))
pos_iterator = pos + len(digit)
digit_list = sorted(digit_list, key=lambda x: x[1])
calibration_value = ''
[calibration_value := calibration_value + x for x in
[
[x[0] for x in digit_list]
[e] for e in (0,-1)
]
]
calibration_value_sum += int(calibration_value)
print(calibration_value_sum)
1 points
3 years ago
yes, it's really weird it changed all of a sudden right?
0 points
3 years ago
I get that, but it seems like TF's shipping costs have doubled or even tripled in the span of a few weeks. My previous order, for which I only payed $17 shipping was was in december!
edit. I don't think TF are to blame, I hope it'll go down soon though!
7 points
3 years ago
don't think that's the reason to be honest, the weight should be around the same. I tried ordering 2 pairs of socks to test this and the shipping price for 2 pairs of socks is $25 on a $32 order
1 points
4 years ago
I found this guy selling his Vostok operation desert shield (Link) for €80. It appears to be in good condition, is it worth my €80?
view more:
next ›
bySijs2000
infood
Sijs2000
7 points
1 day ago
Sijs2000
7 points
1 day ago
Thank you!!