Live data from Hacker News

Cloudflare Pages: Best server tech since CGI-bin?

taras.glek.net

81–90 of 226 posts

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

#81

Earlier quoted context omitted.

Yes. New school's defining feature is needless layering of complexity to hide the simple truth of the file system from users.

Maybe this is just me, but I like that I can decouple the way I organize my file system from the way users access my site. And with that comes the ability to get rid of file extensions and make urls more human-friendly. Remember, not every person has file extensions turned on by default on their Windows File Explorer!

No post body was provided.

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

#82

> 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. An awareness that Copilot is built on GPT-3, familiarity with what that implies, and so on.

And if you don't, that results in the AI seemingly not working as well, which makes it easy to make the assumption that it isn't an incredibly useful tool. It is, it just has a learning curve measured in weeks.

I believe this is why we constantly have arguments on whether or not it's helpful.

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

#83
post #4

Earlier quoted context omitted.

Static hosting combined with server-side dynamic content modification using postgres was the interesting part for me. Static hosting has historically been seen as exactly that, static and immutable. Things like Cloudflare functions/workers can turn static hosting into dynamic content delivery while maintaining (most of) the benefits of static hosting. Granted, this can be done whether the underlying content is hosted…

I’m still struggling to understand how this is any different than an oldschool cms or blog with a cache in front.

Having stuff served up near the user for speed, for one.

Also DX being better

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

#84
post #4

Earlier quoted context omitted.

Static hosting combined with server-side dynamic content modification using postgres was the interesting part for me. Static hosting has historically been seen as exactly that, static and immutable. Things like Cloudflare functions/workers can turn static hosting into dynamic content delivery while maintaining (most of) the benefits of static hosting. Granted, this can be done whether the underlying content is hosted…

I’m still struggling to understand how this is any different than an oldschool cms or blog with a cache in front.

It’s not. You can achieve the same or better results with Varnish. You can even achieve edge caching with Fastly (cloud varnish).

I think of it just as a different approach, where the focus is static (cache) with dynamic layered in as necessary. This forces you to be more explicit about dynamic behaviour and treating cache as a priority concern.

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

#85
post #9

The rest of the industry haven't even started figuring out what Cloudflare Pages Functions + Durable Objects can do. Workers can also send emails for free, and soon you will be able to process them as well with Email Workers. Cloudflare also doesn't charge you for egress either.

Weary of free as in beer. Often it is better to pay, for a situation where you are the actual customer.

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

#86
post #62

Earlier quoted context omitted.

GitHub Copilot is GPT-3 under the hood, so maybe that way?

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.

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

#88
post #26
post #4

Earlier quoted context omitted.

Static hosting combined with server-side dynamic content modification using postgres was the interesting part for me. Static hosting has historically been seen as exactly that, static and immutable. Things like Cloudflare functions/workers can turn static hosting into dynamic content delivery while maintaining (most of) the benefits of static hosting. Granted, this can be done whether the underlying content is hosted…

Yes, it's great because static/static+some dynamic bits fits a lot of use cases and it's quite simple to deploy, manage and maintain. It's nothing that new though, Firebase (part of GCP) and Netlify have had that for years. CloudFlare just have the right combination of marketing, reputation, pricing and tech to make headlines with it again.

> Yes, it's great because static/static+some dynamic bits fits a lot of use cases and it's quite simple to deploy, manage and maintain.

Do you have some examples? I always get excited by this serverless stuff, but often the use-cases are quite limited if you think about it, or maybe I’m thinking wrong, especially if you take vendor lock into consideration.

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

#89

Earlier quoted context omitted.

Cloudflare reports 50% quarter growth year over year, it sounds to me you're in a minuscule minority.

Yes, let's simplify the Internet, being decentralised is such a crutch! We should all just connect directly to Cloudflare.

Getting angry at people for using centralized solutions is not a way to win people over to your cause, and even many people who would prefer decentralized solutions are going to pick the easy route sometimes. If you're developing a web app, maybe you want to spend your time writing app code. People only have so much time in a day.

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

#90

Earlier quoted context omitted.

That the majority does it does not mean its a good thing.

It absolutely is, Cloudflare offers great services and they deserve it!

I think parent meant as a general principle following the masses isn't always the best idea.
Post reply on HN