pfraze has quit [Remote host closed the connection]
dmr has joined #ipfs
pfraze has joined #ipfs
ed_t has joined #ipfs
anshukla has joined #ipfs
anshukla has quit [Remote host closed the connection]
anshukla has joined #ipfs
dmr has quit [Ping timeout: 272 seconds]
anshukla has quit [Remote host closed the connection]
harleyk_ has joined #ipfs
Akaibu has quit [Quit: Connection closed for inactivity]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
<harleyk_>
Just listened to The Changelog episode about this. Been watching at a distance but hearing about the decentralized chat really got more of my attention. Also so happy that you have a good code of conduct as well. :)
harleyk_ is now known as harleyk
<lgierth>
harleyk: thanks, and hi!
Kane` has joined #ipfs
matoro has quit [Remote host closed the connection]
ahnick has joined #ipfs
<ahnick>
hi, anyone know the current state of support for private networks in ipfs?
matoro has joined #ipfs
tmg has quit [Ping timeout: 246 seconds]
dignifiedquire has quit [Quit: Connection closed for inactivity]
<deltab>
noffle: 'promisified' is the term used by bluebird
computerfreak1 has joined #ipfs
computerfreak has quit [Ping timeout: 276 seconds]
koshii has quit [Ping timeout: 250 seconds]
<deltab>
if you're returning a promise anyway and a callback is provided, you can do something like p.then(result => callback(null, result)).catch(error => callback(error))
koshii has joined #ipfs
ahnick has quit [Quit: Leaving]
<noffle>
deltab: the ugly complexity here is that the function in question returns neither consistently -- sometimes a cb, sometimes promise
<deltab>
it returns a callback?
<noffle>
accepts a callback
<noffle>
but sometimes it calls the cb, sometimes it returns a promise, depending on if a cb was provided
<noffle>
neither can be assumed to be available always
<deltab>
you can make it always return a promise, and optionally call a callback if given
<noffle>
deltab: you can if you control that api :)
<deltab>
whose api is it?
<noffle>
js-ipfs-api. I could change it, but don't want to push a major semver
<noffle>
so I'm writing some fun code to wrap it
ashark has quit [Ping timeout: 260 seconds]
special has joined #ipfs
special is now known as Guest75133
<deltab>
what would it break?
<noffle>
if it doesn't return a promise it returns a ClientRequest object
<noffle>
so some users may be depending on that -- what a mess
<noffle>
though if it's undocumented then maybe to heck with em
<ipfsbot>
[go-ipfs] Kubuxu force-pushed feature/Offline-2393 from 08d26e3 to 3a89cbb: https://git.io/vrGUd
<ipfsbot>
go-ipfs/feature/Offline-2393 74b7fd2 Jakub Sztandera: Add offline daemon mode...
<ipfsbot>
go-ipfs/feature/Offline-2393 a77fa94 Jakub Sztandera: Make errors more reasonable in case of node in offline mode...
<ipfsbot>
go-ipfs/feature/Offline-2393 7614f4f Jakub Sztandera: Create shanress test for offline mode node...
Boomerang has quit [Remote host closed the connection]
Boomerang has joined #ipfs
<ipfsbot>
[go-ipfs] Kubuxu created feature/HiddenFilesTests (+1 new commit): https://git.io/vroKQ
<ipfsbot>
go-ipfs/feature/HiddenFilesTests 01a2237 Jakub Sztandera: Add test for directly adding hidden file...
<ipfsbot>
[go-ipfs] Kubuxu opened pull request #2756: Add test for directly adding hidden file (master...feature/HiddenFilesTests) https://git.io/vroKb
corvinux has quit [Ping timeout: 244 seconds]
computerfreak has quit [Quit: Leaving.]
Encrypt has joined #ipfs
ashark_ has joined #ipfs
disgusting_wall has joined #ipfs
ashark_ has quit [Ping timeout: 244 seconds]
rgrinberg has quit [Ping timeout: 276 seconds]
ygrek has quit [Ping timeout: 250 seconds]
Encrypt has quit [Quit: Quitte]
Encrypt has joined #ipfs
chriscool1 has quit [*.net *.split]
bitspill has quit [*.net *.split]
M-cyan has quit [*.net *.split]
M-apolo11 has quit [*.net *.split]
M-matthew has quit [*.net *.split]
M-frabrunelle has quit [*.net *.split]
[ol] has quit [*.net *.split]
M-pieohpah1 has quit [*.net *.split]
M-cocci1 has quit [*.net *.split]
Moses has quit [*.net *.split]
seagreen has quit [*.net *.split]
cketti has quit [*.net *.split]
M-4267 has quit [*.net *.split]
nekomune has quit [*.net *.split]
M-35261 has quit [*.net *.split]
analphab1t has quit [*.net *.split]
thelinuxkid has quit [*.net *.split]
rgrinberg has joined #ipfs
M-player33 has quit [Ping timeout: 276 seconds]
M-Val has quit [Ping timeout: 276 seconds]
M-jabl has quit [Ping timeout: 276 seconds]
M-player33 has joined #ipfs
M-Val has joined #ipfs
M-jabl has joined #ipfs
M-rongladney has quit [Ping timeout: 260 seconds]
M-WolfNightly1 has quit [Ping timeout: 260 seconds]
M-7416 has quit [Ping timeout: 260 seconds]
M-rongladney has joined #ipfs
M-7416 has joined #ipfs
fil_bluepill has quit [Ping timeout: 260 seconds]
M-trashrabbit has quit [Ping timeout: 260 seconds]
M-edrex has quit [Ping timeout: 260 seconds]
M-s6 has quit [Ping timeout: 260 seconds]
M-HirmeS has quit [Ping timeout: 260 seconds]
M-1 has quit [Ping timeout: 276 seconds]
M-37141 has quit [Ping timeout: 276 seconds]
M-ptman1 has quit [Ping timeout: 276 seconds]
M-erikj2 has quit [Ping timeout: 276 seconds]
M-Sonata has quit [Ping timeout: 260 seconds]
M-Peer2Peer1 has quit [Ping timeout: 260 seconds]
M-Samim1 has quit [Ping timeout: 276 seconds]
<ipfsbot>
[go-ipfs] Kubuxu force-pushed feature/HiddenFilesTests from 01a2237 to 2793ae4: https://git.io/vro9s
<ipfsbot>
go-ipfs/feature/HiddenFilesTests 2793ae4 Jakub Sztandera: Add test for directly adding hidden file...
M-WolfNightly has joined #ipfs
rgrinberg has quit [Read error: Connection reset by peer]
M-1 has joined #ipfs
M-3714 has joined #ipfs
M-ptman has joined #ipfs
M-erikj1 has joined #ipfs
M-s6 has joined #ipfs
M-HirmeS has joined #ipfs
M-Samim has joined #ipfs
M-Peer2Peer has joined #ipfs
M-trashrabbit has joined #ipfs
M-edrex has joined #ipfs
jokoon9000 has quit [Quit: Leaving]
<ipfsbot>
[go-ipfs] Kubuxu force-pushed feature/HiddenFilesTests from 2793ae4 to 0aa6f98: https://git.io/vro9s
<ipfsbot>
go-ipfs/feature/HiddenFilesTests 0aa6f98 Jakub Sztandera: Add test for directly adding hidden file...
<Kubuxu>
Looks like gitcop is always failing for some reason and there is no way to get better explanatioin
rgrinberg has joined #ipfs
rgrinberg has quit [Read error: Connection reset by peer]
kirly has joined #ipfs
pfraze has joined #ipfs
ylp has quit [Quit: Leaving.]
kirly has quit [Quit: Leaving]
Boomerang has quit [Quit: Leaving]
kirly has joined #ipfs
mildred has quit [Quit: Leaving.]
Boomerang has joined #ipfs
ygrek has joined #ipfs
ashark_ has joined #ipfs
ashark_ has quit [Ping timeout: 258 seconds]
pfista has joined #ipfs
pfraze has quit [Remote host closed the connection]
ygrek has quit [Ping timeout: 250 seconds]
pfraze has joined #ipfs
M-fil has joined #ipfs
cketti has joined #ipfs
M-4267 has joined #ipfs
nekomune has joined #ipfs
M-35261 has joined #ipfs
thelinuxkid has joined #ipfs
analphab1t has joined #ipfs
M-fil has quit [Changing host]
M-fil has joined #ipfs
rgrinberg has joined #ipfs
infinity0_ has joined #ipfs
infinity0_ has quit [Changing host]
infinity0_ has joined #ipfs
infinity0 has quit [Ping timeout: 260 seconds]
rgrinberg has quit [Read error: Connection reset by peer]
M-Sonata2 has joined #ipfs
bitspill has joined #ipfs
M-cyan has joined #ipfs
chriscool1 has joined #ipfs
M-frabrunelle has joined #ipfs
M-matthew has joined #ipfs
M-apolo11 has joined #ipfs
[ol] has joined #ipfs
M-pieohpah1 has joined #ipfs
M-cocci1 has joined #ipfs
Moses has joined #ipfs
seagreen has joined #ipfs
M-Sonata2 has quit [Changing host]
M-Sonata2 has joined #ipfs
infinity0_ has quit [Remote host closed the connection]
rgrinberg has joined #ipfs
infinity0 has joined #ipfs
revolve has joined #ipfs
Boomerang has quit [Quit: Leaving]
M-Sonata2 has quit [*.net *.split]
chriscool1 has quit [*.net *.split]
bitspill has quit [*.net *.split]
M-cyan has quit [*.net *.split]
M-frabrunelle has quit [*.net *.split]
M-apolo11 has quit [*.net *.split]
M-matthew has quit [*.net *.split]
[ol] has quit [*.net *.split]
M-pieohpah1 has quit [*.net *.split]
M-cocci1 has quit [*.net *.split]
Moses has quit [*.net *.split]
seagreen has quit [*.net *.split]
infinity0 has quit [Remote host closed the connection]
infinity0 has joined #ipfs
M-Sonata2 has joined #ipfs
bitspill has joined #ipfs
chriscool1 has joined #ipfs
M-cyan has joined #ipfs
M-apolo11 has joined #ipfs
[ol] has joined #ipfs
M-matthew has joined #ipfs
M-frabrunelle has joined #ipfs
M-cocci1 has joined #ipfs
M-pieohpah1 has joined #ipfs
Moses has joined #ipfs
seagreen has joined #ipfs
rgrinberg has quit [Ping timeout: 252 seconds]
rgrinberg has joined #ipfs
<M-jon>
Hey, so I'm trying to reconcile two related but seemingly competing desires for my personal site. On one hand, I would love for my blog to be served through IPFS, in case my server ever goes down and someone else cares about the content. On the other hand, I really like the social features provided by indie web tech like webmentions, which... as far as I know, IPFS can only serve static content.
<M-jon>
Is anyone else trying to work both of these into their site, and if so, have any tips? I'll probably have to live with comments being served from my own server at least, I suppose.
lispmeister has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<noffle>
M-jon: you can serve static JS that brings in dynamic content over xhr/websockets/webrtc/etc (e.g. embed disqus comments, talk to webrtc peers, etc)
<voxelot>
Then we can assume that path is empty. Or is there a cleaner way to check for an empty dir?
fuchs1 has joined #ipfs
<ipfsbot>
[js-ipfs] diasdavid created greenkeeper-joi-8.1.1 (+1 new commit): https://git.io/vrKgv
<ipfsbot>
js-ipfs/greenkeeper-joi-8.1.1 1d6222c greenkeeperio-bot: chore(package): update joi to version 8.1.1...
anshukla has joined #ipfs
<vijayee_>
so wait....top level directories are no longer returned....so if you add a static site you would have to reference the index.html directly by hash if it was added through js-ipfs?
<vijayee_>
or has that changed go-ipfs as well?
<mmuller>
noffle: hmm, that's interesting. I'm able to resolve /ipns/QmRfvckFHNSTHFrVwRCd8svQ6mRm7dFXLYBwbUJVQQXHbY on another machine, and able to resolve the object that it references from the gateway, but it doesn't look like I can resolve the name from the gateway.
<vijayee_>
confuzzlation
<voxelot>
vijayee_: the root level directory where index.html is still inferred from
<voxelot>
The path so it is returned
Encrypt has quit [Quit: Quitte]
<voxelot>
We just need a sentinel value for empty dirs like goipfs has. Might need to go in the importer
<dignifiedquire>
or anyone who used dns text record and ipns
<dignifiedquire>
and can explain it to me in detail
<vijayee_>
okay I got it thanks voxelot </ignorance>
tlevine has quit [Quit: No Ping reply in 180 seconds.]
<Kubuxu>
mmuller: you did `ipfs name publish $HASH`? You can try repeating it.
<noffle>
voxelot: do you have strong feelings about using { path, content } rather than { path, stream } for unixfs-engine?
tlevine has joined #ipfs
<voxelot>
noffle: nope, we could change the exporter to match the add cli with {path: content}
<noffle>
voxelot: great! what places does that change need to happen? totally local to unixfs-engine, or do other modules dep on that format?
<Kubuxu>
dignifiedquire: I can if you want.
mildred has quit [Ping timeout: 260 seconds]
<dignifiedquire>
Kubuxu: cool, so what exactly happens/do I need to do when: "I have a domain (dignifiedquire.com) and a static site added to ipfs at (Qm..AAA) "
<Kubuxu>
You create TXT record with value: `dnslink=/ipfs/Qm..AAA` and it is it.
<alu>
whose from WA ?
<mmuller>
Kubuxu: I did, though some time ago. Is IPNS still somewhat unstable?
<dignifiedquire>
and what exactly is a dns txt record?
<alu>
whyrusleeping: what happened to http://lucidscape.com/ they are from WA but have been quiet for almost 2 years now
<dignifiedquire>
and how exactly would I put ipns into play here
<voxelot>
so there object.stream would need to be object.content
<Kubuxu>
mmuller: ipns is a bit unstable and nobody is fixing it as soon we will be working on replacing it with something better, it is sort of bit PoC.
<Kubuxu>
dignifiedquire: if you want we can talk over Hangout, it will be faster to explain that way.
<Kubuxu>
TXT record is one type of DNS records. Most popular type is A which is just a IPv4 address.
<Kubuxu>
TXT is arbitrary text.
* dignifiedquire
things are getting clearer in my head
<dignifiedquire>
so it's effectively the same as when I use dns to point to my ip, just that it can point to anything in this case?
<mmuller>
Kubuxu: ok, thanks. I didn't realize something new was coming.
<Kubuxu>
It is called IPRS (Record System) but IPNS should be working, I use it from time to time
<Kubuxu>
Make sure you run 0.4.2 version on both nodes, just in case
<noffle>
voxelot: awesome
<mmuller>
Yeah, I just upgraded both of mine. And I'
<mmuller>
m not having a problem with them, just the gateway.
<dignifiedquire>
but if I try to resolve dignifiedquire.com, and the resolves into /ipfs/Qm...AAA my browser is not yet able to resolve it correct? so if I want to use it in the browser I would have to prefix it with the gateway url?
<dignifiedquire>
and if I use ipns I would instead of Qm..AAA use the hash of the public key that I used to publish the ipns record?
mildred has joined #ipfs
<dignifiedquire>
but where do names then come from, in the help text of "ipfs name" it says I can do "ipfs name resolve ipfs.io" does that just do a lookup using dns?
fuznuts has joined #ipfs
<dignifiedquire>
also, very strange thing
<Kubuxu>
Yup, ipfs name resolve $domain does DNS lookup looking for dnslink records (under $domain and "_dnslink.$domain") and uses one of those records.
achin is now known as agriph
<lgierth>
dignifiedquire: the easiest deployment option is a CNAME dig.com => gateway.ipfs.io, and a TXT _dnslink.dig.com => dnslink=/ipfs/Qmfoobar
<dignifiedquire>
Kubuxu: thanks :)
<dignifiedquire>
strange thing was resolved by me turning on my daemon :D
<lgierth>
the _dnslink. exists purely to make the CNAME possible
<lgierth>
(can't have CNAME *and* other records for the same name)
<Kubuxu>
dignifiedquire: :P
<dignifiedquire>
lgierth: interesting
<dignifiedquire>
thanks :)
agriph is now known as agrlf
<Kubuxu>
!pin QmX6DhWrpBB5NtadXmPSXYNdVvuLfJXoFNMvUMoVvP5UJa go-context - go-ipfs dep
<pinbot>
now pinning /ipfs/QmX6DhWrpBB5NtadXmPSXYNdVvuLfJXoFNMvUMoVvP5UJa
<lgierth>
oh and do you have access to metrics.ipfs.team?
<Kubuxu>
no I do not
<lgierth>
kk, let me know your fc00::/8 addr
anshukla has joined #ipfs
<Kubuxu>
fcf1:3795:9bdf:79fb:824c:ea55:cf37:d955
<ipfsbot>
go-ipfs/feature/Godeps-to-gx-2 501f7e3 Jakub Sztandera: Move go-context to gx...
<ipfsbot>
[go-ipfs] Kubuxu pushed 1 new commit to feature/Godeps-to-gx-2: https://git.io/vrKKx
<Kubuxu>
Also gitcop always fails.
<Kubuxu>
Does someone know something about that?
<lgierth>
chriscool
<lgierth>
had some contact with the person running gitcop
anshukla has quit [Ping timeout: 260 seconds]
m3s has quit [Read error: Connection reset by peer]
s_kunk has joined #ipfs
s_kunk has quit [Changing host]
s_kunk has joined #ipfs
<lgierth>
grml python and virtualenv setup taking ages
<lgierth>
just so i can run the old ansible scripts that i haven't ported over to provsn yet
zorglub27 has quit [Ping timeout: 250 seconds]
pfista has quit [Ping timeout: 250 seconds]
<lgierth>
Kubuxu: try metrics.ipfs.team
<lgierth>
and metrics.ipfs.team/prometheus for the prometheus console
<lgierth>
hehe now i shut myself out
bertschneider has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<daviddias>
> <voxelot> daviddias: yeah we need a check for, if the path provided to the cli or any sub-directory in glob appears with no other path just like it?
<daviddias>
you mean for the empty dirs add?
<daviddias>
you can check if a dir has more things on it
<daviddias>
if it has, add those
<daviddias>
if not, add the empty dir
m3s has joined #ipfs
anshukla has joined #ipfs
anshukla has quit [Ping timeout: 272 seconds]
<noffle>
daviddias: did we agree on s/files/mfs across js-land?
<noffle>
I remember there being an issue on this
<lgierth>
we agreed to discuss it this sprint
<lgierth>
that's all i know
* lgierth
agrees the "files" name is confusing
<noffle>
lgierth: we did? is there a record somewhere? must have missed that
<noffle>
oh, agreed to discuss
<noffle>
not agreed to the change :)
<lgierth>
yeah :)
<noffle>
lgierth: not that 'mfs' is any less opaque to parse
<lgierth>
at least it opens up its own separate domain
<daviddias>
noffle: till we have that 'approved'
<daviddias>
let's stick with files the way it is in js-ipfs-api
<lgierth>
"files" just adds more to the already existing confusion as to what the "filesystem" in ipfs means
<ansuz>
whatever you do, don't call it 'kik'
<lgierth>
:)
<noffle>
daviddias: alas though, interface-ipfs-core uses 'files' in the "new" way :)
<daviddias>
and just make an alias of ipfs.{cat, get, add} to ipfs.files.{cat, get, add}
<daviddias>
the commands of files have different names from the ones we 'know' as mfs
<noffle>
js-ipfs-api already has 'files' taken, so it conflicts until we resolve it
<daviddias>
so, fortunately to us, there is no name conflicts
<noffle>
oh I see
<daviddias>
noffle, check again, there is in fact, no direct name conflict
<noffle>
just monkey patch the namespace
<noffle>
yeah, that works for now
<noffle>
but it makes some of the existing code not work, since you have lines like ipfs.files = require('blah')
<noffle>
which replace the whole thing
<noffle>
so those'll need to be changed
<daviddias>
yeah, tweak here and there
herzmeister has quit [Ping timeout: 260 seconds]
<noffle>
treacherous waters
freemor has left #ipfs ["was eaten by a Grue"]
<ansuz>
just when you thought it was safe to back in the api
reit has quit [Ping timeout: 250 seconds]
<noffle>
ansuz: #ipfs-one-liners :P
herzmeister has joined #ipfs
<ansuz>
noffle: there's nobody there
ashark has quit [Ping timeout: 276 seconds]
<noffle>
forgot hashtags and channels are indistinguishable
<voxelot>
noffle: i have core alias on js-ipfs in our joint PR so that interface core can call just ipfs.add
anshukla has quit [Remote host closed the connection]
<noffle>
dignifiedquire: can I tell aegir to run just a single test?
<noffle>
alternatively: can I tell mocha to give me failure output as it happens rather than it holding onto it until all tests finish? otherwise I need to wait for later failing/hanging tests to timeout just to see earlier error messages
<voxelot>
noffle: I use describe/it.only as much as o can with out excluding needed start up tests depending on what I'm testing
<voxelot>
But better ways to localize tests for quicker debugging is always a plus
<noffle>
voxelot: how do you get around aegir wanting to run everything in test/ ?
<voxelot>
noffle: pretty much, need to take the test file that you are creating called files.js then js-ipfs-cat should fit in, needs some more cr https://github.com/ipfs/js-ipfs-api/pull/281