Live data from Hacker News

Cloudlflare builds OAuth with Claude and publishes all the prompts

github.com

301–310 of 552 posts

Re: Cloudlflare builds OAuth with Claude and publishes all the prompts

#301
Been 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.
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.

Re: Cloudlflare builds OAuth with Claude and publishes all the prompts

#304

There 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.

yeah, I remember putting this sort of query into Google 5 years ago

and the computer produced it!

"literally science fiction"

Re: Cloudlflare builds OAuth with Claude and publishes all the prompts

#305

Been 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…

Tbf I've seen human developers do this and similar irritating things many times.

Re: Cloudlflare builds OAuth with Claude and publishes all the prompts

#306
post #186
post #138

Earlier 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.

It was clearly rhetorical

Re: Cloudlflare builds OAuth with Claude and publishes all the prompts

#308

Yup. 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…

> 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.

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

#310
post #13

> 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

(this comment was originally a reply to https://news.ycombinator.com/item?id=44159167, which summarized the readme in a confusing way.)
Post reply on HN