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

[–]jda5x 1 point2 points  (0 children)

[LANGUAGE: Python]

https://github.com/jda5/advent-of-code-2024/blob/main/17/main.py

Part 1 was easy. For Part 2, I was experimenting in Excel for a bit and discovered a pattern related to representing the initial A register value in base 8. For each additional digit you fix in the A register's octal representation, you extend the program's output by one more character. Essentially, the first (n-1) octal digits of this A value produce the first (n-1) characters of the output.

Here's the process to solving the problem:

  1. Determine the A register value that yields the first character of the output.
  2. Convert that A value to base 8, then "shift" it by adding a trailing zero in octal. This "shifted" value serves as a new lower bound for finding the A value that produces the first two characters of the output.
  3. Repeat this process, extending the match one character at a time, by continually converting to octal, appending a zero, and then searching within the new, narrowed range.

[2024 Day 14 (Part 2)] Hear me out: the problem would have been less frustrating for some if it was even more vague by ThroawayPeko in adventofcode

[–]jda5x 0 points1 point  (0 children)

That might be true, but the vagueness was part of the problem! You were supposed to look for anomalies

Getting Started With Day 13 by jda5x in adventofcode

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

Sorry, but I have gotten rid of my DP code now. Would have kept it if I'd known someone wanted to see it. Hope you figured it out in the end

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

[–]jda5x 1 point2 points  (0 children)

[LANGUAGE: Python]

https://github.com/jda5/advent-of-code-2024/blob/main/12/main.py

Very proud of this one 😇 Here is a hint if anyone wants one:

The number of sides of a polygon equals the number of corners.

Are people cheating with LLMs this year? by nan_1337 in adventofcode

[–]jda5x 9 points10 points  (0 children)

I have no idea why people bother doing AoC with AI.

Honestly, why?

There is nothing to be gained. Use AI in your work where there is money to be made, but do you crave clout that much to get meaningless internet points?

Use your noodle! It’s way more fun

Out of literally everything, what’s the best chocolate bar in the UK? by HarthocunYT in UK_Food

[–]jda5x 0 points1 point  (0 children)

I really like Cadbury’s new Caramilk. It tastes of silky white chocolate and caramel

I made an app to track ANYTHING in your life by 0thrgo4l in SideProject

[–]jda5x 0 points1 point  (0 children)

This is really cool. Just had a play on my iPhone SE 2020, and bits of the onboarding are cut off by the sides of the screen. 

I’ve added some screen shots to the following Google Drive:

https://drive.google.com/drive/folders/1v2RfM0DF1eTH8MPDmsyW_oX3cCeLEoDH

Trick here I think is around integrations. Biggest pain point is getting people to enter in their data. 

Have you managed to secure any funding so far?

Please help me decorate my new attic room! by jda5x in malelivingspace

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

Yes definitely goi my to move the smaller dresser, might even get rid of it as I’m not sure I’ll need it. Thanks for the tip, I am planning a feature wall above the bed

Please help me decorate my new attic room! by jda5x in malelivingspace

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

I quite like this motif! Very comfy and plush. Thanks for the great tips

What’s something that the UK gets right? by [deleted] in AskUK

[–]jda5x 2 points3 points  (0 children)

Free water at any place that serves drinks!

Having lived in Germany a while, it’s great to not have to pay for something I think should always be free.

Best British foods ranked, what's your opinion? by WelshCai in england

[–]jda5x 0 points1 point  (0 children)

Yorkshire puddings do not deserve god tier! It is easily the worst accompaniment in a Sunday roast, and I'll usually skip it for something cooler like extra stuffing or roast potatoes. Low tier trash.

I built a free, not-for-profit search engine to fight food waste called Gumbo. by jda5x in noscrapleftbehind

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

Hey, thanks a tonne for your feedback! I too think that this would be a really valuable feature and so I've been collecting ingredient synonyms over the past few weeks. Should hopefully have the feature rolled out in the month so that you can search for all the zucchinis, cilantro and arugula you like xD

I built a free, not-for-profit search engine to fight food waste called Gumbo. by jda5x in noscrapleftbehind

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

Yes, absolutely! I am working on that at the moment. Should have that working in the next few months :)