[2025-05-30] Code Generated By AI, ChatGPT Slows Down, Playwright In Docker / AI生成代码的局限,ChatGPT页面响应缓慢,Docker中运行的Playwright小技巧

AI

AI generating code

I am using ChatGPT to generate code. But the result still needs to be checked and modified.
I think the problem is I cannot define my requirements clearly enough.
Using an AI integrated to my IDE must be a better choice.
Well, I think that would charge me, and that is what I don’t want…

ChatGPT page got slower and slower

It is even hard to input something. Open a new dialog helps a lot.
Well, I am not sure if it can remember the conversations we had before.
If we are discussing something, I have to retell ChatGPT about it. It’s annoying, and a lot of information will be lost.
Maybe it will cause some problems someday. For now it’s OK.

Playwright

Running Playwright in Docker

It is convenient to run, but instead, after I modified the JS code, the docker has to be rebuilt, and that costs some time.

Playwright status

By default, every time a docker called to run the script, the status would be set to empty.
It is quite convenient for most of the scenarios.

Related Platforms

(Github Issues) / (Notion) / (Blog)

Advertisement

(A website to optimize your resume and to boost your career: Nonpareil.me)


AI

AI生成代码

我使用网页版本的ChatGPT来生成代码。不过生成的结果还是需要检查,并且多数要重新修改。
问题应该在于我没有把问题描述得十分清楚。
如果使用集成进IDE的AI应该会好很多。不过我想这大概是要花钱的……

ChatGPT越来越慢

后来连输入都有明显延迟。打开一个新的对话会好很多。
不过我不确定它是不是还记得我们之前的讨论内容。
如果我正在和它讨论一些事情,打开新对话之后,我需要重新描述当下的场景。这很麻烦,也会遗漏很多信息。
现在还好,将来可能会是个麻烦?

Playwright

在Docker中运行Playwright

使用起来很方便,不过另一个问题就是如果修改了代码,需要重新编译docker,可能会花一些时间。

Playwright状态存储

默认情况下,每次启动一个新的docker,页面状态都会被重置。
在大多数场景下很方便。

相关平台

(Github Issues) / (Notion) / (Blog)

推广

(优化简历,助力职场:Nonpareil.me)

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注

滚动至顶部