logoalt Hacker News

drdexebtjl • yesterday at 3:16 PM • 0 replies • view on HN

Open a new account Assets:Fridge:2026-12-04-Hotdog with the value of the hotdog in cash. If you eat half of it, decrease its balance in half (and send the money to an Expenses:Food account). When you eat all of it, close the account.

That way if hackers destroy your fridge, you can find your total losses by querying for the Assets:Fridge sub-accounts, itemized.

I wouldn’t track food — there are better apps for this — but you can apply the same concepts for other non-fungible things.