HN user

thedavibob

28 karma
Posts0
Comments3
View on HN
No posts found.
Advent of Code 2025 8 months ago

Yes: I'd argue that the timings actually work/worked better for Western Europe than the USA, I personally preferred doing the puzzle at 5am (UK) than the midnight equivalent, as I could finish before work (on a good day).

Nearly scratched a decent ranking once only, top 300 or so.

Recovering this power is why Brexit was so important. With it we can build the green infrastructure we need as we built the railways - via dictatorial Acts of Parliament that brook no opposition.

Like, for example, the High Speed Rail (London-West Midlands) Act, which passed in 2017 and was pootling through parliament from 2013? i.e. almost entirely before even the Brexit referendum, and definitely before Brexit?

you can select an initial guess that is offset from 50

Given that 7 guesses covers 128 numbers, you can offset by +/- 14 without actually affecting the "worst case" of the algorithm (i.e. provided you have at most 64 either side of your guess). As you say, randomly selecting this offset would neuter most adversarial examples (purposefully chosen to fall into the gaps of binary search) and would possibly completely remove the benefits from adversarial choice (though a tailored distribution on offset might be required there).

I'd be interested in such an analysis too.