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
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by code-is-code on Monday October 02, 2017 @10:54AM (#15384218)
I'm following the developement of zeronet for the past 3 years. I'm not convinced that it is the final solution to the decentralized internet. A main thing that bothers me is the insane lookup-time for site with a low distribution. The same problem occurs with ipfs btw. It takes up to one minute to find a the correct node when only one node hast the content-hash.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by brad0 on Monday October 02, 2017 @11:10AM (#15384367)
I need to read the IPFS paper but surely there's some kind of DHT to find data?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by tree_of_item on Monday October 02, 2017 @01:11PM (#15385713)
Right, and finding rare content in that DHT is going to take a while.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by kordlessagain on Tuesday October 03, 2017 @12:00PM (#15393342)
Finding "interesting" content would be a more accurate description of the problem.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by kobeya on Monday October 02, 2017 @01:04PM (#15385637)
DHTs are not fast (or secure, but that’s another story).
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by j_s on Monday October 02, 2017 @11:50AM (#15384765)
Show HN: TorrentPeek – Distributed search engines using BitTorrent and SQLite | https://news.ycombinator.com/item?id=14130280 (Apr 2017, 33 comments)

By putting an SQLite database file (.db) inside a torrent, we can query its content -- by prioritizing pieces based on the SQL query -- and quickly peek at the content of the database without downloading it entirely.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by SeriousM on Tuesday October 03, 2017 @06:28AM (#15391394)
Is the content I would host visible to me? How could I avoid to host child pornography? I'm eligible for hosting such a content im not aware of? That's the questions I would like to get answered.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by exadeci on Tuesday October 03, 2017 @06:56AM (#15391498)
Yes, you host only the pieces that you've downloaded on a specific website and you can delete them if you want.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by fauigerzigerk on Tuesday October 03, 2017 @07:44AM (#15391707)
They say

"You start serving sites as soon as you visit them"

I'm not comfortable with that at all. Distributing content has very different legal implications than just viewing it, especially when it comes to pirated content.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by krixano on Tuesday October 03, 2017 @10:08AM (#15392501)
But there's also optional files, which are not downloaded when you visit the site, only when you request the files. These are used for images, videos, etc. Many sites use these now, especially the ones that have porn or illegal content. If you visit a site and find that you don't want it on your hard drive, you can simply delete it.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by fauigerzigerk on Tuesday October 03, 2017 @10:56AM (#15392807)
>If you visit a site and find that you don't want it on your hard drive, you can simply delete it.

But that's only after I have already started serving that content to others, is it not?

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by mtgx on Monday October 02, 2017 @11:12AM (#15384389)
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by akerro on Monday October 02, 2017 @11:06AM (#15384328)
Last time I used that project I was trying to migrate my wordpress to zeroNet and I failed because my wp-content/images is over 3Gb and ZeroNet website is (was?) limited to 100Mb. Has this changed, are they tools that migrate images to separate addresses and link them correctly in html files?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lkjhgfdsa57 on Monday October 02, 2017 @09:08PM (#15389279)
ZeroNet is better at dealing with such sites now but it's still problematic when a site grows past a threshold where requestors need to be prompted to increase the size. Nodes that are just seeding don't automatically seed the changed site since they don't respond to the size change request.

One way of dealing with it is to make the images "Optional content". This means they are not sent to requestors of the site immediately - they are requested only when specifically wanted. Users can choose to seed optional files - in which case they'll mirror them all - or they only seed the ones they've looked at. Optional files don't count towards site size limits.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by mtgx on Monday October 02, 2017 @11:16AM (#15384411)
Shouldn't they combine it with IPFS for static content storage then? Or does IPFS have the same limitation?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lgierth on Monday October 02, 2017 @11:42AM (#15384665)
There's no such limitation in IPFS -- currently the largest known dataset is about 3.8 TB, a mirror of https://cdn.media.ccc.de
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lkjhgfdsa57 on Monday October 02, 2017 @09:09PM (#15389285)
I think IPFS would make a good backing store for ZeroNet. Rather than storing files on the filesystem of the user they could be stored in IPFS.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by ukd1 on Monday October 02, 2017 @11:09AM (#15384350)
No, and the default limit is 10mb. Your site can request more though and or you can use zerocdn?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by TekMol on Monday October 02, 2017 @01:55PM (#15386138)
Interest in decentralized web solutions seem to be on the rise. I wonder why and if they have any real world benefits for me as a publisher?

All the stated benefits are non-issues for me:

* Uncensored

I never been censored.

* No hosting costs

I serve hundreds of thousands of users per month for something like $20.

* Always accessible

Just like hosting costs, my downtime is negligible.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by fghtr on Monday October 02, 2017 @02:08PM (#15386274)
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by adrianratnapala on Tuesday October 03, 2017 @04:14PM (#15395749)
Other people's freedom valuable to us.

You might never have been censored, but then you likely never said much that would upset powerful people. But you live in a society that is rich and (mostly) free because others have done so.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by insomniacity on Monday October 02, 2017 @04:10PM (#15387488)
> I never been censored

Have you never self-censored?

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by ComputerGuru on Tuesday October 03, 2017 @01:24AM (#15390371)
That would be a benefit to him as a publisher you are proposing he give up, in that context.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by acover on Monday October 02, 2017 @03:08PM (#15386904)
Control is democratized instead of in a single corporations hand
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by jxs41u on Monday October 02, 2017 @01:05PM (#15385649)
If you are interested in this, you might be interested in Archain (https://www.archain.org/) - a different solution to a decentralised sister internet.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by NoB4Mouth on Monday October 02, 2017 @04:25PM (#15387602)
I can bet my 0.1000 bitcoins that news headlines will pop up soon as follows: "China bans ZeroNet" :) Wait & see...
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by 627467 on Monday October 02, 2017 @04:44PM (#15387772)
I don't know whether it is banned there or not, but when you join ZeroMe (zeronet's decentralized twitter) you quickly realized how it's populated with chinese sites and profiles
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by RachelF on Monday October 02, 2017 @11:01PM (#15389797)
There are other solutions being pushed in Hong Kong, called BlockStack. It looks very similar to ZeroNet

http://www.scmp.com/news/hong-kong/economy/article/2113521/n...

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by _pdp_ on Monday October 02, 2017 @10:45AM (#15384155)
I believe it is 100% feasible to create a decentralised, secure network for static content - i.e. static sites. Combined with powerful (and secure) client-side APIs we are on a good track to success. I am not sure what this is but I am sure going to give it a try.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by kodablah on Monday October 02, 2017 @10:53AM (#15384216)
Curious about using Tor for anonymity. Tor explicitly asks users not to use it for bittorrent for many reasons. So if I have a ZeroNet site serving a nice big video over bittorrent, does my visitors' using Tor for anonymity go against their best practices?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by bascule on Monday October 02, 2017 @11:29AM (#15384548)
As soon as you add an anonymity layer you've basically reinvented Freenet
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lkjhgfdsa57 on Monday October 02, 2017 @09:01PM (#15389244)
ZeroNet doesn't use bittorrent for file transfers. The bittorrent network is only used for the DHT to map site addresses to IP addresses (or TOR hidden service names).

File transfer is done over a service that ZeroNet runs on a particular port with its own protocol.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by kodablah on Tuesday October 03, 2017 @09:31AM (#15392242)
Sorry I have not investigated deeper myself, but does this service still preserve sender/receiver anonymity? A link about it would be just fine, thanks.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by thedonaldo on Monday October 02, 2017 @07:29PM (#15388827)
DHTs are not fast (or secure, but that’s another story).

https://thecedrus.com/tag/lovequotes

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by intrasight on Monday October 02, 2017 @02:31PM (#15386471)
A distributed web site using a blockchain is what I'd proposed as a solution the the DCMA ad block debacle.

https://blog.adguard.com/en/ad-blocking-is-under-attack/

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by koalalorenzo on Monday October 02, 2017 @11:36AM (#15384615)
What happened to IPFS and Filecoin?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by sova on Monday October 02, 2017 @01:28PM (#15385870)
IPFS still looking very strong
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by harshgupta on Monday October 02, 2017 @02:20PM (#15386381)
How do you account for content unavailability when a node shuts down/ runs slow?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lkjhgfdsa57 on Monday October 02, 2017 @09:04PM (#15389260)
All sites that viewed an existing site contain a copy of it and share the data. There is a "thundering herd" problem of multiple requesters for the site initially being distributed but once that's done then multiple nodes will have it and can seed it. The original site shutting down is no problem at that point.

IPFS shares the same problem and knowing when it's safe to shut down a node in both IPFS and ZeroNet is difficult.

Freenet solves this by having an insert of data sent directly to peers immediately. The site isn't stored on the inserting node. Once the insert is done it's safe to close the node and the content is still available.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by thriftwy on Monday October 02, 2017 @11:14AM (#15384400)
I like how it's an eye candy.

I guess there's a lot of opaquenets already, and it's not the feature richest, but this one you can have running in under five minutes.

I was actually using it for some torrents but currently ZeroTV is down :(

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lucaspottersky on Monday October 02, 2017 @02:48PM (#15386685)
oh man, i hate those software that automatically try to guess the user language! even more annoying when it chooses the wrong language for you. in my case PT (Portugal) instead of PT-BR.

argh.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by 0simber on Monday October 02, 2017 @08:34PM (#15389127)
You should be investing in Namecoin if you believe in a decentralized web structure.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by bfrog on Monday October 02, 2017 @08:12PM (#15389029)
This is very similar to maidsafe. Except maidsafe pays you for hosting. Does this?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lkjhgfdsa57 on Monday October 02, 2017 @09:11PM (#15389295)
ZeroNet does not pay you for hosting. Maidsafe is more file storage, ZeroNet is more about distributed site sharing. ZeroNet could be implemented on top of Maidsafe but not vice versa. There's also the fact that ZeroNet works today, has been working for a year or two, whereas Maidsafe is still in test stages.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by earlybike on Monday October 02, 2017 @04:23PM (#15387589)
Why does ZeroNet not host their website on ZeroNet and uses a .bit domain?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by roywiggins on Monday October 02, 2017 @04:45PM (#15387783)
Downloading the client for the first time would be a tad inconvenient...
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by newsburn on Monday October 02, 2017 @09:30PM (#15389387)
How is this different than FreeNet?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by lkjhgfdsa57 on Monday October 02, 2017 @11:55PM (#15390015)
FreeNet is a distributed key/value store. It can be used to store files by storing the contents of the file under a key that is the hash of the file content. Generally you operate on Freenet at the level of keys and values.

ZeroNet operates at the level of sites. Sites contain multiple files. Seeding of data happens at the site level.

You could implement ZeroNet on top of Freenet but implementing Freenet on top of ZeroNet wouldn't make much sense.

When inserting new data, Freenet pushes data out to nodes. ZeroNet pulls data from requestors. With Zeronet you can't disconnect your node until other nodes have a complete copy if you want the data to remain available. It is difficult to tell when it is safe to do this. With Freenet the data isn't stored on your own node, it is pushed out to other nodes when first inserting. When the insert completes you know you can safely turn off your node. The data remains available.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by freech on Monday October 02, 2017 @12:17PM (#15385088)
Cool.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by archarios on Monday October 02, 2017 @06:58PM (#15388702)
Is anyone else concerned that this will enable hate groups to more easily collaborate and grow?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by NathanCH on Monday October 02, 2017 @08:01PM (#15388978)
I'm much more concerned about hate groups being silenced.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by kordlessagain on Monday October 02, 2017 @07:12PM (#15388753)
There is a challenge of balance which exists between the two extremes of reliable and censorship resistant infrastructure and responsible and balanced control of the information published on it, as it relates to the health of a group of citizens. For good or bad, the censorship resistant infrastructure piece is coming at us like a freight train in a variety of ways. What is currently needed is a balance in the way we implement the infrastructure such that some information may be segregated from the greater population using variable value assessment.

The logic goes, if some information is more valuable shared privately, then the infrastructure should make it harder to access. Conversely, if some information is more valuable shared publicly, the infrastructure should make it easier to access.

To do this effectively/efficiently, information must become a market commodity and have a means by which the value to access it is governed by the consensus of the viewers. This is made difficult given information may be easily copied by individuals and the current state of affairs with sharing things over social media and the problems with group think.

I would note that "hate groups" are groups who focus on removing choice for others by way of introducing thoughts and ideas which act in a viral manner in the population. Double binds are one form of passive coercion which have made a reappearance within the (cheap) available social media offerings.

Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by rtkwe on Tuesday October 03, 2017 @11:35AM (#15393095)
It's a possible problem sure but the same issue exists in anything that protects privacy and aims to prevent state censorship. E2E encryption protects activists but can also be used by criminals. Tor provides routes around censorship in repressive countries but there's some really nasty stuff hosted on it's anonymous web. There's no way to design a tool like this that can distinguish between 'good' and 'bad' uses of itself.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by 627467 on Monday October 02, 2017 @08:56PM (#15389219)
Do you believe hate has ever been truly silenced at any point in history? Would you prefer to not know it exists and what it is saying to other people?
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by vandamn on Monday October 02, 2017 @11:39AM (#15384637)
I think substratum has a better approach: https://substratum.net/technology/
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by earlybike on Tuesday October 03, 2017 @02:48AM (#15390649)
All these blockchain/decentralized projects remind me of my childhood. Everytime there was a new technology I built cool things just for the sake of doing something with this shiny new tech without actually having any real-world use case.
Re:ZeroNet: Decentralized websites using Bitcoin crypto and ... by omnimus on Tuesday October 03, 2017 @06:10PM (#15396654)
I think it has very real real-world usecase. The question is if it is good solution.