From 2b9563f859bde7e9de14b9af72cd2344e6649cf7 Mon Sep 17 00:00:00 2001 From: bacwyls Date: Tue, 1 Nov 2022 17:03:35 -0500 Subject: [PATCH 1/2] zuse: change team:title to return false for moons in the past, +team meant "our / our moon", but it has been primarly used to represent "our" moons as having the full permissions of their parents doesn't make a lot of sense anymore this looks like the more elegant solution instead of changing each instance of +team I've combed through the uses of +team throughout urbit/urbit and I'm quite sure that each instance is better off as just "our" --- pkg/arvo/sys/zuse.hoon | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkg/arvo/sys/zuse.hoon b/pkg/arvo/sys/zuse.hoon index 6c48fe74e..a95d9d8eb 100644 --- a/pkg/arvo/sys/zuse.hoon +++ b/pkg/arvo/sys/zuse.hoon @@ -5004,12 +5004,16 @@ /(scot %p our)/sein/(scot %da now)/(scot %p who) == :: :: ++team:title - ++ team :: our / our moon + :: in the past, this meant "our / our moon", but :: + :: it has been primarly used to represent "our" :: + :: :: + :: moons as having the full permissions of their :: + :: parents doesn't make a lot of sense anymore :: + :: :: + ++ team |= [our=ship who=ship] ^- ? - ?| =(our who) - &(?=(%earl (clan who)) =(our (^sein who))) - == + =(our who) -- ::title :: :: :::: ++milly :: (2k) milliseconds From 4a98aa226b8afcbaa9358565135d803ff627bada Mon Sep 17 00:00:00 2001 From: bacwyls Date: Mon, 7 Nov 2022 18:29:52 -0600 Subject: [PATCH 2/2] zuse: add +moon:title (addendum to +team change) address feedback from ~rovnys-ricfer, ~master-morzod, ~ritpub-sipsyl, ~tacryt-socryp, ~wicdev-wisryt, and others. the original functionality of +team has been split out between +team:title and +moon:title. also: fixes "middle core" and "surface core" comments in title --- pkg/arvo/sys/zuse.hoon | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git a/pkg/arvo/sys/zuse.hoon b/pkg/arvo/sys/zuse.hoon index a95d9d8eb..f73cfcb42 100644 --- a/pkg/arvo/sys/zuse.hoon +++ b/pkg/arvo/sys/zuse.hoon @@ -4928,7 +4928,7 @@ =< q.q %- need %- need (rof ~ %j `beam`[[our %sein %da now] /(scot %p who)]) -- - :: middle core: for userspace use, with .^ + :: middle core: stateless queries for default numeric sponsorship :: => |% :: :: ++clan:title @@ -4968,7 +4968,7 @@ %pawn (end 4 who) == -- - :: surface core: stateless queries for default numeric sponsorship + :: surface core: for userspace use, with .^ :: |% :: :: ++cite:title @@ -5003,17 +5003,25 @@ %j /(scot %p our)/sein/(scot %da now)/(scot %p who) == + :: +team was created with two meanings: + :: A. her / her moon + :: B. whoever should be able to control her ship + :: + :: these two things aren't obviously equal anymore, + :: and it's more important for +team to satisfy B than A, + :: so now +team just means "her". + :: + :: (ships can definitely be trusted to control themselves) :: :: ++team:title - :: in the past, this meant "our / our moon", but :: - :: it has been primarly used to represent "our" :: - :: :: - :: moons as having the full permissions of their :: - :: parents doesn't make a lot of sense anymore :: - :: :: - ++ team - |= [our=ship who=ship] + ++ team :: her + |= [her=ship who=ship] ^- ? - =(our who) + =(her who) + :: :: ++moon:title + ++ moon :: her moon + |= [her=ship who=ship] + ^- ? + &(=(%earl (clan who)) =(her (^sein who))) -- ::title :: :: :::: ++milly :: (2k) milliseconds