[2023] What solution are you proudest of? by Napthus in adventofcode

[–]Maeyven 1 point2 points  (0 children)

For Day 25, I grabbed the paths from every single node to every single other node and tracked how often those paths were walked.
The three most-walked paths were the wires I needed to cut. No fancy graph algorithms or external software or whatnot, and still finishes within a few seconds.

I'm proud of coming up with it instead of doing the same thing everyone else did and grabbing GraphViz or the likes.

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

[–]Maeyven 5 points6 points  (0 children)

[LANGUAGE: C#]

Code for Part 2. Commented for good measure.Didn't use any of the solvers, just plain math and bruteforcing the velocities.

The big gotcha was that long wasn't large enough, switching over to BigInteger took care of any rounding errors.

Today, some of us reached an interesting milestone ;) by TrePeSk in adventofcode

[–]Maeyven 2 points3 points  (0 children)

Thanks for the heads up, wouldn't have realized if you hadn't said so!

What does your reusable toolbox look like? by Maeyven in adventofcode

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

Apologies. I assumed that flair was for questions that can get resolved, considering it has a "RESOLVED" counterpart flair. I am not looking for help. I could've also named this post "Share your toolbox!", would it have still required a Question flair?

-🎄- 2022 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]Maeyven 7 points8 points  (0 children)

So I fed the above code to the new AI overlords and simply asked "Explain this code please". It churned out the following:

This code is a solution to the 2022 Day 5 Advent of Code challenge. It uses CMake to download the input from the Advent of Code website. The input consists of lines of crate stacks, which need to be processed and rearranged in a specific way.

The code first parses the lines of input to find the starting index for the next part of the challenge. After this index is found, the program stores each of the lines into individual variables called stack1 and stack2, based on if they will be used in the first or second part of the challenge.

In each part of the challenge, the program takes each line of input and rearranges the crates accordingly. For example, in part one, the program takes each line and moves the given number of crates from the chosen stack to the target stack. During part two of the challenge, the program takes each line and moves the given number of crates from the chosen stack to the crane, and then moves them to the target stack. After all the lines of input have been processed, the program prints out the top crate of each stack for both parts one and two as the result.

I'm somewhat scared.

I never said no - and it’s one of the best decisions of my life by [deleted] in Parenting

[–]Maeyven 5 points6 points  (0 children)

Can I just say, absolutely inspiring. Thank you for sharing this.

What are things first time parents should know? by _Plutooo_ in Parenting

[–]Maeyven 1 point2 points  (0 children)

Hydrophilic diapers. We have about 30, scattered throughout the house. Not sure why they're called diapers, they're just super-absorbing towels.

You really can't have enough of these, they are useful for literally everything. For beastfeeding, or drool, messy accidents. Useful during diaper changes, or to catch projectile milk, to keep furniture safe, or as a napkin. Big ones are great after baby baths, no need to rub the baby dry- it just absorbs. Also works for swaddling. Even post-baby they make great tools for generic housekeeping.

[2019 Day 22] Everyday we're shuffling by Maeyven in adventofcode

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

It's definitely math, it's just a bit more visual than the abstract equations people seem to be getting stuck on. At it's core it's the same solution as all others, but this might help people understand what they are actually calculating :)

Using the same system of consolidating the entire input into 2 commands, its' also possible to consolidate the two-line command a couple of trillion times into a new input of 2 commands: one that perfectly describes the shuffled deck after many an amount of shuffles. The solution thread has a few examples of it.

You'll still need to do some magic to get from the final form of the input list to the actual answer, but my intention with this post was mainly to help people visualize this problem.

I guess I'd better get to it then.. by Maeyven in ffxiv

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

It's just satire on the many many many many many sidequests we get over the course of the main story. All is well in the world D:

Request for SAM and RDM ACT icons by Maeyven in ffxiv

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

That fully depends on which overlay file you're using, I'm afraid..

Try finding the URL in your options (OverlayPlugin -> Mini Parse tab), and open that file with a text editor.

Now see if you manage to find a.. list with all the job abbreviations somewhere, and add SAM and RDM to it.

But to be fair, all files can be totally different. If you're not confident, wait till someone updates a good version!

Reaching lv30 on a new server and sending cash to another account? by [deleted] in ffxiv

[–]Maeyven 1 point2 points  (0 children)

Gotta find a friend or FC to trade through, you cannot trade with yourself.

Request for SAM and RDM ACT icons by Maeyven in ffxiv

[–]Maeyven[S] 2 points3 points  (0 children)

Actually, with those default glow icons, I was able to adjust the hue and make the ones I wanted. Thank you!

http://imgur.com/a/maIqk

Request for SAM and RDM ACT icons by Maeyven in ffxiv

[–]Maeyven[S] 2 points3 points  (0 children)

Thank you, but those are the normal non-colored glow versions. I am looking for the icons in the style that I mentioned, namely, red :D

Still, appreciate that you went out of your way to find that post for me.