Hacker Newsnew | past | comments | ask | show | jobs | submit | maxcan's commentslogin

Can you elaborate? I've used URQL and Apollo with graphql code gen for type safety and am a big fan.

What about relay is so compelling for you? I'm not disagreeing, just genuinely curious since I've never really used it.


For me it’s really about the component-level experience.

* Relatively fine-grained re-rendering out of the box because you don’t pass the entire query response down the tree. useFragment is akin to a redux selector

* Plays nicely with suspense and the defer fragment, deferring a component subtree is very intuitive

* mutation updaters defined inline rather than in centralised config. This ended up being more important than expected, but having lived the reality of global cache config with our existing urql setup at my current job, I’m convinced the Relay approach is better.

* Useful helpers for pagination, refetchable fragments, etc

* No massive up-front representation of the entire schema needed to make the cache work properly. Each query/fragment has its own codegenned file that contains all the information needed to write to the cache efficiently. But because they’re distributed across the codebase, it plays well with bundle size for individual screens.

* Guardrails against reuse of fragments thanks to the eslint plugin. Fragments are written to define the data contract for individual components or functions, so there’s no need to share them around. Our existing urql codebase has a lot of “god fragments” which are very incredibly painful to work with.

Recent versions of Apollo have some of these things, but only Relay has the full suite. It’s really about trying to get the exact data a component needs with as little performance overhead as possible. It’s not perfect — it has some quite esoteric advanced parts and the documentation still sucks, but I haven’t yet found anything better.

Did my only ever podcast appearance about it a few years ago. Haven’t watched it myself because yikes, but people say it was pretty good https://youtu.be/aX60SmygzhY?si=J8rQF6Pe5RGdX1r8


Try gql tada it’s much better than graphQL codegen

I did. I really wanted to like it. I think it broke due to something I was doing with fragments or splitting up code in my monorepo. I may give it a shot again, from first principles it is a better approach.

I never understand why the rotating station concepts seem to all have rigid tethers, either in the form of a central boom or a rigid circular structure. It would seem like you could get a much larger diameter, so less rotational velocity and more comfort, by attaching rigid, or inflatable in this case, structures with a tether. Compressive loads are non existent, you just need to resist tensile loads.

Maybe I'll go ask the AI.


There are compressive forces. If mass inside the ring is not balanced, it can drag the ring into an ellipsoid. The inner sides of the ellipse are compressed.

A rigid ring can resist some of this inherently, but a rigid spoke to the hub cleanly takes up all the inward forces.

If your ring is not rigid, any perturbations can cause oscillations that throw the whole thing out of balance. Like a gas leak in one compartment adding thrust at a weird angle. Soon the whole ring will be oscillating along its plane, which is obviously bad. You can actively correct with thrusters on each segment, but that's a lot of extra complexity.

Basically it's all about stability. A big rigid object is much harder to shake apart. A metal circle will stay a circle in a lot more circumstances than a circle of rope will. Doubly so when rotating in zero gravity.

Flexible tethers are mainly good for small scale. Swinging a crew capsule about a big mass (Project Hail Mary, Stardancer) is indeed cheap and easy. With the complication that you must completely spin down to maneuver or dock.


I don't think your reasoning here is correct. Take a bicycle wheel for example. The spokes on a bicycle wheel do not take any compressive forces due to the way they are attached to the rim, and yet bicycle wheels can take surprising compressive loads without going oblong.


  >Maybe I'll go ask the AI
I never know if, when people say this, they mean

  Maybe I'll go ask the AI oracle, it's only slightly fallible
Or

  Maybe I'll go poke an ML model a few different ways to see if it emits interesting word sequences, that I'll then fact-check and study to develop real, deep knowledge.
I'm actually optimistic we can increase the second one, but it requires everyone to help educate our less-technical friends, family, and colleagues.

This isn't new. It's the same person who used to say "but Google said...!" This is a solvable education problem, because we've solved it before.


If it had been solved before we would not be in the predicament we are now, i.e. people might be able to learn but that doesn't mean everyone does. In fact, most do not because we are too busy figuring out how to die leading less fulfilling, more angst-ridden lives.


When its such for my personal edification and idle wonderings, usually the former. If its something that is any way critical to a meaningful decision or something I'm going to publicly share, its the latter.


Stationkeeping would be a problem. And difficult to stop it precessing away from the rotation axis you want.


An array of steerable ion engines hanging below the station (ie on the edge not in the center) can provide both reboots / stationkeeping and precess the axis, eg once per year to track the Sun.

Because trig, by "mixing" both maneuvers together it uses less propellant vs doing the two maneuvers separately.


See Project Hail Mary.


And Seveneves


There are quite a few specific procedures unique to crossing the North Atlantic. Part of it has to do with the absence of radar and VHF comms requiring HF or satellite communications which pilots will otherwise never use. I'm sure Pacific crossings have their own peculiarities but I'm less familiar.


In addition to all the other evidence pointing to this being a fake, Tesla is VERY clear that they don't have dealers.


Video isn't loading.


I think it’s because of the video format.

https://x.com/fkadev/status/1923102445799927818?s=46


We do. And I believe that private is taxed more than commercial. Most of the FAA's funding comes from this.


Are they killing unwanted minorities and political dissidents on an industrial scale? No, they aren’t. Ergo, they aren’t N*is. Labeling them as such is unfair to them and an insult to the memory of those killed by the actual kind.

There can be widespread bigotry that falls far far short of N*ism. Words and precision matter.


nope.. its symmetrical about a bunch of axes. at most they'd need a 60 degree rotation, not 180 like USB-A. So this standard is precisely 3x better than USB-A


How many times better is a barrel jack?


infinity times better, obviously.


This may come off as a little inappropriate but one thing I think about when learning another language is the usual mistakes or quirks that native speakers of that language display when speaking English. It turns out that quite often those are reflective of the correct form in their language.

It's helped me sound more natural in Japanese and Hebrew.


I speak a bunch of languages, and this is especially helpful when learning languages that have a specific own idiomatic sentence structure. You get a pretty good insight into how people form sentences in their native language based on how they garble English. You can often derive where people are from based on those typical mistakes, even in a few sentences on an online forum.


Is yours open source? I'd be interested in contributing.

I'm just very wary of giving closed source extensions "the keys to the kingdom" and complete access to all of my eamil.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: