Re:Grok {Shan, Shui}*: Advent of understanding the generativ...
by fullstackchris on Tuesday December 28, 2021 @10:50PM
(#29721622)
Classic programmer easter egg? :) Not sure how probable it is from a first glance at the code...
Re:Grok {Shan, Shui}*: Advent of understanding the generativ...
by zverok on Wednesday December 29, 2021 @06:24AM
(#29723881)
In rewritten code: 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......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
[edit] ohhh haha now I see it. That's hilarious.
https://github.com/LingDong-/shan-shui-inf/blob/9f754d2b2e73...