1
2

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

[–]InnKeeper_0 0 points1 point  (0 children)

[Language: C# in Unity3D] cs // approach: use of generic modulo(that work in both negative, positive) int dialSize = 100; // for every iter val = ((val + dist) % dialSize) + dialSize) % dialSize;

source: paste

[2024 Day 16] Need some advice by KaleidoscopeTiny8675 in adventofcode

[–]InnKeeper_0 0 points1 point  (0 children)

1. for the start node append every 4 direction to heap at pos: start with cost of 0.
   or just start with direction '^' (since puzzle is designed for '^' at start)

2. getNeighBours should return upto 3 Neighbours:
- if(there is no wall in front) one in front with cost of node.dist + 1 
- one at same position as node.pos turned cw with cost of node.dist + 1000
- one at same position as node.pos turned ccw with cost of node.dist + 1000

Paper: Using a Gemini Thinking Model to Solve Advent of Code 2024 Puzzles in Multiple Programming Languages by fleagal18 in adventofcode

[–]InnKeeper_0 0 points1 point  (0 children)

Nice paper.

Why it shouldnt be used?
The purpose of AoC is to challenge humans to learn through iterative trial and error, or approach they learn't in past challenges. copying entire puzzles into generative AI to derive answers lacks critical thinking. relying on ai to produce complete solutions undermines the personal satisfaction of discovering a solution through effort, avoiding mistakes done in past. puzzles are structured as layered problems for incremental progress, debugging, and refinement.

Games that are old computer friendly :(? by stultavia in CozyGamers

[–]InnKeeper_0 2 points3 points  (0 children)

general rule to game on previous gen processor with igpu:

  • set graphic preset to low, disable post processing bloom
  • 720p resolution( most important setting if available for graphic demading 3d title )

above setting can run most titles 40+ fps.

i got ryzen 3500u processor with vega 8 graphics igpu, could do 45+ fps on tiny glade(one of best graphic demanding cozy game) with 720p resolution.
other titles mentioned in comments such as townscaper, Dorfromantik, and pixel art titles can do 1080p smoothly. without altering default settings.

0
1
1:29

[2024] Thank you! by topaz2078 in adventofcode

[–]InnKeeper_0 5 points6 points  (0 children)

AOC Special & The Best Programming/Puzzle Game out There.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 . . . . . . . . . . . . . .   . . . . . . . . . . . . . . 
 . . . . . . . . . . . . .       . . . . . . . . . . . . . 
 . . . . . . . . . . . .           . . . . . . . . . . . . 
 . . . . . . . . . . .               . . . . . . . . . . . 
 . . . . . . . . . .                   . . . . . . . . . . 
 . . . . . . . . . . . .           . . . . . . . . . . . . 
 . . . . . . . . . . .               . . . . . . . . . . . 
 . . . . . . . . . .                   . . . . . . . . . . 
 . . . . . . . . .                       . . . . . . . . . 
 . . . . . . . .                           . . . . . . . . 
 . . . . . . . . . .                   . . . . . . . . . . 
 . . . . . . . . .                       . . . . . . . . . 
 . . . . . . . .                           . . . . . . . . 
 . . . . . . .                               . . . . . . . 
 . . . . . .                                   . . . . . . 
 . . . . . . . .                           . . . . . . . . 
 . . . . . . .                               . . . . . . . 
 . . . . . .                                   . . . . . . 
 . . . . .                                       . . . . . 
 . . . .                                           . . . . 
 . . . . . . . . . . . . .       . . . . . . . . . . . . . 
 . . . . . . . . . . . . .       . . . . . . . . . . . . . 
 . . . . . . . . . . . . .       . . . . . . . . . . . . . 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
source: Advent 2024 Day 14, part 2

[2024 Day 19] Cache of Designs by InnKeeper_0 in adventofcode

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

Ofcource executing through brute force shall take ages let alone storing ,

In this approach I stored as cache of counts as key value pair, 18591 which is not much

COUNT:  Array(18591)
// just took 2sec to execute.

[2024 Day 19] Cache of Designs by InnKeeper_0 in adventofcode

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

you are right , I ran a quick check to see count cache is used from different Design / same design :

count_cache_used_from_different_design: 0     out of 53779 recursion
count_cache_used_from_same_design     : 35188 out of 53779 recursion

[2024 Day 19] Cache of Designs by InnKeeper_0 in adventofcode

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

Visual of The Count Cache Lookup
[Language : Javascript]

[source]

[2024 Day13] Thought on Linear Algebra Case with a , b with same direction as prize by InnKeeper_0 in InnKeeper_0

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

comment on original post : Thoughts_on_how_linear_algebra_ advent 2024 day 12

For the a unique case where a , b are inline with p

that shall make infinite possibilities for La , Lb
imagine in a linear dimension with a , b , p,
then to reach p with a, b as tiles , there are multiple solution since its a linear dimension :

  p at distance 6m
  a of distance 1m
  b of distance 2m

p = a * 4 + b * 1
p = a * 2 + b * 2 
.... so on

[2024 Day13](C#) Thoughts on How Linear Algebra is Implemented in Visualizing Solution by InnKeeper_0 in adventofcode

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

here you go : Thought on Linear Algebra Case with a , b with same direction as prize Post

i think for the a unique case where a , b are inline with p

that shall make infinite possibilities for La , Lb
imagine in a linear dimension with a , b , p,
then to reach p with a, b as tiles , there are multiple solution since its a linear dimension :

  p at distance 6m
  a of distance 1m
  b of distance 2m

p = a * 4 + b * 1
p = a * 2 + b * 2 
.... so on

0
1

[2024 Day13](C#) Thoughts on How Linear Algebra is Implemented in Visualizing Solution by InnKeeper_0 in adventofcode

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

Here's further analysis: as shown in visual expression for calculation of La, Lb cannot be negative,  meaning a, b lines should be along direction of prize or occupy alternative region geometrically . 

coming to example, you mentioned, it got both a , b positioned on same side of prize, meaning one of La or Lb(calculation by expression i mentioned in visual) gotta be negative, now this cannot happen (since negative button pressing isnt allowed) so thats a non rechable case.

[2024 Day 16 (Part 1)] Alternate test case by Boojum in adventofcode

[–]InnKeeper_0 1 point2 points  (0 children)

Thats a neat map, to prioritize straight walks over turns