jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Oatmeal has joined #ipfs
ylp has quit [Ping timeout: 260 seconds]
ylp has joined #ipfs
matoro has quit [Ping timeout: 258 seconds]
matoro has joined #ipfs
Kane` has quit [Remote host closed the connection]
Kane` has joined #ipfs
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
ylp has quit [Ping timeout: 260 seconds]
ylp has joined #ipfs
jedahan has joined #ipfs
<Qwertie>
The new ipfs website looks really nice
PrinceOfPeeves has quit [Quit: Leaving]
mgue has quit [Quit: WeeChat 1.5]
<tmg>
Qwertie: >The networks we're using are so 20th Century.
<tmg>
lol
wallacoloo has joined #ipfs
mgue has joined #ipfs
ShibaInu is now known as Shibe
Kane` has quit [Quit: Leaving]
jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Senji has joined #ipfs
nonaTure has quit [Ping timeout: 260 seconds]
dmr has quit [Ping timeout: 250 seconds]
pfista has quit [Ping timeout: 250 seconds]
pfista has joined #ipfs
stoogenmeyer has quit [Remote host closed the connection]
<Qwertie>
I just installed orbit but I cant work out how to join any channels
matoro has quit [Ping timeout: 240 seconds]
rhalff has joined #ipfs
matoro has joined #ipfs
notarobot has joined #ipfs
rgrinberg has quit [Ping timeout: 244 seconds]
notarobot has quit [Client Quit]
rgrinberg has joined #ipfs
stoogenmeyer has joined #ipfs
stoogenmeyer has quit [Ping timeout: 240 seconds]
pfista has quit [Ping timeout: 246 seconds]
cketti has quit [Quit: Leaving]
rgrinberg has quit [Ping timeout: 264 seconds]
ashark has quit [Ping timeout: 260 seconds]
galex|713 has quit [Remote host closed the connection]
rhalff has quit [Ping timeout: 276 seconds]
jedahan has joined #ipfs
revolve has joined #ipfs
<haad_>
Qwertie: if you run it from master, it's broken atm. try the js-ipfs branch or orbit.libp2p.io
pfista has joined #ipfs
M-Purple has joined #ipfs
rhalff has joined #ipfs
Foxcool has joined #ipfs
jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wallacoloo has quit [Quit: wallacoloo]
ylp has quit [Ping timeout: 260 seconds]
M-Purple has left #ipfs ["User left"]
Jacob[m] has joined #ipfs
ylp has joined #ipfs
pfista has quit [Ping timeout: 246 seconds]
M-Purple has joined #ipfs
pfista has joined #ipfs
M-Purple has left #ipfs ["User left"]
jedahan has joined #ipfs
computerfreak1 has joined #ipfs
pfista has quit [Read error: Connection reset by peer]
computerfreak has quit [Ping timeout: 252 seconds]
taaem has quit [Read error: Connection reset by peer]
taaem has joined #ipfs
jedahan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
meadman has quit [Read error: Connection reset by peer]
meadman has joined #ipfs
<Qwertie>
haad_: Thanks for the info.
<Qwertie>
I tried the link but its stuck on syncing
<haad_>
Qwertie: "syncing..." means it's trying to load older entries from other peers but can't find them, ie. the peers are offline. the orbit demo network is really small atm, so there's not much to load from. (you can check how many peers you have in the "swarm" section in the panel)
<haad_>
bear in mind also that the go-ipfs and js-ipfs networks are separate networks atm. we're working on to making them interop but it'll take some more time.
<Qwertie>
Ah I see. Is orbit.libp2p.io running ipfs on my computer or just a gateway?
mildred has joined #ipfs
<haad_>
Qwertie: it's running on your computer, fully in the browser (you don't need to have go-ipfs daemon running). however, it can talk only to other js-ipfs nodes atm.
<haad_>
it loads the app from the gateway though (orbit.libp2p.io)
<Qwertie>
Thats cool, last I checked that wasnt ready
<haad_>
Orbit itself can run either as a js-ipfs node or go-ipfs node but the go-ipfs version (master) is broken atm. working on to merge everything back together so that we have both of them available (browser and native apps)
<nicolag>
supercool ^^^^
<haad_>
Qwertie: yeah we got js-ipfs ready couple of weeks ago. it's still early but it works :)
<haad_>
ready==working
<haad_>
there's another fun demo of js-ipfs here: https://github.com/haadcode/proto2 which shows how dynamic data flows between peers in js-ipfs and orbit-db
<Qwertie>
So when the go and js networks work together I can run a website on ipfs?
<haad_>
Qwertie: depends on what "running a website" means for you?
<Qwertie>
I wanted to run my own image host and have files served over ipfs but the only way I could get it working for users without go-ipfs is just serving them regularly over http
<Qwertie>
So now I could have it work for everyone and not require all the files come from my server?
<haad_>
Qwertie: got it. yeah, that should be possible to put on js-ipfs.
<haad_>
Qwertie: take a look at https://github.com/ipfs/paperhub, maybe there's some ideas that you can use for building such a image sharing app
kevina has quit [Quit: Leaving]
ecloud has quit [Ping timeout: 240 seconds]
reit has quit [Ping timeout: 250 seconds]
ecloud has joined #ipfs
disgusting_wall has quit [Quit: Connection closed for inactivity]
ylp1 has joined #ipfs
rhalff has quit [Ping timeout: 276 seconds]
elrot has joined #ipfs
stoogenmeyer has joined #ipfs
elrot has quit [Quit: Page closed]
stoogenmeyer has quit [Ping timeout: 276 seconds]
sibi[m] has joined #ipfs
ashark has joined #ipfs
ashark has quit [Ping timeout: 244 seconds]
ylp has quit [Ping timeout: 260 seconds]
ylp has joined #ipfs
draget_ has quit [Quit: quit]
spm_draget has joined #ipfs
zorglub27 has joined #ipfs
<davidar>
haad_: what room should I join on orbit?
rhalff has joined #ipfs
<haad_>
davidar: try #ipfs
<davidar>
haad_: hmm, that's where I am, it seems to be stuck on "Syncing..."
<davidar>
lol
<davidar>
just as I said that, it started working
<haad_>
davidar: see above re. why it says "syncing..."
<victorbjelkholm_>
hashes are different in js-ipfs-api compared to go-ipfs
herzmeister has quit [Quit: Leaving]
<Kubuxu>
Looks like js-ipfs-api uses different order and doesn't output the hash itself
<Kubuxu>
That is quite important.
herzmeister has joined #ipfs
stoogenmeyer has quit [Remote host closed the connection]
ashark has joined #ipfs
stoogenmeyer has joined #ipfs
<victorbjelkholm_>
Kubuxu, not just a different order (not sure if that matters, it certainly should not, no?), but the hashes are different and missing a directory
<Kubuxu>
It matters, it should use same order as go-ipfs
keorn has quit [Ping timeout: 252 seconds]
<Kubuxu>
it isn't so hash is different
ygrek has quit [Ping timeout: 252 seconds]
stoogenmeyer has quit [Ping timeout: 240 seconds]
corvinux has quit [Ping timeout: 258 seconds]
<daviddias>
victorbjelkholm_: are you using IFPS 0.3.11?
zootella has joined #ipfs
M-oddvar has joined #ipfs
zootella has left #ipfs [#ipfs]
herzmeister has quit [Quit: Leaving]
herzmeister has joined #ipfs
kanej has joined #ipfs
em-ly has joined #ipfs
slothbag has quit [Quit: Leaving.]
<victorbjelkholm_>
Kubuxu, I see, that's useful
<victorbjelkholm_>
daviddias, yeah, in both cases, agent version is 0.3.11 and protocol version being 0.1.0
stoogenmeyer has joined #ipfs
<daviddias>
"protocol version" means nothing, really
<daviddias>
check with 0.4.2
<cow_2001>
when do you guys have the sortie?
<cow_2001>
the next*
<daviddias>
I wrote a longer answer on the issue
<victorbjelkholm_>
daviddias, all right, I'll try it out
<daviddias>
cow_2001: the next?
<cow_2001>
daviddias: as in the next sprint
<Kubuxu>
cow_2001: ?
<Kubuxu>
Today at 18GMT IIRC
<cow_2001>
ooh, okay
<Kubuxu>
no 16GM
<cow_2001>
16 is in one hour! D:<
cemerick has quit [Ping timeout: 260 seconds]
<Kubuxu>
Hmm, interesting, looks like our time tables are screwed up agin.
<cow_2001>
i've tried reading the source code but it was overwhelming
<Kubuxu>
again
<Kubuxu>
cow_2001: do you have questions?
<cow_2001>
how do i get into ipfs deving?
<Kubuxu>
Which language you prefer, Go or js?
<cow_2001>
go
<victorbjelkholm_>
daviddias, Kubuxu updating to go-ipfs 0.4.2 solved the issue
<cow_2001>
what are some of the tools used in writing tests?
stoogenmeyer has quit [Ping timeout: 252 seconds]
<Kubuxu>
easiest way would be to look through issues for label "difficulty: X"
<cow_2001>
i figure writing tests would be a good way
<Kubuxu>
there are three, easy, medium and hard, just find something and try solve it
<cow_2001>
and ask here for help?
<Kubuxu>
I could help a little bit.
<cow_2001>
cool
<cow_2001>
the top of the difficulty: easy is an issue of yours :D
rardiol has quit [Ping timeout: 244 seconds]
<cow_2001>
#2878
splintax has joined #ipfs
<Kubuxu>
there is command `ipfs swarm filter add`
<Kubuxu>
it might be not saving filters to config
<cow_2001>
hmmmm
<Kubuxu>
so after restart they go away
<Kubuxu>
try checking that and adding it to config and saving
<Kubuxu>
it is on coro/command/swarm or somewhere there
<Kubuxu>
core/command/swarm.go
<Kubuxu>
and to compare with command that saves to config: core/command/bootstrap.go
stoogenmeyer has joined #ipfs
museless has quit [Ping timeout: 250 seconds]
neurrowcat is now known as neurrowcat_afk
stoogenmeyer has quit [Ping timeout: 260 seconds]
stoogenmeyer has joined #ipfs
<cow_2001>
i have both displayed in a split vim
<cow_2001>
oh, it's filters, not filter
<cow_2001>
ipfs swarm filters add / rm
<cow_2001>
this is neat
ygrek has joined #ipfs
PrinceOPeeves has joined #ipfs
<cow_2001>
so a cmds.Request would have all the options and arguments a command ran with and cmds.Response's methods would be called to handle output
PrinceOfPeeves has quit [Ping timeout: 276 seconds]
<victorbjelkholm_>
daviddias, regarding your comment to add test about the directory thingy. This is a problem of users using the wrong version of go-ipfs with js-ipfs-api. Probably we should print a warning or something like that, if the user uses a incompatible version of go-ipfs. What you think?
ajp__ has quit [Remote host closed the connection]
ajp has joined #ipfs
matoro has quit [Ping timeout: 264 seconds]
<daviddias>
victorbjelkholm_: it would be awesome if the set of tests would run against all go-ipfs versions
<daviddias>
and output a json file with the supported versions
<daviddias>
so that then when a user requires a module and queries a non supported version
<daviddias>
they get a good error message
<victorbjelkholm_>
daviddias, that sounds like a big undertaking but like a feature that would be very good for the user
<daviddias>
victorbjelkholm_: yet, your PR adds one thing which is the 'outside' folder of an add, right?
<daviddias>
that is something that was indeed broken
<daviddias>
that is the test I was looking for
<victorbjelkholm_>
daviddias, yeah, but only if your version was below 0.4
<victorbjelkholm_>
with the right version, I get the right results
<daviddias>
without your PR?
<victorbjelkholm_>
yup
<victorbjelkholm_>
seems to work as expected
<daviddias>
sweet, so no need for that PR then?
<victorbjelkholm_>
exactly! I closed it :)
pfraze_ is now known as pfraze
kevina has joined #ipfs
<daviddias>
got it :)
neurosis12 has joined #ipfs
<Kubuxu>
daviddias: I created issues about integration tests.
<Kubuxu>
nightly integration tests
<daviddias>
Kubuxu: where?
<Kubuxu>
so you would have matrix of variables for tests
<cow_2001>
i'm currently just copying the things in bootstrap.go into swarm.go cluelessly
<cow_2001>
`r, err := fsrepo.Open(req.InvocContext().ConfigRoot)` opens the config root. what does `r.Config()` do?
<cow_2001>
r will be some kind of a file system representation? r.Config() will maybe load the config files?
rardiol has quit [Ping timeout: 260 seconds]
<richardlitt>
Thanks all!
<lgierth>
cow_2001: ConfigRoot likely is the path to the fs-repo (i.e. ~/.ipfs)
<cow_2001>
ah!
stoogenmeyer has quit [Remote host closed the connection]
matoro has joined #ipfs
<ipfsbot>
[go-ipfs] lgierth created coreapi-writable-gateway (+1 new commit): https://git.io/vowA1
<ipfsbot>
go-ipfs/coreapi-writable-gateway 4429222 Lars Gierth: WIP...
keorn has quit [Ping timeout: 260 seconds]
espadrine has quit [Ping timeout: 258 seconds]
stoogenmeyer has joined #ipfs
arpu has quit [Ping timeout: 244 seconds]
matoro has quit [Ping timeout: 260 seconds]
matoro has joined #ipfs
zorglub27 has joined #ipfs
selfishness has joined #ipfs
<Kubuxu>
Woha, 214 peers
ianopolous has quit [Read error: Connection reset by peer]
ianopolous has joined #ipfs
arpu has joined #ipfs
splintax has quit [Ping timeout: 260 seconds]
splintax has joined #ipfs
ola has quit [Read error: Connection reset by peer]
jo_mo has joined #ipfs
zorglub27 has quit [Ping timeout: 260 seconds]
ruby32 has joined #ipfs
gmcquillan has quit [Quit: gmcquillan]
<ruby32>
hi, any projects current in development on IPFS that can be described as privacy-minded social networks?
<ruby32>
trying to keep up on the pulse of decentralization :)
neurosis12 has quit [Ping timeout: 260 seconds]
<cow_2001>
what's the type of map[string]struct{}{}? how do i read it? is it a map from string to an empty struct?
<Kubuxu>
cow_2001: it is how one create Set's in go
erde74 has joined #ipfs
Encrypt has quit [Quit: Dinner time!]
<cow_2001>
woah!
neurosis12 has joined #ipfs
MahaDev has quit [Read error: Connection reset by peer]
<lgierth>
Kubuxu: so, about the low-level api you're proposing -- it makes sense it all, but it's a bit vague regarding which particular parts are lacking from the existing api/coreapi for FUSE
<lgierth>
the gateway for example is totally fine using the existing api
<Kubuxu>
You mean your PR?
<lgierth>
i mean the thread in notes you opened a while ago
<lgierth>
i assume that's what you meant
<Kubuxu>
Yeah, something like you have there would work.
rhalff has quit [Remote host closed the connection]
<Kubuxu>
I just need it designed as simple as possible so transporting between processes is as cheap and as simple as possible.
<Kubuxu>
I don't want second CLI HTTP api.
<lgierth>
we're paying a high price by introducing another api, so it better be justified, all i'm saying :)
ola has joined #ipfs
<Kubuxu>
We have just one API right now.
<Kubuxu>
Which is extremely complex.
<lgierth>
let me read that notes issue again, earlier i just skimmed over it looking for concrete functions that are lacking
<Kubuxu>
I am not lacking features really.
<Kubuxu>
In this case too much is worth than too little.
<lgierth>
the thing i'm afraid of is that usually when one starts another supposedly much simpler rewrite of an api, before you notice it you've got a similar level of complexity
<Kubuxu>
What I am missing from features you made with `Cat` and I will need also something like that for writing.
G-Ray has joined #ipfs
<Kubuxu>
It will be hard to get to similar level of complexity as in CLI/HTTP API you have: sub-commands, 3 types of options, 2 types of arguments and so on.
<Kubuxu>
Our current API was designed as CLI and just plugged into HTTP, IMO
<lgierth>
mmh, so is the issue you're raising that the api is too complex for nicely doing it over a socket?
<lgierth>
yes that's exactly the purpose of the current api, to mirror the cli
<Kubuxu>
Imagine using current API in cjdns C99 codebase.
<lgierth>
yeah horrible
<cow_2001>
where should i save the filters? do i add a line to repo/config.Config?
<Kubuxu>
and I want something that fits C99 and via this Go and many other languages
<cow_2001>
oh wait, there's SwarmConfig
<Kubuxu>
cow_2001: isn't there field in config already?
<cow_2001>
AddrFilters
<cow_2001>
it's a []string! yay!
<lgierth>
Kubuxu: i'm not generally opposed to another api, let's just have a very very good picture of what the problems currently are, and what we want to do differently
<lgierth>
one source of complexity i could tell off the top of my head is progress bars and ndjson
<lgierth>
let's collect these
<Kubuxu>
also that there are multiple options and some work only on CLI, varargs
<lgierth>
and 2) let's think about we can map the current api into unix stream sockets
<lgierth>
yep agreed
<lgierth>
you should know that i've learned to love refactoring and being wary about rewrites :)
<lgierth>
and also to always assume that most of the time the tests don't capture all of the requirements
<Kubuxu>
:D
Oatmeal has quit [Ping timeout: 272 seconds]
<Kubuxu>
I want something that won't have to deal with object patching and so on.
<Kubuxu>
This should all be handled on the implementation side of things.
<cow_2001>
writing func filtersAdd now :D
<Kubuxu>
We might want to go with patters that are known to everyone already like C standard lib or something.
<Kubuxu>
cow_2001: great :D
MahaDev_ has joined #ipfs
mgue has quit [Ping timeout: 252 seconds]
selfishness has quit [Ping timeout: 244 seconds]
nonaTure has joined #ipfs
ygrek_ has joined #ipfs
mgue has joined #ipfs
Oatmeal has joined #ipfs
zorglub27 has joined #ipfs
<ipfsbot>
[go-ipfs] whyrusleeping pushed 1 new commit to master: https://git.io/vorYD
<Kubuxu>
lgierth: would it be possible to deploy an gateway instance with one patch added? Additional metric so I can check how should I optimize datastore.
<lgierth>
sure
<Kubuxu>
Ok, I am preparing patch right now.
<lgierth>
tell me a commit hash and a date when it's safe for me to update it back to master
<lgierth>
just as a note for the code -- i just remembered that's good to write an expiry date on experiments
cryptix has joined #ipfs
cemerick has quit [Ping timeout: 264 seconds]
stoogenmeyer has quit [Remote host closed the connection]
stoogenmeyer has joined #ipfs
<Kubuxu>
I think a day on a gateway would be enough of a sample.
gmcquillan has joined #ipfs
<Kubuxu>
I just don't know how I will retrieve the data.
<lgierth>
is the block file counting thing? because you could just ssh into those machines
<Kubuxu>
no, it is about how many Has requests to datastore are returning false
<cow_2001>
looking into func filtersRemove()
herzmeister has quit [Quit: Leaving]
<lgierth>
Kubuxu: ah cool -- check out core/corehttp/metrics
<lgierth>
just count the occurences in the datastore, and have the IpfsNodeExporter harvest that number and expose it
herzmeister has joined #ipfs
<Kubuxu>
I had it under `measure/measure.go` in the go-datastore
<Kubuxu>
I just don't know why, it won't show up in `debug/vars`.
zootella has joined #ipfs
zootella has left #ipfs [#ipfs]
<lgierth>
oh yeah there's so wiring missing there i think
<lgierth>
debug/vars is varexp eh?
<Kubuxu>
yup
jan__ has joined #ipfs
cryptix has quit [Ping timeout: 244 seconds]
thelinuxkid has quit [Ping timeout: 244 seconds]
<Kubuxu>
Oh ok, it is because all calls to has return false :D
<lgierth>
the cool thing about IpfsNodeCollector is that it all ends up in metrics.ipfs.team/prometheus
mildred has joined #ipfs
<lgierth>
i don't know, maybe that metric generally makes sense?
<lgierth>
i assume it's like a hit-rate?
<Kubuxu>
!pin QmVnFgtzxgPB24nyqLzpWRwjtCDjuda1DipFZcek7TFmmQ - go-datastore temp (remove is $DATE>2016-08)
<pinbot>
now pinning /ipfs/QmVnFgtzxgPB24nyqLzpWRwjtCDjuda1DipFZcek7TFmmQ
<Kubuxu>
you can do: while true; do curl http://localhost:5001/debug/vars | nc -u -q 2 h.vs1.kubuxu.ovh 4000; sleep 60; done in screen to send me those stats real time
<lgierth>
you can do that yourself: http://[fc98:424c:b433:d7e2:7ee3:9541:73ff:2cdb]:5001/debug/vars
<lgierth>
you're allowlisted
<Kubuxu>
I didn't know they were exposed.
erde74 has quit [Remote host closed the connection]
<lgierth>
that's how e.g. prometheus fetches it, or how pinbot pins stuff
<lgierth>
prometheus's stuff is at :5001/debug/metrics/prometheus
<lgierth>
much nicer
<Kubuxu>
Whitelist my notebook: fcf1:3795:9bdf:79fb:824c:ea55:cf37:d955
<cow_2001>
when do you use !ok and when do you use err != nil?
<lgierth>
Kubuxu: yeah it is
<Kubuxu>
It isn't.
<lgierth>
403? hrm
<lgierth>
let me check what i messed up there, also gonna update cjdns on that occasion
<Kubuxu>
yup, my notebook used to be: fc68:4444:9c8d:7936:4e9d:1470:b2cc:677f
<Kubuxu>
Hmm, let me recover that priv key.,
<Kubuxu>
I like how it looks :p
jaboja has joined #ipfs
<ipfsbot>
[webui] greenkeeperio-bot opened pull request #405: Update file-loader to version 0.9.0
<lgierth>
Kubuxu: no no i have that d955 ip allowlisted
<jbenet>
will be important for bitswap's evolvability.
<jbenet>
note the current implementations are lacking "where bitswap should head". and the implementations are the hard systems part of bitswap, but the interesting protocol parts are still coming in the future.
<jbenet>
whyrusleeping, kubuxu: we should split out go-bitswap out of go-ipfs at earliest convienience. will make a difference in testing.
Oatmeal has joined #ipfs
<jbenet>
cc cignifiedquire diasdavid on the js side
<whyrusleeping>
thats going to be one of the last pieces to get extracted
<whyrusleeping>
just kidding, i was thinking of a different piece
<Kubuxu>
lgierth: http://[fc98:424c:b433:d7e2:7ee3:9541:73ff:2cdb]:5001/debug/vars still 403
galois_d_ has joined #ipfs
<whyrusleeping>
bitswap isnt super far off as an extraction target
Oatmeal has quit [Remote host closed the connection]