Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 10 03:54
    JamesTheAwesomeDude commented #92
  • Apr 10 03:25
    JamesTheAwesomeDude edited #92
  • Apr 10 03:09
    JamesTheAwesomeDude opened #92
  • Apr 10 03:04
    JamesTheAwesomeDude commented #88
  • Apr 04 06:01
    congruentsquare opened #91
  • Aug 21 2020 18:40
    okdistribute commented #90
  • Aug 20 2020 17:30
    lucaslasota opened #90
  • Apr 29 2020 01:12
    martinheidegger commented #77
  • Apr 28 2020 17:33
    serapath commented #77
  • Dec 20 2019 12:00
    jmatsushita commented #77
  • Nov 29 2019 16:12
    jmatsushita commented #77
  • Nov 29 2019 16:07
    jmatsushita commented #77
  • Sep 19 2019 09:33
    deepakedayillam opened #89
  • Jul 06 2019 11:46
    devxpy commented #69
  • Jul 06 2019 01:18
    RangerMauve commented #69
  • Jul 05 2019 22:08
    devxpy commented #69
  • Jun 24 2019 20:57
    joehand commented #88
  • Jun 24 2019 20:56
    joehand commented #88
  • Jun 24 2019 20:55
    joehand commented #88
  • Jun 24 2019 20:55
    joehand commented #88
Dat
@dat_project_twitter
andrewosh also TheLink: your private hyperdrive is at the top-level of ~/Hyperdrive, with Network being a special subdirectory. we got rid of home directory to keep things simpler. you should be able to directly write to ~/Hyperdrive/
TheLink thanks for the info
TheLink guess it's so new that the readme doesn't reflect that you're et
TheLink "you're et" = yet
andrewosh TheLink: indeed. gonna be doing a big docs pass once OSX stability's handled, but expect messiness here until we get to a beta announcement (we're still in bug-fixing, prerelease mode)
TheLink ok :)
andrewosh i'll make a note of this at the top of the readme in bold -- sorry for the confusion
matrixbot
@matrixbot

edrex > <@gitter_dat_project_twitter:matrix.org> Frando pfrazee: you wrote somewhere recently that beaker is going to use the "extended metadata on stats feature" of hyperdrive to store the unwalled.garden typings for files/folders. by extended metadata, are you refering to the hidden trie of the metadata hypertrie? and is this part already somewhere implemented? couldn't find it on a quick grep

Frando pfrazee: you wrote somewhere recently that beaker is going to use the "extended metadata on stats feature" of hyperdrive to store the unwalled.garden typings for files/folders. by extended metadata, are you refering to the hidden trie of the metadata hypertrie? and is this part already somewhere implemented? couldn't find it on a quick grep

I'm also wondering about details on this. I did the Perkeep FUSE xattr implementation, and see xattrs as a potentially fruitful way to expose metadata in the filesystem. Is that how xattrs currently work in the FUSE impl andrewosh?

edrex sorry weird quoting
Dat
@dat_project_twitter
pfrazee @edrex the stat() command should have a .metadata object in its output, and that's what we're using
pfrazee you can set the metadata values in createWriteStream() and writeFile() as well as through some methods (updateMetadata() and deleteMetadata())
matrixbot
@matrixbot
edrex sorry, you answered that before but I lost it
Dat
@dat_project_twitter
pfrazee np
matrixbot
@matrixbot
edrex ah but maybe not exposed via hyperdrive-fuse, yet
andrewosh/hyperdrive-fuse#4
matrixbot
@matrixbot
edrex actually looking back I realize I don't think that perkeep branch ever got +2 to merge. i was trying to bridge all the perkeep node attrs to xattrs via a namespace. Perkeep as it stands handles xattrs but stores them as perkeep attrs under the "xattr:" prefix - good for POSIX completeness but not as revolutionary as exposing all the full metadata set via the filesystem.
matrixbot
@matrixbot
edrex super hyped about that! metadata FTW
Dat
@dat_project_twitter
okdistribute Hm attempting to copy files out seemed really slow
Dat
@dat_project_twitter
matrixbot
@matrixbot
edrex rangermauve: oo, i think that would be useful on android. i wonder if it works in a browser?
Dat
@dat_project_twitter
rangermauve Not sure. Probably not in a browser but you could use nodejs-mobile in a thread. No clue if you can get hyperdrive daemon running though. 🤷
matrixbot
@matrixbot
edrex I guess what I really want is a way the writer can offload seeding to another node, so once that node is sync'd, it can drop those entries from the local store. Using a remote gets close to that, but it forces sync which is kind of lame unless you need it for concurrent writes.
matrixbot
@matrixbot
edrex sorry, context: this is for the use case of incrementally backing up non-fuse directories into a hyperdrive
edrex which yeah, i was going to try to run in a nodejs-mobile container following mapeo
Gopalakrishna Palem
@KrishnaPG
With hyperDrive, how can one send a message (possibly as an extension message) to an archive owner?
The documentation indicates archive.extension() sends the message to all connected peers. Which is not what I am looking for. Need to specifically send a message to only the owner of the archive - what is the best way to achieve this?
Gopalakrishna Palem
@KrishnaPG
Say, I have the discovery Key, and I am able to connect to it. I can read the files etc. But I also need to send a message to the owner of that discovery key. How to do that?
var archive = Hyperdrive('32c0a8be000f4b83a70b2b3dc180c6d1833856f7d877b16499f36bfb28cae2f8', {
    extensions: [ExtName]
});

// somehow send a message to archive's owner (and only to its owner, not every one)
By owner I mean, whoever is controlling the secret key associated with that public key
Dat
@dat_project_twitter
pfrazee @KrishnaPG in beaker the plan is to expose a PeerSocket API for that kind of thing
Gopalakrishna Palem
@KrishnaPG
Thank you @dat_project_twitter Meanwhile, is there anyway this can be achieved through extensions or some other workaround ? May be some kind of trick in hyperdrive or hypercore?
Dat
@dat_project_twitter
Frando yay just received a first data message from a nodejs hypercore replication stream in rust!
Frando (though with an experimental PR to disable noise handshaking and encryption)
TheLink andrewosh: would it be possible to implement a "hyperdrive fs ls" command that lists all mounts with its key?
TheLink or add this to the "hyperdrive status" output
matrixbot
@matrixbot
edrex TheLink: looks like ~/Hyperdrive/Network/Stats does that, does that work?
Dat
@dat_project_twitter
pfrazee Frando: nice!
TheLink edrex: that's perhaps a temporary workaround but not really nice
TheLink anyway, thanks for the hint
Dat
@dat_project_twitter
TheLink installing hyperdrive-daemon on my centos vps fails
TheLink gyp compiling fuse-native fails
TheLink seems like it needs to compile in c99 mode
TheLink how can I tell it to do so?
Dat
@dat_project_twitter
cblgh 17:44:30 < Frando> yay just received a first data message from a nodejs hypercore replication stream in rust!
cblgh woahh huge
Dat
@dat_project_twitter
decentral1se oh damn this is epic
Dat
@dat_project_twitter
rangermauve Would anyone have time to review the docs I added for the upcoming v1 release of dat-sdk?
rangermauve datproject/sdk#40
Jemma Nelson
@fwip
I'm not very familiar with dat-sdk, but I skimmed it and it looks very nice :) it's great to have a description of all the different methods
Gopalakrishna Palem
@KrishnaPG

@RangerMauve Just few hours back trying to figure out how to specify a local storage path for an archive. The storageLocation documentation is helpful. That was resolved.

Next question I have is: For an archive multiple peers may exist - how to know which one of them is the "owner" (the one that has secret key or write permissions). When a peer is discovered for the archive (on peer-add event), is there some way to know if that peer is just holding a copy or if it is the original master?

Dat
@dat_project_twitter
rangermauve @KrishnaPG there's nothing in the wire protocol that'd identify the owner, but you could try implementing something with extension messages. Check out the examples