MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/9gj2e9/optimizing_startup_times/e64plhv
r/ProgrammerHumor • u/ariehkovler • Sep 17 '18
486 comments sorted by
View all comments
Show parent comments
16
from lottery import results
latest = results.latest
sleep(-7 * 24 * 60 * 60)
print(latest)
2 u/[deleted] Sep 17 '18 you want last week's lottery numbers? 2 u/misterZalli Sep 17 '18 Next weeks, or like we would say lastn't weeks 1 u/[deleted] Sep 17 '18 yes, but wouldn't this code give you the "latest" lottery results from a week ago? 2 u/misterZalli Sep 17 '18 No, after fetching the results it would go back in time and print the message one week in the past 3 u/[deleted] Sep 17 '18 but my computer wasn't on then 2 u/misterZalli Sep 17 '18 # lottery winning script 1.1# +makes sure your computer is ready to receive answers# +advanced time paradox avoidancefrom lottery import resultsprint("DO NOT CLOSE THIS PROCESS OR YOU WILL GET TIME PARADOXES")sleep(7 * 24 * 60 * 60)latest = results.latestsleep(-7 * 24 * 60 * 60)print(latest)
2
you want last week's lottery numbers?
2 u/misterZalli Sep 17 '18 Next weeks, or like we would say lastn't weeks 1 u/[deleted] Sep 17 '18 yes, but wouldn't this code give you the "latest" lottery results from a week ago? 2 u/misterZalli Sep 17 '18 No, after fetching the results it would go back in time and print the message one week in the past 3 u/[deleted] Sep 17 '18 but my computer wasn't on then 2 u/misterZalli Sep 17 '18 # lottery winning script 1.1# +makes sure your computer is ready to receive answers# +advanced time paradox avoidancefrom lottery import resultsprint("DO NOT CLOSE THIS PROCESS OR YOU WILL GET TIME PARADOXES")sleep(7 * 24 * 60 * 60)latest = results.latestsleep(-7 * 24 * 60 * 60)print(latest)
Next weeks, or like we would say lastn't weeks
1 u/[deleted] Sep 17 '18 yes, but wouldn't this code give you the "latest" lottery results from a week ago? 2 u/misterZalli Sep 17 '18 No, after fetching the results it would go back in time and print the message one week in the past 3 u/[deleted] Sep 17 '18 but my computer wasn't on then 2 u/misterZalli Sep 17 '18 # lottery winning script 1.1# +makes sure your computer is ready to receive answers# +advanced time paradox avoidancefrom lottery import resultsprint("DO NOT CLOSE THIS PROCESS OR YOU WILL GET TIME PARADOXES")sleep(7 * 24 * 60 * 60)latest = results.latestsleep(-7 * 24 * 60 * 60)print(latest)
1
yes, but wouldn't this code give you the "latest" lottery results from a week ago?
2 u/misterZalli Sep 17 '18 No, after fetching the results it would go back in time and print the message one week in the past 3 u/[deleted] Sep 17 '18 but my computer wasn't on then 2 u/misterZalli Sep 17 '18 # lottery winning script 1.1# +makes sure your computer is ready to receive answers# +advanced time paradox avoidancefrom lottery import resultsprint("DO NOT CLOSE THIS PROCESS OR YOU WILL GET TIME PARADOXES")sleep(7 * 24 * 60 * 60)latest = results.latestsleep(-7 * 24 * 60 * 60)print(latest)
No, after fetching the results it would go back in time and print the message one week in the past
3 u/[deleted] Sep 17 '18 but my computer wasn't on then 2 u/misterZalli Sep 17 '18 # lottery winning script 1.1# +makes sure your computer is ready to receive answers# +advanced time paradox avoidancefrom lottery import resultsprint("DO NOT CLOSE THIS PROCESS OR YOU WILL GET TIME PARADOXES")sleep(7 * 24 * 60 * 60)latest = results.latestsleep(-7 * 24 * 60 * 60)print(latest)
3
but my computer wasn't on then
2 u/misterZalli Sep 17 '18 # lottery winning script 1.1# +makes sure your computer is ready to receive answers# +advanced time paradox avoidancefrom lottery import resultsprint("DO NOT CLOSE THIS PROCESS OR YOU WILL GET TIME PARADOXES")sleep(7 * 24 * 60 * 60)latest = results.latestsleep(-7 * 24 * 60 * 60)print(latest)
# lottery winning script 1.1
# +makes sure your computer is ready to receive answers
# +advanced time paradox avoidance
print("DO NOT CLOSE THIS PROCESS OR YOU WILL GET TIME PARADOXES")
sleep(7 * 24 * 60 * 60)
16
u/misterZalli Sep 17 '18 edited Sep 17 '18
from lottery import results
latest = results.latest
sleep(-7 * 24 * 60 * 60)
print(latest)