cheese_greater@lemmy.world to Ask Lemmy@lemmy.world · 1 month agoIf human dreaming was a computer program, what would the algorithm/process look like?message-squaremessage-square14fedilinkarrow-up121arrow-down12
arrow-up119arrow-down1message-squareIf human dreaming was a computer program, what would the algorithm/process look like?cheese_greater@lemmy.world to Ask Lemmy@lemmy.world · 1 month agomessage-square14fedilink
minus-squareZagorathlinkfedilinkEnglisharrow-up7·1 month 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() } }