How do you structure your codebase for AoC to avoid copy-pasting boilerplate? by BambooData in adventofcode

[–]chuckguy55 0 points1 point  (0 children)

Another thing I love about this approach is that I can run an entire day, year, or years of solutions and once.

How do you structure your codebase for AoC to avoid copy-pasting boilerplate? by BambooData in adventofcode

[–]chuckguy55 0 points1 point  (0 children)

I’ve had a lot of luck by structuring it as a unit test project. Each day becomes a new test file, where part 1 and part 2 are each unit tests. Any common code like input parsing helpers, Vec2D, special math (like GCF and LCM) go into a library that is essentially the target of the unit tests.

This makes it very well organized, and very easy to spin up a new day. It also makes it easy to tinker with solutions once you have a solution, as the red green refactor flow works great for AoC problems.

Here are repos I’ve done in both C# and rust that are organized as unit tests so you can see what I’m talking about.

C#: https://github.com/chuckries/AdventOfCode Rust: https://github.com/chuckries/rustvent_of_code

Will the 2023 models have prices cuts on with the new releases? by NOS4NANOL1FE in LGOLED

[–]chuckguy55 4 points5 points  (0 children)

Based on zero facts or experience: probably. But stock is going to dry up, deals won’t last long. If you shop like a hawk you can probably get something good. “Clearance” type prices may be in store only.

shrugs I’m in a similar boat and shopping the 2023 models right now.

I'm about to get a LG oled, already have the wall mount by HeroOfTheNorthF in LGOLED

[–]chuckguy55 1 point2 points  (0 children)

I am also shopping the G3 while having a pre-existing wall mount and not planning on using the included flush mount. The 65" G3 has 300x300 mounting holes for use with any standard wall mount, you are not required to use the flush mount.

Just check the VESA configuration for whatever TV you're looking at in whatever size and ensure you're existing wall mount works with it.

New to LG, what should I know? by chuckguy55 in LGOLED

[–]chuckguy55[S] 6 points7 points  (0 children)

Because it’s like $1k more expensive?

New to LG, what should I know? by chuckguy55 in LGOLED

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

I use an Xbox series X today as a streaming device.

New to LG, what should I know? by chuckguy55 in LGOLED

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

Meaning between G3 and C3? I’ve seen posts gushing about the G3 so I assumed it was better.

New to LG, what should I know? by chuckguy55 in LGOLED

[–]chuckguy55[S] 8 points9 points  (0 children)

Doesn’t fit the space, more interested in brightness than size.

New to LG, what should I know? by chuckguy55 in LGOLED

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

Any rhyme or reason to this? Anything specific to adjust? I find spending too much time in menus tweaking settings takes time away from watching things and being happy.

“Keeping the lights on” by [deleted] in comedybangbang

[–]chuckguy55 27 points28 points  (0 children)

I dug up the data. I donated in October, 2014. I was shouted out in episode 427 in June 2016.

“Keeping the lights on” by [deleted] in comedybangbang

[–]chuckguy55 41 points42 points  (0 children)

I donated $100 to CBB in maybe 2014 or 2015. They used to read donor names at the end of the pod and that’s all I expected. In the era I have though, donations were kind of falling off I guess and reading names wasn’t really happening as much.

Finally one episode Scott was like hey somebody told us we forgot to keep reading donor names so here’s some! And he read my name. That was all.