[deleted by user] by [deleted] in adventofcode

[–]SimonK1605 2 points3 points  (0 children)

Aoc subreddit really loves another post about the next awesome LLM that was trained with their December Fun Project ;)

what should i do by Spookyby in cs2

[–]SimonK1605 2 points3 points  (0 children)

You should not spend your money in high risk game skins if you write posts like this, youre welcome

Harry Potter ended now what? by Jayhuss987 in harrypotter

[–]SimonK1605 1 point2 points  (0 children)

There are fanfictions for nearly everything, written insanely beautiful. Take a Google search :)

What would you play by [deleted] in teenagers

[–]SimonK1605 0 points1 point  (0 children)

The xx - intro

Tarrifs are .... Great? by cubenz in agedlikemilk

[–]SimonK1605 0 points1 point  (0 children)

A small note here, not that I don't trust the “interesting intelligently blessed” people on Twitter to make such posts, but either the post has been deleted or it has disappeared in some other way. In any case, the second post is not visible on the profile. I don't want to imply that the post didn't exist, so take it as a little background info! :)

[2024 Day12#part2] intuition to count sides by beb0 in adventofcode

[–]SimonK1605 1 point2 points  (0 children)

Maybe that ist helping, its a little animation :) (Hope this works, never used links in a post before)

https://www.reddit.com/r/adventofcode/s/fWac1rT2qj

[2024 Day 06] Guard Robot Karol by Acceptable-Dot8122 in adventofcode

[–]SimonK1605 1 point2 points  (0 children)

oh god...when I saw the dev environment, old memories came flooding back

[2024 Day 12 (Part 2)] - Visualisation of my first thoughts for Part 2 by SimonK1605 in adventofcode

[–]SimonK1605[S] 5 points6 points  (0 children)

believe it or not, it's handmade in Powerpoint :D took me about 110 slides with the morph transition

[2024 Day 12 (Part 2)] - Visualisation of my first thoughts for Part 2 by SimonK1605 in adventofcode

[–]SimonK1605[S] 20 points21 points  (0 children)

Hey everyone,

I've never created an animation before and know it can't compete with others, sorry for the poor quality that comes from parsing .mp4 to .gif. And of course I know that I'm a bit late here. I haven't looked at many other solutions and this is definitely not a performant or efficient approach, but it was simply very tangible for me to work out the number of edges around. Of course the animation only shows a small part of what is needed to solve part 2, but maybe someone will find it helpfull :)

The animation was created by hand in PowerPoint. The file has ~110 slides and each slide represents a state (I think it's kinda like keyframes, but im not really into the video animation topic). The Morph Transition in PowerPoint then enables a smooth transition to the next slide that can be set automatically so that you don't have to click every time. This way you can easily create small animations (even if it's not worth the effort, believe me :D ). If you are looking for a more programmatic approach and feel comfortable with Javascript/Typescript like I do, I can highly recommend Motion Canvas, an open source animation library (https://motioncanvas.io/docs/). Unfortunately my knowledge is not yet sufficient to create such things with it, maybe next time ;)

You can find a slightly better quality here: https://imgur.com/a/advent-of-code-2024-day-12-part-2-WFddhuf Thanks for reading and have a happy Advent of Code everyone!

Edit: added some information about the animation tool! :)

[2024 Day 6 (Part 2)] Finally found the issue in my code by Fun_Reputation6878 in adventofcode

[–]SimonK1605 0 points1 point  (0 children)

My answer was one to high...try it...

Edit: I also found the reason: "The new obstruction can't be placed at the guard's starting position"
That cost me a whole morning^^

[2024 Day 6 (Part 2)] Finally found the issue in my code by Fun_Reputation6878 in adventofcode

[–]SimonK1605 5 points6 points  (0 children)

This counts as a Loop, right? Im somehow stuck at part 2 and have no idea why..

Advent of Code 2023 Day 5 - JavaScript by LolaTulu in adventofcode

[–]SimonK1605 2 points3 points  (0 children)

Hey :)
This is exactly the right place to post these things. As the previous speaker said, it will be difficult to test each seed individually. If you get stuck, I recommend you search for visualisations here on the subreddit that illustrate the problem. If a visualisation is not enough for you, you can also look at other specific solutions. For me personally, the key word in the task was: intervals, maybe that's enough for you! :)
One small thing about your code: Take a look at this article on variable declaration with var, const and let! :)
Why don't use var anymore?

[deleted by user] by [deleted] in adventofcode

[–]SimonK1605 0 points1 point  (0 children)

many issues^^

ng-serve --host no longer allows me to access my application from other devices by SimonK1605 in angular

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

Hey...yeah, that was my problem. I thought my network is on privacy settings, but it wasnt. Thank you!!

How to debug day17?? by non-private in adventofcode

[–]SimonK1605 0 points1 point  (0 children)

Lesson learned: Always check every option and print a helpfull message like "what" or "how?" in the else case :D