News for hackers. Stuff that matters.

mafintosh

its through the holepunch stack (i am the original creator). Incentives for sharing is through social incentives like in BitTorrent. If i use a model with my friends and family i can help rehost to them
The modular philosophy of the full stack is to give you the building blocks for exactly this also :)
Re:Holepunch Unveils P2P Platform "Pear Runtime" on Thursday February 15, 2024 @02:29AM (#39380034)
Already supported :)
Re:Keet – P2P Video and Text on Monday July 25, 2022 @10:22AM (#32224685)
coming later this year once we stabilise a bit more :)
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @05:51PM (#23186019)
The rust port of Hypercore has been very active recently and they are making good progress. Part of the latest Hypercore release was to move some of the transport crypto to be easier to port to other languages such as rust.

The wire protocol works now: https://github.com/Frando/hypercore-protocol-rs and the community is active in #datrs on freenode

Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @04:59PM (#23185368)
Yea you have to trust the original writers atm. I have some ideas for reducing this trust in the future through some consensus schemes but nothing fully baked yet. Def something I wanna hit tho, so we can get better security in something like a massively distributed chat system.
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @04:44PM (#23185169)
Yes, we'll definitely be doing this. Thanks for the feedback.
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @04:32PM (#23185015)
Hypercore is a single writer append-only log. The website has a bit more info about how it works, but's basically a merkle log signed by a private key / public key scheme. We build collaborative data structures by combining multiple Hypercores.

Hyperdrives builds a p2p filesystem on top of Hypercore for a single writer. Using mounts you can mount other peoples drives so merge conflicts don't happen since there is no overlapping writes.

We are working on a union mount approach as well for overlapping drives (we talk a bit about this in the post)

Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @04:25PM (#23184906)
It's only between the peers in your subset of the swarm for now. They exchange a series of WANT and HAVE messages where they subscribe to the sections of each others logs they are interested in.

We are working on expanding this scheme so peers can help discover peers that have the section you are looking for.

Due to the compressed bitfields these section are quite large. In most cases using a few kilobytes you can share WANT/HAVE for millions of blocks

Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @03:59PM (#23184594)
The peers gossip using compressed bitfields in regards to what data they have. These bitfields are super small so we can pack quite a bit of information.

At the moment we don't do anything special in regards to discovery, but as we scale that's something we want to investigate. Since everything is running on append-only logs we can group the data into sections quite easily so there is some easy wins we can do there with announcing to the dht that you have data in a specific region.

Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @03:50PM (#23184481)
We can mount each others drives and collab that way.

For a full “union” mount experience we still have some research to do but we are working on it.

The mount setup is really good though and fully p2p

Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @03:31PM (#23184257)
Thanks, appreciate it
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @03:28PM (#23184205)
Yes we are continuously exploring and research this. The mount support is our first stepping stone towards this. See the union mounts section of the post
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @03:15PM (#23184044)
It should work on 14. Could you open an issue on the repository?
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @03:14PM (#23184032)
It uses Noise to encrypt all transport connections and using the api you can whitelist which peers (by their public key) you want to replicate with. This API is not yet exposed through the daemon but it’s in the modules.

Hyperdrives also have a built in capability system where you have to know the public key of the drive to download it from a peer, so if you only share the key with yourself no one else can access it.

Finally using the modules you can build almost any kind of networking you’d imagine but that part requires more work on your side obviously.

Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @03:05PM (#23183930)
I think it was that one yes. Can’t remember the exact time it took, as we ran it over a couple of days due to some unrelated computer issues.
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @03:02PM (#23183873)
Yea totally. The FUSE support is already very close to being elexactly that. We’ve been using it internally during our beta as an in office P2P dropbox using the mounts feature
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @02:10PM (#23183182)
Yep! That is one of the things we’ve worked the hardest on. Completely new indexing structure, using an append-only hash trie which scales really well. We’ve tested it with many big datasets including importing all of Wikipedia as files in a single folder. Worked like a charm :)
Re:Hyperdrive v10 – a peer-to-peer filesystem on Thursday May 14, 2020 @01:39PM (#23182715)
The new holepunching algorithm also runs distributed on the our DHT, meaning any peer can help you holepunch to other peers.

We also talk a bit more about this on the hypercore website

Re:Announcing Hyperswarm on Wednesday September 26, 2018 @03:57PM (#18079667)
Yea holepunching is implemented in the dht-rpc package. There is an explanatory comment there as well, https://github.com/mafintosh/dht-rpc/blob/master/lib/io.js#L... (hope that helps!)

We are planning to blog more about how the internals work. The "first class" hole punching is def one of the features I'm most exciting about.

Re:Announcing Hyperswarm on Wednesday September 26, 2018 @03:56PM (#18079654)
Author of both here. I need to update the README of hyperdht, but we basically just iterated that a bit and moved it hyperswarm/dht to as it's part of the stack now. I'll update the hyperdht README to reflect that.
Re:Announcing Hyperswarm on Wednesday September 26, 2018 @03:55PM (#18079646)
ipv6 is on the roadmap :) i just started spec'ing that out today actually.
Re:Hyperdrive – a novel file sharing network on Wednesday December 09, 2015 @05:39PM (#10707310)
yes i haven't tested the demo in firefox yet. there is an open issue for that on the hyperdrive repo. it should work in chrome though and there is no reason it shouldn't work in firefox once i find the bug.
Re:Hyperdrive – a novel file sharing network on Wednesday December 09, 2015 @05:35PM (#10707280)
it's in the README examples. you can use discovery-channel, https://github.com/maxogden/discovery-channel to do peer discovery which in turn uses multicast-dns and the bittorrent dht to find peers.
just fixed this. reinstall and try again
this is not osx specific. its gonna be installable on other platforms as well (linux/osx/windows)
it should work without internet connection
Re:Playback Video Player on Monday April 13, 2015 @05:18AM (#9366652)
playback supports live streaming of magnet links / torrent files atm using https://github.com/mafintosh/torrent-stream.
Re:Playback Video Player on Monday April 13, 2015 @05:17AM (#9366648)
atom-shell has good tooling support (i.e. https://github.com/mafintosh/atom-shell, https://github.com/maxogden/atom-shell-packager) which makes shipping apps a lot easier atm
or just: airpaste cat | mplayer -

Older »