News for hackers. Stuff that matters.
Re:Just use Postgres for everything by jb1991 on Saturday December 10, 2022 @12:20PM (#33934434)
Why does the article talk about client complexity, then say Postgres can be used for everything, but then not address client complexity. Does Postgres have a nifty server-side rendering pipeline that could replace front-end complexity?
Re:Just use Postgres for everything by glutamate on Saturday December 10, 2022 @12:27PM (#33934501)
Yes: HTML. Seriously, just generate HTML on the backend and serve web pages like it's 1999. Easiest way to get 100% on all Lighthouse scores.
Re:Just use Postgres for everything by ebiester on Saturday December 10, 2022 @01:18PM (#33935086)
So long as you never have multi-page forms and don't worry about error handling on bad submissions and the back button, you're golden!

I still have nightmares of post-redirect-get complexity and giant balls of mud in session scope to support the back button.

Re:Just use Postgres for everything by jshen on Saturday December 10, 2022 @12:32PM (#33934544)
Don’t write any code, easiest way to not have bugs.
Re:Just use Postgres for everything by ThePadawan on Saturday December 10, 2022 @12:42PM (#33934660)
You joke, but I have literally never had as great of a success at work as that one time my team didn't end up building the software.

We had great ideas about scheduling and caching and task priorities...

...and then we asked the customer what they wanted, and they wanted none of it.

So we built none of it, and produced a solution that just did the stupidest thing, and did it without any edge cases, without ever crashing, reliably, as a cronjob, once on Sunday night.

Some people would be disappointed that they couldn't put this on their CV because it didn't involve FancyTech #413, but damn it, I am still proud of that stupid thing.

Re:Just use Postgres for everything by robin_reala on Saturday December 10, 2022 @12:52PM (#33934797)
I interviewed a (junior) candidate once that had tried and failed at a hackathon to build an Rails system that connected restaurants and shops with excess food to charities that gave food away to those that needed it.

I asked him what he’d done to work around the technical difficulties, and it turned out that he’d set up a Wordpress site with a phone number of the guy running the scheme, and a Google sheet to manage contact details.

A better definition of MVP I’m yet to see.

Re:Just use Postgres for everything by alexcosan on Saturday December 10, 2022 @12:29PM (#33934507)
My take is that there's many unnecessary complexities (at least in many cases), where using an old, battle tested, "boring" technology suffice. The graph just seems to be an illustration of that, but it focus on storage (there could be a better graph that focus on the database only, but I guess the message is conveyed)
Re:Just use Postgres for everything by Finnucane on Saturday December 10, 2022 @12:24PM (#33934458)
"You probably don't need as many back-end services as you think you do" isn't quite as good a title.