cheese_greater@lemmy.world to Ask Lemmy@lemmy.world · 3 days agoIf human dreaming was a computer program, what would the algorithm/process look like?message-squaremessage-square14fedilinkarrow-up121arrow-down11
arrow-up120arrow-down1message-squareIf human dreaming was a computer program, what would the algorithm/process look like?cheese_greater@lemmy.world to Ask Lemmy@lemmy.world · 3 days agomessage-square14fedilink
minus-squareZagorathlinkfedilinkEnglisharrow-up7·3 days agowhile(true) { scenario = Scenarios.rand() time = DateTime.now() while DateTime.now() - time < DateTime.minutes(5) { scenario.continue() } }
while(true) { scenario = Scenarios.rand() time = DateTime.now() while DateTime.now() - time < DateTime.minutes(5) { scenario.continue() } }