Live data from Hacker News

Cloudlflare builds OAuth with Claude and publishes all the prompts

github.com

291–300 of 552 posts

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

#291
post #97

Earlier quoted context omitted.

It's said that much of research is data janitorial work, and from my experience that's not just limited to the machine learning space. Every research scientist wishes that they had an army of engineers to build bespoke tooling for their niche, so they could get back to trying ideas at the speed of thought rather than needing to spend a day writing utility functions for those tools and poring over tables to spot anoma…

> Vibe-coding won't be a net creativity gain to a researcher affected by vibe-immigration-policy, vibe-grant-availability, and vibe-firings, for all of which the unpredictability is a punitive design goal. Quite literally this is what I’m trying to get at with my resistance to LLM adoption in the current environment. We’re not using it to do hard work, we’re throwing it everywhere in an intentional decision to dumb d…

>Current AI isn’t democratizing anything

I don't work anywhere close with software but I have used chatgpt to program small tools and scripts for me I never would have written myself.

The real boon of AI programming is when normal people use it to program things custom tailored for their use case.

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

#292

Earlier quoted context omitted.

It took me a few days to build the library with AI. I estimate it would have taken a few weeks, maybe months to write by hand. That said, this is a pretty ideal use case: implementing a well-known standard on a well-known platform with a clear API spec. In my attempts to make changes to the Workers Runtime itself using AI, I've generally not felt like it saved much time. Though, people who don't know the codebase as…

> It took me a few days to build the library with AI. ... > I estimate it would have taken a few weeks, maybe months to write by hand. I don't think this is a fair assessment give the summary of the commit history https://pastebin.com/bG0j2ube shows your work started on 2025-02-27 and started trailing off at 2025-03-20 as others joined in. Minor changes continue to present. > That said, this is a pretty ideal use cas…

I think the data supports that there were about 5 distinct days when I did a large amount of work on this library, and a sprinkling of minor commits through the rest of the month. Glen's commits, while numerous, were also fairly minor, mostly logistical details around releases.

This library is not the only thing I was working on, nor even the main thing. As the lead engineer of Cloudflare Workers I have quite a few other things demanding my time.

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

#293

Earlier quoted context omitted.

John Rockefeller didn't sit down in a big chair, twirl his mustache, and invent AI to funnel money to the hands of the wealthy. This technology was created by researchers and has been mostly accessible to everyone for as long as it has been around. All technology has the effect of concentrating wealth, and anyone who insists on using their two hands to fashion things when machines exist that can do it better will alw…

> All technology has the effect of concentrating wealth Even GNU/Linux? :)

Android, cloud platforms etc.

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

#294
post #95

Earlier quoted context omitted.

I would say it ended up being much faster than had I written it by hand. It took a few days to produce this library -- it would almost certainly have taken me weeks to write it myself.

> It took a few days to produce this library -- it would almost certainly have taken me weeks to write it myself. As mentioned in another comment https://news.ycombinator.com/item?id=44162965 I think this "few days" is unrealistic given the commit history. I think it would be more accurate to say it allowed you to do something in under one month that may have have taken two. A definite improvement, but not a reductio…

I replied there: https://news.ycombinator.com/item?id=44165668

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

#296

Is it really good form in TypeScript to make all functions async, even when functions don't use await? like this, https://github.com/cloudflare/workers-oauth-provider/blob/fe...

No. It’s possible env[?].get returns a promise though

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

#297
post #97

On the one hand, I would expect LLMs to be able to crank out such code when prompted by skilled engineers who also understand prompting these tools correctly. OAuth isn’t new, has tons of working examples to steal as training data from public projects, and in a variety of existing languages to suit most use cases or needs. On the other hand, where I remain a skeptic is this constant banging-on that somehow this will…

It's said that much of research is data janitorial work, and from my experience that's not just limited to the machine learning space. Every research scientist wishes that they had an army of engineers to build bespoke tooling for their niche, so they could get back to trying ideas at the speed of thought rather than needing to spend a day writing utility functions for those tools and poring over tables to spot anoma…

> rather than needing to spend a day writing utility functions for those tools and poring over tables to spot anomalies

A ridiculous amount of most researchers' time is spent cleaning up data.

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

#298
post #97

Earlier quoted context omitted.

It's said that much of research is data janitorial work, and from my experience that's not just limited to the machine learning space. Every research scientist wishes that they had an army of engineers to build bespoke tooling for their niche, so they could get back to trying ideas at the speed of thought rather than needing to spend a day writing utility functions for those tools and poring over tables to spot anoma…

> much of research is data janitorial work In applied research perhaps, Fundamental research is nothing like that in any field including ML.

> Fundamental research is nothing like that in any field including ML

Grant writing.

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

#299

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.

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

#300

Earlier quoted context omitted.

While implementing the OAuth standard itself is not novel, many of the specific design details in this implementation are. I gave it a rather unusual API spec, an unusual storage schema, and an unusual end-to-end encryption scheme. It was totally able to understand these requests, even reasoning about the motivation behind them, and implement what I wanted. That's what convinced me. BTW, the vast majority of JS OAuth…

I think you're easily convinced.

I think you'll never be impressed.
Post reply on HN