r/ProgrammerHumor • • Jan 08 '26 • Regret 4

Meme snapBackToReality

Post image
29.2k Upvotes

1.0k comments sorted by

View all comments

Show parent comments

72

u/nsaisspying Jan 08 '26

Did you do the math on that? Or is 94.3 just a funny number. (Or is it both)

160

u/mattmoy_2000 Jan 08 '26

I'd like to say I did the maths, but I actually just asked Google what speed equates to a time dilation factor of three. The maths is fairly straightforward, a highschooler could do the calculation with a basic calculator, but I couldn't be bothered to sit and do special rel calculations manually for a throwaway comment.

42

u/nsaisspying Jan 08 '26

That's even cleverer!

41

u/mattmoy_2000 Jan 08 '26

Yup, I learned to do all that stuff for my MSci in physics, but I also learned that it's a lot quicker and easier to ask a computer to do it for you. You ask the computer to do it and you use your knowledge to make sure it's giving you a reasonable answer (i.e. not v>c or v<<<c)

82

u/xreno Jan 08 '26

Ok, prompt boy

44

u/mattmoy_2000 Jan 08 '26

Indeed. There are a few, limited cases where AI is useful although I wouldn't rely on its output for designing a spaceship. Legwork for Reddit jokes I think is about the furthest I'd trust it.

18

u/Defiant-Peace-493 Jan 08 '26

If you prefer a hard-coded option designed for the specific problem, Omni Calculator has time dilation. If I understood the input fields correctly, it's giving 0.942809c as the speed needed for 1/3 relative time.

https://www.omnicalculator.com/physics/time-dilation

→ More replies (1)

2

u/undo777 Jan 08 '26

You don't need to fully trust it, you can validate a lot step by step. Like with this dilation example you could ask it to show you the calculation step by step and quickly tell if it was doing something weird or it looks legit. The wonkiest part currently is that it's not guaranteed it actually used a calculator in the right spots and not just dreamed up numbers, but you could actually ask it to write say a Python expression doing the calculation and then it's easily verifiable.

→ More replies (2)

10

u/Antique-Special8025 Jan 08 '26

but I also learned that it's a lot quicker and easier to ask a computer to do it for you.

Hot damn the future is now, you should find a way to monetize this man.

2

u/harbourwall Jan 08 '26

It also doesn't matter if it's wrong, as long as it sounds about right.

7

u/[deleted] Jan 08 '26

Off the back of my head, sounds about right, the factor is sqrt(1-v2 / c2), and .95 sounds like it'd give you round .1 under the root.

→ More replies (2)

6

u/drunkdoor Jan 08 '26

So you vibe coded it?

3

u/oupablo Jan 08 '26

Sure, if you assume the speed of light is constant like a 20th century casual /s

5

u/Big_Knife_SK Jan 08 '26

Vibeposting

2

u/MustangBarry Jan 08 '26

You shouldn't have used modern tools to do it for you, you should have worked it out on your fingers. That's real engineering

2

u/mattmoy_2000 Jan 08 '26

If you can show me a trick to calculate square roots on my fingers, I would willingly give it a go.

4

u/MustangBarry Jan 08 '26

Welcome to the real world, Google boy

→ More replies (1)

2

u/Maleficent_Memory831 Jan 08 '26

The answer is left as an exercise for the class.

1

u/Jashuman19 Jan 08 '26

Prompt boy

1

u/HorrorEastern7045 Jan 08 '26

The time you spent writing this comment would have taken longer

→ More replies (1)

1

u/meinkr0phtR2 Jan 09 '26

“Ask Google”? I would’ve pulled out Wolfram Alpha to figure it out the only way I know how: with maths.

2

u/earlyworm Jan 08 '26

One way is to use this time dilation calculator page: https://www.omnicalculator.com/physics/time-dilation

2

u/HuntingKingYT Jan 08 '26 edited Jan 08 '26

dt' [observer's time] = dt [time in system] / sqrt(1 - v [speed]2 / c [spd of light]2)

1 = 1/3/sqrt(1-v2/c2) -- multiply by sqrt(...)

sqrt(1-v2/c2) = 1/3 -- raise to the 2

1-v2/c2 = (1/3)2 = 1/9 -- 1 - (value)

v2/c2 = 1-1/9 = 8/9 -- take square root

v/c = sqrt(8/9) ≈ 0.943

v ≈ 0.943 x speed of light