r/ProgrammerHumor • • Jan 23 '23

Other God's developer console

Post image
60.7k Upvotes

2.7k comments sorted by

View all comments

694

u/gruese Jan 23 '23

temperature.global.average -= 2

646

u/[deleted] Jan 23 '23

You fool! It's stored as a value between 0 and 1!

370

u/IJustAteABaguette Jan 23 '23

Well, not anymore!

54

u/Mastterpiece Jan 23 '23

The globe no longer exists, thus it's temperature is gone.

0

u/[deleted] Jan 23 '23

[deleted]

8

u/Mastterpiece Jan 23 '23

Negative infinity temperature actually, global temperature is supposed to be normalized.

3

u/FrankHightower Jan 24 '23

⸮ɘnob υoγ ɘvɒʜ ɈɒʜW !looʇ υoY

→ More replies (1)

7

u/Stopjuststop3424 Jan 23 '23

well, I guess the sun is going supernova a few billion years early

6

u/jaavaaguru Jan 23 '23

Earth go brrrrrr

5

u/IamaRead Jan 23 '23

0 being absolute zero and 1 being highest temperature that will create a new big bang I guess.

2 is a case for test clauses that god might've missed.

3

u/yreg Jan 24 '23

Surely there is an upper bound on temperature in the universe. (When atoms move at speed of light?)

3

u/Rudxain Jan 24 '23

Actually, they'll vibrate at the speed of light. Making EM waves look like squares rather than sines (that's very f**ed up), because that's the Planck frequency, and space-time doesn't support more ("less"? IDK) quantization past that point

→ More replies (1)

2

u/Rudxain Jan 24 '23

Let's hope it's an arbitrary-precision saturating (clamping) unsigned float. If it's signed, we get -1.59283712467819298759845041... , if it's wrapping (and unsigned) we get Infinity

2

u/qxzsilver Jan 24 '23

segfault - along the Pangaea fault lines

2

u/gruese Jan 24 '23

I was led to believe this subreddit was supposed to be fun, but you guys are fucking nerds!

/s

→ More replies (2)

390

u/Envenger Jan 23 '23 edited Jan 23 '23

That's the entire universe's temperature you fool, you decreased absolute zero by 2 degrees causing temperature underflow.

You doomed the entire creation.

113

u/MrMonday11235 Jan 23 '23

That's a pretty shitty variable name, then, considering "global" literally means "over a globe".

But then, there's 2 hard problems in CS, I guess, so.

57

u/brianorca Jan 23 '23

But which globe? There's a lot of them.

7

u/Saplyng Jan 24 '23

Well it depends on what directory you're in, otherwise you use universal if you want to alter the base settings for everything - but that's considered a bad practice

12

u/Envenger Jan 23 '23

One of the definitions from Google is

relating to or encompassing the whole of something, or of a group of things.

→ More replies (2)

7

u/oren0 Jan 24 '23

Do global variables in the code for satellites or Mars rovers stop working when those vehicles leave the Earth?

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

8

u/SuperKael Jan 23 '23

Fun fact: the average temperature of the universe (well, the temperature of the cosmic microwave background radiation anyway) is actually ~2.7. So, no *overflow here!

4

u/Envenger Jan 23 '23 edited Jan 23 '23

What about the temperature of the places of the universe that were below 2K?

You are efficiently reducing total energy in the universe by 70%. Lol

4

u/Rudxain Jan 24 '23

If it's u64, we now have ~(-1 << 0x40) - 1, essentially Infinity

BTW, your comment has sent me to absolute laughter, I was struggling to breathe LMAO

3

u/Envenger Jan 24 '23

Another issue is the average temperature of universe is 2.7k, by reducing it to 0.7k, he eliminated 70% of energy of the universe. Making sun lose like 70% of its energy. This shit is so funny.

→ More replies (1)
→ More replies (10)
→ More replies (6)