News for hackers. Stuff that matters.
Re:SPAs Were a Mistake by finniananderson on Wednesday March 02, 2022 @04:52PM (#30533712)
Totally agree.

We built a product in ~5 months with real-time collaboration, extensive interactivity, Oauth, Stripe and Gmail integrations with a standard Ruby on Rails stack.

It's rock-solid, performant, dead-simple and extremely productive to work with.

Why're we throwing away years of learning to build unstable, complex and inaccessible applications?

Re:SPAs Were a Mistake by whatshisface on Wednesday March 02, 2022 @05:02PM (#30533833)
>Why're we throwing away years of learning to build unstable, complex and inaccessible applications?

1. Smart people seek out difficult problems.

2. Difficult problems drive the creation of complex, niche tools, that bear cultural associations with the smart people who made and use them.

3. People who want to be smart seek out complex, niche tools.

Re:SPAs Were a Mistake by delusional on Wednesday March 02, 2022 @05:08PM (#30533896)
I think you're somewhat right, but it's not the whole story. There's another pipeline that goes something like:

1. Technical software problems are more fun than difficult product problems

2. Programmers would rather solve fun problems

3. Programmers end up creating technically elaborate machines to solve simple (buy annoying) product problems

Re:SPAs Were a Mistake by midrus on Saturday March 05, 2022 @01:44AM (#30564999)
As an ex-member of a team who used react, redux, typescript, observables, epics, thunks, custom hoome-grown validation libraries, websockets and elixir deployed in two different microservices to build a... signup wizard... I can confirm this.

I proposed to build it in Rails (which we already had, but was the "old monolith we're migrating away from") and I almost get crucified.

Re:SPAs Were a Mistake by whatshisface on Wednesday March 02, 2022 @09:10PM (#30536261)
That's a story I'm familiar with, but I am not actually aware of any (major, commonly used) tools that were created out of boredom. I only see instances of people using existing tools when they are not necessary out of boredom.
Re:SPAs Were a Mistake by fossuser on Wednesday March 02, 2022 @05:29PM (#30534184)
I think it might be simpler?

The more complex products are the only ones that typically have any documentation or up to date learning resources.

You want to learn how to build a thing and this is the only thing that really exists, is up to date, and works.

It may not be the right tool, but for someone new it's impossible to tell what the right tool is and people online are stereotypically obtuse and about anything tool related.

Re:SPAs Were a Mistake by heyitsanewacco on Wednesday March 02, 2022 @05:37PM (#30534302)
lmao yeah pretty much. I'm moving from a low code shop to Node/Vue because I can't keep people. They all want to pad their resume, so I'm going to build at 2x the cost just so I can keep the projects going.
Re:SPAs Were a Mistake by whatshisface on Wednesday March 02, 2022 @05:53PM (#30534521)
The level of Node/Vue isn't padding your resume in this industry, it's having a resume. Padding your resume would be... I don't know, Elm?
Re:SPAs Were a Mistake by ksec on Thursday March 03, 2022 @01:02AM (#30537710)
Smart and YOUNG, seek and try to conquer complexity, pushing open The Gate of Truth. Only to be completely consumed and burned by it.

There are abundance of smart people. Wisdom, has and possibly always will be in short supply.

Re:SPAs Were a Mistake by finniananderson on Thursday March 03, 2022 @01:48AM (#30537931)
> Smart and YOUNG

I'm 21 :-)

Re:SPAs Were a Mistake by CRConrad on Saturday March 12, 2022 @01:41PM (#30653653)
> > Smart and YOUNG

> I'm 21 :-)

No problem, you'll be young in a few years.

Re:SPAs Were a Mistake by diordiderot on Wednesday March 02, 2022 @05:08PM (#30533886)
I think this is a midwit[0] take.

Low: simple good

Mid: optimized good

High: simple good

0: https://knowyourmeme.com/memes/iq-bell-curve-midwit

Re:SPAs Were a Mistake by midrus on Saturday March 05, 2022 @01:39AM (#30564973)
Same experience here, in our case with Laravel. The project started as a Next.js SPA and after we needed to add authentication, translations and background jobs things became so crazy and so "custom" that we ditched it and in almost 2 weeks had everything built in a much more robust way with Laravel and Livewire + Alpine.
Re:SPAs Were a Mistake by arvinsim on Thursday March 03, 2022 @04:37AM (#30539006)
Because the majority of developers will gravitate towards tools that will give them the best employment opportunity, not necessarily the best tools for the job.

TL;DR Resume Driven Development

Re:SPAs Were a Mistake by kshahar on Sunday March 06, 2022 @01:43PM (#30579905)
What approach did you take with real-time collaboration and interactivity? Is that part still rendered client-side?
Re:SPAs Were a Mistake by rapind on Wednesday March 02, 2022 @05:22PM (#30534066)
One could argue rails is just doing a decent job of hiding a monstrous amount of unnecessary complexity from you for basic CRUD stuff. It’s good at this… until it isn’t. In the the whole ORM abstraction (not just in rails) is questionable.

The way most of us would handle authorization in something like rails is a leaky abstraction, especially when we’re usually backing onto postgresql which has very mature roles and permissions.