SteveDinn
Oh, I fully blame HP for this, but I am also just asking the question. Now that you mentioned colouring pages, I remember that I used a printer pretty heavily while my kids were home during quarantine.
For the odd time I have to print something, it's more worth my while to just go to Staples or whatever and get it printed for me there.
The only other thing I cam remember printing in the near term has been amazon return labels.
Exactly. I have a stainless French press as well. I've broken two glass ones. Not only is there broken glass to clean up, there's also no coffee...
I just use Navidrome's web client. It does everything I need. DSub on Android.
I am using a normal desktop case with an external usb-c 8-bay JBOD drive enclosure from Mediasonic. I'm using mdadm to combine the drives with RAID-6. I know I'm not getting the performance that I could with native SATA, but it can still saturate my 1Gbps network, so it's good enough for serving video, audio, and some other web-based apps.
Goddamn it. I came here to say this. Take my upvote.
I got a lunch and a soda, and I'm not leaving until I see that sailboat.
C#
Breadth-first search, then take the max of the values of searches starting from all the edge tiles.
https://code.dinn.ca/stevedinn/AdventOfCode/src/branch/main/2023/day16/Program.cs
C#
Obviously, you can't calculate 1 billion iterations, so the states must repeat after a while. My solution got to 154 different states and then started looping from state 92 to state 154 (63 steps). From there we can find the index in the state cache that the final state would be, and calculate the supported load from that.
https://code.dinn.ca/stevedinn/AdventOfCode/src/branch/main/2023/day14/Program.cs
Me too. I ran all the samples, and I was still banging my head. I can usually see the mistake if it's an off-by-one error in a calculation, but this was a mistake in reading the problem description, so I couldn't see it at first.
Man this one frustrated me because of a subtle difference in the wording of part 1 vs part 2. I had the correct logic from the start, but with an off-by-one error because of my interpretation of the wording. Part 1 says, "any rows or columns that contain no galaxies should all actually be twice as big" while part 2 says, "each empty column should be replaced with 1000000
empty columns".
I added 1 column/row in part 1
, and 1_000_000
in part 2. But if you're replacing an empty column with 1_000_000
, you're actually adding 999_999
columns. It took me a good hour to discover where that off-by-one error was coming from.
Bookstack is what I self host, but this is the best pure markdown editor I've found: https://markdownlivepreview.com/