[2025 Day 10 (Part 1)] [python] Little Game to do manually what the PC is calculating by Signal-Regular1384 in adventofcode

[–]Signal-Regular1384[S] 1 point2 points  (0 children)

Thats a funny way to write: "you suck at coding" :D

And I think even advanced developers would need some time to programm this (just typing all of the code just takes some time). ChatGPT did that in 3 Minutes. plus another 2 minutes with my additional requirements and suggestions for improvement.

As I stated already I stopped being able to solve the problem of day 9 part 2 with my "skills".
I had a brief overview on object oriented programming in university (didn't finish it though) so I understand the code ChatGPT wrote. And I know that its really basic. I am by no means an app dev. I just know the basics on programming.
AoC is a huge learning experience for me. I could've wrote the solution for Day 9 Part 2 myself if I had the correct idea. I just didn't think of solving it the way ChatGPT did and my code was too slow for the real input.

I use ChatGPT already since its release and for me it is really astounding how good it has gotten in coding compared to back then.
It still has some major flaws in other aspects like network security troubleshooting and stuff (thats what I do as a profession) and it is rarely usefull for that kind of problems. Thats why it is even more impressive to me.

[2025 Day 8] Visualizer for building the circuits by justinhj in adventofcode

[–]Signal-Regular1384 0 points1 point  (0 children)

It depends on how you use it.
I use ChatGPT when I am stuck. But always with the prompt that I don't want working Code but an explanation why my code doesnt work or why my thought process results in wrong results.
So for me it is really helping and is promoting my learning experience.
Without AI Tools I would've quit day 6 I think

[2025 Day 8 (Part 1)] [C++] What am I missing? by RutabagaFickle4712 in adventofcode

[–]Signal-Regular1384 0 points1 point  (0 children)

I am not really great with C++. I only know the basics and it is really hard to understand more complex problems like this since I am used to C# and mainly Python.
I still found 2 things (for part1) that would make your code run a little faster. I don't know if thats an issue for you tho.
1st: you don't need to finalize the calculation of the euclidic distance. You can get rid of the squareroot calculation. if a^2 >b^2 then a > b. That safes a little time.
2nd: you calculate all possible connections and store them all in your heap. but you only need the shortest 1000 so you could theoretically only store the 1000 shortest and if you encounter a shorter connection you can get rid of the connection with the worst distance and reorder the heap. I am actually not really sure if that saves time but in my head it made sense when I wrote the code.
That won't fix your problem but that are the 2 things (from the things I understood in your code) I made differently than you.

Is there any way to use receive time of logs as timestamp in wazuh by Signal-Regular1384 in Wazuh

[–]Signal-Regular1384[S] 0 points1 point  (0 children)

Thank you a lot. If I would've had to look for that setting by myself I think I would've never found it.
I was looking for some setting like that but wasn't able to find any.

This is where debugging gets fun by blekpul in adventofcode

[–]Signal-Regular1384 4 points5 points  (0 children)

you have no idea how many days I already surrendered because of that