all 18 comments

sorted by: hot top controversial new old
[–] 12 points 2 years ago

It's a good thing I killed my CPU attempt after 2 hours then!

I would have definitely died in that sandstorm!

  • source
  • [–] 4 points 2 years ago (1 child)

    I don't know shit about stuff l7ke this, but it's interesting. What does this mean?

  • source
  • hideshow 2 child comments
  • [+] 4 points 2 years ago* (last edited 2 years ago) (2 children)
  • [–] 1 point 2 years ago (1 child)

    One way to get the data is to render to a (hidden) surface/canvas. It's just bytes to the computer, so just dump the result data in the display buffer. Then you take a "screenshot" and interpret the RGBA values as data.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 2 years ago

    Graphics Programmer here.

    More likely you would just write data to a buffer (basically an array of whatever element type you want) rather than a render target and then read it back to the cpu. Dx, vulkan, etc. all have APIs to upload / download to / from the GPU quite easily, and CUDA makes it even easier, so a simple compute shader or CUDA kernel that writes to a buffer would make the most sense for general purpose computation like an advent of code problem.

  • source
  • parent
  • [–] -2 points 2 years ago (1 child)

    Brute force what? Part 2 of what?

  • source
  • hideshow 2 child comments
  • [–] 27 points 2 years ago (1 child)

    Erm, do you know where you are?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 2 years ago (1 child)

    I can't speak for the other guy, but I definitely don't!

  • source
  • parent
  • hideshow 2 child comments
  • [–] 18 points 2 years ago* (last edited 2 years ago) (3 children)

    OP is talking about advent of code day 8 part 2 solution. I can't give you details of the problem (because that's just to long) but you're not supposed to brute force the solution because it would take trillions of iterations to get to the right combination.

    But the guy in the picture did it anyway.

    I forgot to add, you're in the advent of code community so that alone should be enough context to understand OPs post. The questions the other guy asked are the equivalent of going to a formula 1 community and asking "Who the fuck is Toto Wolff and what does Mercedes have to do with anything?"

  • source
  • parent
  • hideshow 6 child comments
  • [+] -16 points 2 years ago (2 children)

    Did you visit that website you linked? Do you know how little information I can see there, next to seemingly random symbols?

    Also, making a community exclusive is okay. But expect people to ask if you then choose to go public.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 18 points 2 years ago (2 children)

    Advent of code is an coding advent calendar where a new puzzle is released every day for people to solve

    The numbers there (apart from the timer) in the site that was linked can be clicked to bring you to specific puzzles (1 aka Day 1 for the puzzle on the 1st of december, 2 aka Day 2 for the 2nd of december, etc.)

  • source
  • parent
  • hideshow 4 child comments