HNHacker News
TopNewBestAskShowJobs

s3n4

12 karma · joined April 20, 2020

submissionscomments
s3n4··on Show HN: Predict GPT-5 skills with a community AI benchmark
Congratulations on the experiment. Super interesting product, and seems like a lot of traction already with more than 700K performance predictions. How will the system itself evaluate the skills and evals submitted by the community and decide whether or not to include them in the benchmark?
s3n4··on Show HN: Ceramic – Create, host, and share decentralized data streams
For a few years now, I've been obsessed with the idea of creating a way to store data, perform transformations on data, and allow others to subscribe to real-time updates to that data in a completely peer-to-peer way. I fundamentally believe that such a system is needed for building fully-functional, trust-minimized applications on stateful data without needing to rely on databases and data centers.

The result of much exploration and experimentation – I'm excited to share Ceramic with you.

Ceramic is a decentralized platform for data stream processing that is built on top of IPFS (interplanetary file system). Ceramic provides a way for developers to create and host streams of information and ever-changing files on the decentralized web – and share updates in real-time with anyone in the world.

Ceramic is still in early testing, but more than 2,000 developers have already started playing with the technology – their projects range from decentralized identity, to decentralized social media, content publishing, decentralized collaboration tools, cross-app/org data sharing, etc.

I would greatly appreciate any thoughts and/or feedback from the HN community so that I can work on making the system better.

s3n4··on Standards for storing signed and encrypted data on IPFS
Storing authenticated and encrypted data on IPFS is a core building block for many Web3 applications, but to date there has not been a standardized way to encode this type of data.

Without a standard, many developers have been forced to create custom formats for their signed and encrypted data. This has been prohibitive to the openness and interoperability of information stored in IPFS by siloing data to their particular implementation. Another approach to authenticated data has been to put data in IPFS and put the CID of the data in a smart contract on a blockchain, such as Ethereum. This is essentially an expensive way of adding a signature on top of the data and persisting the signature record on the blockchain.

With the introduction of EIP-2844, a standard that allows wallets to support a few new methods for signing and decrypting data based on DIDs and the dag-jose IPLD codec, we can now simply put authenticated and encrypted data directly into IPFS. In this tutorial, you will learn how you can utilize these primitives with two libraries, js-did and 3ID Connect.

This work was funded through grants by the IPFS, Filecoin, and Ethereum foundations.

s3n4··on OrbitDB: Peer-to-peer databases for the decentralized web
OrbitDB are p2p database instances on top of IPFS, and front-ends or users can always filter the content they display.
s3n4··on OrbitDB: Peer-to-peer databases for the decentralized web
Authors can always remove/delete their own posts from a thread, and threads also have a set of moderators. This needs to be set in the thread configuration.

More advanced moderation tools can be built on top, too.

s3n4··on OrbitDB: Peer-to-peer databases for the decentralized web
Yes, the list of moderators is mutable. It's addition-only out of the box, but to create a system where removing moderators is possible, you can create a new thread with the new set of mods (minus the one you removed) and the first entry in that new thread can reference the old thread. This model gives the new set of mods forward control, but the old content will still have the old set of mods.

This also works for encryption in members threads. To remove a member, you can create a new thread without the member and link the original thread. This gives forward secrecy since new encryption keys are generated for the new thread.

We're working on improving this system over time, but it requires some more advanced cryptography such as proxy re-encryption (like nucypher).

s3n4··on OrbitDB: Peer-to-peer databases for the decentralized web
Also because OrbitDB runs in browser JavaScript, it's great for building local-first distributed applications.
s3n4··on OrbitDB: Peer-to-peer databases for the decentralized web
You can always check out the 3Box docs site: https://docs.3box.io/
s3n4··on OrbitDB: Peer-to-peer databases for the decentralized web
You can build this using 3Box, which has extended OrbitDB with DID-based access control system and user permissions. Check it out here: https://docs.3box.io/build/web-apps/messaging

3Box also has support for members only OrbitDB threads which can restrict posting to members, and encrypted OrbitDB threads to make posts private to the group. To Mark's point above.

s3n4··on OrbitDB: Peer-to-peer databases for the decentralized web
I'm one of the maintainers of 3Box! Let me know if you have any questions. You can learn more at: Web: http://3box.io Github: https://github.com/3box Discord chat: https://discord.gg/669BQHv