| 8 Feb 2025 |
raboof | I agree that would be good! I've been focusing on https://github.com/JulienMalka/lila (which should replace those reports eventually) and some upstream work - but happy to take PRs? | 21:31:32 |
dish [Fox/It/She] | I'll see if I can, yeah | 21:37:16 |
dish [Fox/It/She] | running a build now(on my laptop 🥴) | 22:17:36 |
| 9 Feb 2025 |
dish [Fox/It/She] | regenerated the minimal ISO reports(https://github.com/NixOS/reproducible.nixos.org/pull/7) | 15:59:41 |
dish [Fox/It/She] | haven't regenerated the GNOME reports(idk if I will, the minimal ISO reports took like an entire day to generate) but these should be helpful | 16:00:25 |
raboof | thanks, merged! | 21:49:01 |
| @tired:fairydust.space left the room. | 22:50:19 |
| 10 Feb 2025 |
raboof | created issues for the failures affecting the runtime closure of the minimal iso, https://github.com/NixOS/nixpkgs/issues/380852 https://github.com/NixOS/nixpkgs/issues/380854 and https://github.com/NixOS/nixpkgs/issues/380856 | 10:08:30 |
| 11 Feb 2025 |
pveierland | Is reproducible compression a topic? Can any popular algorithms be configured to be reproducible? | 12:05:18 |
@r522:matrix.org | there's discussion of this over at https://github.com/facebook/zstd/issues/2949 for zstd
zstd is deterministic... given the same version which for the sake of reproducible builds isn't an issue, you can just use the older version
| 12:43:47 |
pveierland | Interesting, thank you! | 12:46:01 |
@r522:matrix.org | reproducible across all versions is quite a niche requirement, especially since that means you can't ever make the compression more efficient space-wise
for that i guess you'd just pick a given zstd(or other library) version and fork it, applying changes as needed, but having tests that ensure you never break reproducability
| 12:47:57 |
pveierland | It does sound a bit fickle. Seems like a case similar to e.g. the NAR format where it would make sense to make a dedicated reproducible compression format (even if it's just a fork of an existing algorithm with frozen parameters) | 12:50:09 |
pveierland | Good to know that it should be possible out-of-the box with zstd 👍️ | 12:50:34 |
@r522:matrix.org | that being said: unless you're doing encryption, you could define hashes to be over the uncompressed content | 13:26:44 |
pveierland | It was just something I was thinking about since I was doing some stuff with binary build caches. E.g. nix binary caches sets the file name of a compressed NAR based on the file hash of the compressed NAR, meaning that when the compression is not reproducible, you cannot directly infer the location of the data, but need to depend on metadata | 13:38:30 |
Martin Schwaighofer | In reply to @pveierland:matrix.org It was just something I was thinking about since I was doing some stuff with binary build caches. E.g. nix binary caches sets the file name of a compressed NAR based on the file hash of the compressed NAR, meaning that when the compression is not reproducible, you cannot directly infer the location of the data, but need to depend on metadata If you want to associate a computation with its outcome, but not run the computation yourself, you always need to rely on some metadata for that association.
That's not only true for the kind of compression you describe, but also for the build steps themselves, even with content-addressed derivations in Nix. | 14:13:40 |
| @lunchtime:envs.net left the room. | 19:07:32 |
| 12 Feb 2025 |
pveierland | In reply to @mschwaig:matrix.org
If you want to associate a computation with its outcome, but not run the computation yourself, you always need to rely on some metadata for that association.
That's not only true for the kind of compression you describe, but also for the build steps themselves, even with content-addressed derivations in Nix. It does seem to change certain thing however, as e.g. binary caches now store NARs with file names based on the hash of the compressed NAR, as the contents of the stored file will be different based on the compression used. If a deterministic compression was used, different caches would store the same files for the same payload data, making it possible to have consistent file names and contents, which could simplify some syncing and lookups | 02:33:11 |
| arcayr joined the room. | 02:51:06 |
| Kira changed their display name from kira to Kira. | 19:59:43 |
| 15 Feb 2025 |
| BenjB83 joined the room. | 10:19:15 |
| BenjB83 changed their display name from Benjamín Buske to BenjB83. | 10:43:11 |
| 21 Feb 2025 |
| shd joined the room. | 17:51:01 |
| 23 Feb 2025 |
| ethancedwards8 joined the room. | 03:07:46 |
| gmodena joined the room. | 10:18:31 |
| Martin Häcker joined the room. | 16:40:40 |
| 27 Feb 2025 |
| w changed their display name from w to w - out for 🚬. | 18:34:28 |
| w changed their display name from w - out for 🚬 to w. | 19:25:49 |
| 3 Mar 2025 |
| @kenmacd:matrix.org left the room. | 17:58:51 |