> This site was built in less than 10 minutes using a few ChatGPT prompts and Replit.
>
> Here's a glimpse into how software development has changed forever 👇 [pic.twitter.com/sSYK4Umlm6](https://t.co/sSYK4Umlm6)
>
> — Replit ⠕ (@Replit) [December 5, 2022](https://twitter.com/Replit/status/1599803817515548674?ref_src=twsrc%5Etfw)
The Tweet that started it for meI came across the Tweet above this morning, and decided to play around with [ChatGPT](https://chat.openai.com/chat) after lunch.
The first thing I did was to type in (simplified) Chinese, to see how Chat GPT deals with a non-English language. I asked it to tell a joke. Maybe it’s me, but I really didn’t understand how the jokes were funny at all: Why can’t the pig go up the mountain? Because it is always worried it’ll be beaten to death by the hunter. Why does the duck love to stand on the grass? Because there are a lot of people sitting there. (They are equally unfunny in Chinese btw…)
Chat GPT does Chinese well, but isn’t funny
The next thing I tried was to ask about Xi Jinping. Like a proper politically-correct Asian, Chat GPT refused to answer my question: so far, so accurate. 😉 But it gave good replies on factual queries.
Chat GPT refuses to comment on Xi Jinping, but can give factual explanations
Chat GPT also understands German too:
A German query about the [Museum Island in Berlin](https://www.visitberlin.de/en/museum-island-in-berlin)
- - - - - -
Where Chat GPT really shone in my opinion, was in answering questions about code. But only for more common languages, as you’ll see.
When I asked a question about cron jobs, Chat GPT gave a great answer on how to use crontab, and the syntax of editing a crontab file in the Terminal:
Chat GPT also helped me to troubleshoot a Python script I had written up to organize my screenshots on my desktop. I had written this script a few days ago, and while it works, it also had a strange effect of shifting the folder containing the script into the destination Screenshots folder (which I didn’t want). I didn’t know why this was the case.
The explanation was (surprisingly) initially given in Chinese, even though my query was in English. Maybe this was due to my initial language being in Chinese:
But the revised script *actually works!* The comments given by Chat GPT (that I shouldn’t use os.path.isdir as a Boolean) were also spot-on (I think), and it actually helps me understand Python better. In fact, it even provide a different code, in case my intention was slightly different:
When I tried to replicate the Replit Tweet, Chat GPT did a pretty good job with the basic HTML and CSS. I copied-and-pasted the HTML and CSS from Chat GPT into my VS Code editor, ran the code, and got this:Initial basic design and copy from Chat GPT: except for the name Dharma Digital Designs, I didn’t provide any other words!
… because life is incomplete without cats…