I just added what I think is the coolest part to OcapPub... the "Composition" section! This especially shows off how cool ocap design is: Alyssa schedules a backup of her file to run twice a day, and yet the job scheduler which runs the backup has neither access to read the file nor write anything else to the backup service! gitlab.com/spritely/ocappub/bl


I remember when I first realized you could do this kind of advanced stuff with ocaps and that it was *dead simple*, my mind was *blown*. I hope other people find it as interesting.

v1: normal programming, without side effects
function helloWorld() {
return "Hello World";

v2: normal programming, with argument passing
function helloWorld(printLn) {
printLn("Hello World");

v3: Same as v2, but no extra argument, because printLn access is "handed to" the module

v4: https://some-ocaps.example/obj/b9wSO6f7F31yz50VWNXRchjpT8BaADPygiVROoqKaw (renders a page that says "hello world")

v5: same thing but with an activitystreams object

@deejoe I feel like that OcapPub goes into detail if you want more.

Personally, my favorite intro was reading mumble.net/~jar/pubs/secureos/


I guess my take-away is that there remains something of an opportunity in this space.

@deejoe Yes, I think nobody's given the world's easiest intro to ocaps; it hasn't yet been written.

But we tried pretty hard; here's an episode where we give some intros to the concepts on @librelounge librelounge.org/episodes/episo

@cwebber @librelounge

aha. That might have what I need.

Will see if I can find an owl there later :-)


@cwebber I just want you to know that I find this *fascinating*, as someone with zero experience in software development and no formal computer science training.

I'd started thinking about the mechanisms people have to control interactions on Mastodon in particular back when there was a proposed change to inform people when they were being blocked--I also was reading about ACLs vs. capabilities in secure operating systems for some reason or other--and I'd just gotten what I assumed was the ridiculous idea "what if we had capabilities for social media?" When I stumbled across the relevant LibreLounge episode.

More personally, and I'm probably reaching with this bit, ocap stuff that gives people finer-grained control over decentralized online interactions fits perfectly with the anarchist values (in the "maximizing individual autonomy by facilitating cooperation and vice versa" sense) I'm trying to examine computing with when I'm on here.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!