logoalt Hacker News

Sandwich Bill of Materials

162 pointsby zdwlast Sunday at 11:15 PM19 commentsview on HN

Comments

bzmrgonztoday at 8:19 PM

You forgot to accomodate for MCP. You don't expect us to build the sandwiches manually as if we were cavemen living in 2023 do you???

show 1 reply
SAI_Peregrinustoday at 8:25 PM

This promotes impractical version pinning. That leads to spoilage unless the lockfiles are updated every few hours. Freshness should be checked at build time, and the resolved version for each ingredient recorded in the SBOM but a lockfile SHOULD NOT be used for perishable ingredients. Bacteria will result in Spoilage Vulnerabilities if versions are locked inappropriately.

ponestartoday at 9:09 PM

So is "toasting the bread a little bit" in the semver for the bread? Is this part of the integrity hash?

Where are post assembly instructions stored?

Panini and croque monsieur sandwiches are left out of this spec.

Author didn't post the repo so I don't know where to submit an issue.

elzbardicotoday at 9:28 PM

This is fantastic, now, after implementing SAP home edition at your house, you’ll be able to use the procurement module and leverage EDI to source the ingredients of your sandwich while maintaining full traceability according to the relevant ISO standards.

SauntSolairetoday at 7:20 PM

Hopefully this has built in support for second sourcing

owlninjatoday at 5:49 PM

They better load the SBOM correctly in SAP.

McGlockenshiretoday at 6:42 PM

> AGPL (Affero General Pickle License): Same as GPL, but if you serve the sandwich over a network (delivery apps), you must also publish the recipe. This is why most restaurants avoid AGPL pickles.

I love a good APGL joke, and this one especially tickles me because I'm currently a delivery driver instead of a dev.

arealaccounttoday at 7:36 PM

> The 2025 egg price crisis was a cascading failure equivalent to a left-pad incident, except it affected breakfast.

ThrowawayTestrtoday at 7:06 PM

The most delightful thing I've read in a while.

johndhitoday at 7:31 PM

love it - is this a thing that's mostly used in government contracting, or do people encounter SBOM stuff more broadly than that?

show 2 replies
snarky123today at 7:40 PM

Finally, something the software industry can learn from: sandwiches have dependency management figured out.

phendrenad2today at 7:38 PM

> SHA-256 hash of the ingredient at time of acquisition

I put mayonnaise on my RAM but I don't know how to hash it.

show 1 reply
TZubiritoday at 6:32 PM

Mmmmmh, specifications

benatkintoday at 5:52 PM

What's the purl (Package URL) equivalent of surl:mystery, for stuff like Claude Code, which now only supports running a script to install? It does have a pretty easy to read install script, but the docs don't suggest reading it before running it as an option, they just say to run it https://code.claude.com/docs/en/setup

Also it doesn't address mold: harmful on bread, wonderful when intentionally added to cheese

Edit: Claude Code has a homebrew cask, and homebrew supports Linux (I haven't been using it on Linux so it didn't occur to me when reading this). It can be specified in purl using pkg:brew.