3 ms·
Classic programmer easter egg? :) Not sure how probable it is from a first glance at the code...
by fullstackchris 5y ago
Classic programmer easter egg? :) Not sure how probable it is from a first glance at the code...
- zverok 5y agoIn rewritten code: https://zverok.github.io/advent2021/day11.html https://zverok.github.io/advent2021/day11.html — I'd say it is relatively probable (grep for this line): if_(stories == 1, ()=> chance(2/3, ()=> [1, "Pizza Hut"])) E.g. with 1-storey building of this type, chance is good! OTOH, the building of this type will 1 story with probability 1/4: https://github.com/zverok/grok-shan-shui/blob/main/grok.html#L1985 https://github.com/zverok/grok-shan-shui/blob/main/grok.html... ...and how many of these buildings will be in the picture is more complicated. Anyway, just opened the online picture and scrolled it for a few iterations and met it almost immediately https://www.dropbox.com/s/mr1f0gpjr5zvrsq/pizza_hut.jpg?dl=0 https://www.dropbox.com/s/mr1f0gpjr5zvrsq/pizza_hut.jpg?dl=0