News for hackers. Stuff that matters.
Re:Resistant protocols: How decentralization evolves by dane-pgp on Saturday July 28, 2018 @10:29PM (#17636178)
I feel like the next frontier for decentralisation is the need for decentralised websites. If a website just contains read-only static text then it can perhaps be replaced by a PDF shared over bittorrent, but I don't think there's yet a very good technology that can be built into mainstream web browsers and that allows complex web apps to run (including functionality like searching and posting comments) in a domain-agnostic way. Hosting the website as a Tor hidden service probably achieves something similar to decentralisation, but support for the Tor network is unlikely to be included as standard on most operating systems.

One set of technologies that might get us closer, though, is allowing offline signing of websites. This would mean you could trust the public key for a webapp once, and then run that webapp from any domain that serves it correctly. Any data sent or received by users of the webapp (like comments or likes or bids, etc.) would have to be signed by the keys of individual users, meaning a malicious server could only filter messages you send and receive, but not spoof them. For persistence of data across sessions, and synchronisation between the mirrors, the back-end data store could be a web-API database accessed over Tor by the servers hosting these mirrors of the web app.

Re:Resistant protocols: How decentralization evolves by qaute on Saturday July 28, 2018 @11:58PM (#17636444)
The IPFS [1] is close to this. Websites (and all other resources) are P2P hosted with a distributed hash table. For example, there's an reasonably uncensorable Wikipedia mirror [2].

I don't know what the state of web apps on IPFS is, but believe some people are working toward a pubsub-based system.

[1] https://ipfs.io/ [2] https://ipfs.io/blog/24-uncensorable-wikipedia/

Re:Resistant protocols: How decentralization evolves by marknadal on Sunday July 29, 2018 @01:07AM (#17636612)
Decentralized web apps already exist, built with our tool ( https://github.com/amark/gun ). For instance:

- Decentralized Reddit ( https://notabug.io/ ) can push terabytes of daily P2P traffic.

- Decentralized YouTube ( https://d.tube/ ) gets millions of uniques every month, built with IPFS/Steem/GUN (upcoming release will have end-to-end encrypted private messaging).

There are plenty of other dApps being built. This isn't an Ethereum pipedream, you can build them today! We'll even be releasing an IPFS storage adapter for GUN coming up soon, too!

Re:Resistant protocols: How decentralization evolves by icebraining on Sunday July 29, 2018 @04:32AM (#17637110)
How is GUN related to dApps? The server seems like a regular daemon running on a regular machine.
Re:Resistant protocols: How decentralization evolves by marknadal on Monday July 30, 2018 @08:37PM (#17649592)
The apps built with GUN are decentralized (thus "dApp", the browser can even store/serve data), however browsers still suck with WebRTC, so there are fallbacks to WebSocket and stuff, but the dApps do not require/depend upon a daemon/central host.

Hey, your Odoo apps look pretty neat. I'd love to learn more about how you've managed to make a business on top of OSS, wanna chat? Check my profile for my email. :)

Re:Resistant protocols: How decentralization evolves by rhn_mk1 on Sunday July 29, 2018 @05:00AM (#17637176)
Sorry if I'm misunderstanding, but aren't these only partially decentralized?

While GUN seems to be a p2p system, both those applications are single points of failure due to each being hosted on a single domain. Are there additional ways to access the same content?

Re:Resistant protocols: How decentralization evolves by marknadal on Monday July 30, 2018 @02:43PM (#17646879)
Both those apps have multiple other peers running it, they're also open source so you can run one, AND the browsers also contribute storing/serving data!

What we'd like to see next: Browsers natively supporting more P2P tooling. WebRTC still kinda sucks. :/

Re:Resistant protocols: How decentralization evolves by brokenmachine on Tuesday July 31, 2018 @12:50AM (#17650615)
What I'm keen for is a decentralized google docs clone, supporting collaboration and syncing.

Of course, I'd like the ability to have my notes be private as well.

Is there anything like that on the horizon?

Re:Resistant protocols: How decentralization evolves by marknadal on Tuesday July 31, 2018 @01:55AM (#17650854)
Yes, we did a whole interactive explainer article on this:

http://gun.js.org/explainers/school/class.html (cartoon version)

Although, from a algorithm side, you may enjoy a talk by Martin (a CRDT researcher) for a more thorough technical overview:

https://youtu.be/yCcWpzY8dIA?t=29m36s

Our team has a model for applying end-to-end encryption to this as well. It isn't a high priority for us to do it ourselves though, so if you are interested in getting involved, we can help explain all the algorithms for implementation!

Re:Resistant protocols: How decentralization evolves by brokenmachine on Wednesday August 01, 2018 @10:28PM (#17668852)
I've seen that class.html explainer.

It's a great tutorial but it's a long way from that high-level explanation of how it should work to a functional, working google docs clone!

I know you've already done a huge amount of work but enduser acceptance is what separates what you're doing from all the previous academic protocols out there. Nobody is going to switch from google docs to gundb if they are expected to write all the code themselves. OK, a small percentage, but not many.

Has anyone made anything similar that an enduser can just install and use? Even just a collaborative plain text editor would be a great start.

I would be interested in helping but my javascript skills are rudimentary at best.

I've been interested in dat/hypercore lately. Is there any way that gundb could piggyback on hypercore for storage, or in your opinion would the fact that it's an append-only log be too limiting for gundb?

Re:Resistant protocols: How decentralization evolves by jondashkyle on Sunday July 29, 2018 @12:09AM (#17636466)
Sounds a lot like you’re describing the work being done with Dat and Beaker Browser. Here’s a recent talk by Tara of the Beaker team: https://www.youtube.com/watch?v=rJ_WvfF3FN8
Re:Resistant protocols: How decentralization evolves by rapnie on Sunday July 29, 2018 @05:21AM (#17637224)
You might want to check out https://beakerbrowser.com

It is p2p and built on top of the Dat protocol (datproject.org)