#dat

/

      • karissa
        mafintosh: so now that hypercores are each their own feed rather than a set of feeds, how do you reckon hypercore-archiver's design will change?
      • jhand
        karissa: mafintosh started some hyperdrive-http sleep stuff (https://github.com/mafintosh/hyperdrive-http/tr...). Haven't quite looked through it all but may be useful for the datproject.org sleep stuff.
      • karissa
        jhand: ok cool. thanks. i looked at that but its all hyperdrive, the cool thing about hypercore-archiver is it's using one swarm and combines the feeds into one hypercore instance so i was hoping we could continue that
      • jhand
        karissa: on hypercore-archiver we can still have the one main feed that tracks all the other feeds, storage will just be decoupled a bit.
      • oh ya ya
      • forgot about that magic
      • lukegb has quit
      • iml_ joined the channel
      • lukegb joined the channel
      • lukegb has quit
      • lukegb joined the channel
      • iml_ has quit
      • dat-gitter-bot has quit
      • dat-gitter-bot joined the channel
      • notwes joined the channel
      • notwes has quit
      • notwes joined the channel
      • notwes has quit
      • elsehow_ joined the channel
      • evilmquin joined the channel
      • andrewosh_ joined the channel
      • ungoldman_ joined the channel
      • brycebaril_ joined the channel
      • victorbjelkholm_ joined the channel
      • jayrbolt1n joined the channel
      • pelegreno__ joined the channel
      • jayrbolton has quit
      • _6a68 has quit
      • andrewosh has quit
      • pelegreno_ has quit
      • brycebaril has quit
      • elsehow has quit
      • mquin has quit
      • rabbitface3 has quit
      • ungoldman has quit
      • victorbjelkholm has quit
      • mikolalysenko has quit
      • elsehow_ is now known as elsehow
      • andrewosh_ is now known as andrewosh
      • ungoldman_ is now known as ungoldman
      • brycebaril_ is now known as brycebaril
      • rabbitface3 joined the channel
      • _6a68 joined the channel
      • notwes joined the channel
      • madgoat joined the channel
      • madgoat has left the channel
      • notwes has quit
      • pfrazee has quit
      • ddem-bot1 has quit
      • ddem-bot joined the channel
      • mikolalysenko joined the channel
      • mafintosh
        karissa: it is the same design as always
      • aka, they hve always been their own feed
      • notwes joined the channel
      • notwes has quit
      • gonna write some tests now
      • dat-gitter-bot
        (scriptjs) @mafintosh good morning. Was hoping you could answer my question. I am looking for an appropriate method for collaboration on a dat. Perhaps an answer could make for a good faq since this is something I believe would want to use dat for.
      • mafintosh
        @scriptjs hi!
      • dat-gitter-bot
        (scriptjs) hey ya :)
      • mafintosh
        dat is only single writer right now so that's the basic collab model
      • dat-gitter-bot
        (scriptjs) Yes, I realize it is a single writer. Given that scenario it is not appropriate to share your key.
      • mafintosh
        yea you should not share your private key unless you coordinate writes
      • like a classic master election system
      • there is multi writer stuff planned at some point
      • distributed multi writer is what i meant
      • dat-gitter-bot
        (scriptjs) @mafintosh I have seen an couple of things over some time that could be a solution so was interested in their merit. The first is forking a dat so each collaborator maintains their own copy and then each writer listens to each others feed.
      • mafintosh
        yea i like that one a lot
      • dat-gitter-bot
        (scriptjs) @mafintosh I know bearker is doing a fork for example but there is no formal api for one that I am aware of
      • mafintosh
        i like the fork idea cause it means no expansion to core dat for now
      • aka, the ecosystem can solve it :)
      • dat-gitter-bot
        (scriptjs) @mafintosh Yes, that is what I am hoping to do but hopefully in a way that is just a package
      • mafintosh
        that'd be really cool yea
      • @scriptjs i *just* merged hyperdrive 8 to master
      • and that has support for unix permissions
      • to answer your original question
      • dat-gitter-bot
        (scriptjs) Sweet
      • (scriptjs) I was reading through it a bit last night
      • mafintosh
        it is just implementing the node fs api
      • it has like 95% of it so far. aim to cover 100%
      • dat-gitter-bot
        (scriptjs) @mafintosh I was a bit mixed up with my implementation of hypercore and hypercore-protocol since the changes
      • mafintosh
        yea those changed quite a bit
      • dat-gitter-bot
        (scriptjs) Trying to bring something up to date
      • mafintosh
        but wont change again
      • aka, they are super stable now
      • might be some api tweaks here and there nothing major
      • *but notthing major
      • dat-gitter-bot
        (scriptjs) great! so the first thing was the key on creation of the database before and now it appears null
      • mafintosh
        you just need to wait for ready to fire now
      • i think i mention that in the readme
      • if not let me know :)
      • dat-gitter-bot
        (scriptjs) Hehe, yeah I am just working through it. It was late last night and I started my changes
      • mafintosh
        nice
      • @scriptjs new hypercore is *a lot* faster than the old one btw
      • up to 100x haha
      • dat-gitter-bot
        (scriptjs) wow
      • (scriptjs) Thats pretty sweet
      • (scriptjs) Good work
      • (scriptjs) :)
      • mafintosh
        you'll get gigabytes/s out of it now
      • under optimal conditions
      • aka, network will be your main bottleneck
      • dat-gitter-bot
        (scriptjs) i like that a lot
      • (scriptjs) :)
      • (scriptjs) For me this collaboration thing is important for buiding things with the apis. There are many wonderful packages
      • mafintosh
        ya
      • looking forward to see what you come up with!
      • dat-gitter-bot
        (scriptjs) @mafintosh the first thing I want to try today is just exchanging messages between collaborators with the new hypercore and hypercore-protocol
      • aaaaaaaaa____
        scriptjs: if you do that please post a link to it because it's something i've been wondering about doing as well
      • dat-gitter-bot
        (scriptjs) @aaaaaaaa____ Will see how far I get but I think some of this needs to be fleshed out so there is package or at least a solid approach that can be endorsed as being a credible way of doing this.
      • blahah
        currently testing hyperdrive v8 with mafintosh - getting 20mb/s on a connection that's already doing 20mb/s on a direct HTTP download from s3
      • my jaw is dragging on the floor
      • dat-gitter-bot
        (scriptjs) @blahblah woo hoo!
      • (scriptjs) is there a gist to test it
      • mafintosh
        @scriptjs npm install -g dat-next-next
      • blahah
        I don't even understand how hyperdrive can be doing the same speed encrypted as direct http from s3 is doing with 20 concurrent requests
      • mafintosh
        disclamer, everything might break at anytime using dat-next-next
      • its my playground
      • dat-gitter-bot
        (scriptjs) kk
      • yoshuawuyts
        blahah: I think the trick is to make network IO the bottleneck C:
      • blahah
        yoshuawuyts: :)
      • I think it's more like mafintosh is one of the scientists running the simulated universe we're all in, and this is one of his tests of the boundaries of our perceived reality
      • in fact, this would explain the whole dat project
      • it's a way to harvest all the data collected from this universe simulation
      • yoshuawuyts pulls out Men-in-Black style memory wipe device
      • yoshuawuyts
        blahah: nope, Dat is not involved in testing the fabric of reality. We're just a bunch of JS programmers building modules
      • yoshuawuyts waves arm like a jedi
      • blahah stares blankly
      • blahah
        you are just a bunch of JS programmers building modules
      • notwes joined the channel
      • notwes has quit
      • notwes joined the channel
      • what's the latest best way to connect to a discovery swarm
      • still hyperdiscovery?
      • iml_ joined the channel
      • TheLink
        mafintosh: what does filter mode mean in dat-next-next?
      • btw, congrats :) \o/ and so on
      • mafintosh
        blahah: ya, thats my next massive refactor target btw
      • TheLink: it means only download/share a specific file/folder from the dat
      • TheLink
        ok
      • pfrazee joined the channel
      • dat-gitter-bot
        (scriptjs) @mafintosh Can you advise why dat has no explicit fork api. Shoud it?
      • mafintosh
        @scriptjs cause we have enough moving parts right now basically
      • once everything is super stable i might look into it
      • although i think once i get diffing across dats working that'll solve most of the use cases tvh
      • tbh
      • dat-gitter-bot
        (scriptjs) @mafintosh Sure. Thanks. I know beaker makes use of this so was wondering why it was not official
      • TheLink
      • mafintosh
        TheLink: lol i forgot to update the readme
      • cause i was in a hurry to show blahah cool demos