#dat

/

      • G-Ray_ joined the channel
      • jhand
        pfrazee: 👍
      • ogd
        hmm i dont think discovery channel/swarm has a way to only announce, not query
      • would be easy to add just isnt in there yet
      • jhand: check out dat-doctor now
      • cc pfrazee
      • i deployed the public peer to doctor1.publicbits.org
      • wavis has quit
      • M-flyingzumwalt has quit
      • null_radix[m] has quit
      • pfrazee joined the channel
      • frabrunelle joined the channel
      • mafintosh
        !add 7dfee0777e34e3d469bf3cdf1b83ebf49f4aff9143d49804bb93eb2a8ae5e500
      • archive-bot
        Adding 7dfee0777e34e3d469bf3cdf1b83ebf49f4aff9143d49804bb93eb2a8ae5e500
      • 7dfee0777e34e3d469bf3cdf1b83ebf49f4aff9143d49804bb93eb2a8ae5e500 has been fully archived (35.8 MB)
      • jekrb joined the channel
      • null_radix[m] joined the channel
      • M-flyingzumwalt joined the channel
      • G-Ray_ has quit
      • G-Ray_ joined the channel
      • pfrazee joined the channel
      • ddem-bot has quit
      • ddem-bot joined the channel
      • notwes joined the channel
      • notwes has quit
      • G-Ray_ has quit
      • archive-bot has quit
      • archive-bot joined the channel
      • G-Ray_ joined the channel
      • pfrazee joined the channel
      • dat-git-bot
        [dat] clemsos opened issue #595: Can dat be used offline ? https://github.com/datproject/dat/issues/595
      • dat-gitter-bot
        (marcelklehr) Can you guys try to access the following archive? I'm hosting using the dat cli, now, instead of beaker: b7777e3c824a8b8fb29c6c6187843aa4c807d87452c695c262a590f80c196e2e
      • notwes joined the channel
      • notwes has quit
      • notwes joined the channel
      • mafintosh
        substack: @marcelklehr
      • whoops
      • too many mentions
      • @marcelklehr still here?
      • dat-gitter-bot
        (marcelklehr) yup :)
      • mafintosh
        substack: tree seems to work great on peermaps data set. using the non optimized lookup i can stat any antry in around 500ms on cold boot
      • gonna add delete support and start integrating it
      • @marcelklehr you still seeding that dat? i can try fetching it
      • dat-gitter-bot
        (marcelklehr) yup, dat is till running
      • (marcelklehr) (recently I tried hosting with beaker, which didn't work, so now I'm trying the dat cli)
      • mafintosh
        yea beaker still has some weird replication issue
      • let me try it then
      • @marcelklehr got it
      • dat-gitter-bot
        (marcelklehr) yay! :)
      • (marcelklehr) awesome, thanks!
      • mafintosh
        cool website
      • dat-gitter-bot
        (marcelklehr) heh, it's still kind of raw. It's supposed to be a collaborative editor
      • (marcelklehr) hit create to create a new doc. Share the id of the new do with people, they can fork the dat archive, give you the id of the fork, you add them as collaborators, bang: collaborate.
      • (marcelklehr) *new doc
      • notwes
        @marcelklehr link? If you don't mind me checking it out :)
      • dat-gitter-bot
        (marcelklehr) dat://b7777e3c824a8b8fb29c6c6187843aa4c807d87452c695c262a590f80c196e2e/ ;)
      • notwes
        thx!!
      • dat-gitter-bot
        (marcelklehr) it worked last time i checked, will most likely fail now, though heh
      • notwes
        haha, yeah timed out.
      • The timeout in beaker seems pretty short though
      • mafintosh
        notwes: heeey
      • which timezone you in?
      • notwes
        hey!! im in us central
      • mafintosh
        cool, you are one those people that start work "early" i guess
      • :)
      • notwes
        haha, yeah well sometimes. the vacation around the holidays has recharged me
      • also, getting into the office early saves tons of commute time. Austin traffic is pretty bad sometimes
      • mafintosh
        ah right
      • makes sense
      • notwes
        mafintosh: is there any debug tool for figuring out why marcelklehr's dat wont load in beaker?
      • mafintosh
        notwes: only dat cli related ones that i know of. jhand might know more
      • but i know paul is working on getting the bug fixed
      • dat-gitter-bot
        (marcelklehr) wait, so you can pull it with dat, but not view it in beaker. that's weird
      • notwes
        oh yeah, dat doctor right?
      • no, i havent tried pulling it yet, going to now
      • this is my work computer, hadnt installed dat yet, so still waiting for the npm install to finish
      • does dat doctor take a dat url with protocol, or just a key?
      • because it seemed to do stuff with the full dat:// but not with just the hash.
      • dat-gitter-bot
        (marcelklehr) I think it gave me a simple key last time. I was using dat-next, though I think
      • notwes
        ok, i'll switch to that and see
      • mafintosh
        @marcelklehr yea thats the bug
      • notwes
      • that is my output from dat-next doctor
      • i am guessing it found beaker as a peer
      • but nothing else?
      • not sold on beaker using that port to peer, at least lsof didn't mention it
      • dat-gitter-bot
        (marcelklehr) does the doctor work with normal dat urls?
      • (marcelklehr) I thought the keys you get from the doctor are custom ones
      • notwes
        oh, if so then I didn't know. The discovery key?
      • dat-gitter-bot
        (marcelklehr) I think, one side runs the doctor without arguments and gets a key/token then the other side runs the doctor with that token.
      • notwes
        ohhhh....
      • dat doctor 079ecf8135966dee961d47ea2a1aa4ccefd2623c086cb6c66aa3e31b70303a3b
      • what to give that a try?
      • thats what mine just printed
      • dat-gitter-bot
        (marcelklehr) one sec
      • (marcelklehr) ```
      • (marcelklehr) [0000] Connection established to remote peer
      • (marcelklehr) [0000] Remote peer echoed expected data back
      • (marcelklehr) ```
      • (marcelklehr) works :)
      • notwes
        yep, same on my side
      • so its just beaker for sure
      • dat-gitter-bot
        (marcelklehr) yep
      • (marcelklehr) :(
      • notwes
      • that is what I get when I try to use dat-next clone on it. Known issue?
      • pfrazee joined the channel
      • and "old dat" says its an invalid link when i run `dat b7777e3c824a8b8fb29c6c6187843aa4c807d87452c695c262a590f80c196e2e test`
      • well technically I ran it with --temp
      • hmm, re-tried with old dat and it worked, no clue what I was doing wrong
      • jekrb joined the channel
      • ddem-bot1 joined the channel
      • ddem-bot has quit
      • jhand
        notwes: oops forgot I did that breaking change in dat-next. The version on npm is kinda stale. I'll release much fresher dat-next this week. Not sure if its worth patching that old one.
      • notwes: didn't totally follow - but dat doctor uses links that aren't compatible with archives. so you can dat doctor with an archive hash. Its just a random hash so two peers can connect
      • notwes
        jhand: cool, no rush. Was just playing with marcel's project. And I was just not clear what dat doctor did, but I am now
      • jhand
        and we are working on some networking debugging tools so we can start systematically figuring out the beaker connection issues
      • notwes
        jhand: is there a way to add usage descriptions to the subcommands? it would be nice to be able to run `$dat-next doctor --help`, and if there is I can submit a PR
      • jhand
        notwes: no but that would be sweet.
      • notwes
        jhand: yeah, that is one of the reasons I use commander for my cli's. Each of the sub commands can define its own full set of docs and usage instructions
      • jhand
        notwes: ah cool. I'll check that out. If not I think I can hook up something basic with subcommand that you can PR to
      • notwes
        jhand: cool! doesn't matter to me, but the help flag on each command would be great
      • and I am happy to contribute based on my noob expirence
      • jhand
        notwes: Defnitely. I kept wanting to put more in the main usage but it was getting too big to print and read easily
      • notwes
        jhand: yeah, man pages are nice for that as well, but harder to build and distribute. I think just breaking out all the sub commands would do the trick here
      • jhand
        oh looks like the arg parser we are using does have a way to do help strings.
      • notwes
        nice!
      • pfrazee joined the channel
      • jhand
        ogd: published your doctor updates + added you to npm
      • pfrazee
        I like the publicbits.org domain
      • that's cool
      • notwes
        ^^ me too. but the web design could use some work ;)
      • "502 Bad Gateway" could use a google web font or something
      • pfrazee: is there a way to clear the dat cache in beaker? couldn't find one. If not, I can open an issue for that if you like
      • pfrazee
        notwes: there's not, and I think I have an issue for it already
      • notwes
        pfrazee: cool, thanks
      • wavis joined the channel
      • G-Ray_ has quit
      • notwes_ joined the channel
      • notwes has quit
      • mandric joined the channel
      • jhand
        hmmm I get a ton of random connections with dat-doctor if utp=true but not if its false. Is that expected?
      • Right now dat-next (and I think main dat CLI) runs doctor with utp: true but thats not the default for the module itself.
      • Huh. That option isn't even passed through anywhere.
      • ogd
        jhand: there might be a bug related to the two swarm instances in client.js using the same port
      • jhand: cli.js
      • jhand
        ogd: looks like it is destroyed first
      • Im just getting lots of random connections regardless. Options weren't causing it