<alterego>
Anyone know why I get: "TypeError: superCtor.prototype is not an object or null" when I use js-ipfs-api in my app?
shizy has quit [Ping timeout: 258 seconds]
<alterego>
nvm, fixed.
galois_dmz has quit [Ping timeout: 240 seconds]
galois_dmz has joined #ipfs
espadrine has quit [Ping timeout: 260 seconds]
<kumavis[m]1>
daviddias: Kubuxu can you merge the js-multicodec PR
<kumavis[m]1>
pls gooby
webdev007 has joined #ipfs
infinity0 has quit [Ping timeout: 258 seconds]
infinity0 has joined #ipfs
ianopolous_ has quit [Read error: Connection reset by peer]
ianopolous_ has joined #ipfs
kvda has joined #ipfs
Kane` has joined #ipfs
ivo_ has quit [Ping timeout: 245 seconds]
robattila256 has joined #ipfs
leeola has joined #ipfs
rendar has quit [Quit: std::lower_bound + std::less_equal *works* with a vector without duplicates!]
ivo_ has joined #ipfs
bastianilso_____ has quit [Quit: bastianilso_____]
herzmeister has quit [Quit: Leaving]
ianopolous_ has quit [Read error: Connection reset by peer]
herzmeister has joined #ipfs
<substack>
is there any tool to approximate how much data the other peers on a swarm have?
john1 has joined #ipfs
gavinmcdermott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gavinmcdermott has joined #ipfs
Sophrosyne_ has joined #ipfs
Sophrosyne has quit [Remote host closed the connection]
infinity0 has quit [Remote host closed the connection]
dh128 has joined #ipfs
dh128 has left #ipfs ["Leaving"]
chovy has quit [Ping timeout: 264 seconds]
ecloud_wfh has quit [Ping timeout: 258 seconds]
cubemonkey has quit [Remote host closed the connection]
ecloud has joined #ipfs
gavinmcdermott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chovy has joined #ipfs
chovy has joined #ipfs
chovy has quit [Changing host]
pfrazee has joined #ipfs
robogoat has quit [Ping timeout: 245 seconds]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
tilgovi has quit [Ping timeout: 240 seconds]
ianopolous_ has joined #ipfs
cemerick has joined #ipfs
john2 has joined #ipfs
john1 has quit [Ping timeout: 260 seconds]
interfect has joined #ipfs
john3 has joined #ipfs
john2 has quit [Ping timeout: 260 seconds]
mguentner has quit [Quit: WeeChat 1.6]
mguentner has joined #ipfs
tilgovi has joined #ipfs
<jbenet>
substack: not yet, we could probably expose this through a voluntary api, but the real solution for large archives is github.com/ipfs/ipfs-cluster
john3 has quit [Ping timeout: 260 seconds]
tilgovi has quit [Ping timeout: 240 seconds]
interfect[m] has joined #ipfs
<interfect[m]>
Is there any way to cancel an ipfs-js download?
seafood has quit [Quit: seafood]
webdev007 has quit [Quit: Leaving]
mguentner2 has joined #ipfs
mguentner has quit [Ping timeout: 240 seconds]
warner has quit [Quit: ERC (IRC client for Emacs 25.1.1)]
Kane` has quit [Ping timeout: 250 seconds]
Kane` has joined #ipfs
nala[m] has joined #ipfs
robogoat has joined #ipfs
flyingzumwalt_ has quit [Quit: Connection closed for inactivity]
leeola has quit [Quit: Connection closed for inactivity]
gavinmcdermott has joined #ipfs
gavinmcdermott has quit [Client Quit]
chris613 has quit [Quit: Leaving.]
Kingsquee has joined #ipfs
<daviddias>
interfect[m]: you mean, like a ipfs.files.cat?
<interfect[m]>
@daviddias maybe through the stream interface
pfrazee has quit [Remote host closed the connection]
pfrazee has joined #ipfs
seafood has joined #ipfs
pfrazee has quit [Ping timeout: 252 seconds]
lkcl has joined #ipfs
muvlon has quit [Ping timeout: 258 seconds]
muvlon has joined #ipfs
gully-foyle has quit [Ping timeout: 258 seconds]
wkennington has joined #ipfs
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gully-foyle has joined #ipfs
cemerick has quit [Ping timeout: 264 seconds]
fabrice_ has joined #ipfs
ppham has joined #ipfs
muvlon has quit [Ping timeout: 245 seconds]
Guest103886[m] has joined #ipfs
ppham has quit [Remote host closed the connection]
ppham has joined #ipfs
muvlon has joined #ipfs
ppham has quit [Ping timeout: 256 seconds]
f[x] has quit [Ping timeout: 260 seconds]
s_kunk has quit [Ping timeout: 245 seconds]
interfect has quit [Quit: Leaving]
ylp has joined #ipfs
Kane` has quit [Ping timeout: 245 seconds]
emschwartz has quit [Remote host closed the connection]
emschwartz has joined #ipfs
ppham has joined #ipfs
ecloud has quit [Ping timeout: 248 seconds]
gully-foyle has quit [Ping timeout: 250 seconds]
pcre has joined #ipfs
ecloud has joined #ipfs
ulrichard has joined #ipfs
gully-foyle has joined #ipfs
ppham_ has joined #ipfs
ppham has quit [Ping timeout: 260 seconds]
konubinix has quit [Ping timeout: 252 seconds]
wkennington has quit [Quit: Leaving]
ppham_ has quit [Ping timeout: 252 seconds]
ppham has joined #ipfs
seafood has quit [Quit: seafood]
seafood has joined #ipfs
s_kunk has joined #ipfs
<alterego>
Okay, this is infuriating, I'm getting "TypeError: superCtor.prototype is not an object or null" anyone know what I'm doing wrong with js-ipfs?
ppham has quit [Ping timeout: 260 seconds]
ppham has joined #ipfs
ppham_ has joined #ipfs
ppham has quit [Ping timeout: 264 seconds]
pfrazee has joined #ipfs
espadrine has joined #ipfs
pfrazee has quit [Ping timeout: 246 seconds]
Oatmeal has joined #ipfs
john3 has joined #ipfs
ppham_ has quit [Ping timeout: 250 seconds]
konubinix has joined #ipfs
wking has quit [Ping timeout: 265 seconds]
iron_houzi has left #ipfs ["WeeChat 1.6"]
rendar has joined #ipfs
wking has joined #ipfs
PseudoNoob has joined #ipfs
espadrine has quit [Ping timeout: 260 seconds]
<alterego>
Does anyone have a working js-ipfs-api codebase with npm & react?
<dignifiedquire>
daviddias: I didn't drop anything as far as I know, I just squashed everything into a single commit to make rebase less complicated
<dignifiedquire>
daviddias: I'm afraid I still don't fully understand
changgong[m] has left #ipfs ["User left"]
<daviddias>
dignifiedquire: re: bitswap 👌🏾
<daviddias>
dignifiedquire: re: interop tests - What I want in terms of interop tests in the js-ipfs repo, is to do npm run test:interop after changing a bunch of stuff and in the end saying " Goooooood" :D
<daviddias>
as in, we need the bare minimum interop tests, to make sure that a) things in the repo didn't change b) that all the multistream, secio, libp2p handshaking still works perfectly, c) that bitswap exchanges blocks with go-ipfs and files can be transmited
pcre has quit [Quit: No Ping reply in 180 seconds.]
<daviddias>
These can be done by connecting one go-ipfs node to a js-ipfs node and will prune out errors like the ones we caught in the past: that websockets transport was converting everything to strings, that multistream had changed and stopped being blocking, that identify is blocking, etc.
<daviddias>
dignifiedquire: makes sense?
pcre has joined #ipfs
<dignifiedquire>
yes
<dignifiedquire>
sounds good
<dignifiedquire>
so just something simple which used ipfs-daemon to spawns a go and a js node, connects them, and transfers a file from one to the other?
john4 has joined #ipfs
<haad>
dignifiedquire daviddias: quickly on ipfs-daemon since you mentioned it and there's been confusion to its purpose: I never meant it to become a thing but considered it alaways a prototype for what we discussed we want to do with the new interface to spawn ipfs. having done that prototype, I think there's a clear way to put all that code back to js-ipfs and ipfsd-ctl. so don't rely on ipfs-daemon too much, I think we should kill it and merge it with what we have.
<haad>
sounds good?
<daviddias>
haad: sounds good :)
<dignifiedquire>
sounds good, but as of today it's just soo much easier than using js-ipfs and ipfsd-ctl, that every time I need to do sth quickly I use it
ppham has quit [Ping timeout: 268 seconds]
<dignifiedquire>
especially if I want to interchange go and js
<jchevalay>
my code stop and run ipfs daemon but i can't see my console.log('success')
<haad>
jchevalay: I can help you with that in a second. can you amend the issue and add the full code so I could see which files you require? akso, are you starting this in the main process of electron or in the renderer process (html)?
<jchevalay>
that code in main process
<haad>
jchevalay: and you don't see an error message either?
<jchevalay>
nope
<haad>
hmm
<haad>
will look into it
anewuser has joined #ipfs
<jchevalay>
but when run my electron app ipfs daemon is started and when stop electron daemon is stopped
<haad>
interesting
<jchevalay>
i requre require('ipfs-daemon')
<haad>
yeah, that should be correct
Encrypt has quit [Quit: Quit]
<jchevalay>
when run yor native exmple on my desk it's works fine
Winter_Fox has quit [Ping timeout: 258 seconds]
<haad>
jchevalay: can you add the full source to the issue? that would help to see if there's anything else that might mess it up.
<jchevalay>
i'm sorry i can push my code later
<haad>
jchevalay: can you try one quick thing, try running your electron app with: IPFS_PATH=/tmp/somethingelse electron .
PseudoNoob has quit [Remote host closed the connection]
<haad>
jchevalay: another thing you could try is to call the IPFS constructotr without the config: const ipfs = new IPFS(). let me know if either one makes it work for you.
<dignifiedquire>
haad: one small comment
<jchevalay>
i test this without config i have the same behavior but ipfs-daemon create in my current directory an ipfs config files etc
<haad>
dignifiedquire: fixed
<dignifiedquire>
thank you, will merge as soon as ci is happy
<haad>
jchevalay: ok. thank you for trying these. one more: run the electron app with LOG=debug electron .
<haad>
jchevalay: that will output the log and it'd be hugely helpfull to get that in the issue
<jchevalay>
ok i will try that and push that information in issue =)
<haad>
jchevalay: thank you
<jchevalay>
thank you too =)
ppham has quit [Ping timeout: 246 seconds]
ppham has joined #ipfs
<dignifiedquire>
haad: is there an issue on go-ipfs about it returning all peers, instead of filtered for pubsub?
<haad>
I think whyrusleeping fixed that already. let me check
<haad>
dignifiedquire: the CI error on the other pr in js-ipfsd-ctl: Travis says "Uncaught Error: Not a valid hash". no idea why, will need to investigate.
<haad>
dignifiedquire: we don't have a new binary release where that fix is included
<dignifiedquire>
I see
<haad>
on that note dignifiedquire daviddias any thoughts if we'd release go-ipfs-dep@0.4.5-pre1? (or perhaps 0.4.5-beta.1?)
<dignifiedquire>
what do you mean with release?
<dignifiedquire>
isn't there already -pre.1?
<haad>
0.4.4-1 is the latest
<haad>
the risk here is that because of semver, it might break things for a lot of people, so I'm hesitent to do that until we have official 0.4.5.
ppham has quit [Ping timeout: 258 seconds]
appa has joined #ipfs
<haad>
dignifiedquire: the other PR in ipfsd-ctl is prolly failing on Travis because of old deps. rebased the PR and now waiting for Travis...
intern has quit [Ping timeout: 265 seconds]
<cblgh>
hey, anyone know of ipfs interested people around southern sweden & copenhagen?
<cblgh>
saw there was a copenhagen meetup 3rd of dec, and had been a few others
<cblgh>
so wondering if there's people closer to me like malmö, lund etc
anewuser has quit [Quit: anewuser]
jacobus has joined #ipfs
<dignifiedquire>
haad: cool thanks
<dignifiedquire>
mafintosh: hey any chance you could take a look at this? https://github.com/mafintosh/pump/pull/13 this is currently blocking us and I would like to not use my fork
<mafintosh>
dignifiedquire: done!
<dignifiedquire>
thank you <3
<haad>
mafintosh: thank you!
HastaJun__ is now known as HastaJun_
<alterego>
victorbjelkholm: it's cool, managed to add my API changes :)
<alterego>
victorbjelkholm: was as easy as I thought, I just needd to make a little tweak.
<dignifiedquire>
fixing some other thing on it right now anyway
<haad>
dignifiedquire: k
<alterego>
haad: It's an experimental API for opening custom application streams to a peer.
konubinix has quit [Ping timeout: 264 seconds]
<haad>
alterego: what's an application stream? :)
<haad>
(what does that mean)
<alterego>
haad: well, ipfs uses a single tcp socket to communicate with peers, there are several multiplexed "protocols" that run along this connection. The corenet api here allows you to create your own streams in that multiplex, and connect them to a service and a client on either end / each peer.
<alterego>
haad: so you could, for example, run a HTTP server on a remote peer, create a corenet listener on that peer, then dial to it from another peer, and open a web browser, pointing it at the dialing peers bound application socket.
<alterego>
haad: you can do this without having to know any peer IPs, you just dial the peer using it's peer id, and the name of the application protocol stream.
<haad>
alterego: so like client-server communication but p2p?
<alterego>
Yes
<haad>
cool
<haad>
very cool
<alterego>
You are basically piggy backing app networking over IPFS p2p connections.
<alterego>
My use case is to have WebRTC running over this.
<haad>
alterego: and you can customize the protocol right? like, app-specific protocol?
<alterego>
So my clients just need an ipfs daemon running locally, and then they can pull my app/s from ipfs, and that app can then connect to other instances across the ipfs p2p network.
<alterego>
haad: yes, it just proxies your traffic.
<haad>
excellent
<haad>
alterego: is that based on the old corenet thing we had (have) or something completely new?
<alterego>
It's based on it, yes.
<alterego>
I've basically rewritten a PR that already existed but got kind of abandoned, which exposes the corenet API through commands.
<haad>
nice. great work alterego! I've been looking forward to someone using (fixing?) that.
<wking>
jbene, victorbjelkholm: I'm putting a seven-day cap on depviz PRs so I can start merging any that haven't been unfavorably reviewed. We can always revert anything you notice and don't like later on ;)
<alterego>
It's not a good solution for a/v streaming using WebRTC, I'm hoping libp2p will come up with a way to make it easy for other apps to do NAT traversal. But my aim was to get WebRTC data connections to at least work, without the need for centralised STUN/TURN service.
<wking>
* jbenet ^^
<haad>
alterego: any use case you had in mind to work on that PR? or just for fun?
<alterego>
haad: my use case is a bunch of distributed collaboration tools.
<alterego>
haad: now I have my own working setup, using my branches of go-ipfs and js-ipfs-api. I'll start prototyping some cool demos.
<haad>
alterego: cool, any specific ones/types? I've created some primitives for (js-)ipfs that could be used for collaboration tools (db log + crdt database basically), like developing a collab text editing would be really easy (which is the only "database type" we don't ahve atm).
<alterego>
haad: hah, interesting, CRDT will be a big part of what I'm doing :)
<haad>
alterego: there's plenty to do in orbit-db and ipfs-log
<alterego>
haad: I was learning go at the time.
pfrazee has joined #ipfs
<alterego>
It has an IPFS backend.
<haad>
alterego: nice!
<alterego>
haad: it encrypts the crdts and allows you to share them with friends.
<jchevalay>
alterego thx
<alterego>
Uses findprovs to identify peers that have copies of the crdt.
<haad>
alterego: would you be interested in porting those to javascript?
<alterego>
haad: that's my goal yes.
<haad>
alterego: what you may also find useful is pubsub that we're just about to release. it's a topic-based, p2p publish/subscribe system which orbit-db uses for propagating "latest head" to the peers who are subscribed to the same topic.
<alterego>
haad: a new version of that implemented in js
<alterego>
I have been following pub/sub for a while yes. That was kinda missing when I wrote that.
<haad>
alterego: awesome! if you do that, I would love to collaborate with you and see if we could combine the work. do you think you have the time to collab or are you in a rush to prototype fast? :)
<alterego>
Always got time, I'll mock some things up first, look at orbit and see where I think we can share.
<alterego>
All my code will be public so :)
<haad>
alterego: cool. keep in the loop and reach out. I think there's good chance here we could merge some of our work.
<haad>
*keep me in the loop
<alterego>
Will do
<haad>
thanks
ppham has joined #ipfs
s_kunk has quit [K-Lined]
ppham_ has joined #ipfs
s_kunk has joined #ipfs
ppham has quit [Ping timeout: 248 seconds]
ppham__ has joined #ipfs
anonymuse has joined #ipfs
ppham_ has quit [Ping timeout: 264 seconds]
maxlath has quit [Ping timeout: 256 seconds]
bielewelt has joined #ipfs
bastianilso_____ has quit [Quit: bastianilso_____]
<seharder>
daviddias: Good morning David, are you around!
xelra has quit [Remote host closed the connection]
xelra has joined #ipfs
wking has quit [Quit: leaving]
mguentner2 is now known as mguentner
s_kunk has quit [Ping timeout: 250 seconds]
kenshyx has quit [Remote host closed the connection]
palkeo has joined #ipfs
m0ns00n_ has joined #ipfs
<haad>
fixed
utanapishtim has joined #ipfs
ppham has joined #ipfs
f[x] has quit [Ping timeout: 258 seconds]
* utanapishtim
s_kunk has joined #ipfs
* utanapishtim
<whyrusleeping>
good morning
ZaZ has quit [Quit: Leaving]
m0ns00n_ has quit [Quit: quit]
<alterego>
whyrusleeping: Guten morgan
SuperPhly has joined #ipfs
<whyrusleeping>
wie geht's?
<alterego>
Gut danke, und du?
<alterego>
(extend of German reached)
<alterego>
~extent
<whyrusleeping>
sehr gut, danke
<whyrusleeping>
heh
<Kubuxu>
whyrusleeping: I didn't know you knew that much German
<whyrusleeping>
lol
<alterego>
lol
<whyrusleeping>
ich spreche ein wenig deutsch
* ansuz
resets whyrusleeping to factory settings
<whyrusleeping>
I did two months of duolingo before CCC last year
<whyrusleeping>
wanted to not be horribly lost in that foreign german place
wking has joined #ipfs
<ansuz>
before my eurotrip I learned a bunch of french
<ansuz>
then realized I was going to spend most of my time in germany
* ansuz
shrugs
<ansuz>
good thing I had lgierth to save me
<alterego>
I find in Germany people are happy to speak English, in France not so much.
<alterego>
(history) :D
<ansuz>
paris is usually fine (I live there)
<ansuz>
young people in Berlin speak english well, older folks not so much
<alterego>
Maybe central, you go out a bit, and they get quite arsey.
<whyrusleeping>
Yeah, everyone in germany speaks english, and the ones that don't don't speak german...
<ansuz>
my french is improving, so I don't often need english help
<whyrusleeping>
ansuz: when i was in paris, if i defaulted to speaking english, they didnt treat me as well as if i even attempted to speak french
<ansuz>
bah oui
<ansuz>
you have to try
<alterego>
whyrusleeping: that's the crux of it, they really seem to want you to try.
<alterego>
I don't think people understand, that most kids are taught maybe rudimentary french /or/ german (at least in UK schools). But in other countries is basically a necessity to learn English really well. So though I agree we should try to talk native languages when abroad, I do think that practically, it doesn't really work. :)
<alterego>
Most of my work has been with Finland, and I don't know any Finnish, it just sounds really hard to learn to :D
<alterego>
Sometimes I get the impression that not even Fins want to speak it :D
old_kanye has joined #ipfs
<interfect[m]>
eluc: I'm working on a music thing that uses in-browser IPFS
<interfect[m]>
The problem as always is music rights
<alterego>
Just use CC music?
cholcombe has joined #ipfs
<interfect[m]>
Maybe I can stock it. But I want it to take user uploads like Grooveshark did. Since there's no central database I think that's fine.
utanapishtim has left #ipfs [#ipfs]
Guest43765 has quit [Quit: WeeChat 1.5]
<interfect[m]>
It's just users need a way to not share their uploaded music unless they want to
<alterego>
Well, that depends a lot on where people are and what role they're taking.
<alterego>
As far as I know, I'm not a lawyer.
f[x] has joined #ipfs
<interfect[m]>
Maybe per-user keys to encrypt files between your devices
john has joined #ipfs
john is now known as Guest93276
<interfect[m]>
Share your key with only the people you're allowed to upload music to
ppham has quit [Ping timeout: 250 seconds]
Guest93276 is now known as john1
<interfect[m]>
But you can't put the keys in ipfs because someone could see the hashes for the keys on the network...
m0ns00n_ has joined #ipfs
<eluc[m]>
interfect: thanks, I'll look into that. For free music like podcast, sound cloud like promo track, etc... It could be interesting for artists.
<interfect[m]>
It's still super ugly. But you can feed it mp3s and it'll insert them and parse the tags. And then you can search them.
<interfect[m]>
The list items in the search results are clickable, and you can add them to the playlist on the bottom
<interfect[m]>
And then you can play them and it decodes them with aurora
galois_d_ has quit [Remote host closed the connection]
<interfect[m]>
Podcasts might be a bit slow; it's still retrieving the whole file before playing to get the duration or something.
galois_dmz has joined #ipfs
Encrypt has quit [Quit: Quit]
utanapis5tim has joined #ipfs
utanapis5tim has left #ipfs [#ipfs]
lacour has joined #ipfs
<rlyshw>
interfect[m]: mp3 duration is included in the metadata, no?