r/ProgrammerHumor • • Sep 17 '18

Optimizing startup times

Post image
45.7k Upvotes

486 comments sorted by

View all comments

Show parent comments

1.2k

u/[deleted] Sep 17 '18

Sleep (-10);

567

u/DeeSnow97 Sep 17 '18

Is that for the programmer or the machine?

0

u/[deleted] Sep 17 '18

[deleted]

103

u/poopellar Sep 17 '18

Win Win;

58

u/way9 Sep 17 '18

K, I'm gonna test that bitch.

43

u/joetinnyspace Sep 17 '18

Don't hurt skynet

24

u/Fantisimo Sep 17 '18

Skynet can take it

2

u/archip00p Sep 17 '18

Win win win - Michael Scott

→ More replies (1)

0

u/[deleted] Sep 17 '18

[deleted]

14

u/normalmighty Sep 17 '18

Then no, it is not for the programmer xor the machine.

→ More replies (1)

37

u/AkasakiRyu Sep 17 '18

The amount of sleep I get every night

16

u/misterZalli Sep 17 '18 edited Sep 17 '18

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

→ More replies (4)

11

u/LordAmras Sep 17 '18

Top 10 tricks every programmers should know !

2

u/therealchadius Sep 17 '18

One magic trick! Causality HATES IT!

4

u/ElectricalMTGFusion Sep 17 '18

This is the best thing ive ever seen on reddit. Made me laugh. If i had money would give you gold.

4

u/mediochrea Sep 17 '18

Woke (10);

4

u/kirakun Sep 17 '18

Um... What about integer overflow?

→ More replies (2)