Close Menu
Karachi Chronicle
  • Home
  • AI
  • Business
  • Entertainment
  • Fashion
  • Politics
  • Sports
  • Tech
  • World

Subscribe to Updates

Subscribe to our newsletter and never miss our latest news

Subscribe my Newsletter for New Posts & tips Let's stay updated!

What's Hot

Lessons to learn how to make your code vibrate using AI like ChatGPT

Masala Bond: DBS faces IT-related prosecution over 2019 Masala Bond investment

India’s AMCA rollout: 120 jets, 157,844 rupees, speed 2,600 km/h, payload 6,500 kg | India News

Facebook X (Twitter) Instagram
  • Home
  • About us
  • Advertise
  • Contact us
  • DMCA
  • Privacy Policy
  • Terms & Conditions
Facebook X (Twitter) Instagram Pinterest Vimeo
Karachi Chronicle
  • Home
  • AI
  • Business
  • Entertainment
  • Fashion
  • Politics
  • Sports
  • Tech
  • World
Karachi Chronicle
You are at:Home » Lessons to learn how to make your code vibrate using AI like ChatGPT
Tech

Lessons to learn how to make your code vibrate using AI like ChatGPT

Adnan MaharBy Adnan MaharOctober 17, 2025No Comments5 Mins Read0 Views
Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
Share
Facebook Twitter LinkedIn Pinterest WhatsApp Email


What if you could automate your least favorite task at work?

Alphabet CEO Sundar Pichai and other technology CEOs are encouraging beginners to try their hand at vibecoding, which uses AI to generate code with natural language prompts and improve it through conversation.

Even though I have zero coding experience, I decided to try and create something that would be useful to me.

This project ended up having some twists and turns and took half a day to complete, but I learned some invaluable lessons about how LLM works and why there is a learning curve in understanding how to use AI.

task

My least favorite part of my job as a journalist is having to be on social media platforms that don’t bring me any joy.

Additionally, checking and monitoring the feeds of about a dozen tech CEOs’ individual X accounts is not an efficient use of time.

My goal for this project was to create a single web page where I could view people’s posts without having to log into the platform or access their individual feeds. First, I wanted to have three columns on the page, each representing President Donald Trump, Tesla CEO Elon Musk, and OpenAI CEO Sam Altman, and I wanted the columns to update automatically whenever something new is posted.

Let’s try it first

Screenshot of the page

The author’s attempt to code the web page was unsuccessful.

Katherine Lee/Business Insider



Around 2pm local time, I told ChatGPT that I had no coding experience and needed to start with the very basics. Next, we explained the task in detail.

Related articles

Business Insider tells the groundbreaking stories you want to know

Business Insider tells the groundbreaking stories you want to know

ChatGPT has created a simple plan that starts with downloading the software, creating a file, and launching a web page using Terminal, the MacBook’s command-line interface. It then generated a very long string of code and asked me to enter it into one of my code creation tools, TextEdit files.

The steps went smoothly until I actually started the program on my local web server and saw an error message in each feed column. Please follow ChatGPT’s advice to adjust the feed refresh rate and try the different links provided to read the feed.

After still getting the error I asked them to change the code. That’s when everything went into meltdown mode.

Every time you try to generate a new set of code to fix an error message, a new type of error message appears. And when nothing worked, ChatGPT asked me to perform a task that was way beyond my head.

The chatbot finally got tired of me and gave me a “Gateway Timeout” error message that completely prevented me from launching from the platform for the next two hours.

Please take two

A text message from the author's partner.

An exchange of text messages between the author and a partner who actually knows how to code.

Katherine Lee/Business Insider



At this point it was 7pm so I decided to ask for help. I messaged my partner, who majored in computer science and physics and has a Ph.D. And he said I was approaching this job the wrong way.

He suggested removing everything and simplifying the task to just getting one person’s social feed. He also said people should stop talking about ChatGPT as if it were a “knowledgeable toddler” and treating it as a search engine. And most importantly, instead of expecting instant results, you should try to understand what ChatGPT is doing and ask for an explanation of its solution, he added.

With his advice in mind, I described a new task: creating a page that essentially functions as a Trump Truth social feed, without actually requiring access to the platform. Instead of rushing into the task, I messaged ChatGPT and asked what was the best way to tackle this task.

It seemed like you were almost flattered by my question and said that you should first create a mock feed with fake posts to test if your code is correct before getting to the actual posts. I followed the steps to create a TextEdit file and named it. They then entered the provided code into the appropriate file and ended up with a mock feed containing three slides of fake posts.

ChatGPT then showed me exactly what code in the file needed to be changed to go from the mock version to the real thing.

At this point, I got the “Unable to retrieve feed” error again, but instead of opting for a more complicated solution, I was asked to try Safari or Firefox instead of the Chrome browser. I made the switch and after 30 seconds of loading, my first attempt at a vibe-coded web app was successful.

conclusion

A successfully coded web page.

Trump Truth Social web feed (using ChatGPT) coded by the author without logging into Truth Social.

Katherine Lee/Business Insider



Computer scientists are definitely right that even with the help of AI, if you don’t understand what you’re doing while coding, it’s obvious.

However, if you want to code a simple solution to a small but nagging problem, you may want to learn more about how ChatGPT communicates and research the best ways to facilitate it.

In my experience, I’ve found that coding with ChatGPT is most effective when you’re willing to do the prep work yourself and learn what ChatGPT is trying to accomplish, rather than expecting quick and easy results.

It’s also wise to scale up gradually, by running mock trials before switching to real data and gradually adding features once you get the basics working.

I hope my hours of vibe coding can save you some time every day.



Source link

Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
Previous ArticleMasala Bond: DBS faces IT-related prosecution over 2019 Masala Bond investment
Adnan Mahar
  • Website

Adnan is a passionate doctor from Pakistan with a keen interest in exploring the world of politics, sports, and international affairs. As an avid reader and lifelong learner, he is deeply committed to sharing insights, perspectives, and thought-provoking ideas. His journey combines a love for knowledge with an analytical approach to current events, aiming to inspire meaningful conversations and broaden understanding across a wide range of topics.

Related Posts

Can Apple’s iPhone be used as a passport? What travelers need to know and how to do it |

October 14, 2025

SoftBank acquires ABB’s robotics business for $5.4 billion • The Register

October 6, 2025

Meta must respect the user’s choices – a bit of freedom

October 2, 2025
Leave A Reply Cancel Reply

Top Posts

20 Most Anticipated Sex Movies of 2025

January 22, 2025522 Views

President Trump’s SEC nominee Paul Atkins marries multi-billion dollar roof fortune

December 14, 2024126 Views

How to tell the difference between fake and genuine Adidas Sambas

December 26, 202492 Views

Alice Munro’s Passive Voice | New Yorker

December 23, 202478 Views
Don't Miss
AI September 25, 2025

AI systems learn from many types of scientific information and run experiments to discover new materials | MIT News

Machine learning models can speed up discovery of new materials by making predictions and proposing…

Among the most troublesome relationships in healthcare AI

Does access to AI become a fundamental human right? Sam Altman says, “Everyone would want…”

Google’s Gemini AI is on TV

Subscribe to Updates

Subscribe to our newsletter and never miss our latest news

Subscribe my Newsletter for New Posts & tips Let's stay updated!

About Us
About Us

Welcome to Karachi Chronicle, your go-to source for the latest and most insightful updates across a range of topics that matter most in today’s fast-paced world. We are dedicated to delivering timely, accurate, and engaging content that covers a variety of subjects including Sports, Politics, World Affairs, Entertainment, and the ever-evolving field of Artificial Intelligence.

Facebook X (Twitter) Pinterest YouTube WhatsApp
Our Picks

Lessons to learn how to make your code vibrate using AI like ChatGPT

Masala Bond: DBS faces IT-related prosecution over 2019 Masala Bond investment

India’s AMCA rollout: 120 jets, 157,844 rupees, speed 2,600 km/h, payload 6,500 kg | India News

Most Popular

10 things you should never say to an AI chatbot

November 10, 20040 Views

Character.AI faces lawsuit over child safety concerns

December 12, 20050 Views

Analyst warns Salesforce investors about AI agent optimism

July 1, 20070 Views
© 2025 karachichronicle. Designed by karachichronicle.
  • Home
  • About us
  • Advertise
  • Contact us
  • DMCA
  • Privacy Policy
  • Terms & Conditions

Type above and press Enter to search. Press Esc to cancel.