Readit News logoReadit News
8n4vidtmkvmk commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
hn_throwaway_99 · 14 hours ago
> The main problem GraphQL tries to solve is overfetching.

My issue with this article is that, as someone who is a GraphQL fan, that is far from what I see as its primary benefit, and so the rest of the article feels like a strawman to me.

TBH I see the biggest benefits of GraphQL are that it (a) forces a much tighter contract around endpoint and object definition with its type system, and (b) schema evolution is much easier than in other API tech.

For the first point, the entire ecosystem guarantees that when a server receives an input object, that object will conform to the type, and similarly, a client receiving a return object is guaranteed to conform to the endpoint response type. Coupled with custom scalar types (e.g. "phone number" types, "email address" types), this can eliminate a whole class of bugs and security issues. Yes, other API tech does something similar, but I find the guarantees are far less "guaranteed" and it's much easier to have errors slip through. Like GraphQL always prunes return objects to just the fields requested, which most other API tech doesn't do, and this can be a really nice security benefit.

When it comes to schema evolution, I've found that adding new fields and deprecating old ones, and especially that new clients only ever have to be concerned with the new fields, is a huge benefit. Again, other API tech allows you to do something like this, but it's much less standardized and requires a lot more work and cognitive load on both the server and client devs.

8n4vidtmkvmk · 13 hours ago
Pruning the request and even the response is pretty trivial with zod. I wouldn't onboard GQL for that alone.

Not sure about the schema evolution part. Protobufs seem to work great for that.

8n4vidtmkvmk commented on GraphQL: The enterprise honeymoon is over   johnjames.blog/posts/grap... · Posted by u/johnjames4214
gavinray · 13 hours ago
I'm probably about as qualified to talk about GraphQL as anyone on the internet: I started using it in late 2016, back when Apollo was just an alternate client-side state/store library.

The internet at large seems to have a fundamental misunderstanding about what GraphQL is/is not.

Put simply: GQL is an RPC spec that is essentially implemented as a Dict/Key-Value Map on the server, of the form: "Action(Args) -> ResultType"

In a REST API you might have

  app.GET("/user", getUser)
  app.POST("/user", createUser)
In GraphQL, you have a "resolvers" map, like:

  {
    "getUser": getUser,
    "createUser": createUser,
  }
And instead of sending a GET /user request, you send a GET /query with "getUser" as your server action.

The arguments and output shape of your API routes are typed, like in OpenAPI/OData/gRPC.

That's all GraphQL is.

8n4vidtmkvmk · 13 hours ago
I think you're oversimplifying it. You've left on the part where the client can specify which fields they want.
8n4vidtmkvmk commented on Gemini 3 Pro: the frontier of vision AI   blog.google/technology/de... · Posted by u/xnx
reducesuffering · 9 days ago
"AI could never replace the creativity of a human"

"Ok, I guess it could wipe out the economic demand for digital art, but it could never do all the autonomous tasks of a project manager"

"Ok, I guess it could automate most of that away but there will always be a need for a human engineer to steer it and deal with the nuances of code"

"Ok, well it could never automate blue collar work, how is it gonna wrench a pipe it doesn't have hands"

The goalposts will continue to move until we have no idea if the comments are real anymore.

Remember when the Turing test was a thing? No one seems to remember it was considered serious in 2020

8n4vidtmkvmk · 9 days ago
I still haven't witnessed a serious attempt at passing the Turing test. Are we just assuming its been beaten, or have people tried?

Like if you put someone in an online chat and ask them to identify if the person they're talking to is a bot or not, you're telling me your average joe honestly can't tell?

A blog post or a random HN comment, sure, it can be hard to tell, but if you allow some back and forth.. i think we can still sniff out the AIs.

8n4vidtmkvmk commented on AI agents find $4.6M in blockchain smart contract exploits   red.anthropic.com/2025/sm... · Posted by u/bpierre
yieldcrv · 13 days ago
just means self executing, or more like domino triggered, in practice

quite a bit more advanced than contracts that do nothing on a sheet of paper, but the term is from 2012 or so when "smart" was appended to everything digital

8n4vidtmkvmk · 13 days ago
Now we just append AI to everything instead...
8n4vidtmkvmk commented on Migrating the main Zig repository from GitHub to Codeberg   ziglang.org/news/migratin... · Posted by u/todsacerdoti
ssivark · 18 days ago
> created by monkeys

I don't particularly care for either Zig or Github, but...

they do precisely cite the technical issues. That snippet links to a Github discussion comment https://github.com/actions/runner/issues/3792#issuecomment-3...

(reproduced below)

"The bug in this "safe sleep" script is obvious from looking at it: if the process is not scheduled for the one-second interval in which the loop would return (due to $SECONDS having the correct value), then it simply spins forever. That can easily happen on a CI machine under extreme load. When this happens, it's pretty bad: it completely breaks a runner until manual intervention. On Zig's CI runner machines, we observed multiple of these processes which had been running for hundreds of hours, silently taking down two runner services for weeks."

"I don't understand how we got here. Even ignoring the pretty clear bug, what makes this Bash script "safer" than calling into the POSIX standard sleep utility? It doesn't seem to solve any problem; meanwhile, it's less portable and needlessly eats CPU time by busy-waiting."

"The sloppy coding which is evident here, as well as the inaction on core Actions bugs (in line with the decay in quality of almost every part of GitHub's product), is forcing the Zig project to strongly consider moving away from GitHub Actions entirely. With this bug, and many others (severe workflow scheduling issues resulting in dozens of timeouts; logs randomly becoming inaccessible; random job cancellations without details; perpetually "pending" jobs), we can no longer trust that Actions can be used to implement reliable CI infrastructure. I personally would seriously encourage other projects, particularly any using self-hosted runners, to look carefully at the stability of Actions and ask themselves whether it is a solution worth sticking with long-term when compared with alternatives."

----

I agree that the writing in the blog post is more colorful than precise, but sanitizing every bit of expression dulls the internet. Humans invented language for a reason.

8n4vidtmkvmk · 18 days ago
Then blast the product, not the people who built it.
8n4vidtmkvmk commented on $5 PlanetScale is live   planetscale.com/blog/5-do... · Posted by u/e2e4
matt-p · a month ago
I think in fairness it's an apples to oranges comparison.

How long will it take you to setup postgres on a VM and sort out and pay for somewhere to put backups? Let's say only a hour, and your time is worth say $30/hour you've just spent 6 months of planetscale fees and you've still got to pay your VPS and backup provider.

8n4vidtmkvmk · a month ago
That's one way to look at it. I personally think it's worth burning a few hours to learn how to do something yourself even if you don't immediately get value out of it.
8n4vidtmkvmk commented on I can't recommend Grafana anymore   henrikgerdes.me/blog/2025... · Posted by u/gpi
8n4vidtmkvmk · a month ago
This reads like a satire. There's so much jargon and so many products involved to just do a little bit of logging. It's ridiculous.

That is to say I agree with the author.

8n4vidtmkvmk commented on TTS still sucks   duarteocarmo.com/blog/tts... · Posted by u/speckx
tatersolid · a month ago
This isn’t true in my experience. I’m a parent of three teens and they immediately exclaim “clanker” and hit skip when encountering any form of AI generated content on any platform.

They recognize AI slop easily and definitely do care enough to avoid it. As do their friends.

AI-generated content has near-zero commercial value long-term.

8n4vidtmkvmk · a month ago
I'm very skeptical about this zero commercial value claim. I don't think everyone skips past it, and even if they do, that's just the stuff they're detecting as AI. How much have they not identified? What about in a couple years?

Heck, even humans subtly trying to sell something give off a vibe you can pick up quickly. But now and then they're entertaining or subliminal enough that they get through.

8n4vidtmkvmk commented on TTS still sucks   duarteocarmo.com/blog/tts... · Posted by u/speckx
munk-a · a month ago
> Boomers and older folks are not culturally or mentally equipped to handle it

I'm glad you mentioned this because the "Grandma - I was arrested and you need to send bail" scams are already ridiculously effective to run. Better TTS will make voice communication without some additional verification completely untrustworthy.

But, also, I don't want better TTS. I can understand the words current robotic TTS is saying so it's doing the job it needs to do. Right now there are useful ways to use TTS that provide real value to society - better TTS would just enable better cloaking of TTS and allow actors to more effectively waste human time. I would be perfectly happy if TTS remained at the level it is today.

8n4vidtmkvmk · a month ago
I still think it would be fun for a video game. Write a backstory for a whole bunch of NPCs and let the player dig as deep as they like.

I'm not sure what the bottle neck right now is. Either this idea isn't as fun as I think or we can't do it in real time on consumer hardware yet.

8n4vidtmkvmk commented on Vibe Code Warning – A personal casestudy   github.com/jackdoe/pico2-... · Posted by u/jackdoe
hiAndrewQuinn · a month ago
How do I know this very comment wasn't written by someone who was having a bad time, though? The tone is frustrated and critical. I'd put the odds at maybe 1 in 5.

Where do we draw the line where we have to delete our own grouchiness from the Internet for fear of letting others consume something we created in anger?

8n4vidtmkvmk · a month ago
On reddit, I delete it daily. Partly for that reason and partly because the Internet is scary.

The line though, is probably when you put my harm out into the world than good. That's probably a good place to draw it.

u/8n4vidtmkvmk

KarmaCake day2012January 6, 2018View Original