Day 3: 'A greengrocer in the Commercial Road. In the East End and poorer districts of London a strange kind of establishment, half shop and half booth, is common.' An Advent Calendar of London a century ago, from 'Wonderful London', 1925, a photogravure by Donald Macleish. #AdventLondon100 #Day03

Day 3 done. This one was pretty easy.

My part 1 solution mostly generalized to part 2, but I ended up having to rewrite the whole function anyway because I didn't make it flexible enough. For part 1 I initially just scanned for the max digit in the whole line except for the right-most digit, then found the max digit to the right of that.

For part 2, I effectively generalized it, but had to calculate how many digits I was allowed to find the max in, and loop over each number of digits I still needed to keep room for. A little fiddly, but not too hard at all. I'm kind of curious if doing it arithmetically using a bigint would be faster or slower. My gut says that it would probably be slower, and just save a little bit of memory.

#AdventOfCode #AdventOfCode2025 #AdventOfCode2025Day3 #AdventOfCode2025Day03 #Day3 #Day03 #Rust #RustLang #Programming #Coding

2025/src/bin/day03.rs at ff6f3ebe5155e36b117cad96e8b12a511b3513a05dc1ff65bf91cccd64fd665c

2025

AxFive
20250610 mb05 Day 03 Wrap

YouTube

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 #Day03
https://yadl.info/en/notes/2024/book-challenge-day-03

Book Challenge - Day 03 - YADL

Mark Schmeiser
20240331 mb05 Day 03 Wrap

YouTube
Hehehe I can take videos now :-D #lovebytetcc #day03

I completed #Day03 of #AdventOfCode 2023.

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

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

Done in almost 3 hours. Once I understood how to check for adjacency between numbers and symbols (and vice-versa) (and ranges in general), the code for Part 1 wrote itself, bottom-up. Part 2 was just looping through Part 1 lists (of numbers and symbols) in a different order.

After some much needed refactoring, the code is down to almost 150 lines.

#Day03 topic:-

It's all about conditional statement.

#100DaysOfCode#js #javascript

Resource: https://with.zonayed.me/​

@bengali_convo @mastodonindians

I learned something new today. This plant is what my husband’s family’s name is derived from. It is now Borrazás, but in Catalán it is Borratja. In English it is the plant “Borage” and my mother planted it all over in the back garden in Bolinas at the farm where I grew up. Somehow it makes me feel more connected to my husband and his family even though we didn’t know each other until I was in my late 30s. #Day03 #365happydays2023 #garden #history #genealogy #plants #herbs #witchery #photgraphy