I had a super hack solution. I just replaced all instances of strings like "one" and "two" with "on1e" and "tw2o". Then proceeded to use my normal code for part 1 to solve.
There is really no need to find all overlapping words. The best trick I found is to do both a forward search and a reverse search for both '1','2' etc and 'one', 'two' etc. and keep track of the first and last one on each line
I use a batch script that just curls adventofcode.com/2023/day/[arg]/input and saves it to input.txt, then types the contents of the file so I can visually see it on the terminal
I'm fine! Just hadn't gotten around to editing all the videos I have recorded yet - normally it's not too much work and I try to do it right after AOC but on day 2 I was pretty tired and just slept, which in combination with procrastinating a little has caused me to get behind by a few days now. I'll catch up on uploads soon!
I had a super hack solution.
I just replaced all instances of strings like "one" and "two" with "on1e" and "tw2o".
Then proceeded to use my normal code for part 1 to solve.
Borrow me your brain for a week 🤯
ok that is actually genius wtf
this is actually beautiful
you are the smartest man alive
Bruhh 💀, that's actually clever
I think it's most difficult part one in AoC so far.
You mean day one? But yeah, I agree, I think part 2 today had significantly more tricky edge cases than normal for a day 1 part 2.
There is really no need to find all overlapping words. The best trick I found is to do both a forward search and a reverse search for both '1','2' etc and 'one', 'two' etc. and keep track of the first and last one on each line
Thank you, Im a newbie just beginning coding in python and your videos really help out
Hello mate, newbie here too in python, let's get in touch to work on it together :D
I tried doing the replace trick at first too, and then you notice the overlap and are like "well crap"
holy my favorite youtuber dropped new vid
Thought about the tricky overlap issue off the bat but took me too long to decide out how to deal with it 😢
wow good job, please continue uploading these
One day I want to be like this guy. Amazing!
keep them coming!
really enjoyed watching your process here, would love to see day 2,3
Props!
What's the basic scripting you did for scrapping that input file from the website. I am a beginner want to learn this technique
I use a batch script that just curls adventofcode.com/2023/day/[arg]/input and saves it to input.txt, then types the contents of the file so I can visually see it on the terminal
Hey man, are you ok? It's not like you to miss two AOC uploads and me and my friends were worried.
I'm fine! Just hadn't gotten around to editing all the videos I have recorded yet - normally it's not too much work and I try to do it right after AOC but on day 2 I was pretty tired and just slept, which in combination with procrastinating a little has caused me to get behind by a few days now. I'll catch up on uploads soon!
he's back!
The one time of year 😁
Where's the thread you mentioned at the end? Curious to follow that too
I was talking about the Daily Megathreads on the AOC subreddit! www.reddit.com/r/adventofcode/
if you are justice please do not lie... what is the price for YOUR blind eye
Is there a way you could make a video breaking down what you're doing for 100% beginners to understand.
The secret is in "replace"😂😂😂
I dont like AoC at all, but nice you solved it. For some reason I got the complete different number as result?!
Everyone has a different input file
Regular expressions
too bad quality :(
I uploaded in 4k and I think RUclips was struggling to process it - I think the higher qualities should be available now!
@@nthistlethwaite they are and they look great! Thanks for the extra effort :)