hey @cel can you please publish asyncmemo
to npm to make it easy for me to try and learn from ssb-git
?
I'm super excited to check out the patterns you've explored. If it's not ready, I'm not in a hurry.
hey @cel can you please publish asyncmemo
to npm to make it easy for me to try and learn from ssb-git
?
I'm super excited to check out the patterns you've explored. If it's not ready, I'm not in a hurry.
@mix asyncmemo is published on ssb-npm: %snGiC0t... and git-ssb: %K9F59Er...
npm install asyncmemo --registry=http://localhost:8043/
this needs ssb-npm installed as a plugin right? I think last time I used it I was getting slowdowns and bugs. I'll try it again and pay more attention.
I'm also appreciating being on the other end of a strong values move - @Alanna and I have talked about me being more hard line and using facebook only once a month, and how that puts tension on our relationship. I think I said that's part of the dynamic. Now I'm the normative one going "why can't you just use npm!" and it's very refreshing. Thank you
with ssb-npm can you run that flag for the whole install ?
npm install --registry=http://localhost:8043/
I'll try it!
@mix i'm glad you appreciate this :)
yes, that is the right command. --registry=http://localhost:8043/
works with the ssb-npm-registry plugin.
commands for installing the ssb-npm-registry plugin are here if you need: %59m0nJQ...
it will also need in ~/.ssb/config {"blobs":{"max":10000000}}
(or run sbot server --blobs.max 10000000
) to be able to get the blob for sodium-native.
ssb-npm(-registry) should no longer fetch as much blobs as it used to. if it is still causing slowdowns then that could be a bug.
Does it put blobs in a seperate location to generic blobs so I can track how blobbed I'm getting?
@mix blobs are all in the same place. if you want to measure the impact here, you could delete or move away your whole ~/.ssb/blobs
directory, close any other ssb app that may fetch blobs, disable ssb-blobs sympathy to avoid replicating unrelated blobs: {"blobs":{"sympathy":0}}
, and delete or move away ~/.npm
to reset npm's caches. run install, and see what gets saved to disk. then put back the original blobs dir and ~/.npm
dir.
i did this just now and measured 16M of blobs after installing #git-ssb, 36M after also installing #patchfoo; 26M after retrying and just installing patchfoo, 2.4M just #ssb-npm
@noffle I want your guides in scuttlebutt-guide
repo !!!
Feel free to push links to your awesome contributions directly into the ssb master branch ! ssb://%rRmgg8grYJ/upfXKxFNG62Y49CmkEShk70HoFLIEyDY=.sha256
or open a branch and me if you'd prefer.
@johnny see ssb-blobs documentation for other moralistic configuration settings including "stingy" and "pushy"