News for hackers. Stuff that matters.
Re:We have used too many levels of abstractions and now the ... by renegade-otter on Saturday October 21, 2023 @09:25AM (#37966628)
I don't need to know assembly to write a web app - it's totally magic, and it's fine.

However, if I am using an abstraction like an ORM without understanding what is happening with the database under the hood, or why it's getting slow all of a sudden, it is bound to bite me in the ass.

I shudder to think of how much money and energy the world is burning every second just because of this one alone.

Re:We have used too many levels of abstractions and now the ... by Nihilartikel on Saturday October 21, 2023 @12:06PM (#37967988)
A client of mine is enduring growth induced ORM hell right now. The struggle and existential threat is real.

It can take days for them to even track an evil SQL query back to the actual code. There were fetch-one calls that literally carry a million rows back over the wire for that one returned entity. Indices get skipped due to the magic translation of a row.col.toUpper()=="STRING" into SQL.. when the db collation is case insensitive in the first place.

But hey, the devs don't need to know SQL, so there's that.

Re:We have used too many levels of abstractions and now the ... by renegade-otter on Saturday October 21, 2023 @12:10PM (#37968026)
The solution is to go "web scale" and add a technology with magical indexes and no transactions because IT FAST! What could possibly go wrong.
Re:We have used too many levels of abstractions and now the ... by Nihilartikel on Saturday October 21, 2023 @12:12PM (#37968039)
Well, I have heard the word 'Mongo' uttered in passing....