News for hackers. Stuff that matters.
Re:Show HN: Numbat – A programming language with physical di... by joshuanapoli on Friday November 17, 2023 @06:50AM (#38302260)
The entire type system needs to be parameterized by the inertial frame of reference, too.
Re:Show HN: Numbat – A programming language with physical di... by techdragon on Friday November 17, 2023 @11:17AM (#38305588)
Some people may think you’re tossing out a sarcastic joke here… but unambiguously fuck yes … because doing this kind of preemptive typing, the forward thinking to “frame of reference” is basically the next step after overhauling everything to disambiguate between calendrical and chronological timekeeping and units…

Because fundamentally you can’t correct for the reference frame if you can’t work out if your dealing with chronological or calendrical units. Calendrical units are in a weird liminal space outside of the earth reference frame. We measure the history of most deep space missions by earth reference frame mission elapsed time and do so by keeping a clock on earth and silently keeping records of the vehicle clock.. but on Mars we have a per mission Sol count that brings Mars time into the mix, and I know for a fact a lot of people neglect the barycentric gravity gradient difference between Earth and Mars because for literally 99.9% of things it doesn’t matter… but if you measure a transit of an Astronomical body from instruments on Mars and don’t deal with the relative reference frames your fractions of an arc second are basically pointless false precision.

Re:Show HN: Numbat – A programming language with physical di... by joshuanapoli on Saturday November 18, 2023 @01:41PM (#38322893)
It would be fun to play an interstellar mashup of Sid Meyer’s Civilization and Kerbal Space Program.
Re:Show HN: Numbat – A programming language with physical di... by thriftwy on Saturday November 18, 2023 @05:35PM (#38325391)
Isn't that Sid Meyer's Alpha Centauri?
Re:Show HN: Numbat – A programming language with physical di... by joshuanapoli on Monday November 20, 2023 @09:01AM (#38348195)
Alpha Centauri is simply a weird earth. I think that a game around long-lived creatures that colonize a galaxy and have to work with relativistic effects could be different and fun. At some level it builds on all these different ways of looking at time. Breathe some life via simulation into this tongue-in-cheek interstellar economics: https://www.princeton.edu/~pkrugman/interstellar.pdf
Re:Show HN: Numbat – A programming language with physical di... by thriftwy on Tuesday November 21, 2023 @02:23PM (#38368617)
They will not have to work with relativistic effects. Nobody is going to fly faster than 0.1C. It is prohibitively expensive energy-wise and there is no point of doing that. Just accelerate to 0.01C, and arrive at the neighbouring system in 400 years. 400 years is a blink of eye, anyway.