News for hackers. Stuff that matters.

nullxone

Re:Four Magic Words on Saturday January 20, 2024 @09:44AM (#39068001)
Taking a puupy’s life increases the net suffering. In a purely ethical world, a world where the AI succeeds.

A world where every life, even a dogs life is different f value.

Can the path to a solution exclude the solution itself.

Here's a 30 second tl;dw: The first two code samples explain the idea. https://hasura.io/blog/how-to-convert-typescript-types-to-gr...

Github repository that powers the typescript function to Hasura connector bit: https://github.com/hasura/ndc-typescript-deno

Show HN: Hasura v3 custom logic: TypeScript fn = GraphQL schema and Resolver

https://www.youtube.com/watch?v=cUCIBDFeARE

DEVELOPER PREVIEW: Hasura v3 completely re-imagines microservice / business logic integration (Actions in Hasura v2).A single typescript function maps to a complete GraphQL root field.The first 2 minutes is a demo of the idea. The latter half of the video extends it to gateway style microservice federation.

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

Ask HN: Microservice survey: language, cicd, contracts, mocking, testing

I'm looking to learn about the developer experience while building out a single microservice- what programming langauge, tooling: ci/cd, test runners- what method do you use in local development when the microservice needs to call out to another (contract mocking, dev environment, ?)- how do you instrument inter service communication (rabbitmq, some other event bus or mesh tool)It seems...

( Read More... | no comments | on HN )
Building an app or API without a supergraph is like storing your data in files instead of a relational database.
When you treat your graph like a set of nodes, you miss the point of GraphQL.

...leads to the common impression that building out a GraphQL API is busy work... And moreover, this is true! This way of doing things sells GraphQL short.

...serious GraphQL users like Meta and Netflix have their own entity based frameworks to construct supergraphs.

Building an app or API without a supergraph is like storing your data in files instead of a relational database.

Thanks. A lot of these things ring true in a very practical sense.

GraphQL keeps getting more mature and adding more and more tooling/features/middleware, but we also need to work on de-risking the technology from a more fundamental perspective to get to a rock solid foundation.

Re:Pathfinder: The Missing GraphQL IDE on Sunday September 24, 2023 @02:06PM (#37635578)
GraphiQL Alternative from Grafbase
Except extreme chemical addiction, made worse by the fact that the other side effects aren't there to warn your body?

Isn't GABA downregulation the main reason for extreme withdrawal with alcohol?

Re:New iPhone, new charger: Apple bends to EU rules on Tuesday September 05, 2023 @01:08AM (#37388103)
Lightning has been around for more than 10 years. Now customers can't reuse those cables / accessories. Though I'm sure plenty will welcome the consolidation as well. So the narrative is good for Apple.

Also the facts show Apple lobbied against usb c in the EU: innovation and patents, phone too thin.

Re:Scaling front end app teams using Relay on Friday September 01, 2023 @05:31AM (#37348584)
Why and how Relay can help scale complexity, focused on scaling frontend teams, compared to other patterns/tools.
Re:The Why of GraphQL Client Side Nullability in Examples on Thursday August 17, 2023 @12:25PM (#37164125)
The client has a better idea than the server of what should be null in a graphql call.

This is available in Relay today and is coming up as a graphql RFC.

Looking back over different patterns shows how projects and teams should be organised to scale complexity, and how new tech like React Server Components and Backend for Frontend should be used.

Some ideas from the post: BFF should be outside the security boundary (so it can be owned by product teams) RSC is a view layer! Don't put business logic in it.

Re:Our latest quality improvements for Search on Tuesday April 25, 2017 @12:45PM (#14195356)
"There are trillions of searches on Google every year. In fact, 15 percent of searches we see every day are new"
Re:Announcing TypeScript 2.2 on Thursday February 23, 2017 @05:06AM (#13712794)

Older »