ORM and SQL … I mean it’s lived up to the bad side of the reputation.

It hides it. As someone said here:

"Osiris on June 18, 2021 | unvote | parent | context | favorite | on: DenoDB

I hate ORMs with the fury of a thousand suns. The problem is that I know SQL but now I have to spend a bunch of time trying to figure out how to convert SQL into ORM X just so it can convert it back to inefficient SQL. SQL mostly translates between various databases but ORMs are unique and you have to learn a new API for each one.

I’m on a project using TypeORM and it has been fantastic at helping developers on my team make really bad schemas due to not understanding how to use TypeORM to make the right relationships.

Currently I’m looking at pg-types because you just write SQL and it just helps by making some TypeScript types for you.

(I have used ORMs in C#, PHP, and JavaScript and I hate all of them)."

https://news.ycombinator.com/item?id=27547163

  • RoundSparrow @ BT@bulletintree.comOPM
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    I’ve used Reddit since it basically came online, and Usenet, Slashdot, Fark before that… I didn’t use Digg much, I was on Reddit before the Digg migration.

    I think 2023 has hurt the think I actually grew to like the most about Reddit…

    Google Search + Reddit

    In protest, a lot of long-term accounts on Reddit deleted their comments and postings, so it isn’t what it was last year.

    It’s sad to face that that era may never really return, I think the Twitter changes and Reddit API was all about keeping content away from ChatGPT… and search engines.

  • RoundSparrow @ BT@bulletintree.comOPM
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    404: TypeError: Cannot read properties of undefined (reading ‘replies’)

    lemmy.world throwing this just on routine home page. It’s been this way since I started visiting in May… and I can crash a single-user server pretty easily by matching the number of communities and posts in the database. IT isn’t DDOS, it’s bad SQL.

  • RoundSparrow @ BT@bulletintree.comOPM
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    11 months ago

    posting a day later, but I’m probably not going to keep posting daily any more.

    This was posted 3 hours ago on Lemmy.world: 35 upvotes currently. https://lemmy.world/comment/2762900 and local copy: https://bulletintree.com/comment/2237045

    “Let me be real. I never noticed outages stopping. It feels like it’s daily, I’m used to it, but I think it happens so often that lemmy.world has lost its growth opportunity, and we alienated the normies. I’m still going to stay on Lemmy, and I believe you’re doing the best you can, but we lost for the time being, the migration to Lemmy from Reddit is stunted.”