Live data from Hacker News

Cloudlflare builds OAuth with Claude and publishes all the prompts

github.com

121–130 of 552 posts

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

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

If you had written it by hand would the verification process been as time consuming? i.e. overall including the time spent verifying that it was correct, do you consider it a net win?

I was already including my own time spent verifying the output, which I mostly did right away as the code was being generated (approving or rejecting each edit).

And the separate security review would have been required either way.

So yes, it saved time.

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

#122
post #91

I'm the author of this library! Or uhhh... the AI prompter, I guess... I'm also the lead engineer and initial creator of the Cloudflare Workers platform. -------------- Plug: This library is used as part of the Workers MCP framework. MCP is a protocol that allows you to make APIs available directly to AI agents, so that you can ask the AI to do stuff and it'll call the APIs. If you want to build a remote MCP server,…

Fancy! Why are the first twenty commits or so created in the same minute though? Surely you can’t be that fast if you need to prompt for each commit

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

#123

Earlier quoted context omitted.

Plumbers make excellent money because regulations require licensed plumbers to do the work, and plumbing unions have a financial interest in limiting the number of plumbers. But anybody can do plumbing. It’s not rocket science.

> regulations require licensed plumbers to do the work Regulations come about because of repeated failures that end up harming the public. Regulations aren’t a dirty word, and aren’t obstacles to be “disrupted” in most cases. > plumbing unions have a financial interest in limiting the number of plumbers Golly gee, it’s almost as if - because we live in a society where everyone must work in order to survive - that ski…

Designing sewage infrastructure isn’t rocket science, either. If citizens in your town needed to do it, they could figure it out, regardless of their credentials.

Sometimes regulations come about to protect the public. Often, they’re enacted to protect the profits of insurance companies, banks, and other influential industries. Don’t be naive about “the systems at work and their interplay”.

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

#126

Earlier quoted context omitted.

> Regulations come about because of repeated failures that end up harming the public. Sometimes, but see also the concepts of “iron triangles” and “regulatory capture”.

You’re not wrong (examples include the US FCC, ZA’s Telekom, ye olde Standard Oil, vertical integrations…the list goes on, and even includes modern cloud services and AI tools, since the regulations they champion are often intended to block competitors with onerous compliance requirements), but in the context of the person I was replying to, they used “regulation” very much in the same context Uber/AirBnB and the SV…

You’re wasting your time fighting a straw man. I never said all regulations are bad.

The question was why plumbers are expensive. I assert that it’s not because plumbing is especially difficult.

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

#127
post #43
post #10

This is exactly the direction I expect AI-assisted coding to go in. Not software engineers being kicked out and some business person pressing a few buttons to have a fully functional app (as is playing out in a lot of fantasies on LinkedIn & X), but rather experienced engineers using AI to generate bits of code and then meticulously reviewing and testing them. The million dollar (perhaps literally) question is – coul…

The million-dollar question is not whether you can review at the speed the model is coding. It is whether you can trust review alone to catch everything. If a robot assembles cars at lightning speed... but occasionally misaligns a bolt, and your only safeguard is a visual inspection afterward, some defects will roll off the assembly line. Human coders prevent many bugs by thinking during assembly.

> Human coders prevent many bugs by thinking during assembly.

I'm far from an AI true believer but come on -- human coders write bugs, tons and tons of bugs. According to Peopleware, software has "an average defect density of one to three defects per hundred lines of code"!

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

#128

Earlier quoted context omitted.

Plumbers make excellent money because regulations require licensed plumbers to do the work, and plumbing unions have a financial interest in limiting the number of plumbers. But anybody can do plumbing. It’s not rocket science.

You can hire a non-union plumber. There isn’t usually much of a price difference. Where I live, you can easily find a non-licenced plumber (called “moonlighting”, usually done by apprentices of licenced plumbers). A lot of people prefer not to since you’re on your own if something goes wrong. Plumbing requires skill, particularly for difficult jobs, and also requires advanced equipment to do such a job in a reasonabl…

Where I live, permits are only given to licensed plumbers, and all work on plumbing requires a permit (though I’m sure many people ignore the rule).

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

#129

[flagged]

Just put a form on a website and you will see why... CloudFlare provides the solution, not causing the problem.

not going to lie, an old school honeypot will catch 95% of the bot traffic.

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

#130

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…

> On the other hand, where I remain a skeptic is this constant banging-on that somehow this will translate into entirely new things - research, materials science, economies, inventions, etc

Does it even have to be able to do so? Just the ability to speed up exploration and validation based on what a human tells it to do is already enormously useful, depending on how much you can speed up those things, and how accurate it can be.

Too slow or too inaccurate and it'll have a strong slowdown factor. But once some threshold been reached, where it makes either of those things faster, I'd probably consider the whole thing "overall useful". Nut of course that isn't the full picture and ignoring all the tradeoffs is kind of cheating, there are more things to consider too as you mention.

I'm guessing we aren't quite over the threshold because it is still very young all things considered, although the ecosystem is already pretty big. I feel like generally things tend to grow beyond their usefulness initially, and we're at that stage right now, and people are shooting it all kind of directions to see what works or not.

Post reply on HN