Fireship · @fireship

How a CS student tracks Elon’s Private Jet with Python // The Code Report

Uploaded February 1, 2022 · Length 2:27

How a CS student tracks Elon’s Private Jet with Python // The Code Report

Summary

A CS student uses Python and APIs to track Elon Musk's private jet location.

  • elon musk private jet
  • python tracking api
  • flight tracking
  • twitter bot
  • cs student project

Transcript preview

The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.

  1. 0:01

    it's february 1st 2022 and you're

  2. 0:03

    watching the code report news for people

  3. 0:05

    who code and stuff everybody loves

  4. 0:07

    billionaires but for some of us that

  5. 0:09

    love can go too far recent polling data

  6. 0:11

    indicates that elon musk is the world's

  7. 0:13

    most popular billionaire by a wide

  8. 0:14

    margin but he's been having a rough week

  9. 0:16

    not only did he lose billions of dollars

  10. 0:18

    in net worth but a college student named

  11. 0:20

    jack sweeney from the university of

  12. 0:21

    central florida created a twitter bot

  13. 0:23

    that tracks the location of his private

  14. 0:25

    jet elon fearing for his safety slid

  15. 0:27

    into the 19 year old's dms the world's

  16. 0:29

    richest person offered him five million

  17. 0:31

    dollars or no i'm sorry five thousand

  18. 0:33

    dollars to take it down most teenagers

  19. 0:35

    would be if elon asked them to but

  20. 0:37

    apparently this kid is some kind of

  21. 0:38

    alpha giga chad and counter offered with

  22. 0:40

    50k and an internship but elon declined

  23. 0:43

    what an

  24. 0:44

    idiot and now you're hearing about it on

  25. 0:46

    my channel because the streisand effect

  26. 0:48

    is in full swing the story got picked up

  27. 0:50

    by the mainstream media and the elon jet

  28. 0:52

    twitter account has grown by over a

  29. 0:53

    hundred thousand followers over the last

  30. 0:55

    couple days some people call this guy a

  31. 0:57

    stalker or extortionist especially

  32. 0:58

    because elon only has one private jet

  33. 1:00

    unlike most billionaires like jeff bezos

  34. 1:02

    recently went to the cop 26 climate

  35. 1:04

    summit in his private jet to lecture us

  36. 1:06

    about how we're destroying the

  37. 1:07

    environment but he has multiple private

  38. 1:08

    chats making it much harder for stalkers

  39. 1:10

    to track him bezos also has a 500

  40. 1:12

    million dollar mega yacht while elon

  41. 1:14

    doesn't have a yacht at all so elon kind

  42. 1:15

    of did this to himself by only having

  43. 1:17

    one mode of transportation i realize

  44. 1:19

    he's saving up his money to go live on

  45. 1:20

    mars but now everybody in the world

  46. 1:22

    knows how to track november 6-8 tango

  47. 1:24

    sierra but how does a 19 year old figure

  48. 1:26

    out how to track a private jet is jack

  49. 1:28

    sweeney some kind of coding genius well

  50. 1:30

    the code is on github so i did some

  51. 1:31

    investigating it's written in python and

  52. 1:33

    uses the open sky network api to track

  53. 1:36

    the unique transponder of the plane this

  54. 1:38

    is a really cool api because it's free

  55. 1:40

    and made possible by a huge network of

  56. 1:42

    people who relay data to the system from

  57. 1:44

    all over the world flight tracking is

  58. 1:45

    perfectly legal and there's all kinds of

  59. 1:47

    different apps that rely on this data in

  60. 1:49

    the code he tracks the plane's altitude

  61. 1:50

    and position every few minutes then

  62. 1:52

    there's an algorithm that will look for

  63. 1:54

    changes from the previous position to

  64. 1:55

    determine a takeoff or landing event in

  65. 1:58

    most cases the plane is just on the

  66. 1:59

    ground but when a takeoff or landing