News for hackers. Stuff that matters.

hn_reddit_human

Re:Prisma Raises $12M Series A on Friday June 26, 2020 @05:20PM (#23657176)
I think that declarative migrations don't make sense in the real world.

You're modifying existing state so it has to be incremental.

I'm curious to see how Prisma plans to handle these real-world use-cases.

Re:Prisma Raises $12M Series A on Friday June 26, 2020 @01:53PM (#23654880)
Thanks!

IIUC, a "batch" request is run in a transaction.But if I need to run business logic in the middle of requests that's not supported?

Re:Prisma Raises $12M Series A on Friday June 26, 2020 @11:50AM (#23653343)
I mentioned this the last time, but I find it surprising that the Prisma ORM doesn't support transactions or aggregations?

Any thoughts from the Prisma team? It kind of seems like table stakes. I commented on this previously as well: https://news.ycombinator.com/item?id=23467427

If I understand correctly, transactions are currently not supported for doing any advanced business logic beyond building CRUD: https://www.prisma.io/docs/reference/tools-and-interfaces/pr...

Also, no mention of aggregations, or if someone could point me to it?

As far as typed query builders go, even though things like JOOQ are simply amazing, but I fear that the query building approach has not really caught on for database access and people seem to prefer "object oriented" methods like ORMs.

Any comments from HN folks about why that is?

Re:Gatsby raises $28M Series B led by Index Ventures on Wednesday May 27, 2020 @01:40PM (#23326914)
Does the commercial offering from Gatsby offer hosting? I couldn't figure it out from the https://gatsbyjs.com page.

Gatsby and NextJS (Vercel) are both backed by CRV[1,2]. It seems like a fairly competitive overlap. Would love to hear takes from folks on HN about the feasibility and comparison of Gatsby's and Vercel's business models and competitive overlaps.

[1] https://www.businesswire.com/news/home/20200527005268/en/Gat... [2] https://medium.com/crv-insights/from-next-to-now-to-21m-for-...

Hm... is this is like JOOQ[1] for non-Java languages? Or maybe more like a typed version of massivejs[2]?

[1] https://www.jooq.org/ [2] https://massivejs.org/

Ask HN: Why are subreddits so toxic?

Has reddit always been so toxic? Should subreddit moderators have stricter codes of conduct, especially those that are more "industry/tech/profession" oriented? I'm from the "tech" industry, and I was surprised to see that tech subreddits are also fairly _arbitrarily_ toxic instead of the negging-but-constructive type comments that pass on HN.Or is that entire idea just against reddit? HN is a...

( Read More... | 1 comment | 11 points | on HN )