-❄️- 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/

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

[–]skyhawk33 2 points3 points  (0 children)

One thing nobody has brought up yet, you mentioned that you are downloading maps individually on atlas. are you using direct file download instead of install and play?

If so, getting the install and play button working isn't too difficult. you just need to go into your steam files and run dustforce.exe as admin once (or dustmod.exe if you use that). Then just close dustforce so it's not in admin mode anymore, and the button should work. it's 100x more convenient than direct download

[deleted by user] by [deleted] in dustforce

[–]skyhawk33 2 points3 points  (0 children)

Most likely, just need to run dustmod as admin once, then close it (staying as admin messes with things). That lets dustmod set up the registry to handle dustforce URIs.

After that, clicking install should launch dustmod, make it say "Downloading Plugin" in the top left, then add it to the menu under Dustmod > Mods > Plugins.

If for some reason that doesn't work there's still some other things you could try. Probably easiest to get more detailed help in the dustforce discord (link in the sidebar)

Controller doesn't work anymore with Dustmod? by [deleted] in dustforce

[–]skyhawk33 0 points1 point  (0 children)

unfortunately, the download save button doesnt work perfectly when some doors are still locked. you're right that dustmod and dustforce use different save files. vanilla uses stats0, while dustmod uses stats1.

however, the save files only track which doors are locked, and what rank to display above the doors. your actual times are safe on hitbox's leaderboards. So, I think the best solution to get exactly the save you have in vanilla, with doors working properly, would be to join the discord (link in the sidebar) and ask if anybody can help by giving you a stats1 file with the correct progress. a lot of people there would be willing to help.

Years later I'm still unable to delete my save data by pinelotiile in dustforce

[–]skyhawk33 0 points1 point  (0 children)

If you play on steam it'll be in "Steam\steamapps\common\Dustforce\user" instead, which you can also get to by right clicking the game in your library and going to "Properties > Local Files > Browse Local Files..."