Ask HN: Who wants to collaborate?
424 pointsWe have the monthly "Who is hiring?" and "Freelancer? Seeking freelancer?" threads. But what about people who don't want to work for money and are not looking for people who want to work for money but still want to work together on cool projects?
For free to make the world better or to start a startup.
If you do, please post your project or your skills!
Comments (506) 164 threads
Show all comments
Showing thread 100 of 164
I'm willing to commit to reading and constructively commenting on projects in this thread.
Here's an example from the main function of the self hosting Firefly compiler [1]:
Main is passed `System`, which is a value with methods to access the network, the file system, etc. It passes on the `FileSystem` value to `deleteDirectory`, which only has methods to access the file system. Since there's no other way for `deleteDirectory` to obtain capabilities than to recieve them as arguments, `deleteDirectory` only has access to the file system.[1] https://github.com/Ahnfelt/firefly-boot/tree/master/compiler
Firefly currently only uses capabilities for security within a single program, which I think is also a big issue in software development today, the Log4j fiasco being a recent example.
Otherwise, you could probably use OAuth!
The publicKey is the public key of the system in question. The system should probably be a URI.Now, Firefly makes it possible to limit capabilities with arbitrary code. But suppose you instead had a declarative format for limiting capabilities.
Then you could probably represent capabilities like this:
The parent is the capability that was limited, encrypted with the public key, so that only the system in question can decrypt it. This allows the system to verify the capability, while not leaking the parent capability to anybody else.
The limitation is a system-specific declarative limitation, and must be at least as strict as the parent capability.
How does that sound?
Continue this thread — 1 reply