<dignifiedquire>
daviddias: thinking again about the best way to add a promise wrapper to js-ipfs-api as I need it for the webui
<dignifiedquire>
ideally I would love to just return a promise if no callback is supplied
<dignifiedquire>
but then the question is how do we return the request object in that case
<daviddias>
Didn't we reach a conclusion the last time that the best is to wrap the callbacks API with bluebird?
<daviddias>
Why do we need promises for webui?
<dignifiedquire>
because all other libraries assume you are using promises, and it makes life a lot easier if you do in the browser
<daviddias>
What other libraries?
<dignifiedquire>
redux-saga
<dignifiedquire>
(and I want to use async which requires promises)
<dignifiedquire>
I mean I can manually wrap all the calls in the webui but I'd rather have a good solution for this in js-ipfs-api
<dignifiedquire>
so others can reuuse this
zorglub27 has joined #ipfs
<daviddias>
If you want to experiment with a js-ipfs-api-promises impl and test ideas, go ahead, better experiment than going through the philosophical discussion route :)
svetter has joined #ipfs
<dignifiedquire>
sounds good
<dignifiedquire>
will ping you when I have sth to test
<daviddias>
Awesome :)
Tv` has quit [Quit: Connection closed for inactivity]
ianopolous3 has joined #ipfs
lachenmayer has quit [Ping timeout: 264 seconds]
M-jon1 has quit [Ping timeout: 264 seconds]
gozala has quit [Ping timeout: 264 seconds]
gozala has joined #ipfs
Ape has quit [Ping timeout: 264 seconds]
vaelys has quit [Ping timeout: 264 seconds]
ecloud_ has joined #ipfs
rendar has quit [Ping timeout: 264 seconds]
ianopolous2 has quit [Ping timeout: 264 seconds]
b0at has quit [Ping timeout: 264 seconds]
rabbitface3 has quit [Ping timeout: 264 seconds]
shachaf has quit [Ping timeout: 264 seconds]
ploopkazoo has quit [Ping timeout: 264 seconds]
ploopkazoo has joined #ipfs
computerfreak has quit [Ping timeout: 264 seconds]
<achin>
richardlitt: getting some good snow up there?
cemerick has joined #ipfs
hellertime has joined #ipfs
<daviddias>
dignifiedquire: pong
shea256 has joined #ipfs
zorglub27 has quit [Ping timeout: 264 seconds]
jaboja has quit [Ping timeout: 250 seconds]
shea256 has quit [Ping timeout: 276 seconds]
<dignifiedquire>
daviddias: now I'm out food shopping, but please check out my promise pr
jaboja has joined #ipfs
elima has quit [Ping timeout: 240 seconds]
phorse has quit [Ping timeout: 248 seconds]
<daviddias>
Ok, I will, also looking for food, I was helping another friend for a bit, will assess all of the PR and issues in a bit :)
elima has joined #ipfs
<ipfsbot>
[go-ipfs] RichardLitt created feature/gx-libp2p-readme-edits (+1 new commit): https://git.io/vgcBs
<ipfsbot>
go-ipfs/feature/gx-libp2p-readme-edits 36b8e20 Richard Littauer: Cleaned up README...
<ipfsbot>
[go-ipfs] RichardLitt opened pull request #2302: Cleaned up README (feat/gx-libp2p...feature/gx-libp2p-readme-edits) https://git.io/vgcBE
<ipfsbot>
[go-ipfs] RichardLitt force-pushed feature/gx-libp2p-readme-edits from 36b8e20 to 80a93be: https://git.io/vgcR2
<ipfsbot>
go-ipfs/feature/gx-libp2p-readme-edits 80a93be Richard Littauer: Cleaned up README...
shea256 has joined #ipfs
Qwertie has quit [Ping timeout: 252 seconds]
<ipfsbot>
[go-ipfs] RichardLitt force-pushed feature/gx-libp2p-readme-edits from 80a93be to e704c36: https://git.io/vgcR2
<ipfsbot>
go-ipfs/feature/gx-libp2p-readme-edits e704c36 Richard Littauer: Cleaned up README...
Qwertie has joined #ipfs
Encrypt has joined #ipfs
zorglub27 has joined #ipfs
<ipfsbot>
[go-ipfs] RichardLitt force-pushed feature/add-example-to-id from 495a7f2 to e57d5fc: https://git.io/vgZYj
<ipfsbot>
go-ipfs/feature/add-example-to-id e57d5fc Richard Littauer: Added an example to `ipfs id`...
jhulten_ has joined #ipfs
ugjka has joined #ipfs
jhulten_ has quit [Ping timeout: 276 seconds]
Akaibu has quit [Quit: Connection closed for inactivity]
Tv` has joined #ipfs
phorse has joined #ipfs
konubinix has quit [Ping timeout: 272 seconds]
M-Ingo has joined #ipfs
ashark has joined #ipfs
konubinix has joined #ipfs
aquilax has joined #ipfs
* daviddias
systems on
<dignifiedquire>
welcome daviddias, how can I help you today
phorse` has joined #ipfs
* daviddias
?help
JasonWoo1 has joined #ipfs
<dignifiedquire>
the following commands are available:
<dignifiedquire>
- joke
<dignifiedquire>
- reboot
<dignifiedquire>
- shutdown
<dignifiedquire>
- format c
<ipfsbot>
[go-ipfs] RichardLitt force-pushed feature/add-example-to-id from e57d5fc to 062b343: https://git.io/vgZYj
<ipfsbot>
go-ipfs/feature/add-example-to-id 062b343 Richard Littauer: Added an example to `ipfs id`...
centauri has joined #ipfs
mildred has quit [Ping timeout: 276 seconds]
<ansuz>
?joke
<dignifiedquire>
What happens to a frog's car when it breaks down? - It gets toad away
<ansuz>
:D
<ansuz>
?joke
<ansuz>
?joke
<ansuz>
?joke
<ansuz>
?joke
<ansuz>
?joke
<ansuz>
:D :D :D
<ipfsbot>
[go-ipfs] RichardLitt force-pushed feature/gx-libp2p-readme-edits from e704c36 to 9ade210: https://git.io/vgcR2
<ipfsbot>
go-ipfs/feature/gx-libp2p-readme-edits 9ade210 Richard Littauer: Cleaned up README...
<daviddias>
dignifiedquire: so, what is the catch with the promisse PR
<ansuz>
daviddias: I don't think that's a valid command
<dignifiedquire>
Q: Why was six scared of seven?
<dignifiedquire>
A: Because seven "ate" nine.
<dignifiedquire>
Q: What is the difference between snowmen and snowwomen?
<dignifiedquire>
A: Snowballs.
<dignifiedquire>
I never wanted to believe that my Dad was stealing from his job as a road worker. But when I got home, all the signs were there
<dignifiedquire>
Do not be racist; be like Mario. He's an Italian plumber, who was made by the Japanese, speaks English, looks like a Mexican, jumps like a black man, and grabs coins like a Jew!
<dignifiedquire>
I named my hard drive "dat ass," so once a month my computer asks if I want to "back dat ass up."
<daviddias>
ansuz: crashed the program
<dignifiedquire>
ansuz: WARNING, system is running hot because of overload
<ansuz>
?reboot
<dignifiedquire>
-- prepare for shutdown
<dignifiedquire>
-- shutting down
<ansuz>
rip
<dignifiedquire>
daviddias: no catch, just we have to maintain this
M-oddvar1 has joined #ipfs
<M-oddvar1>
cannibalism.
<dignifiedquire>
daviddias: and there is the tiny perf hit for people using callbacks of a single if clause per method
<daviddias>
this seems way too trivial, are you sure we are talking about promisses? :P
<dignifiedquire>
yes :)
<dignifiedquire>
I'm just that good :P
<dignifiedquire>
promises don't have to be hard, they are there to make life easier not harder
<ansuz>
dignifiedquire: are they cancellable?
<daviddias>
what about all of the past conversations? What changed?
<dignifiedquire>
ansuz: :D:D:D
<M-oddvar1>
wo?
<dignifiedquire>
ansuz: depends, if you shim a global promise implementation that is then they are cancellable, but there is no functionality for that implemented
<dignifiedquire>
daviddias: not sure, I was just blind I guess
ulrichard has quit [Quit: Ex-Chat]
<dignifiedquire>
daviddias: or more likely we were trying to make sth too complex rather than doing the most straighforward thing
<M-oddvar1>
:)
phorse has quit [*.net *.split]
cemerick has quit [*.net *.split]
vakla has quit [*.net *.split]
JasonWoof has quit [*.net *.split]
HastaJun has quit [*.net *.split]
ylp has quit [Quit: Leaving.]
water_resistant has joined #ipfs
cemerick has joined #ipfs
gorhgorh has quit [Read error: Connection reset by peer]
Animazing has quit [Ping timeout: 272 seconds]
gorhDroid has joined #ipfs
Animazing has joined #ipfs
m0ns00nfup has quit [Quit: undefined]
Qwazerty has quit [Quit: WeeChat 1.3]
vijayee has joined #ipfs
Qwazerty has joined #ipfs
pierrebeaucamp has joined #ipfs
TheWhisper_ is now known as TheWhisper
ashark has quit [Ping timeout: 248 seconds]
ashark has joined #ipfs
jhulten_ has joined #ipfs
jhulten_ has quit [Ping timeout: 250 seconds]
voxelot has joined #ipfs
<daviddias>
dignifiedquire: it would be cool if you could write some notes on desmistyfing promisses, like, why did they appear, how, when, options available and what is the easy route to make current CommonJS modules to support Promises APIs
<daviddias>
Yeah, but everything feels like marketing docs
pierrebeaucamp has quit [Ping timeout: 264 seconds]
__mek__ has joined #ipfs
<dignifiedquire>
yeah or hate speeches if you look at the other side
ugjka has quit [Quit: Leaving]
<dignifiedquire>
daviddias: will think about it
s_kunk has quit [Ping timeout: 240 seconds]
elima has quit [Ping timeout: 260 seconds]
TheWhisper_ has joined #ipfs
devbug has quit [Ping timeout: 248 seconds]
TheWhisper has quit [Ping timeout: 252 seconds]
<xelra>
Are there any performance test of ipfs already? Or is it too early to do this? Tests whether it can be used as a high performance cluster fs with striping? Stuff like that.
<xelra>
centauri: Yeah, I think you got the same intention. In the future I was hoping on completely replacing systems like AFS, Lustre, GlusterFS or XtreemFS.
<xelra>
The last one being the only one that is useful over WAN.
<Kubuxu>
Have someone tried doing what is blocking what diagram for IPFS?
<centauri>
xelra: yeah, we use AFS/Gluster here and they're... not the fastest things ever
<xelra>
Which is why I keep a close eye on ipfs-cluster and the performance stuff.
<centauri>
lustre is better but still difficult
ugjka has joined #ipfs
<centauri>
yeah, same
<centauri>
do you have a big cluster xelra?
<xelra>
My first use would be to make user homes on top of ipfs-cluster and then combine it with folder redirection and roaming profiles. But over WAN, even for BYOD stuff like laptops that are not on-premise.
<centauri>
That would be absolutely great
user24 has joined #ipfs
user24 has quit [Client Quit]
elima has quit [Ping timeout: 245 seconds]
<xelra>
I have less than 50 devices, so it's not really much. But enough to be unpleasantly annoyed by the management overhead of traditional solutions.
<centauri>
Ah, gotcha
<centauri>
That's still certainly plenty
<centauri>
How do you currently deploy software?
<xelra>
Manually. :P (no kidding) :)
<centauri>
oooof
<centauri>
i was thinking it'd be nice to write a benchmarking suite for setting up the daemon (privately, within the cluster only) and then adding/pinning files between user-defined nodes
<xelra>
XenApp just wasn't the right thing for me.
<centauri>
and timing it all, then doing a few other operations to test multiple node file availability and stuff like that
<ipfsbot>
[go-ipfs] RichardLitt created feature/capitalise-tokens (+1 new commit): https://git.io/vgCeO
<ipfsbot>
go-ipfs/feature/capitalise-tokens 102b872 Richard Littauer: Capitalized `Tokens`...
<centauri>
you might want to give salt a look
<xelra>
Yeah, I hope all this will be configurable in ipfs-cluster. Like switching between different replication schemes. And details like how many stripes each requester gets. And how much diskspace each node contributes.
<lgierth>
it'd be great if you could have a look and comment your ideas
<xelra>
Right now I do it via rdp. I rdp into every device and then I do my stuff via http or ssh. Pretty much a bit of everything. :P
<xelra>
I'll look into that.
phorse` has quit [Remote host closed the connection]
jhulten_ has joined #ipfs
<voxelot>
i love the term bitswap guilds used in your original ideas on cluster :)
<xelra>
lgierth: I've already commented on that. I think that idea-wise the opening post already has all the cornerstones outlined.
hellertime has quit [Quit: Leaving.]
elima has joined #ipfs
<xelra>
I think the most important part is the management component. Where you should be able to set detailed permissions on which user can manage which nodes (bitswap guilds). And also who can access which parts of the cluster.
computerfreak has joined #ipfs
devbug has joined #ipfs
ugjka has quit [Quit: Leaving]
devbug has quit [Remote host closed the connection]
devbug has joined #ipfs
JasonWoo1 is now known as JasonWoof
JasonWoof has quit [Changing host]
JasonWoof has joined #ipfs
devbug has quit [Ping timeout: 272 seconds]
<ogd>
if ipfs is getting guilds does that mean there will be a MMO running on IPFS soon?
<SbKPK48Z>
I'm looking for some documentation about cache expiration.
<centauri>
As far as I've understood, no gc is done automatically yet
<centauri>
someone please correct me if I'm wrong
<jbenet>
centauri: there is an "auto gc" size threshold one can set in the config to trigger it, but i believe its not set automatically yet
<jbenet>
cc whyrusleeping rht correct me if i'm wrong
<centauri>
jbenet: Thanks, good to know
<dignifiedquire>
richardlitt: ping
centauri is now known as lovelaced
<dignifiedquire>
richardlitt: could you take a look at this: https://github.com/ipfs/js-ipfs-api/pull/200 and add your comments please? would love to get this in as soon as possible so I can start using it from the webui
<lidel>
lovelaced, you can also add `ipfs repo gc` to crond (as a periodical cache purge)
<lovelaced>
Yeah, that was my immediate solution
amanmangal has joined #ipfs
<lidel>
size-based one is better for the network
<dignifiedquire>
daviddias: peng
<lovelaced>
yeah, ideally I'd like to have a "smart" one
<lovelaced>
(different for different applications of course)
<dignifiedquire>
daviddias: just wanted to ask how many thumbs ups you want until we can merge promises and if you have any more questions regarding it
<lidel>
Kubuxu, --^
<Kubuxu>
;D
guest296 has joined #ipfs
zorglub27 has joined #ipfs
guest296 is now known as amanmangal
<dignifiedquire>
lidel: nice :)
<lidel>
I changed description at AMO, now it explains what IPFS is before what addon does.
<daviddias>
dignifiedquire: until we have given enough time for every timezone to had the chance to have time (work hours) to review it :)
<dignifiedquire>
daviddias: all these timezones
<dignifiedquire>
;)
<daviddias>
so far people are happy about it
<daviddias>
but since it has been a big discussion, I don't want to rush it without at least giving everyone time to review
<nicolagreco>
ops daviddias I just got a connection error
<dignifiedquire>
sure
<daviddias>
nicolagreco: with js-multihashing?
<nicolagreco>
does it do "data" hashing instead of file hashing?
<daviddias>
"connection error"??
<daviddias>
yeap, you don't give it paths
<nicolagreco>
daviddias so for example, if I have {person:{name:"nicola"}} can I get QmHash/person/name === Nicola ?
<daviddias>
you can, but that is IPLD
<daviddias>
name will be a IPLD Node
<daviddias>
person will be an IPLD Node that points to name
<noffle>
put together a quick proposal for a small CLI/module for doing easy & fast pubsub on the application layer to support realtime IPFS applications as a shim until we get pubsub "right": https://github.com/ipfs/notes/issues/108
<noffle>
with apps like anonymous-networks in mind
<daviddias>
and QmHASH will be the hash of the person IPLD node
sknebel has joined #ipfs
<nicolagreco>
daviddias: perfect, so I can do that with js-multihashing?