laitimes

"I used ChatGPT to make an airplane observer in 120 seconds!"

author:CSDN
"I used ChatGPT to make an airplane observer in 120 seconds!"

Author | TRANSLATED BY LOUISON DUMONT Zheng Liyuan

Listing | CSDN(ID:CSDNnews)

My son is 18 months old and he loves watching planes in the sky the most. Every time he heard the sound of an airplane engine, he would look up. The moment he spotted the plane, he would usually excitedly point at it and say "Look!" or "Airplane!" Something like that.

Since he loves planes so much, and I also know that the location of planes is public data, I wanted to write an interesting script: sound an alarm every time an airplane flies overhead, so we can run out and find it.

"I used ChatGPT to make an airplane observer in 120 seconds!"
"I used ChatGPT to make an airplane observer in 120 seconds!"

In less than two minutes, the functional prototype was ready

It was a Sunday afternoon, I changed his diaper, handed him to his mom for a nap, and then turned on my laptop at 12:10 p.m. I opened ChatGPT and asked, "I want to build a tool that sends me a notification when a flight passes above my house." Please help me build this tool with NodeJS. ”

Soon, a NodeJS code is back with the appropriate API call, distance calculation function, and notification system:

"I used ChatGPT to make an airplane observer in 120 seconds!"

I entered the longitude/latitude and executed it, expecting the API call to most likely break, but to my surprise, it ran right away and alerted me that there was an airplane nearby.

I looked at the time: 12:12. The whole process took less than two minutes, and I had a functional prototype in my head. We really live in crazy times.

I could have done it myself, found the right API, figured out its response structure, and figured out the distance between each response and my location—which would have taken 30 minutes, but now I'm doing it 30 times faster.

Then I thought: this tool is interesting, see if it can be used on other devices. So I asked ChatGPT:

Turn it into a web app where people can enter their location longitude/latitude (or geolocation using a browser), radius, and start receiving ad-hoc notifications + voice prompts on the page. I want it to be fully front-end and must be an HTML file with no dependencies.

This is the result returned by ChatGPT:

"I used ChatGPT to make an airplane observer in 120 seconds!"

As a first attempt, it worked well! It's ugly, but at least it works.

After 20 minutes, after asking it to use modern design standards, come up with a name, and create more responsiveness in the page, I ended up with this result:

"I used ChatGPT to make an airplane observer in 120 seconds!"

The link to the aircraft observer is as follows: https://planespotter.pages.dev (Note: If nothing shows up, there are currently no flights flying over your head, or you can increase the radius.) It may work best on the desktop side. )

"I used ChatGPT to make an airplane observer in 120 seconds!"

"Work" may no longer be "work"

Now, I don't expect a lot of people to care about such a tool, but I think it's a great example of how technology can make our ideas a reality faster. Today's advantage is not your ability to perform repetitive tasks, but whether you have the creative insight that comes from new powerful ideas.

ChatGPT is good at execution, but not at coming up with new ideas. So if you have unique insights and can communicate them clearly to machines, that will have a huge impact – we're moving from "primitive" repetitive physical labor to something akin to "ethereal" creative labor.

I mean, we're very close to a situation where you come up with a completely new idea and can implement it in a minute. For example, imagine Airbnb and complete the entire front-end and back-end in 1 minute. We may not be able to do this yet, but we believe that it will happen soon, and maybe it may even be able to figure out where to get it, start running self-evolving ads, or adjust itself based on conversion rates.

So I became a little curious: I wondered if as our machines got smarter, would we end up scrambling in front of computers, trying to figure out the most innovative and clear problems. Then, in a world where most "work" can be performed instantaneously, work is no longer work, but the clarity of mind required to type the right questions—and that is the domain of the mind. It's been a wonderful time.

Original link: https://louison.substack.com/p/i-built-a-plane-spotter-for-my-son

Welcome to the "2023 AI Developer Ecosystem Questionnaire" launched by CSDN to share your real experience, and more beautiful gifts are waiting for you!

Read on