#dat

/

      • mimming joined the channel
      • obensource joined the channel
      • iml_ has quit
      • taravancil has quit
      • taravancil joined the channel
      • ralphtheninja
        yoshuawuyts: what kind of schisms are there in node land these days?
      • ogd
      • ralphtheninja
        I'm not on twitter anymore, so in the dark :)
      • taravancil has quit
      • taravancil joined the channel
      • substack
        ralphtheninja: a few times core has broken something that didn't need fixing but people's complaint were heard
      • ralphtheninja[m]
        substack: aah, like readline in 8.1.something?
      • I haven't been following core that much lately, maybe i should now that I have more time on my hands, or maybe I shouldn't because I don't like politics
      • G-Ray_ has quit
      • substack
        I've always been out on the fringes of userland
      • G-Ray_ joined the channel
      • G-Ray_ joined the channel
      • karissa
        looks like I'll be speaking at nodeconf Argentina
      • pfrazee has quit
      • aldebrn joined the channel
      • aldebrn
        pfrazee has mentioned Dat has content-addressable links a couple of times, any links that describe how that works?
      • mafintosh
        karissa: wooooot! i was there last year. lots of fun
      • aldebrn: there is a paper
      • ralphtheninja[m]: spend time here in userland instead of joining the bike shed
      • aldebrn
        mafintosh: thanks, I will read it more carefully presently but quick question: I understood that (Rabin) chunks are content-addressed, is there any way to refer to a file by its hash in Dat?
      • mafintosh
        aldebrn: the entire dat itself is content addressed
      • noffle
        ralphtheninja[m]: quit twitter?
      • aldebrn
        mafintosh: Wow, ok! I'll read carefully to understand. I was likely misled into a simplistic understanding because the same contents can get different Dat archive ids, but if I understand you, underneath that id is the content-addressed goodness.
      • mafintosh
        aldebrn: the id of the dat is a public key signing the content
      • so its internally it is content addressed logs signed by a key pair
      • there is a static mode also, but we don't really use that
      • aldebrn
        mafintosh: so peers in a Dat swarm are, quite like BitTorrent, asking for chunk hashes and getting the original chunks in exchange
      • mafintosh
        aldebrn: yea exactly
      • except its live
      • so you can update the content
      • aldebrn
        I ask all this because I was about to make a Dat blog article that said "this dataset is obtained by running the script with hash X on the original data with hash Y" and wanted to see if I could make X and Y more than just the text
      • It's not sufficient to refer to Dats hosting X and Y with their ids, because those could go away someday, even while the underlying data itself lived somewhere on the network.
      • noffle
        is a "dat" synonymous with a "hyperdrive"? or is there other data around it?
      • aldebrn has quit
      • wanted joined the channel
      • wanted has quit
      • karissa
        noffle: yeah. there's a dat-storage module. Ir provides nice defaults for hyperdrive including key management in the home dir to prevent accidental key leakage
      • It*
      • obensource joined the channel
      • noffle
        I'll check that out
      • chjh joined the channel
      • G-Ray_ joined the channel
      • G-Ray_ joined the channel
      • jhand has quit
      • G-Ray_ has quit
      • G-Ray joined the channel
      • G-Ray
        What happens if two persons try to update an hypercore/hyperdrive at the time? (they both have the private key)
      • blahah
        karissa noffle also the peer discovery defaults, the remote storage, some extra metadata stuff for hyperdrives
      • dat is like a layer above hyperdrive that turns it into a user-facing set of tools and services
      • obensource has quit
      • obensource joined the channel
      • audric has left the channel
      • G-Ray has quit
      • chjh has quit
      • chjh joined the channel
      • chjh has quit
      • chjh joined the channel
      • G-Ray joined the channel
      • chjh has quit
      • chjh joined the channel
      • ralphtheninja
        mafintosh: that's what I'm doing :)
      • noffle: yes but that was years ago
      • aldebrn joined the channel
      • aldebrn has quit
      • dat-gitter
        (benrogmans) @mafintosh just out of curiosity, what kind of consensus algorithm are you using for the multi-writer feature of the Dat protocol?
      • (benrogmans) And how's the progress ;) ?
      • mafintosh
        @benrogmans it's eventual consistent
      • If two writable peers update a key st the same time the key has two values
      • Api wise get (key) always return an array
      • Up to you to pick the "best" one
      • If you put then the value overrides any existing ones deterministicly
      • @benrogmans i have one bug left and a bunch of docs :) had a very productive flight the other day
      • dat-gitter
        (benrogmans) Ok, so it is pretty straight forward
      • (benrogmans) That sounds promising :D
      • (benrogmans) Have you considered more complex algorithms like Paxos / Raft?
      • (benrogmans) I guess this article might answer my question: http://guide.couchdb.org/draft/consistency.html
      • aldebrn joined the channel
      • G-Ray joined the channel
      • G-Ray has quit
      • G-Ray joined the channel
      • pfrazee joined the channel
      • ralphtheninja
        cblgh: I guess that's what pfrazee talked about yesterday (AP/CP) ^
      • mafintosh
        cblgh: lots of good plane hacking done btw :)
      • dat-gitter
        (benrogmans) @ralphtheninja oh wow, I missed the discussion above... Have to scroll up and catch up on the chat
      • jhand joined the channel
      • obensource has quit
      • obensour1 joined the channel
      • obensour1 joined the channel
      • obensour1 joined the channel
      • obensource joined the channel
      • aldebrn has quit
      • pfrazee
        mafintosh: do you have a command like a linter that detects if you have es6 features in the code?
      • mafintosh
        pfrazee: no
      • pfrazee: i use some es6 sometimes
      • never babel
      • pfrazee
        ok
      • mafintosh
        and never promises
      • haha
      • pfrazee
        :D
      • chjh has quit
      • jhand
        test
      • obensource joined the channel
      • test2
      • bgcarlisle joined the channel
      • cblgh
        mafintosh: niiice
      • ralphtheninja: ah yeah thanks
      • G-Ray joined the channel
      • G-Ray joined the channel
      • ralphtheninja
        jhand: test ack
      • jhand
        yay! think http://dat-chat.netlify.com/ is mostly working now
      • been trying to figure out why it won't let me set the domain to chat.datproject.org
      • pfrazee
        nice, so that's a bot that's rebroadcasting chat events on a hypercore?
      • jhand
        pfrazee: ya! so we have the hyperirc running on a server, collecting logs here. Then I have hypercored sharing it over websockets and it reads from that
      • pfrazee
        very nice!
      • jhand
        pfrazee: want to add the other channels we're tailing over hyperirc to that ui too!
      • pfrazee
        jhand: yeah that'll be cool
      • ogd
        jhand: http://chat.datproject.org/ works for me
      • iml_ joined the channel
      • jhand
        ogd: ya just got it working. netlify wouldn't let me set the domain to chat.datproject.org because it "wasn't unique". so i set it to chat.datproject then changed it to the right one...
      • ogd
        lol
      • pfrazee
        gave a talk at bleeding edge austin last night and everybody said Dat was the coolest
      • ogd
        woot
      • is that like straight edge
      • cause if those ppl like dat then we are def cool
      • pfrazee
        yeah, but for web tech
      • ogd
        nice so they only use gpl
      • pfrazee
        exactly
      • it's a cool meetup, the organizer does a slideshow at the start showing what new features are in browsers since the last meetup
      • ogd
        ohhh i see
      • pfrazee
        yah
      • ogd
        i would be interested in a meetup where the organizer did a summary of ways ppl have used blockchains to steal millions of dollars in the last month
      • obensource
        lol!
      • ogd
        obensource: i have an amplifier in my basement with your name on it
      • obensource: can i drop it off at your homestead some time?
      • obensource
        ogd: aha!
      • ogd: yarp, but we just moved to the middle of nowhere to save money.
      • ogd: i'll have to come pick it up sometime
      • ogd
        obensource: do u have goats
      • obensource
        ogd: naw... I wish
      • ogd: with my folks in St. Helens
      • ogd: For up to a year to pay off debt, college etc, while we look for a place
      • ogd: have a garden tho! :D
      • ogd
        obensource: nice. i believe parts of Twilight were filmed in st helens
      • obensource
        ogd: they were! Actually in the lot next to the building where Liz/I got married!