BreakfastB0b
Joined 9 years ago
Joined 9 years ago
https://github.com/TheBevyFlock/bevy_simple_subsecond_system
An input addressed derivation’s hash is based on the the hash of all its input derivations and its own derivation. Therefore trusting the association between the cached binary and the derivation requires trusting the builder and a signature. All non-derivation inputs like source code, must be content-addressed.
A content addressed derivation can then be produced easily by rewriting all the derivations with `nix make-content-addressed`. This doesn’t require trust / signatures as every stage of the build is now content-addressed. The final hash could be confirmed through social consensus of multiple distrusting parties.
There’s nothing in theory stopping you from starting with a content addressed derivation other than it being a pain in the ass as you’d have to know the output hash before you built it, or TOFU (trust on first use) it which is then just the same as using the `nix make-content-addressed` approach.
I’m not sure why you think commit signatures are required. Git is content addressed, you can’t tamper with the derivations without changing the hashes and nixpkgs is primarily developed through GitHub. If someone has access to your SSH keys or GitHub account password it stands to reason they’d have access to your GPG keys too.
Outer Wilds is an indie game where exploration and knowledge is the entire point of the game. It unfortunately has zero reply value as once you’ve pieced together the mystery and how to end the game it’s over. I say unfortunately because it’s honestly the best game I’ve ever played and I sometimes wish I could receive just enough blunt force trauma so I could experience it for the first time all over again.
I think having a small standard library is actually a good thing because it encourages exploration of the space of possibilities.
For example Go’s stdlib http.HandlerFunc sucks, people instead opt for leaving it behind entirely in favour of Gin or trying to work around it with bad patterns like interface smuggling.
Hell, cows aren’t magic. Even “real milk” is just a collection of sugars, proteins, etc. If there’s no difference between the two then what’s the distinction?
Experiencing time and having mass are linked in a very deep way. Objects that experience time, i.e. have some kind of state evolution, must have mass, this is how we know the neutrino has mass even though it's smaller than we can measure, because we measure them oscillating between the various flavours of nutrinos.
This is also how the Higgs mechanism gives rise to "rest mass" in most particles, by constantly exchanging weak hypercharge with them. This oscillation back and forth gives them mass.