ChatGPT Helps Deploy TiDB and Write Code

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: chatgpt帮忙部署tidb,帮忙写代码

| username: tidb狂热爱好者

【TiDB Usage Environment】Production Environment / Testing / PoC
【TiDB Version】
【Reproduction Path】What operations were performed when the issue occurred
【Encountered Issue: Issue Phenomenon and Impact】
【Resource Configuration】
【Attachments: Screenshots / Logs / Monitoring】

Help write code
Help deploy TiDB

| username: tidb菜鸟一只 | Original post link

The accuracy of ChatGPT is not very high, and many times the code it provides is not very correct.

| username: wuxiangdong | Original post link

chatgpt4 should be able to.

| username: xfworld | Original post link

Not very reliable…

| username: Jellybean | Original post link

Generally, you still need to check the content it provides yourself, but some parts of what it writes are still valuable for reference, especially when you have no clue about certain issues.

| username: 魔礼养羊 | Original post link

In my opinion, ChatGPT is similar to computers in the early 2000s. At that time, there were many discussions about computers replacing humans. In fact, ChatGPT, like computers, is ultimately a tool for humans. It is very difficult for someone without development experience to judge ChatGPT’s code, and even if the code is written, it still needs to be deployed and verified, which cannot be replaced by ChatGPT. However, for product managers with some development experience, the biggest benefit in the future is that some simple and repetitive tasks will no longer require being misled by developers; with ChatGPT, they can do it themselves.

| username: magic | Original post link

GPT can only play a supporting role.

| username: tony5413 | Original post link

Chat GPT helps with writing SQL.

| username: liuis | Original post link

Wrote a drop db?

| username: xingzhenxiang | Original post link

Isn’t this code just creating an EC2 instance and then having a simple page that can be accessed?

| username: TiDBer_jYQINSnf | Original post link

I have tried it.
The provided code is for reference only: for example, verifying the validity of a subnet, the code given the first time doesn’t even compile. After multiple prompts, it gets somewhat close.
It’s faster to write it myself.
The advantage is that it gives a rough idea, and with some modifications, it’s almost there.
It’s also very useful as a search tool.

| username: TiDBer_pkQ5q1l0 | Original post link

Worth learning.