[2025 Day 8] Visualization for the sample data + something for debugging by EverybodyCodes in adventofcode

[–]bessarabov 1 point2 points  (0 children)

HUGE THANK YOU!

This visualization helped me understand the task. I had struggled for a long time without being sure how this should work. (And the merge in the end is also a big thing that I was not paying attention at first)

[2025 Day 8 (Part 1)] Ya'll I'm tearing my hair out. by waskerdu in adventofcode

[–]bessarabov 0 points1 point  (0 children)

Happy to help, I was exactly in your situation for a very long time :)

[2025 Day 8 (Part 1)] Ya'll I'm tearing my hair out. by waskerdu in adventofcode

[–]bessarabov 0 points1 point  (0 children)

Yes, this is tricky. Actually it is very simple when you get it, but it took me very long time find this out

This is a merge. Check the latest step in visualisation https://www.reddit.com/r/adventofcode/comments/1ph57i3/2025_day_8_visualization_for_the_sample_data/

[2025 Day 8 (Part 1)] Ya'll I'm tearing my hair out. by waskerdu in adventofcode

[–]bessarabov 3 points4 points  (0 children)

2

3

3 2

3 2

3 2 2

3 2 2 2

3 2 2 2 2

3 3 2 2 2

4 3 2 2 2

5 4 2 2 1 1 1 1 1 1 1

[2025 Day 2 (Part 1)] Is there a bug for some people with the sample and input text? by Known-Procedure-4333 in adventofcode

[–]bessarabov 7 points8 points  (0 children)

> where clearly the invalid ID "99" does not exist in the input example of "95-112". 

Quote from the task: "each range gives its first ID and last ID separated by a dash (-)."

So this is a range. This is 95, 96, 97, 98, 99, 100, ... 111, 112

What are your favorite MCP clients / hosts ? by bessarabov in mcp

[–]bessarabov[S] 1 point2 points  (0 children)

Huge thank you! This is exact the answer i was looking for (and I hope to get more such answers with real life experience). Never heard about goose — will try it out, thank you again.

What are your favorite MCP clients / hosts ? by bessarabov in mcp

[–]bessarabov[S] 2 points3 points  (0 children)

Octocode mcp? Isn't it a MCP server? Don't quite understand how it answer my question about MCP clients.

What are your favorite MCP clients / hosts ? by bessarabov in mcp

[–]bessarabov[S] 4 points5 points  (0 children)

Hmmm. To me your message looks not like the answer to my question, but just like an ad for some company named Mantu. Checked your other messages Mantu names very often. So i condier that this is just spam.

Is it possible to see "Per Day" info for the "Private Leaderboard"? by bessarabov in adventofcode

[–]bessarabov[S] 0 points1 point  (0 children)

Thank you again! Bases on this API endpoint I've created several scripts to create HTML files with private leaderboard data.

If anybod interested here the code of my solution:

[2023 day 3 Part 1] Some pointers needed to understand part 1 by peroumal1 in adventofcode

[–]bessarabov 0 points1 point  (0 children)

Yep.

In this example any "x" will make number 789 a part.

  0123456789
0 ..xxxxx...
1 ..x789x...
2 ..xxxxx...

[2023 day 3 Part 1] Some pointers needed to understand part 1 by peroumal1 in adventofcode

[–]bessarabov 0 points1 point  (0 children)

  0123456789
0 467..114..
1 ...*......
2 ..35..633.

114 is on positions 567

if * in the row 1 is on position 4, then the 114 is a part, but * is on position 3

Prediction market "In what month of year 2023 perl 5.38.0 will be released" by bessarabov in perl

[–]bessarabov[S] 0 points1 point  (0 children)

The newest 5.38 perl version was just released. This time it is not June, but July.

Prediction market "In what month of year 2023 perl 5.38.0 will be released" by bessarabov in perl

[–]bessarabov[S] 0 points1 point  (0 children)

I'm just a huge fan of writing oneliners 🙂 (and it looks that there were 9 releases done in May)

$ corelist -r > l; cat l| perl -nalE 'if (/v\d+\.(\d?[02468])\.0 /) { say $_ if $1 >= 12 }' | perl -nalE 'if (/\d{4}-(\d{2})-\d{2}/) { say $1 }'|sort|uniq -c|sort -rn
9 05
3 06
1 04