Day 6 done.

This was a funky one. Pretty easy for part 1. Just trimming, splitting, and parsing all the numbers and operators and grouping them columnwise. Nothing too hard.

Part 2 was awkward. I always am a bit flustered when I have to go back and parse the input differently, especially because I build things around FromStr in Rust, so I have to do either a Part2Input for the second part or a separate parsing function. This one was fiddly because I tried to parse it into the same Input structure as before, but that didn't work because not all the equations had the same quantity of numbers this time. I also wanted to do some sort of zip that let me zip over an iterator of iterators, but I couldn't find a good way of zipping a dynamic number of iterators, even in itertools (it has multizip, but that only works on a compiletime number of iterators). In the end, I needed to do this awkward loop:

number_buffer.clear(); for number_line_iterator in &mut number_line_iterators { match number_line_iterator.next() { Some(digit) => number_buffer.push(digit), None => { equations.push(Equation { numbers: numbers, operator: operators.next().unwrap(), }); break 'outer; } } }

Not the prettiest, but it did get the job done.

#AdventOfCode #AdventOfCode2025 #AdventOfCode2025Day6 #AdventOfCode2025Day06 #Day6 #Day06 #Rust #RustLang #Programming #codingchallenges

2025/src/bin/day06.rs at 97c43689669280b9dba965a83161593c59a28928527c261d127911b5d68bad0d

2025

AxFive
Day 6: 'A flock of sheep incongruous among the traffic on the Strand. This flock is coming from some station on the north for transport to some southern county.' An Advent Calendar of London a century ago, from 'Wonderful London', 1925, 📷Donald Macleish. #AdventLondon100 #Day06

Choose 20 books that have stayed with you or influenced you. One book per day for 20 days, in no particular order. No explanations, no reviews, just covers. ❤️📚

­#BookSky #Books #BookChallenge #Day06
https://yadl.info/en/notes/2024/book-challenge-day-06

Book Challenge - Day 06 - YADL

Mark Schmeiser

#AdventOfCode #AoC

I completed #Day06 of #AdventOfCode2023.

Part 1:
- Difficulty: 1/10
- Workout: 1/10

Part 2:
- Difficulty: 1/10
- Workout: 1/10

Completed in just over 1 hour. The implementation of part 1 was straightforward: easy parsing, map, filter, length. Part 2 would work, too, but after a few seconds running, I did the smart thing: skip the loops entirely. Immediate solution.

Big hint: solve the equation

a * (t - a) > d

For integer a.

#AdventOfCode #AoC

I completed #Day06 of #AdventOfCode2015, just for the fun of it.

Part 1:
- Difficulty: 2/10
- Workout: 3/10

Part 2:
- Difficulty: 1/10
- Workout: 1/10

About 3 to 4 hours of work. I started yesterday late at night, and somehow, despite being sleepy, ended with a almost textbook-style Grid class, with a higher-order iterator for the grid elements!

Today was the parser (easy) for the instructions. The only snag was forgetting to change "on" to "off" in one of the cases.

Part 2 just required a few methods more on Grid, to initialize and use with numbers instead of booleans.

We broke our fast with a “Rosca de Reyes” and there was a little figurine of a king and also a fava bean inside. David got the king and luckily was already wearing the crown. It was a wonderful last day in Barcelona with lots of walking around the neighborhood and one last afternoon at the beach. #Day06 #365happydays2023 #reyesmagos #roscadereyes #epiphany #argentinosporelmundo #photography
Traveling Mocha on Instagram: "Mocha on the Shelf day 6: I'm getting decorations out of the garage! #MonkeyBusiness 🗓️ 🎄 #MochaOnTheShelf #MochaOnTheShelf2022 #HelpfulMonkey #Christmas #Yule #SeasonsGreetings #Holidays #HappyHolidays #Dec6 #Day6 #Dec06 #Day06 #decorations #garage #sled #tree"

Traveling Mocha shared a post on Instagram: "Mocha on the Shelf day 6: I'm getting decorations out of the garage! #MonkeyBusiness 🗓️ 🎄 #MochaOnTheShelf #MochaOnTheShelf2022 #HelpfulMonkey #Christmas #Yule #SeasonsGreetings #Holidays #HappyHolidays #Dec6 #Day6 #Dec06 #Day06 #decorations #garage #sled #tree". Follow their account to see 1676 posts.

Instagram

#MoveIt2020 #day06

after your comments i was a bit afraid of the #ywaHOME session05 but it was okay. some parts i could not do properly, but in general i could follow along and i had the feeling i could take something out of it for meselfmybodyect.
i still not enjoy starting to move, start a session, get myself on the mat, it feels like a duty/burden i do to check it off.
especially on a day like today wow not enough sleep.
but it feels okay now.

#Inktober2018 #day06 #drooling #trump #scotus #kavanaugh

I am dedicating my day06 inkwork to all those who stand up against misogynistic behaviour. Not only, but especially when it becomes institutional.