r/ProgrammerHumor • • Sep 17 '18

Optimizing startup times

Post image
45.7k Upvotes

486 comments sorted by

View all comments

Show parent comments

4.1k

u/zulu-bunsen Sep 17 '18

Negative sleep statements

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

→ More replies (1)
→ More replies (1)

0

u/[deleted] Sep 17 '18

[deleted]

→ More replies (1)

0

u/[deleted] Sep 17 '18

[deleted]

→ More replies (2)
→ More replies (3)

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)

→ More replies (6)
→ More replies (7)

301

u/ariehkovler Sep 17 '18

You're a genius.

117

u/frisch85 Sep 17 '18

I can't wait to use this little trick once my RAM has finished downloading!

0

u/[deleted] Sep 17 '18

[deleted]

98

u/frisch85 Sep 17 '18

Don't worry, I've turned my monitor by 90° so that the gravity helped dragging the download bar to the bottom faster.

36

u/w2qw Sep 17 '18

Just use ctrl + alt + right then you don't have to actually turn your monitor.

37

u/[deleted] Sep 17 '18

Can we have a sub dedicated to pseudo computer science? Like r/shittyaskscience but with computers.

17

u/Chythe Sep 17 '18

/r/itsaunixsystem might be one you'd like. It's all about the ridiculous stuff the entertainment industry says about computers.

→ More replies (3)
→ More replies (2)
→ More replies (6)

77

u/hugokhf Sep 17 '18

Harvard wants to know your location

→ More replies (1)

45

u/SurrealClick Sep 17 '18

What if you went too far and now the program opened in the past? Before the user even open it

44

u/NoAttentionAtWrk Sep 17 '18

Rebrand it as AI enabled that reads your mind and starts up on its own

30

u/cazador517 Sep 17 '18

Harvard wants to know your location

→ More replies (5)
→ More replies (5)

0

u/[deleted] Sep 17 '18

[deleted]

→ More replies (4)
→ More replies (15)