News for hackers. Stuff that matters.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by eberkund on Monday October 02, 2017 @10:56AM (#15384233)
Does anyone else see it as an issue that the decentralized website solution to databases is to create a copy of a SQLite database on every user's machine?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by brad0 on Monday October 02, 2017 @11:08AM (#15384340)
I agree. This is the biggest technological issue for zeronet imo.

Every time there's a change to the db you need to download a whole new copy afaik.

Ideally you'd use a log based store. To do this you need to fundamentally change your idea for how a website works.

With a distributed log store chances are you won't have the same data as another person.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by staticvar on Tuesday October 03, 2017 @07:05AM (#15391535)
See Dat.

> The two systems also have a number of differences. Dat keeps a secure version log of changes to a dataset over time which allows Dat to act as a version control tool. The type of Merkle tree used by Dat lets peers compare which pieces of a specific version of a dataset they each have and efficiently exchange the deltas to complete a full sync. It is not possible to synchronize or version a dataset in this way in IPFS without implementing such functionality yourself, as IPFS provides a CDN and/or filesystem interface but not a synchronization mechanism.

Above quote is from "How is Dat different than IPFS?" https://docs.datproject.org/faq

The Dat web can be browsed on Desktop with Beaker Browser https://beakerbrowser.com or on Android with Bunsen Browser https://github.com/bunsenbrowser/bunsen.

* Disclaimer: I'm helping out with the development of Bunsen. You should too!

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lez on Monday October 02, 2017 @12:55PM (#15385532)
Just a minor correction: if you provide a stable API for querying the database, you can ignore the technological details on the caller side, the website.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by thatgerhard on Tuesday October 03, 2017 @04:36AM (#15391016)
WHat's stopping governments to just kill access to the api?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by staticvar on Tuesday October 03, 2017 @07:01AM (#15391521)
See Dat / Beaker Browser for Desktop / Bunsen Browser for Android. Dat hosted websites can be distributed online or offline. A write up on how that works: https://github.com/bunsenbrowser/bunsen#millions-of-people-u...

https://docs.datproject.org/faq - https://beakerbrowser.com/ - https://github.com/bunsenbrowser/bunsen

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by krixano on Tuesday October 03, 2017 @10:05AM (#15392484)
What do you mean kill access to the api. The api is provided by the client.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by habib81 on Tuesday October 03, 2017 @08:45AM (#15392000)
On ZeroNet you only have to download the data once, after that you only going to receive the diffs/changed parts for the database.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by jchanimal on Monday October 02, 2017 @11:28AM (#15384540)
PouchDB is the correct solution here.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by staticvar on Tuesday October 03, 2017 @07:07AM (#15391544)
PouchDB is great! But it doesn't offer a discovery mechanism. Dat is solution that offers this but uses a similar log based system for distributing changes.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by sova on Monday October 02, 2017 @01:26PM (#15385857)
Thanks for pointing that out
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by koalalorenzo on Monday October 02, 2017 @11:34AM (#15384599)
Do you mean a Blockchain like Ethereum? :)
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by baby on Tuesday October 03, 2017 @07:36AM (#15391668)
Are there any discussions on this about ethereum? As more and more smart contracts are deployed the space needed to hold the blockchain will grow way faster than bitcoin.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by deevolution on Monday October 02, 2017 @07:48PM (#15388934)
Yeah, but memory space increases every year and gets cheaper. So this shouldn't be too much of a problem, right?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by collinmanderson on Wednesday October 04, 2017 @01:51PM (#15402508)
consumer network speeds aren't increasing much every year.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by cranklin on Monday October 02, 2017 @08:52PM (#15389207)
Moore's Law
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by thatgerhard on Tuesday October 03, 2017 @04:38AM (#15391023)
AFAIK Moore's law is dead in the water