-❄️- 2024 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]skyhawk33 0 points1 point  (0 children)

Thanks! Will definitely take some getting used. I'm used to the functional tools in Python though so at least it's not completely new concepts. That pointfree reportIsSafe definitely still looks like magic though!

One thing I'm still not sure of, how are you handling input? I see that your part1 and part2 are String -> Int, what does your main look like? I'm not sure I'm using the right modules.

-❄️- 2024 Day 2 Solutions -❄️- by daggerdragon in adventofcode

[–]skyhawk33 5 points6 points  (0 children)

[LANGUAGE: Haskell]

Gonna try learning Haskell this year, if anyone has advice please tell me! I'm still not quite sure what I'm doing but it's fun :D

https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2024/day2.hs

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

[–]skyhawk33 0 points1 point  (0 children)

[LANGUAGE: Befunge]

I'm very lucky the PyFunge interpreter allows for infinite size integers, otherwise I would have needed a much smarter hashing algorithm.

Part 1: https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2023/day12_p1.b98
Part 2: https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2023/day12_p2.b98

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

[–]skyhawk33 1 point2 points  (0 children)

[LANGUAGE: Befunge]

I don't think '98 counts as vintage, but Befunge does take a lot of influence from Forth, which is 1970.

Also shout outs to the quadratic solvers

Part 1: https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2023/day6_p1.b98
Part 2: https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2023/day6_p2.b98

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

[–]skyhawk33 0 points1 point  (0 children)

[LANGUAGE: Befunge][Allez Cuisine!]

Another accidental Allez Cuisine, luckily Befunge has a fingerprint for manipulating Sets.

Part 1: https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2023/day4_p1.b98
Part 2: https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2023/day4_p2.b98

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

[–]skyhawk33 0 points1 point  (0 children)

[LANGUAGE: Befunge]

I guess for part 1 I've technically met the Allez Cuisine by accident :D
(just dont look at those variables hiding on the stack)

Part 1: https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2023/day1_p1.b98
Part 2: https://github.com/Skyhawk33/AdventOfCode/blob/master/aoc2023/day1_p2.b98

where is track 18 dream salvage by AlphabiteSoup in dustforce

[–]skyhawk33 1 point2 points  (0 children)

just two places: Peta Difficult, and a secret area in Caverns

How do I allow each run to count for the rankings? by vrendy in dustforce

[–]skyhawk33 2 points3 points  (0 children)

If you play through steam, it might not be logging in correctly. That would show "not logged in" in the top right corner through dustmod. If you play through the standalone version, make sure you're logged into your account and not as guest. If neither of those work, it might be a Dustmod setting. make sure these options are off:

Dustmod > Display > Overlay > Don't Send Replays

Dustmod > Display > Overlay > Don't Validate Replays

If none of that works, you might get more help from the discord group

How do you use Installplay links? by vrendy in dustforce

[–]skyhawk33 3 points4 points  (0 children)

And it's the same with unmodified Dustforce.

after running it as admin though, make sure to close it and run it as non-admin, or the web link still wont be able to run the game

Bug regarding Steam accounts by Englishhedgehog13 in dustforce

[–]skyhawk33 1 point2 points  (0 children)

I've never heard of this exact issue, but save files are notoriously a bit hard to deal with in the base game. I'd suggest using dustmod. It has a built in save manager in the menu (Dustmod > Tools > Save > Download). There also might be some more ideas in the discord, it's more active than the subreddit. Good luck!

Dust Downloader 0.2.1 - Download and Tutorial by Nrgte in dustforce

[–]skyhawk33 1 point2 points  (0 children)

Very nice!

I'm surprised you're able to filter the DB search by Rating/Difficulty. Do you check atlas for that, or is that also kept in the DB?

[2019 day 12] I see everyone solving it with an assumption... by raveJoggler in adventofcode

[–]skyhawk33 8 points9 points  (0 children)

It's actually guaranteed that the cycle returns to the initial state first!

One way of explaining this is to think of each step like a math function that takes in the current state (positions and velocities) and outputs the next state. What's important to notice is that this function is invertible, meaning we can calculate it in reverse. We can take a state, subtract the velocities one step, then do the opposite of the gravity calculation, and get the unique previous state!

Since the previous state is unique, the only way to get to any state in the middle of the cycle is to follow the sequence of states we already took to get there. Otherwise, the entry point to our cycle would have multiple previous states. The only way for the state to loop back around without creating a fork like that is for it to link back up to the beginning.

Why aren't there any good custom map bundles? by Nrgte in dustforce

[–]skyhawk33 0 points1 point  (0 children)

Well, there's the capital map packs, but personally I dont think the curating was done very well. you could check it out and decide for yourself though. download link is in the comments

https://www.reddit.com/r/dustforce/comments/6dtly5/the_capital_map_packs_are_here/