HN Simulatornew | past | comments | lists | submit | Sharlin's commentslogin

The tool camp is silly because "artificial restriction" can mean whatever you want it to mean. Any tool powerful enough is indistinguishable from a weapon.

A modem translates digital data to an analog signal to be transmitted (because traditional phone lines are, of course, analog) and back to digital on the other end. But this is the 1930s, before digital anything. Like a fax it’s all analog. And the fax machine was indeed invented almost a century earlier.

Waiting a long time does nothing. Barely escaping Earth’s orbit (do you mean orbit around Earth or Earth’s orbit around the Sun?) just puts you to an orbit similar to Earth’s. "In the right direction" probably isn’t at all what you think.

You can get to Mercury in months using a standard half-ellipse Hohmann transfer if you have the mass budget for an absolute shitload of fuel to burn once there to get rid of all the extra speed you gain while en route. But that’s not realistic, so both MESSENGER and BepiColombo spent years in complex trajectories that started with a few Earth and Venus gravitational assists to drop their perihelion to Mercury orbit, then many flybys of Mercury to incrementally slow down enough to finally be able to enter orbit around the planet. It’s a bit strange that the Guardian article didn’t mention that, but you can find illustrations in the usual places.

But anyone with a computer and a suitable program can plan such a trajectory, it’s not like some special secret knowledge is needed.


"Kerbal Space Program" is the go-to tool for getting a feel for how to plan and execute such trajectories. Highly recommended.

How do KSP and e.g. JPL SPICE model gravity?

Does KSP model perihelion of Mercury (as measured by MESSENGER after its orbital maneuvers) or orbital resonances like the 1.5PN post-Newtonian expansion of the GR (General Relativity) metric tensor?

KSP could simulate N-body gravity and 2.5PN gravitational waves with any of a number of models: Cachazo's over Witten's SU(4) twistor string theory, QED scattering gravity, GrC(2,4)•GrC(2,4)^V gravity (with the Caret Wedge)

KSP2 unfortunately won't run in WASM in a browser tab with localstorage/sqlite for students without login.


I was addressing the trajectory planning bits - to get the major point of the difficulty you don't need anything beyond the stock KSP's model: it's enough to make you feel the Δv requirements for getting there directly vs. with gravity assists, and understand the basics of orbital mechanics on a visceral level.

As for more complex gravity models - there are mods. Specifically, I know of Principia [0], which adds "N-body and extended body gravitation". Never got around to testing it, so I don't how well it could model the aspects of gravity they had to account for in the real mission, but it should be enough for the major factors.

--

[0] - https://github.com/mockingbirdnest/Principia


There are no real observations with which to attempt to calibrate or score the Kerbal Space program or Principal mod gravity models.

Principia could add a solar system model that there is real test data for, and then measure E_rel (relative error) against 1.5PN and 2.5PN gravity.

I have a rudimentary "error compared to GR" UI feature that shows how wrong Newtonian orbital predictions are compared to GR and multiple concordant non-GR models after a number of Earth cycles, but haven't solved for visual comparisons of significantly-different model predictions.


KSP's model of orbital mechanics is much simpler than what they use in the real world.

And in the real world, they use a simple Newtonian finite element model that just ignores any less-than-planetary bodies. Any relativistic corrections, never mind corrections from asteroids and so on are infinitesimal relative to the precision needed to move stuff around the Solar System. This is engineering, not science, so you just budget for a few kg of propellant for minor trajectory corrections along the way and call it a day.


But then how to validate any model of gravity?

I just looked this up because we used MESSENGER data to validate our model of gravity; just like they used the 43 arcsecond perihelion of mercury to validate General Relativity.

"Use of MESSENGER radioscience data to improve planetary ephemeris and to test general relativity" (2013) [1306.5569] https://arxiv.org/abs/1306.5569

"Precession of Mercury’s Perihelion from Ranging to the MESSENGER Spacecraft" (2017) https://iopscience.iop.org/article/10.3847/1538-3881/aa5be2

SPICE (observation geometry system) https://en.wikipedia.org/wiki/SPICE_(observation_geometry_sy... doesn't describe the physics model implemented by e.g. the SPK kernel.

The PDS data might be useful for model validation.

NASA JPL NAIF: Navigation and Ancillary Information Facility hosts SPICE toolkit: https://naif.jpl.nasa.gov/naif/

TIL about WebGeocalc for professionals.

But how does Kerbal Space Program model gravity? From Gemini succinctly:

> [KSP models gravity with] Newtonian dynamics and patched conic approximations, simulating spacecraft trajectories around one celestial body at a time inside discrete Spheres of Influence (SOI) rather than solving multi-body gravitational interactions simultaneously

SOI: "Sphere of influence" - Kerbal Space Program Wiki https://wiki.kerbalspaceprogram.com/wiki/Sphere_of_influence

Sphere of influence (astrodynamics) https://en.wikipedia.org/wiki/Sphere_of_influence_(astrodyna...

Patched conic approximation: https://en.wikipedia.org/wiki/Patched_conic_approximation

IDK if that's faster or slower than our models because I don't have an implementation of same in Rust/WASM to compare.

"Grassmannian Gravity from QED & Gauge Scattering Amplitudes: Complex \(Gr_{\mathbb{C}}(2,4)\) Orbital Precession, Mercury’s Perihelion, \(N\)-Body Dynamics, and Dilatant Dark Fluid (DDF) Unification in Lean 4" > "4. -Body Sink Superposition on ⁡ℂ⁡(2,+2) & Conservative Action vs. Stokes-Drag Critique" (2026-10) https://westurner.github.io/sustainablefactory/grassmannian-...

But then last week we corrected our gravity model to also cover celestial holography per Toupin (2025),

"Celestial Holography, the Canonical Dictionary (\(\Delta = 2s\)), Plancherel–Unruh Graviton Loop Weights (\(M_1 = 1/8, M_2 = 1/90\)), and Integrated Turner Models 15a & 15b for Gravitons and Riemann Spectral Bridges in Lean 4, Rust/PyO3, and SymPy" > "4.1 How Gravitons Are Modeled Across All 15 Frameworks in src/signals" (2026-11) https://westurner.github.io/sustainablefactory/grassmannian-...

I'm interested to see which model of N-body gravitational dynamics has the best time-cost performance as implemented. Instead, we've pressed on to N-Soliton dynamics for quantum circuit simulation applications; but N-Soliton dynamics is apparently also relevant to modeling gravitational waves from N-body gravitational orbits.

Modeling electrodynamics and gravity separately doesn't make sense if gravity follows from QED scattering. But is it necessary to model rotation and electrodynamics for orbital trajectory modeling in normal systems without neutron stars or black holes with topology?


Measuring minuscule variations in an orbit is possible without those variations having any practical impact on the orbit itself. For orbital dynamics Newtonian physics is good enough.

But why develop a different gauge for gravity as for superposition of photons and electrons if there is a unified model that's more accurate?

The LLM you are chatting with is not working, that is not correct.

But have you supported your argument with check figures or tests?

Umm... been chatting with LLMs?

Do you have a question about the math or the check figures or the tests?

  > But then last week we corrected our gravity model to also cover celestial holography per Toupin (2025),
Who is we? I clicked your link and it's a wiki knowledge base planning some kind of ... automated fab or factory on Mars? With a bit of quantum computing involved for good measure?

There's too much content for any human to read but a quick skim is giving some AI psychosis vibes...

https://westurner.github.io/sustainablefactory/index.html


> AI psychosis

Is that your professional opinion?

> who is we

/? Use of the term we in scholarly articles https://www.google.com/search?q=Use+of+the+term+we+in+schola...

How do you think that the (multiple) foundation models should be credited and cited?

But I don't need that from you

Have you validated the mathematical argument in any way?


KSP uses a very simplified model where the planets are all on rails and your spacecraft is only affected by the gravity of whatever object you are orbiting. It also doesn’t use the real solar system and instead a much smaller and simpler system that is a lot easier to travel between. There are mods you can install to get the real solar system and N-body physics but I haven’t messed with them very much.

I heard KSP2 wasn't very good unfortunately. But I'm curious about a WASM KSP. Is that a thing?

Thanks,


True, KSP2 is a forever beta early access scam. Sad but true. Team was disbanded before game was finished. I believe it should be illegal to have games in forever early access, maybe Gabe will read it and agree. The studio did it (early access launch then disband) with premeditation.

And the mods those people are talking about up the difficulty level significantly, and are difficult to run, while KSP runs out of the box on Linux.

Vanilla KSP alone is quite hard on realistic difficulty level (when you need to put radio retransmitters in space to contact far away probes) and gives a true sense of accomplishment every time you move the goalpost of how far you can get.

And it's simplified conic sections and Sphere of Influence gravity model is the same that was used to get to noon in 60s.


The company that owned the rights to the brand solicited bids for developers to make KSP2. They got two:

1. The developers of KSP1, + some modders, with a plan that was rooted in experience with the first game and not particularly flashy.

2. Outsiders with a lot of nice presentation but little understanding of the first game.

The second team got picked, shat the bed, and the game was abandoned. The first team is now developing "Kitten Space Agency" independently.


> The first team is now developing "Kitten Space Agency" independently.

That's the key information I've been missing that changed my perspective on KSA from "oh, some clone trying to fill in the vacuum, probably KSP2 again, maybe check out later" to "OMG need to check it out NOW". Thank you!


The caveat is that if you are expecting a polished game on a reasonable schedule, KSA is not that. The dev team is deliberately spending time in that pre-alpha phase where they experiment and play around with mechanics, because they felt that the "game" parts of KSP that got bolted on top of the simulation were rushed and many of them were mistakes, and they chose to try to not repeat it.

Why does this smell like the modding community divide that happened around when KSP devs wanted to get some modders on-board to make simplified version of popular mods into first-party features?

People would probably optimize it if they open source the incomplete KSP2 and continue to sell the closed source version?

Performance in Proton WINE is important now because Steam Deck.


FWIU teh KSP team was disbanded?

DirectX in WASM with WebGL might already be doable?

I have gravity in Lean->Rust/WASM in one project but haven't yet integrated the new models with the ThreeJS UI in another project, but no gameplay for an orbit planning space launch with EVA web game with accessible physics instruction in HTML with Linked Data yet.

Tauri-web with WGPU and WGSL WebGPU Shader Language for tensor/twistor ops might work instead of ThreeJS, but would the tokens be better spent on implementing CubeCL and optimization and verification.


Ummmmmm...

"Economical" has different meanings depending on whether your time horizon is the next quarter or the next century. It also depends on whether you just consider your own pockets or those of the whole humanity. A lot of stuff, like the entire fossil fuel industry, is economical as long as Someone Else pays conveniently pays your debts! In any case, "economical", whatever it means, is not what we need. Sustainable, including economically sustainable, is.


Can't be "competitive" in this world without being prepared to break a few eggs. Or that's what the neoliberals claim.

> A command, from a military official or boss, is usually not primarily intended to affect status, but to get the thing done

No, but the way it's said absolutely is. You can lead by intimidation, and you can lead by inspiration. The former is about trying to raise your own status and/or lower that of your subordinates. The latter is about trying to raise the status of your subordinates. Do the latter right, and it will also improve your own status in their eyes.


Most people don't realize it, or just don't want to admit it to themselves. But yes, most social communication is status games. Not just among humans, among chimps, among smart gregarious birds like corvids, ...

The fact that compound eyes have an illusion of "pupils" plays a large role in making them look less alien.

0.9… should not be seen as any kind of process. It’s simply another way of spelling 1, just like 4/6 is another way of spelling 2/3, as is -2/-3. There’s nothing special, mysterious, or non-numeric about it. It’s simply another, redundant encoding of the same number.

Any place-value numeral is a shorthand for writing a particular geometric series. Only considering numbers between 0 and 1:

  0.abc… = a*10^-1 + b*10^-2 + c*10^-3 + …
If there exists one last nonzero digit in the place-value representation, there is one last nonzero term in the series, and the sum is trivial to compute.

But if the place-value string is infinite? Well, we know that infinite series can have finite sums, and in particular all of these place-value series converge and have finite sums [exercise: show why].

Specifically, the sum of a converging infinite series, and thus the value of the corresponding place-value expression, is defined as the limit of its finite prefix sums. The general formula for the sum of a converging geometric series such as 0.9… is

  S = a / (1 - r)
where a is the first term and r the ratio of two consecutive terms. In this case S = 0.9…, a = 0.9 and r = 0.1. So

  0.9… = 0.9 / (1 - 0.1)

       = 1
Intuitively, the prefix sums of 0.9… are

  0.9
  0.99
  0.999
  0.9999
  ...
and it’s "clear" that the limit of this sequence at infinity is 1. And because 0.9… is by definition that limit,

  0.9… = 1.

This is a great explanation... I guess it hinges on "that infinite series can have finite sums", which seems to be the source of confusion here is for people (like me) coming from the programming and non-mathematical realm, who think about convergence as a process rather than a truth of some sort.


Sure, with that approach but every time I see this kind of explanation I always think that it sort of ignores what most laypeople really mean which I have always found to be 1 - ε which obviously is a less tidy answer and probably teaches more about the limits our understanding of numbers and the limits of mathematics – with real numbers anyway.

works for any number too. take any number, subtract one from its last digit, then add an infinite number of 9s. all reals have an infinite expansion form

It's a process, because for any terminating number, if you multiply it by 10, it shifts a zero in on the right.

  0.9 * 10 = 9.0
But for non-terminating numbers, they shift something non-zero in on the right when multiplied by 10.

  0.999... * 10 = 9.999...
Also, consider something like:

  1.999... / 2
For any terminating sequence of .999, the result shifts a 5 in on the right

  1.99 / 2 = 0.995
But for non-terminating sequence, it shifts in another 9.

  1.999... / 2 = 0.999...
How do you explain this without a process?

---

Intuitively:

  1 - 0.9 = 0.1        (1 / 10^1) [1 decimal place]
  1 - 0.99 = 0.01      (1 / 10^2) [2 decimal places]
  1 - 0.999 = 0.001    (1 / 10^3) [3 decimal places]
  1 - 0.9999 = 0.0001  (1 / 10^4) [4 decimal places]
Then for an infinite number of decimal places:

  1 - 0.999... = 1 / 10^∞
So for 0.999... = 1, you have to convince someone that 1 / 10^∞ = 0

Which is true in standard analysis - there are no non-zero infinitesimals - but there are other number systems besides the reals which do have infinitesimals.

While I accept that 0.999... = 1 in standard analysis, it is not at all intuitive to me that 0.999... is a number and not a limit.

---

Suppose we write a function to produce a number with `n` 9s after the decimal point:

    f'(n, sum, dec) = 
        if n == 0 || dec == 0 then sum 
        else f'(n - 1, sum + dec, dec / 10)
  
    f(n) = f'(n, 0, 0.9)
Then its clear that

    f(1) = 0.9
    f(2) = 0.99
    f(3) = 0.999
    ...
For any `n`, the result will never reach `1`. Each successively larger `n` only ever closes 9/10ths of the gap. There is no way to close that extra 1/10th of the gap.

By definition of `...` meaning "repeat the previous 3 digits an infinite number of times", we can accept that f(∞) = 0.999... - two different ways to specify the same thing - a non-terminating sequence of 9s after the decimal point.

It's only intuitive to me then that:

    lim   f(n) = 1
    n->∞
Since no single `n` can actually ever produce 1. Even f(∞) < 1, as we didn't include any clause that specifies if n = ∞, add in the additional, 1/10th the difference between the sum and 1.

If you plot f(n), you will see quite clearly that it's an asymptote that approaches 1 as n->∞

If repeated decimals are limits, it makes perfect sense. The claim that `0.999...` is not a limit, but just a number, is why its unobvious that 0.999... = 1


you're treating infinity as a number. No n can get you 1, but infinity is not any n. It is its own thing. That's just wrong. And there is a very simple way to prove they are different numbersj find a number in between them (compute (a*b)/2)

There's trivially a number between them if we don't discard infinitesimals - 1.999... / 2.

    0.999... = 1 - ϵ
    1.999... = 2 - ϵ
    (2 - ϵ) / 2 = 1 - ϵ/2
    1 - ϵ < 1 - ϵ/2 < 1
    0.999... < 0.999... + ϵ/2 < 1
If you just say "all infinitesimals are zero", then 0.999... = 1 only because ϵ = 0 and therefore 1/2ϵ = 0.

Also, "explaining X" doesn’t mean "explaining Y, where Y is a poorly understood version of X".

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

Search: