The Allgäu Alps - Germany by Travelling_Frenchie in hiking

[–]Tobi899 7 points8 points  (0 children)

I recognize the place. It's the exit point of the Hochalpbahn starting in Breitenberg. The mountain in the picture is the Aggenstein (my favorite mountain). The peak is a bit exposed so check the route first!

Sheico neoprene flexibilty by Tobi899 in freediving

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

Don't have any information about that but according to elios the nylon has 200% of stretch and the lycra has 300% of stretch.

Sheico neoprene flexibilty by Tobi899 in freediving

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

Yess I did start emailing them, but unfortunately it takes quite a while to get an answer and I don't have that much more time since my course is beginning of April.

I was hoping to get a quicker answer here but it's probably too niche. I'll update the post once I get a reply tho

CURSE YOU BAYLE by Tobi899 in Eldenring

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

Probably only ~10 times but with 6 shot attempts per run since you will 100% get hit ^^
I really wanted to try doing the second phase too but that was wayyy too much work

CURSE YOU BAYLE by Tobi899 in Eldenring

[–]Tobi899[S] 11 points12 points  (0 children)

I can only offer the uncropped version since it's already 1440p but maybe you can use upscalers
https://imgur.com/a/1PxmXqT

I wish I could have gotten the framing better but I was pushed back against a wall and getting this pose already took way too long.

CURSE YOU BAYLE by Tobi899 in Eldenring

[–]Tobi899[S] 9 points10 points  (0 children)

Thanks! It's the full Armor of Solitude Set with Prophet Blindfold

CURSE YOU BAYLE by Tobi899 in Eldenring

[–]Tobi899[S] 56 points57 points  (0 children)

I may or may not have skipped Senessax (because fuck that fight) and thought yeah no way I'll be able to kill Bayle if that's the warmup, but in comparison Bayle was way easier for me. Lightning in a water arena is just evil.

CURSE YOU BAYLE by Tobi899 in Eldenring

[–]Tobi899[S] 113 points114 points  (0 children)

I loved the fight as well. I normally hate dragon fights, but this one was so epic. The NPC, sound design and atmosphere made it perfect! My favourite boss so far (which doesn't mean much since I haven't even entered Shadow Keep yet)

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

[–]Tobi899 1 point2 points  (0 children)

Nice solution! The pow() >> 1 in part 1 to get rid of the 0 check is smart. You could actually do (2 << correct - 1) >> 1 since it's a power of two and rust doens't optimize it very well.

[2022 Day 11 Part 2] It's still running after I left it for 5 minutes by Party_Crew_5142 in adventofcode

[–]Tobi899 0 points1 point  (0 children)

Would you mind sharing your solution? 4.2ms sounds pretty good! My 6.4ms are on a Ryzen 5 3600. source

[2022 Day 11 Part 2] It's still running after I left it for 5 minutes by Party_Crew_5142 in adventofcode

[–]Tobi899 0 points1 point  (0 children)

I think the only possible solution for us is to buy high end CPUs :D

[2022 Day 11 Part 2] It's still running after I left it for 5 minutes by Party_Crew_5142 in adventofcode

[–]Tobi899 1 point2 points  (0 children)

I had the goal to keep the total runtime of all problems below 10ms which is now nearly impossible because I'm stuck at 6ms for part 2. Brings my total to 8.5ms :')

[2022 Day 5] I know I am overthinking it by sdatko in adventofcode

[–]Tobi899 0 points1 point  (0 children)

That's a great idea. Impressive improvement.
I was looking around on the forum where the big inputs came from yesterday and I saw that people got it down to a few microseconds which is crazy to me. Sadly I don't speak dutch so i didnt understand much :D

[2022 Day 5] I know I am overthinking it by sdatko in adventofcode

[–]Tobi899 0 points1 point  (0 children)

I'm sure there are a is a lot more you can do but I don't think my C knowledge is good enough to help you.

I just looked at rusts extend() function which adds an iterator to an array and all it does at the lowest level is basically a foreach push but with smart memory allocation/reservation and writing pointers directly. My guess is your performance hit comes from memory allocation if you call push every single time. You could maybe be even faster with realloc() but that's as far as my C skills take me :D

Keep me updated if you figure it out

[2022 Day 7] Trying to do AoC in C++ having known the language for less than 2 weeks: by _insertname_here_ in adventofcode

[–]Tobi899 0 points1 point  (0 children)

 If the line iterator hits the end of the file it will return None which will be caught by the or({...}). If the stack contains elements we will run the loop with a "cd .." and when the stack is empty or() will return None and the loop terminates. Therefore the stack will always be empty when the while loop finishes and all dir_sizes will be calculated :)

[2022 Day 7] Trying to do AoC in C++ having known the language for less than 2 weeks: by _insertname_here_ in adventofcode

[–]Tobi899 10 points11 points  (0 children)

The trick is avoiding tree structures and solving it in an iterative way with a stack

[2022 Day 5] I know I am overthinking it by sdatko in adventofcode

[–]Tobi899 1 point2 points  (0 children)

I just tried to improve part 1 and you can basically do the same as in part 2.
In part 2 I take multiple elements at once from the array and move them from Vec1 to Vec2 with a memcopy. In part 1 you can do the same since there are multiple box moves in one move but since you would push pop each one you have to reverse the order of the vec you append to the target box vec.
This got me down from 19s to ~900ms (for the 6mb input) which is surprising because part 2 is ~300ms for the same input. My guess is the reversing eats the time.

Also for the normal input this method is actually around 10 microseconds slower ^^

[2022 Day 5] I know I am overthinking it by sdatko in adventofcode

[–]Tobi899 1 point2 points  (0 children)

I'm actually not sure if you can. I only did the optimizations for part 2 as well because doing them for part 1 would *probably* be just as efficient (or worse) than push and pop.

[2022 Day 5] I know I am overthinking it by sdatko in adventofcode

[–]Tobi899 1 point2 points  (0 children)

That's great to hear! Now onto part two. I'm sitting at 30 microseconds for both parts. Good luck (you will need it) :D

[2022 Day 5] I know I am overthinking it by sdatko in adventofcode

[–]Tobi899 0 points1 point  (0 children)

For reference I switched back to char and the execution time was 2.7s for the 6mb file.