Live data from Hacker News

Cloudflare Pages: Best server tech since CGI-bin?

taras.glek.net

221–226 of 226 posts

Re: Cloudflare Pages: Best server tech since CGI-bin?

#221

The Cloudflare cloud experience is "being sold short by subpar documentation" right now because important elements of their ecosystem are being ramped up from beta status. They also have internal docs which aren't kept up to date with their actual product. I'd check back in a few months because their beta experience can be very touch-and-go.

> The Cloudflare cloud experience is "being sold short by subpar documentation" right now because important elements of their ecosystem are being ramped up

Their docs are subpar because Cloudflare is just not interested enough in documentation improvements and is hostile to the people who are interested and who try to make the improvements.

I tried fixing a 404 in their docs once. This would have taken, you know, approximately 2 seconds with a real wiki or CMS[1]. What resulted instead was an excruciating back-and-forth that took 9 messages over a span of exactly 5 hours, ended in no fix, and a Cloudflare dev trying to "upperhand" me (in the vein of George Constanza's pre-emptive breakup—"I'm afraid that I am gonna have to break up with you"[2]).

Sure, Cloudflare team, there's nothing wrong, I guess, with choosing to believe in the delusion that a repo full of Markdown files and the GitHub generation's busted-ass PR-based edit workflow is an acceptable substitute, just like there's nothing wrong with writing your name with a pencil that has a brick taped to it[3].

1. https://groups.google.com/g/mozilla.dev.mdc/c/BU09C48bmGU>

2. https://www.youtube.com/watch?v=0aIG2EJzE4o>

3. https://gordonbrander.com/pattern/brick-pencil/>

Re: Cloudflare Pages: Best server tech since CGI-bin?

#222

Earlier quoted context omitted.

I use copilot, but not for this. I find raw gpt-3 conversational interface to be much more useful for getting over various small programming puzzles.

Prompted correctly, I find that Copilot can do pretty much everything GPT-3 can except generating long-form prose. You're probably right that it's more flexible, but then again I don't want to constantly switch out of IDEA.

I think we need work in conversational interfaces into IDEs. Tab-completion is insufficient

Re: Cloudflare Pages: Best server tech since CGI-bin?

#223

> As a shortcut, I used GPT-3 to generate a basic typescript function for me. I'd love to see a more detailed post about that. I don't know any TS devs using that kind of workflow.

To write functioning code, you need to know how to write functioning code. The biggest issue with Copilot is that, to use it well, you need to know: - How to write functioning code. - How to quickly review other people's code for correctness. - How to write good comments. - How to tweak the ordering in which you write code such that it's easier for Copilot to understand. - How Copilot and other GANs work, in general.…

Yes, the copilot UX is extremely detrimental to reputation of AI systems for coding. I think we need some UX work to better explain possibilities and limitations and programming will never be the same

Re: Cloudflare Pages: Best server tech since CGI-bin?

#224

Biggest advantage I find is pre-scoped request-level control over everything. When someone loads your page, every single asset request hits your worker. It's both extremely simple and exceptionally powerful. Choose which responses to modify, authenticate, proxy, redirect, or let through. All in a single file with a few dozen LOC. No complex pre-app devops, middleware or routing policies required (i.e. oh sorry that r…

Author here, went through your github. Cloudflare should post your code as reference architecture. Answered so many questions re proper app structure on CF. Really appreciate the amount of effort your examples will save me in future.

Re: Cloudflare Pages: Best server tech since CGI-bin?

#226

Biggest advantage I find is pre-scoped request-level control over everything. When someone loads your page, every single asset request hits your worker. It's both extremely simple and exceptionally powerful. Choose which responses to modify, authenticate, proxy, redirect, or let through. All in a single file with a few dozen LOC. No complex pre-app devops, middleware or routing policies required (i.e. oh sorry that r…

Author here, went through your github. Cloudflare should post your code as reference architecture. Answered so many questions re proper app structure on CF. Really appreciate the amount of effort your examples will save me in future.

Thanks for the kind words - though not certain too many would share your enthusiasm! Good luck with the tinkering.
Post reply on HN