This time Claude fixed the problem, but:
- It also re-ordered some declarations, even though I told it not to. AFAICT they aren't changed, just reordered, and it also added some doc comments.
- It fixed an unrelated bug, which is that `getClient()` was marked `private` in `OAuthProvider` but was being called from inside `OAuthHelpers`. I hadn't noticed this before, but it was indeed a bug.
Frequently can't get LLMs to limit themselves to what has been prompted, and instead they run around and "best practice" everything, "fixing" unrelated issues, spewing commentary everywhere, and creating huge, unnecessary diffs.Cloudlflare builds OAuth with Claude and publishes all the prompts
301–310 of 552 posts
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#302Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#303Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#304There are tens (if not hundreds) of thousands of OAuth libraries out there. Probably millions of relevant codebases on GitHub, Bitbucket, etc. Possibly millions of questions on StackOverflow, Reddit, Quora. Vast amounts of documentation across many products and websites. RFCs. All kinds of forums. Wikipedias… Why are you so surprised an LLM could regurgitate one back? I wouldn’t celebrate this example as a noteworthy…
Could you imagine typing the words "write an oauth library in typescript" into a computer and it actually working even 5 years ago? This is literally science fiction.
and the computer produced it!
"literally science fiction"
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#305Been here many times: This time Claude fixed the problem, but: - It also re-ordered some declarations, even though I told it not to. AFAICT they aren't changed, just reordered, and it also added some doc comments. - It fixed an unrelated bug, which is that `getClient()` was marked `private` in `OAuthProvider` but was being called from inside `OAuthHelpers`. I hadn't noticed this before, but it was indeed a bug. Frequ…
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#306Earlier quoted context omitted.
Genuinely curious what your point is? Do you know how to use a ventillator? A A timing gun? A tonometer? A keratometer? Can you use all of those in a "production" setting safely without expertise?
They didn't make a point, they asked a question. Sometimes people do still ask questions because they're interested in the answer.
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#307Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#308Yup. I'm more skeptic than pro-AI these days, but nonetheless i'm still trying to use AI in my workflows. I don't actually enjoy it, i generally find it difficult to use as i have more trouble explaining what i want than actually just doing it. However it seems clear that this is not going away and to some degree it's "the future". I suspect it's better to learn the new tools of my craft than to be caught unaware. Wi…
Most people who are good at a skill start here with AI. Over time, they learn how to explain things better to AI. And the output from AI improves significantly as a result. Additionally AI models keep improving over time as well.
If you stay with it, you will reach an inflection point soon enough and will actually start enjoying it.
Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#309Re: Cloudlflare builds OAuth with Claude and publishes all the prompts
#310> In all seriousness, two months ago (January 2025), I (@kentonv) would have agreed. I'm confused by "I (@kentonv)" means here because kentonv is a different user.[0] Are you saying this is your alt? Or is this a typo/misunderstanding? Edit: Figured out that most of your post is quoting the README. Consider using > and * characters to clarify. [0] https://news.ycombinator.com/user?id=kentonv