Guyren Howe
01/16/2025, 7:49 PMKartik Agaram
Kartik Agaram
Guyren Howe
01/16/2025, 10:39 PMKartik Agaram
Kartik Agaram
Guyren Howe
01/16/2025, 11:17 PMFederico Pereiro
01/17/2025, 7:34 PMAndrew F
01/18/2025, 12:11 AMEvery piece of data has an address, but what you see at that address depends on who you are
If there's code running checks on my identity before returning the "data" at that address, I'm uncomfortable calling it "data". There's necessarily conditional code involved, which is as close to a hard distinction between "data" and "code" as you're likely to get. Meanwhile, the possible variants returned from that address don't themselves have separate addresses, so it's hard to say that "everything" has an address. I think I know what you're going for and generally don't hate it (I have vaguely similar ideas), so maybe this is just a nitpicky request to be more careful about terminology. I feel it's fine if you just say something like all state is in a database, that can present different views to different principals if needed. And within each principal's view, everything they can access has an address.
Guyren Howe
01/18/2025, 2:31 AMFederico Pereiro
01/21/2025, 9:06 PMget operation is a call, and that call contains an identifier, then there can be a conditional guarding a piece of data and getting into it. Data and code are very much mixed, because code can be made out of data. And whether you're making the call through http or it's just a memory access, it is all in the call. The mechanism is the same, kind of like Unix.Andrew F
01/21/2025, 9:18 PMif statement itself, right? IIRC your system (cell) makes it explicit whether you're looking at the data or executing the code. That's a critical distinction when trying to think about "everything as data".
Or in the case of row-level security, at some point you need to be able to look at and edit the policy, which (probably/usually?) requires individually addressing the full set of things it could return. I guess that's less of an issue if you don't claim to have a unique address for each piece of data...Federico Pereiro
01/21/2025, 9:37 PMGuyren Howe
01/21/2025, 9:47 PMGuyren Howe
01/21/2025, 9:49 PMGuyren Howe
01/21/2025, 9:49 PMFederico Pereiro
01/22/2025, 7:11 AMThis may or may not be in the same system where the query under discussion is being executed.This is the most exciting part, to me.
Guyren Howe
01/22/2025, 2:57 PM