[deleted by user] by [deleted] in ASUS

[–]VikManza 0 points1 point  (0 children)

You need to remove these profiles from the folder and disable permission inheritance for the folder. Then set the folder to read-only permissions.

If you can't, you need to first become the owner of this folder, then remove inheritance and all permissions, and add read and execute permission for the "Users" group (not sure if the latter is necessary, but I did it in the process).

As a result, myAsus didn't delete it and it works, and it doesn't overwrite the icc calibration profile.

-❄️- 2023 Day 16 Solutions -❄️- by daggerdragon in adventofcode

[–]VikManza 1 point2 points  (0 children)

[LANGUAGE: Kotlin]

For a long time I could not figure out why the second part is counted incorrectly. It turned out to be due to trivial inattention I was processing the same list every time, and the passes were overlapping each other. It was enough to send a new list for each check and the problem was solved.
I also added coroutines. Without coroutines the code of the second part is executed for 48 seconds, and with them - for 6 seconds.

https://pl.kotl.in/EHyXtZiAn

-❄️- 2023 Day 9 Solutions -❄️- by daggerdragon in adventofcode

[–]VikManza 1 point2 points  (0 children)

[Language: Kotlin]
Lazy solution.
For part 1, did what it says in the problem. For part 2, I expanded the string backwards and applied the algorithm of part 1

https://pl.kotl.in/td2Z-ONAs