Readit News logoReadit News
presentation commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
nmilo · 2 days ago
This doesn’t really make sense. Obviously if you combine GQL with BFF/REST you’re gonna have annoying double-work —- you’re solving the same problem twice. GQL lets you structure your backend into semantic objects then have the frontend do whatever it wants without extra backend changes. Which lets frontend devs move way faster.
presentation · 2 days ago
This is the true big benefit, the others talking about over fetching are not wrong but overfocusing on a technical merit over the operational ones.

My frontend developers had their minds blown when they realized that because we’re using Hasura internally, the only backend work generally needed is to design the db schema and permissioning, and then once that’s done frontend developers aren’t ever blocked by anything (which is not a freedom that I would want to give to untrusted developers, hence emphasis on internal usage of GQL)

(Unfortunately Hasura has shifted entirely into this VC-induced DDN thing that seems to be a hard break from the original product, so I can’t recommend that anymore… postgraphile is probably the way)

presentation commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
switz · 2 days ago
Hilariously – react server components largely solves all three of these problems, but developers don't seem to want to understand how or why, or seem to suggest that they don't solve any real problems.
presentation · 2 days ago
I agree though worth noting that data loader patterns in most pre-RSC react meta frameworks + other frameworks also solve for most of these problems without the complexity of RSC. But RSC has many benefits beyond simplifying and optimizing data fetching that it’s too bad HN commenters hate it (and anything frontend related whatsoever) so much.
presentation commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
rbalicki · 2 days ago
The author is missing the #1 benefit of GraphQL: the ability to compose (the data for) your UI from smaller parts.

This is not surprising: Apollo only recently added support for data masking and fragment colocation, but it has been a feature of Relay for eternity.

See https://www.youtube.com/watch?v=lhVGdErZuN4 for the benefits of this approach:

- you can make changes to subcomponents without worrying about affecting the behavior of any other subcomponent,

- the query is auto-generated based on the fragment, so you don't have to worry that removing a field (if you stop using it one subcomponent) will accidentally break another subcomponent

In the author's case, they (either) don't care about overfetching (i.e. they avoid removing fields from the GraphQL query), or they're at a scale where only a small number of engineers touch the codebase. (But imagine a shared component, like a user avatar. Imagine it stopped using the email field. How many BFFs would have to be modified to stop fetching the email field? And how much research must go into determining whether any other reachable subcomponent used that email field?)

If moving fast without overhead isn't a priority (or you're not at the scale where it is a problem), or you're not using a tool that leverages GraphQL to enable this speed, then indeed, GraphQL seems like a bad investment! Because it is!

presentation · 2 days ago
Agreed on fragment masking. Graphql-codegen added support for it but in a way that unfortunately is not composable with all the other plugins in their ecosystem (client preset or bust), to the point that to get it to work nicely in our codebase we had to write our own plugins that rip code from the client preset so that we could use them as standalone plugins.

The ecosystem in general appears to be a problem.

presentation commented on Australia begins enforcing world-first teen social media ban   reuters.com/legal/litigat... · Posted by u/chirau
rjdj377dhabsn · 6 days ago
Maybe you should move to a community that shares your values rather than getting the state to impose those values on everyone.
presentation · 6 days ago
In fact the majority of the electorate in Australia supports this, so that is exactly where you’d go to be in a community that shares your values. Social media has an addictive and infectious nature, even people who hate it end up using it because of the crippling network effects.
presentation commented on Australia begins enforcing world-first teen social media ban   reuters.com/legal/litigat... · Posted by u/chirau
Bad_Initialism · 6 days ago
To all the parents defending this: you are responsible for your children and what they do.

Passing laws that affect all of us because you are too lazy and ineffectual to raise your children properly is unacceptable.

presentation · 6 days ago
I disagree. It’s easy to say this from your armchair, but when your kid is the one kid not on social media because you’re such an righteous parent, and that kid is getting bullied by all the other kids for not knowing what’s going on in TikTok or Insta, you start seeing this as a problem that requires the coordination of large numbers of people who you may or may not know, many of whom are kids who lack executive function.

If you just disdain children in general, you can go ahead and say that instead.

presentation commented on Netherlands – Capital Growth Tax and Capital Gains Tax for Box 3   kpmg.com/xx/en/our-insigh... · Posted by u/ivankra
exabrial · 15 days ago
We dodged a huge bullet in the US with this. We already pay _excessive_ amounts of federal income tax for extreme inefficiency, the vast majority of it simply being funneled into the pockets of the ultra wealthy.
presentation · 14 days ago
Wondering where you think the extreme inefficiency is exactly - apparently Elon Musk fell on his face when he tried to root them out as part of DOGE.

If anything it seems inefficiencies tend to occur when people interfere with the government funding things, like CA high speed rail having their federal funding appear and disappear erratically depending on who's in power, throwing off all the construction plans.

Dead Comment

presentation commented on We should all be using dependency cooldowns   blog.yossarian.net/2025/1... · Posted by u/todsacerdoti
weinzierl · 25 days ago
The article assumes that the duration of the attack window is fixed and independent of the cooldown period. It's not. Once everyone waits to update the time until the vulnerability is found increases and the attack window will grow.
presentation · 25 days ago
What if cooldowns were implemented by a package manager somewhat randomized, so that it’s more of a gradual rollout instead of a fixed cooldown period?
presentation commented on We should all be using dependency cooldowns   blog.yossarian.net/2025/1... · Posted by u/todsacerdoti
presentation · 25 days ago
If everyone uses cooldowns would the discovery time potentially get pushed back?
presentation commented on Homeschooling hits record numbers   reason.com/2025/11/19/hom... · Posted by u/bilsbie
parsimo2010 · 25 days ago
A lot of people are offering opinions on homeschooling. I'll throw in one anecdote from my past. I played tennis with a kid who was homeschooled through middle school but was sent to high school so he could graduate with a diploma instead of a GED, because this seems to be something that colleges care about. He was awkward for a couple weeks but basically adapted to high school and we quickly forgot he was homeschooled. The only thing that occasionally reminded us he was homeschooled was that he was better prepared for high school academics than we were and got good grades.

So for everyone saying that homeschooled kids aren't well adjusted or have bad social skills, I'll offer the counterpoint that they might appear unadjusted at first, but humans can usually adapt to new environments, so homeschooled kids have a pretty good chance at acting "normal" a short time after leaving homeschool. Don't judge someone's awkwardness the first time you meet them, let them adjust a bit and see if they can assimilate.

presentation · 25 days ago
My experience though is that every homeschooled kid I met in university over a decade ago was very socially awkward. Not necessarily a problem I guess, they performed fine at academics.

u/presentation

KarmaCake day2839December 27, 2012
About
Contact me at presentation.hn@gmail.com
View Original