#dat

/

      • pfraze joined the channel
      • m-i has quit
      • pfraze joined the channel
      • pfraze has quit
      • m-i joined the channel
      • pfraze joined the channel
      • pfraze has quit
      • dwins joined the channel
      • dwins has quit
      • pfraze joined the channel
      • ogd
        oh yea ive seen a couple talks on secure multiparty computation its pretty interesting
      • pfraze joined the channel
      • pfraze has quit
      • iml_ joined the channel
      • pfraze joined the channel
      • iml_ has quit
      • dat-gitter-bot
        (rukku) > ` karissa ` @rukku active development is being done on the rc2 branch, if you'd like to take a look!Got it. Thanks @karissa!
      • eljee
      • if you want to play around some more, its in laurengarcia/netscape on branch `develop-hyperdrive-www`
      • i was hoping to do more with the server-side routing, that's why i picked up the hypercore -www bits and threw it into my repo that already had express ready to go on it
      • but it seems like there's a bug trying to read the archive key from the address (some kind of chunking error: net::ERR_INCOMPLETE_CHUNKED_ENCODING)
      • i tried to just run signalhub off my local but still no dice, same error. then i remembered that substack and mafintosh were going back and forth about an event not closing and figured that's probably it, so i just played around with the UI a bit.
      • have a good weekend everyone
      • btw if you want me to make a branch and PR out of this for hyperdrive-www, just let me know. wasn't sure how you guys want to break up the filesharing demo vs the registry.
      • m-i has quit
      • pfraze has quit
      • pfraze joined the channel
      • dat-gitter-bot1 joined the channel
      • dat-gitter-bot has quit
      • pfraze has quit
      • ddem-bot has quit
      • ddem-bot joined the channel
      • substack
        eljee: the net::ERR_INCOMPLETE_CHUNKED_ENCODING errors aren't real errors, just noise
      • eljee
        oh shoots. hm. do you know what its about then?
      • wondering if you've seen it
      • (the real bug that is -- the one preventing the read, or at least it seems)
      • if not no worries. it is reproducible by dragging/dropping files, letting the hash update and then hitting reload. seems like its trying to read the contents of the hash out of signalhub but not quite getting there? maybe i don't understand how it all fits together yet tho.
      • (by hash i mean archive key, sry)
      • substack
      • juliangruber
        eljee: looks cool! what do you think about making the whole body a drop zone by default?
      • m-i joined the channel
      • ogd sings john mayers your body is a dropzone
      • ogd
        eljee: WHOA
      • mafintosh
        eljee: yea sometimes reload doesnt really work with the #hash links
      • eljee: because chrome doesn't reload the page, it just issues a onhashchange event
      • but there are workarounds for that
      • eljee: also the site looks great!
      • substack: this is a great idea
      • merged and released in 5.2.0
      • substack, eljee think i just fixed that ERR_... noise also
      • dat-gitter-bot1
        (andrewosh) *comes into dat chat to ask hyperdrive question, sees hyperdrive-index, leaves*
      • ogd
        lol
      • our indexing approach is basically http://howfuckedismydatabase.com/nosql/
      • substack: do you need dex.ready or could you do a thunk internally so the first operation does idempotent ready?
      • eljee: i like the search-engine-esque minimal home page
      • pfraze joined the channel
      • substack
        ogd: when you write a hyperdrive-index, you provide your own storage mechanism, so you need to know when the indexes are caught up
      • ogd
        substack: ohh i thought it was a different meaning of ready sorry
      • mafintosh
      • juliangruber
        mafintosh: merged and publish pushed to github, unfortunatelly though i'm not yet an npm owner
      • pinging rod about this
      • mafintosh
        juliangruber: cool, thanks
      • pfraze has quit
      • substack: finally got around to fixing this now, https://github.com/mafintosh/hypercore/issues/20
      • substack: what to you think the api should be? .hash(index, cb) ?
      • or .head(index, cb) is probably better since its the head of the feed at that point in time
      • substack
        how do i get the index?
      • mafintosh
        index is just the number of blocks in the logs
      • -1
      • feed.blocks - 1 for latest
      • maybe it could just default to that
      • substack
        I think a method for getting the blocks would be good too
      • it sucks having to call .get() just so blocks is defined
      • mafintosh
        yea agreed
      • thats on my list as well. its gonna be a range selection api
      • where you can give it a range of blocks to get and a callback that is called when all of them are downloaded
      • substack: api added, described it here, https://github.com/mafintosh/hypercore/issues/20
      • for the hash
      • substack
        cool!
      • mafintosh
        i'll do a release now with all these new things.
      • technically its gonna be a major bump since this includes the final tweaks to the wire protocol
      • hypercore 3.0.0 is out now
      • now i just need to upgrade hyperdrive to use that and then i'm ready to call it LTS
      • pfraze joined the channel
      • pfraze has quit
      • pfraze joined the channel
      • mchelen has quit
      • mchelen joined the channel
      • mchelen is now known as Guest14794
      • Guest14794 has quit
      • mchelen_ joined the channel
      • eljee
        ogd mafintosh cool, im glad you like that demo. let me know if you want me to do any more with it. mostly just playing around trying to get to know it a little. am more than happy to put it somewhere more permanent than that rando branch.
      • juliangruber yeah i kept going back and forth re: drop zone stuff - using whole body or not. we could also make it the whole "overlay" but not the body. im sure the designer will have more input.
      • i will dig into hypercore/hypercore-index and signalhub more next week to understand more of what's happening underneath the apis
      • mafintosh what was causing that chunking ERR?
      • juliangruber
        eljee: i think the whole body thing will more be for convenience, as i guess for initial explanation of how dat works a dropzone or file input are better as they reduce cognitive load
      • eljee
        juliangruber yeah, i guess it can listen for the drop event on the body and open the panel accordingly
      • juliangruber
        eljee: have you seen cloudup's interface? they do that pretty nicely
      • imo
      • eljee
        juliangruber no, i'll check it out
      • pfraze has quit
      • mafintosh
        eljee: so the signalhub uses a long lived http connection to do server-side events
      • eljee: but if no peers are discovered for 2mins the browser times out the connection
      • eljee: and prints that error. the client then just reconnects
      • eljee: the fix was just making the connection send a heartbeat once in a while
      • TheLink
        sounds almost romantical
      • timwis joined the channel
      • m-i has quit
      • neh joined the channel
      • mchelen_ has quit
      • ogd
        juliangruber: i didnt know your band was so good https://www.youtube.com/watch?v=yF1IFRmFjl0
      • mchelen joined the channel
      • jorin joined the channel
      • rhalff_ joined the channel
      • rhalff has quit
      • rhalff_ has quit
      • rhalff joined the channel