Replying to @krrishvardhan @ChaiCodeHQ @Hiteshdotcom @nirudhuuu @BlazeisCoding @yntpdotme @devwithjay @piyushgarg_dev
Congratulations🎉
I've been wanting to understand what happens beyond writing code how applications actually run and get deployed.
Starting my Docker & Kubernetes journey with this course by @Hiteshdotcom sir and @techie_piyush sir.
Excited to learn and build along the way.
@nirudhuuu
I started exploring GPS for an IoT practical.
One question led me down a rabbit hole of radio signals, atomic clocks, and Einstein's relativity.
The technology we use every day is often far more fascinating than it looks.
What should we unpack next? 👀
And here's the Einstein connection.
GPS satellites carry atomic clocks.
Relativity makes their clocks tick at a different rate from clocks on Earth.
Without corrections, positioning errors would grow by kilometres per day.
A fourth satellite helps your receiver solve its 3D position and correct for its own clock error.
Multiple signals + timing + maths.
That's how your phone figures out where you are.
But one satellite can't tell you where you are.
You could be anywhere on an imaginary sphere around it.
A second satellite narrows the possibilities to a circle.
A third narrows them further.
Here's the mind-blowing part.
Radio signals travel at the speed of light.
A timing error of just 100 nanoseconds can mean about 30 metres of range error.
A tiny fraction of a second. A huge difference in distance. 🤯
GPS satellites orbit roughly 20,000 km above Earth.
Each satellite sends a radio signal with timing information.
Your receiver checks when it was sent and when it arrived.
That tiny time difference helps calculate the distance.
GPS doesn't directly measure distance.
It measures time. 🛰️
And turning tiny timing differences into your location is one of the cleverest tricks in modern technology.
Here's how it works 🧵
Replying to @hecodesforme
thanks nice suggestions btw i have already explored the last-unit-in-stock race using concurrent transactions
Replying to @hecodesforme
All three rolled back cleanly. I threw an error intentionally and verified that none of the changes persisted.
Replying to @krrishvardhan @wjshubham @ChaiCodeHQ @Hiteshdotcom @BlazeisCoding @yntpdotme @nirudhuuu
Congratulations bro 🔥

