TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

I asked ChatGPT to write a pf.conf to spec

17 点作者 cjg将近 2 年前

4 条评论

williamcotton将近 2 年前
The author is not aware that GPT-3.5 does not look up information from HTTP links.<p>They should try again but with GPT-4 and manually pasting in the man pages.
评论 #36228408 未加载
juped将近 2 年前
Yeah, I think pf.conf might be beyond it.<p>It can perform simple translation tasks; I&#x27;ve had success getting it to output graphviz dot format. But writing that pf.conf requires a (simple) mental model, where it&#x27;s approaching it as a translation task: one pf.conf section for each line given, translated semi-plausibly.
Zetobal将近 2 年前
&quot;A be concise&quot; and &quot;document every step.&quot; in the prompt did the trick for me.
dt2m将近 2 年前
Give LLMs five more years and this won&#x27;t be an issue. The fact that it even gets close is seriously impressive.<p>For people like me who aren&#x27;t sysadmins, but simply have to do maintenance tasks on VPSes from time to time, something like this would be a godsend.