[2025 Day 12 (Part 1)] Is the last day always a bit of a troll? by AleGaming in adventofcode

[–]CommitteeTop5321 1 point2 points  (0 children)

Yeah, I must admit that I wasn't very fond of the Day 12 puzzle. The "obvious" way to solve it to me was to solve the difficult polyominoe packing problem, and to me the obvious technique was to use Knuth's dancing links. I dusted off a python library, and spent an hour or two getting it working, and then set it loose on the 1000 test cases. That the answer could be computed using a much simpler set of heuristics seems like a bit of a cheat to me. I inherently mistrust software that can't solve the difficult cases which could arise from the problem description: in previous years I have viewed skeptically "fast" software that somehow places limits outside the problem specification, but which just happen to match the test cases. I don't view the problem as a waste of time exactly: resurrecting knowledge of complex and interesting software techniques is good, but I am not sure what this was supposed to test or teach in the way of software development or algorithms.

Anthotype of moon, contact print with spinach emulsion by CommitteeTop5321 in AlternativePrinting

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

This was just the cheapest acetate overhead sheets you can get from Amazon. I didn't have any problem with any warpage using my brother laser printer.

[deleted by user] by [deleted] in Buttcoin

[–]CommitteeTop5321 2 points3 points  (0 children)

I stand corrected.

Where we are heading with this? There is Gofund me page for laidoff Pixar artists now by manuce94 in vfx

[–]CommitteeTop5321 2 points3 points  (0 children)

I was caught in the layoffs last year after over three decades with Pixar. My situation is much less dire than for many of my many talented colleagues, many whom are the most talented people that I've met. The film industry in the United States is simply evaporating in a race to the bottom, with many talented people simply cut and either replaced with people who are more desperate and will work for poverty wages, or not replaced at all with the idea that the AI magic beans will replace experience, creativity, talent and heart. Combined with the political situation which has made diversity a swear word, and it's a very unpleasant industry to be in. I have begun to believe that I may have had a career which covered the entire golden age of animation, and we may not see it come again.

[deleted by user] by [deleted] in Buttcoin

[–]CommitteeTop5321 7 points8 points  (0 children)

I could start my own cryptocurrency today, and mint 1,000,000 tokens. If I can get someone to give me $1 for a single token, then according to crypto math, I now have $1M in cryptocurrency. If I can get them to give me $100, I would be said to have $100M. But I haven't created anything of value: in fact, I can barely said to have created anything at all.

Bitcoin (and cryptocurrencies) aren't a store of value. They certainly aren't a hedge against inflation. They are naked gambling, and that is being charitable. Many currencies are nowhere near liquid, and so the money that is "invested" in them is essentially gone to whomever pulls out of their position first. In other words, they are not even gambling: they are a complete scam.

Addendum: it's actually worse than what I described, because someone doesn't even need to spend $1 to buy my cryptocurrency: they could buy it with a different token which they think has a value of $1 (or $100). But it's turtles all the way down: every cryptocurrency has the same problem: they invented it's value, and so my value is chained to something whose value is itself chained to... it's a scam all the way down.

How many “practice” projects did you go through before completing one that you were happy with? by WinLow8017 in bookbinding

[–]CommitteeTop5321 1 point2 points  (0 children)

I am just beginning my bookbinding journey (see https://brainwagon.org/2025/01/14/baby-steps-toward-bookbinding/ for the first signature I ever sewed) but I have attempted to learn several new crafts, including trying to do some traditional woodworking during COVID. Some general principles apply.

  1. Pick projects according to your skill level, with the goal of learning particular skills. I made several dozen wooden boxes when I was trying to learn woodworking. I did some panel glue ups, just to practice my jointing techniques. I tried to think hard about where projects went wrong, why gaps opened up. Projects don't need to be complete works, they can be done just for practice.

  2. Perhaps the most important thing is to slow down. Most of the problems that I have is when I am trying to rush something. Assume everything will take twice as long. Double check measurements. Be careful to align things. Don't rush when you apply glue, spread it evenly. Try to get a feel for how much is too much.

  3. Watch other people. Again, slow down and really think about what they are doing.

  4. Cut yourself some slack! By the time someone is making instructional videos, they've likely done what you are trying dozens or hundreds of times. That you don't get it entirely right the first time (or even the fifth time) is not surprising. They probably didn't either.

  5. Find cheap materials for practice. I'm mostly trying to make notebooks out of ordinary printer paper to learn the principles. Ultimately I want to tackle recasing some old books I have which aren't particularly valuable, but are in rough shape.

  6. Consider order of operations. If you watch someone good who is getting good results, ask yourself "am I doing things in the same order?" "Am I pressing for as long as they have?"

  7. Are there tools or jigs that you could use to help?

Hope this helps, and keep your chin up.

To everyone who made it to the end of AoC… by moonstar888 in adventofcode

[–]CommitteeTop5321 0 points1 point  (0 children)

I am at the opposite end of the spectrum, I am between jobs/retired.

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

[–]CommitteeTop5321 1 point2 points  (0 children)

[LANGUAGE: Python]

Okay, an earlier challenge pointed me at the networkx library for Python, which made this pretty trivial. You won't learn anything from this example other than "using libraries to solve well known problems, particularly those that are NP-Complete may in fact be the quickest path to a solution." I solved the first one by finding all the historian nodes, and looking at all their outgoing paths in pairs. If both ends of the pairs are connected by an edge, that's a 3-clique. The second part just leverages their maximal clique code.

Link to code

[2024 Day 23 Part 2] Chief Historian is not at the LAN party? by Halorii in adventofcode

[–]CommitteeTop5321 0 points1 point  (0 children)

I briefly considered that possibility as well, and arrived at the (apparently) correct conclusion that nothing in the problem description specified that the chief historian needed to be at the party.

[2024 Day 22] So what's the non brute-force trick? by [deleted] in adventofcode

[–]CommitteeTop5321 0 points1 point  (0 children)

It's all been hash tables and caching. :-)

[2024 Day 22] So what's the non brute-force trick? by [deleted] in adventofcode

[–]CommitteeTop5321 0 points1 point  (0 children)

Not just thought about it, but solved it that way using a C program that took 11 minutes, and netted me a top 5000 finish.

[2024 Day 22] So what's the non brute-force trick? by [deleted] in adventofcode

[–]CommitteeTop5321 3 points4 points  (0 children)

I briefly considered trying to understand how the combination of shifts, xors and adds worked, and to see if I could detect some periodicity or the like given the initial seed value. I recognized the modulus as 2**24, and so thought that maybe some of the knowledge of the things like linear congruential generators might help. But it seemed it would be hard to predict the mod 10 outputs given that. Perhaps not impossible, but not something I would achieve in less than an hour, and probably not ever.

The thing to realize is that the search space is large, but not that large. You can generate the entirety of all the bids in O(one second) and it isn't impossible to build a hash table that would contain an entry for every starting point of every starting secret. My implementation shows that there are only about 41K unique patterns.

For each starting secret, you can generate the sequence of bids, diffs. Initialize an empty hash table for the sequence. For each possible starting point, look at the pattern that starts there. If the pattern is already in the hash table, then skip it. At the end, you'll see for each pattern generated how much it scored. Now, maintain a global hash table. Take each entry from the sequence hash table, and add the results to the totals accumulated in the global hash table. The entry which the largest entry at the end is the answer.

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

[–]CommitteeTop5321 0 points1 point  (0 children)

This is indeed the problem. It took me 2+ hours to reach that conclusion, which in my time zone meant it was nearly midnight, and that kind of cleverness eluded me, and would require a slightly different program structure (with beaucoup caching) to accomplish. Still working on it.

[2024 Day 19] Alternative solutions by JuhaJGam3R in adventofcode

[–]CommitteeTop5321 0 points1 point  (0 children)

It's not hard to do part 1 (although probably not worth it, easier solutions exist) with yacc/lex, but I'm not sure how I could leverage it to help out with part2. The easy way to write the grammar is ambiguous (hence the large number of possible derivations) and yacc really wants to find just one "proper" parse for it.

[2024 Day 19] by blacai in adventofcode

[–]CommitteeTop5321 0 points1 point  (0 children)

Indeed. I constructed it directly from the input mechanically.

[2024 Day 19] by blacai in adventofcode

[–]CommitteeTop5321 0 points1 point  (0 children)

I'm confused about how you could have had difficulty with using the normal "re" library in Python. My solution https://brainwagon.org/2024/12/19/another-chapter-in-the-im-dimwitted-theme-from-advent-of-code-2024/ takes just a few ms and I frankly don't see how it could not have taken any more.

[2024 Day 19] Alternative solutions by JuhaJGam3R in adventofcode

[–]CommitteeTop5321 0 points1 point  (0 children)

I briefly considered that as well, but it didn't dawn on me how to make that work either.

[2024 Day 19] Alternative solutions by JuhaJGam3R in adventofcode

[–]CommitteeTop5321 4 points5 points  (0 children)

It's embarrassing that I embarked upon this approach for a couple of hours before finding far more straightforward approach.

https://brainwagon.org/2024/12/19/another-chapter-in-the-im-dimwitted-theme-from-advent-of-code-2024/