A McTweak Family debate turned coding challenge!
Join us for a special lesson featuring GarbageMcTweak's real-life coding feat. Watch how he settled a heated flat Earth debate by writing a program in just 24 minutes that proves Earth's shape using star charts!
Back to Main HubOne fateful day, while FattyMcTweak was deep in a gaming session of "7 Days to Die," he let slip a controversial comment. In his frustration over dying in just 11 minutes (not 7 days), he angrily called the game developers "GlobeTards."
Little did he know, this casual remark would trigger a heated debate among the McTweak family about the shape of the Earth, culminating in GarbageMcTweak's impressive programming solution.
"Look, I've seen the not-curve with my own eyes! I bet you normies are all in on the conspiracy. Terrance Moonbean makes some compelling points, you know."
"The Earth is obviously a giant spinning ball! I learned that in elementary school! You make the FlatTards look smart; you're a FatTard!!!"
"Shut the fuck up with that nonsense. Earth is a globe, retard. Check the script. DON'T TOUCH THE SCRIPT!!!!"
"Well, I see both sides have strong opinions. Maybe we need to examine the evidence carefully? The shape of Earth does impact many scientific principles..."
"You're all TRASH! Arguing without evidence like a bunch of NPCs! But if the Earth is flat, explain why my trash rolls AROUND hills instead of just sliding DOWN them? Checkmate, FattyTard!"
"While I'm waiting for Oblivion to load... Why don't I just write a snippet of code real quick and solve this shit? If it ain't loaded by then, we're going back to Elden Ring. Elden Beast is more of a challenge than this Bill Nye vs Terrence Moonbean rumble. Game on."
While waiting for his Oblivion loading screen, GarbageMcTweak (real name: Scott McPeak) wrote an elegant program that:
The program uses pure math and observational data to determine which model of Earth best explains what we actually see in the night sky.
If you observe the same stars from different locations on Earth at the same time, their relative positions in the sky change in a specific pattern.
By measuring these differences and calculating the angles, you can determine:
This method has been known since ancient times - Eratosthenes used a version of it to calculate Earth's circumference around 240 BCE!
GarbageMcTweak's program takes these inputs:
The program then:
After running calculations using real astronomical data from multiple locations:
Conclusion: The Earth is indeed a globe with radius approximately 6,371 kilometers.
Watch the full explanation of Scott McPeak's method for measuring Earth's shape using star positions
"And that's it. Math doesn't lie. The code's done, the results are in, and the Earth is a sphere with radius about 6,370 km. Just in time too - Oblivion finally loaded."
"But... but... the horizon doesn't curve! My eyes tell me—"
"SHUT IT! Math beats your feelings! The script is RIGHT. It's always been RIGHT!"
"HA! I told you! Who's the FatTard now? *does victory dance*"
"Garbage actually coded something useful for once instead of playing those TRASH games! But you're all still TRASH coders compared to me!"
"What a beautiful coding solution! This is why programming is so powerful - it gives us tools to understand our world through data and math. Great job, GarbageMcTweak!"
"Whatever. I'm going to play Elden Ring now. But I've uploaded the code if anyone wants it. Even the elkhound understands the Earth is round now. Right, boy?"
This story demonstrates how programming can be used to:
GarbageMcTweak's program shows that coding isn't just about building websites or apps—it's a powerful tool for understanding our universe and settling debates with objective evidence.
Want to explore GarbageMcTweak's method yourself? Here are some resources:
Start with these simplified projects to understand the concepts:
Return to the McTweak.ai hub to continue your journey through our 100 lessons and build your own amazing programs!